Triple-555 timer circuit not working in Proteus

Thread Starter

EdwardFran

Joined Apr 27, 2022
25

Danko

Joined Nov 22, 2017
1,834
I'm having a hard time understanding your zero crossing detector design. Do you mind giving a brief explanation?
Simple circuit.
Q1 is turned ON during almost all time of every half-period because of current from line through resistors R1, R2, R3 and B-E of Q1.
Turned ON Q1 shunts "gate" of "SCR". Transistors Q2+Q3 are very sensitive (small part of 1μA) analog of SCR.
Capacitor C1 is charging during 1/2 of every half-period through diode D1 up to 13V.
When line voltage becomes 0V, transistor Q1 turns OFF for short (about 20 microseconds) time, so current from 13V goes through R5 in "gate" of "SCR" (base of NPN transistor).
"SCR" turns ON, capacitor C1 instantly discharges through "SCR", resistor R6 and LED of opto-couple.
Amplitude of LED's current is 40 - 45 mA, duration of current pulse is about 8μs at level 0.5.
More see here.
 
Last edited:

Thread Starter

EdwardFran

Joined Apr 27, 2022
25
Simple circuit.
Q1 is turned ON during almost all time of every half-period because of current from line through resistors R1, R2, R3 and B-E of Q1.
Turned ON Q1 shunts "gate" of "SCR". Transistors Q2+Q3 are very sensitive (small part of 1μA) analog of SCR.
Capacitor C1 is charging during 1/2 of every half-period through diode D1 up to 13V.
When line voltage becomes 0V, transistor Q1 turns OFF for short (about 20 microseconds) time, so current from 13V goes through R5 in "gate" of "SCR" (base of NPN transistor).
"SCR" turns ON, capacitor C1 instantly discharges through "SCR", resistor R6 and LED of opto-couple.
Amplitude of LED's current is 40 - 45 mA, duration of current pulse is about 8μs at level 0.5.
More see here.
Hi Danko. Just want to check something. So I can't open your Proteus file as I have the older 8.9 version but from what I could see from your screenshot, you changed from a power rail to a 12V DC Generator. So I did the same in my file but I don't know if there's an error on my side. The voltage across the lamp when the whole sine wave is driving it is capped at 160V, similar to my previous circuit in #23. Should it not be at 230V or am I completely missing something?
 

Danko

Joined Nov 22, 2017
1,834
Hi Danko. Just want to check something. So I can't open your Proteus file as I have the older 8.9 version but from what I could see from your screenshot, you changed from a power rail to a 12V DC Generator. So I did the same in my file but I don't know if there's an error on my side. The voltage across the lamp when the whole sine wave is driving it is capped at 160V, similar to my previous circuit in #23. Should it not be at 230V or am I completely missing something?
Follow these instructions:
1. Open file from your archive test1.zip in Proteus.
2. Change voltage of VCC from 5V to 12V.
3. Change voltage of INPUT from 8V to 5V.
4. Change photocoupler from 4N25 to PC817.
5. Change voltage of V1 from VA=230 to VA=325 (if you want 230V to be measured).
6. Connect oscilloscope to circuit, run animation, and see curves.
1653037797594.png
 
Last edited:

Thread Starter

EdwardFran

Joined Apr 27, 2022
25
Follow these instructions:
1. Open file from your archive test1.zip in Proteus.
2. Change voltage of VCC from 5V to 12V.
3. Change voltage of INPUT from 8V to 5V.
4. Change photocoupler from 4N25 to PC817.
5. Change voltage of V1 from VA=230 to VA=325 (if you want 230V to be measured).
6. Connect oscilloscope to circuit, run animation, and see curves.
View attachment 267689
Thank you. I implemented 1-4 and I forgot to mention that I also changed to PC817 in #50. Is there a way to keep VA at 230V as I am building this using mains voltage and I don't have access to a transformer?
 

Danko

Joined Nov 22, 2017
1,834
Thank you. I implemented 1-4 and I forgot to mention that I also changed to PC817 in #50. Is there a way to keep VA at 230V as I am building this using mains voltage and I don't have access to a transformer?
Your mains RMS voltage is 230 V. Amplitude voltage VA of your mains is Vrms*√2 = 230*1.414 ≈ 325 V.
 
Last edited:

Thread Starter

EdwardFran

Joined Apr 27, 2022
25
Your mains RMS voltage is 230 V. Amplitude voltage VA of your mains is Vrms*√2 = 230*1.414 ≈ 325 V.
Thank you once again. I am new to Proteus and didn't realize the VSINE uses the Peak Voltage. Sorry for going silent for so long, I was trying to figure out how to adapt the control signal from a 5V range to 8V range. I managed to this and it works perfectly now. However, do mind explaining your use for R9 and C3? I am finding it difficult to understand the effect on the duty cycle as the produced waveform (yellow) is something I have never seen before.

ALLABOUt.PNG
 

Danko

Joined Nov 22, 2017
1,834
However, do mind explaining your use for R9 and C3? I am finding it difficult to understand the effect on the duty cycle as the produced waveform (yellow) is something I have never seen before.
R9 limits current through LED of U3. LED will damaged without R9.
C3 decreases duration of U3 LED current pulse (see diagram below). That dramatically increases lifetime of LED and lowers current consuming from 12V source.
Yellow waveform (here is green) represents forward voltages of U3 LED (above 0V) and D6 (below 0V).
Duty cycle equals ("Lamp ON" time) / ("Zero - Zero" time). In this example duty cycle = 5ms / 10ms = 0.5.
1653506301894.png_____1653512787538.png
 
Last edited:
Top