hithesh123
Full Member level 6
I can't find the right formula for calculating hysteresis.
For example, my Vref is 0.5V. I want the output to go high when Vin is 0.55V and low when Vin is 0.45V. Hysteresis band of 100mv.
Supply rails are +5V and -5V. Output is 0V to 5V.
I tried using the formula :
Vth+ = Vcc(R1/R1+R2) + Vref(R2/R1+R2)
Vth- = Vss(R1/R1+R2) + Vref(R2/R1+R2)
Can't get R1 and R2 to get the required hysteresis voltage.
For example, my Vref is 0.5V. I want the output to go high when Vin is 0.55V and low when Vin is 0.45V. Hysteresis band of 100mv.
Supply rails are +5V and -5V. Output is 0V to 5V.
I tried using the formula :
Vth+ = Vcc(R1/R1+R2) + Vref(R2/R1+R2)
Vth- = Vss(R1/R1+R2) + Vref(R2/R1+R2)
Can't get R1 and R2 to get the required hysteresis voltage.