SNOA999 July   2018 TLV3201 , TLV7011

 

  1.   1
  2.   2

Design Goals

SupplyInput SignalMAX AC Mains Leakage Current
VccVeeTypeVifIac
5 V0 VSingle240 V AC RMS50 Hz<500 µA

Design Description

The zero crossing detector circuit changes the comparator output state when the AC input crosses the zero reference voltage. This is done by setting the comparator inverting input to the zero reference voltage and applying the attenuated input to the noninverting input.The voltage divider R1 and R2 attenuates the input AC signal. The diode D1 is used to insure the noninverting input never goes below the negative input common mode limit of the comparator. Zero crossing detection is often used in power control circuits.

GUID-D0F50CE5-8711-410C-9668-1DE9BE6A2548-low.gif

Design Notes

  1. Some hysteresis should be used to prevent unwanted transitions due to the slow speed of the input signal.
  2. Select a comparator with a large input common mode range
  3. The phase inversion protection feature of the TLV7011 can prevent phase reversal in situations where the input goes outside of the input common mode limits
  4. A diode should be used to protect the comparator when the input goes below the negative input common mode limit.

Design Steps

  1. Calculate the peak value of the input signal.
    Vp = VRMS X 2 = 340V
  2. Select the resistor divider to attenuate the input 340 V signal down to 3.4 V in order to be within the positive common range of the comparator.
    340V x G = 3.4V
    G = 0.01VV
    R2R1+R2 = 0.01
  3. Select R1 as 1MΩ and R2 as 10 kΩ (the closest 1% value).
  4. Select the diode, D1, in order to limit the negative voltage at the noninverting input. A zener diode with a voltage rating of 0.3 V can be used.
  5. Calculate the AC mains leakage current to check if it meets the leakage current design goal of less than 500 µA.
    Iac = VpR1 = 340μA

Design Simulations

Transient Simulation Results

GUID-B9A7AA40-1F23-4235-ACF3-03930F3F0E81-low.gif

Design References

See Analog Engineer's Circuit Cookbooks for TI's comprehensive circuit library.

See circuit spice simulation file, SBOMAP5.

For more information on many comparator topics including hysteresis, propagation delay and input common mode range please see, TI Precision Labs.

Design Featured Comparator

TLV7011
Vss 1.6 to 5.5V
VinCM Rail-to-rail
tpd 260ns
Vos 0.5mV
VHYS 4mV
Iq 5µA
Output Type Push-Pull
#Channels 1
TLV7011

Design Alternate Comparator

TLV3201
Vss 2.7 V to 5.5 V
VinCM Rail-to-rail
tpd 40 ns
Vos 1 V
VHYS 1.2 mV
Iq 40 µA
Output Type Push-Pull
#Channels 1
TLV3201