Hysteresis Setting For Comparator
Hysteresis Setting For Comparator
Comparator Series
Pull-up voltage
VD R2 Vp
R3 VCC Rp
R1
Vref
Output
Input
R4
VEE
VEE(GND)
Input Input
(2) When the input signal (-IN) is applied at a voltage
equivalent to Vref(+IN), the input signal may or may not
VCC
exceed the threshold at Vref due to noise or other
Vp
causes, resulting in an instability (chattering).
Vref(+IN)
Vout(OUT)
VEE(GND)
Output Output
(1) (2)
VCC VCC
VthL(+IN) VthL(+IN)
(3) When the input signal (-IN) is applied at a voltage Vin(-IN) Vin(-IN)
sufficiently higher than VthH(+IN) and VthL(+IN), the VEE(GND) VEE(GND)
Input Input
output is varied according to Vref as a threshold.
VCC VCC
(4) When the input signal (-IN) is applied at a voltage Vp Vp
equivalent to VthH(+IN) or above, no chattering occurs VthH(+IN) VthH(+IN)
since the output will not respond unless the input falls
VthL(+IN) VthL(+IN)
below the threshold at VthL(+IN).
VthL is the voltage switching from Low to High. VEE(GND) VEE(GND)
Output Output
VthH is the voltage switching from High to Low.
(3) (Vp: pull-up voltage) (4)
Point
• The calculation of the threshold voltages is complicated since it
involves many parameters. We suggest inputting the equations in
advance with software such as a spreadsheet program to perform the
calculation.
Calculation process
Form a current equation for Vref and VD
in Figure 4. VD Vref V Vref Vref
...(1)
R3 R1 R4
V Vref Vout V
...(2)
R1 R2
R2 R
Solve equation (2) for Vout. V 2 Vref Vout V
R1 R1
R2 R
Vout ( 1)V 2 Vref ...(3)
R1 R1
R2 a
Solving equations (3) and (4) for V allows Vout VD
R1 R3
equation (5) to be obtained. V ...(5)
1 Ra
( R1 R2 2 )
R1 R1
V provides two threshold voltages for the hysteresis comparator: V thL is the voltage switching from Low to High and VthH is the
voltage switching from High to Low.
Vout is the output voltage of the comparator providing two values: VOH is the High output voltage and VOL is the Low output
voltage.
Pull-up
プルアップ電圧 voltage
• Threshold voltages
R2 Vp
R2 1
Rp VthH a Vref aVOH a
R1 R
R1
VCC 1 2
R1
+ Output
出力 R2
V VthL a Vref aVOL
Input
入力 R1
Vout
-
• Hysteresis width
Vref VEE
Vth VthH VthL
Vref V V Vout
...(1)
R1 R2
R2 R
Vref 2 V V Vout
R1 R1
R2 R
Vref Vout (1 2 )V ...(2)
R1 R1
Substitute the coefficient of V with 1/a and solve equation (2) for V
1 R2
a V a Vref aVout ...(3)
R R1
1 2
R1
Since Vout takes two values, the high level output voltage VOH and the low level output voltage VOL, the threshold voltages
VthL and VthH can be expressed as in equation (3).
• Threshold voltages
Vref プルアップ電圧
Pull-up voltage
a a 1
R3 Vp VthH Vref VOH a
R1 R3 1 1 1
Rp
( )
R1
VCC
R1 R2 R3
a a
V VthL Vref VOL
+ 出力
Output R1 R3
Input
入力
Vout • Hysteresis width
-
VEE Vth VthH VthL
R2
Point
• As there is no input resistance, the design
Figure 6. Simple type hysteresis comparator
flexibility is reduced for the setting width of the
threshold.
Vref V V VO V
0 ...(1)
R1 R2 R3
1 1 1 1 1
Vref V V Vo V 0
R1 R1 R2 R3 R3
1 1 1 1 1
( )V Vref Vo
R1 R2 R3 R1 R3
1 1 1
V ( V Vo)
1 1 1 R1 ref R3
( )
R1 R2 R3
Substitute the coefficient of V with 1/a and solve equation (2) for V.
1 a a
a V Vref VO ...(2)
1 1 1 R1 R3
( )
R1 R2 R3
IC inside
IC内部
Vsat
ON
Pull-up
プルアップ電圧voltage
Vp VOH can be calculated since it is determined by the
external resistors and the threshold voltage.
Rp
R2
VthH
VLH V p VOH VOH VthH
R2: Feedback
VOH
VOL Rp R2
Resistance
出力
Output
1 1 V p VthH
IC inside
IC内部 ( )VOH
No
電流 current R2 R p Rp R2
flows
流れない
OFF a a 1
VOH V p VthH a
1 1
Rp R2
R2 R p
Figure 8. High voltage output
Figure 8. High 電圧出力
Point
• When a circuit is configured with an approximate value of the hysteresis voltage,
VOH can be calculated and VOL can be directly measured.
Notes
1) The information contained herein is subject to change without notice.
2) Before you use our Products, please contact our sales representative and verify the latest specifica-
tions :
3) Although ROHM is continuously working to improve product reliability and quality, semicon-
ductors can break down and malfunction due to various factors.
Therefore, in order to prevent personal injury or fire arising from failure, please take safety
measures such as complying with the derating characteristics, implementing redundant and
fire prevention designs, and utilizing backups and fail-safe procedures. ROHM shall have no
responsibility for any damages arising out of the use of our Poducts beyond the rating specified by
ROHM.
4) Examples of application circuits, circuit constants and any other information contained herein are
provided only to illustrate the standard usage and operations of the Products. The peripheral
conditions must be taken into account when designing circuits for mass production.
5) The technical information specified herein is intended only to show the typical functions of and
examples of application circuits for the Products. ROHM does not grant you, explicitly or implicitly,
any license to use or exercise intellectual property or other rights held by ROHM or any other
parties. ROHM shall have no responsibility whatsoever for any dispute arising out of the use of
such technical information.
6) The Products are intended for use in general electronic equipment (i.e. AV/OA devices, communi-
cation, consumer systems, gaming/entertainment sets) as well as the applications indicated in
this document.
7) The Products specified in this document are not designed to be radiation tolerant.
8) For use of our Products in applications requiring a high degree of reliability (as exemplified
below), please contact and consult with a ROHM representative : transportation equipment (i.e.
cars, ships, trains), primary communication equipment, traffic lights, fire/crime prevention, safety
equipment, medical systems, servers, solar cells, and power transmission systems.
9) Do not use our Products in applications requiring extremely high reliability, such as aerospace
equipment, nuclear power control systems, and submarine repeaters.
10) ROHM shall have no responsibility for any damages or injury arising from non-compliance with
the recommended usage conditions and specifications contained herein.
11) ROHM has used reasonable care to ensur the accuracy of the information contained in this
document. However, ROHM does not warrants that such information is error-free, and ROHM
shall have no responsibility for any damages arising from any inaccuracy or misprint of such
information.
12) Please use the Products in accordance with any applicable environmental laws and regulations,
such as the RoHS Directive. For more details, including RoHS compatibility, please contact a
ROHM sales office. ROHM shall have no responsibility for any damages or losses resulting
non-compliance with any applicable laws or regulations.
13) When providing our Products and technologies contained in this document to other countries,
you must abide by the procedures and provisions stipulated in all applicable export laws and
regulations, including without limitation the US Export Administration Regulations and the Foreign
Exchange and Foreign Trade Act.
14) This document, in part or in whole, may not be reprinted or reproduced without prior consent of
ROHM.
www.rohm.com
© 201 ROHM Co., Ltd. All rights reserved.
R1102A