English
Language : 

PIC16F648A-I Datasheet, PDF (16/34 Pages) Microchip Technology – Push-Pull Output Sub-Microamp Comparators
MCP6541/1R/1U/2/3/4
4.4.2 INVERTING CIRCUIT
Figure 4-6 shows an inverting circuit for single-supply
using three resistors. The resulting hysteresis diagram
is shown in Figure 4-7.
VDD
VIN
VDD
MCP654X
VOUT
R2
R3
RF
FIGURE 4-6:
Hysteresis.
Inverting Circuit With
VDD
VOH
VOUT
Low-to-High
High-to-Low
VOL
VSS
VSS
VTLH VTHL
VIN
VDD
FIGURE 4-7:
Hysteresis Diagram for the
Inverting Circuit.
In order to determine the trip voltages (VTHL and VTLH)
for the circuit shown in Figure 4-6, R2 and R3 can be
simplified to the Thevenin equivalent circuit with
respect to VDD, as shown in Figure 4-8.
VDD
-
MCP654X
+
VSS
VOUT
V23
R23
RF
FIGURE 4-8:
Thevenin Equivalent Circuit.
Where:
R23
=
----R---2---R----3----
R2 + R3
V23
=
-------R----3-------
R2 + R3
×
VDD
Using this simplified circuit, the trip voltage can be
calculated using the following equation:
EQUATION 4-2:
VTHL
=
VO
H
⎛
⎜
⎝
R----2---3-R---+-2--3--R----F--⎠⎟⎞
+
V23
⎛
⎝
R----2---3-R---+-F----R----F-⎠⎞
VTLH
=
VO
L
⎛
⎜
⎝
R----2---3-R---+-2--3--R----F--⎠⎟⎞
+ V23⎝⎛R----2---3-R---+-F----R----F-⎠⎞
VTLH = trip voltage from low to high
VTHL = trip voltage from high to low
Figure 2-20 and Figure 2-23 can be used to determine
typical values for VOH and VOL.
4.5 Bypass Capacitors
With this family of comparators, the power supply pin
(VDD for single supply) should have a local bypass
capacitor (i.e., 0.01 µF to 0.1 µF) within 2 mm for good
edge rate performance.
4.6 Capacitive Loads
Reasonable capacitive loads (e.g., logic gates) have
little impact on propagation delay (see Figure 2-31).
The supply current increases with increasing toggle
frequency (Figure 2-19), especially with higher
capacitive loads.
4.7 Battery Life
In order to maximize battery life in portable
applications, use large resistors and small capacitive
loads. Avoid toggling the output more than necessary.
Do not use Chip Select (CS) frequently to conserve
start-up power. Capacitive loads will draw additional
power at start-up.
DS21696E-page 16
© 2006 Microchip Technology Inc.