Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

circuit to replace mechanical switch, using solid state relay design verifying needed

Status
Not open for further replies.

max2help

New Member
see attachment. i have designed the circuit in attachment 1 to interface with circuit in attachment 2.



it convert the two mechanical switches into electrical switches using solid state relay.


for one of the them the input voltage is 12vdc and the other is 18vac. when the input voltage is applied to any of the circuits the output SSR is activated and drives the signal to ground so the EZ-TAG controller know some one has pushed a button and takes action needed.

the led in the circuit is use just to verify that the circuit has been activate.



can some one verify the design and to make sure it is safe.



thanks for the help in advance.
 
https://www.vishay.com/docs/83821/lh1522ab.pdf
First!...you need a current limiting resistor in series with the SSR's LED.
Then simplify.
Second, I would just put the indicator LED in series with the SSR's LED, and scale the current limiting resistor accordingly.
Third, I would eliminate the regulator and capacitor in the 12VDC input version. The limiting resistor would be (12V-3.3V-1.2V)/10mA=750Ω...for 10% tolerance use 680Ω
Fourth, I would eliminate the regulator in the 18-24VAC input. Increase the voltage rating on the capacitor to ~50VDC, and change the limiting resistor to ((24V*1.414)-3.3V-1.2V))/10mA=2.9KΩ...for 10% use 2.7KΩ

Ken
 
Last edited:
thanks for the advice KMoffett,
i did put a current limiting resistor of 0Ω, as i thourght the currect and voltage was lower then the max the SSR LED could take.
also i included the regulators to give some protect if the voltage did vary.

i do like the way you have simplefied the design and will take a look at it tommorow and redraw another circuit diagram to see how it looks.

i was not sure and do you thing on the output of the full wave bridge rectifier is there need for a smoothing capacitor or not?
 
The LED in the SSR's input has no internal current limiting so you need a much higher resistance than "0Ω". It needs the same kind of current limiting as your indicator LEDs only for a 1.2VDC Vf. My resistor calculations allow for quite large variations in the input voltages, so I don't think the regulators would add any benefit. And yes, you do need a capacitor after the bridge rectifier to turn the 120HZ pulsating DC into a smoother DC. I think I would also add a 10K resistor across the filter capacitor to assure that it is fully discharged after the AC input is off.

Ken
 
Last edited:
Hi

What is the smallest size capacitor do you thing i can use on the output of the full wave bridge rectifier?

Thanks
 
How often does the 18-24VAC turn on and off...mSec?...seconds?...minutes?...?

Ken
 
Hi

It will turn on about 10 seconds max at a time.
It will only be for no more then 15 times a day max.

Thanks
 
Hi

There was a error in the orignal circuit and just found it out now the voltage should have been 12-18VAC
Sorry about that and will rework out the value from the posts before and update.

Thanks
 
Hi

The working outs are below and new circuit attacted. let me know what you think and also if the working outs are correct.


Indicator LED have a power consumpation of 20mA.

Limiting resistor on the 12-18VAC i work it as below:
((18V-3.3V-1.2V))/(10mA+20mA)=450Ω...for 10% use 390Ω

390Ω*(10mA+20mA)=11.7v
((11.7v)-3.3V-1.2V))/(10mA+20mA)=240Ω



Limiting resistor on the 12VDC i work it as below:
(12V-3.3V-1.2V)/(10mA+20mA)=250Ω...for 10% tolerance use 225Ω

225*(10mA+20mA)=6.75v
((6.75v)-3.3V-1.2V))/(10mA+20mA)=75Ω...
 
I don't know why you are adding currents...(10mA+20mA). The current in a series circuit...the limiting resistor, the LED and the SSR...is the same through all components.

For the 12-18VAC circuit: Use the maximum peak voltage: 18*1.414, subtract the forward voltage drops of the two LEDs: 3.3V and 1.2V, and use the current through the series circuit:10mA.
R=((18V*1.414)-3.3V-1.2V)/10mA=2095Ω... so use a 2.2KΩ resistor.

For the 12VDC circuit: Use the DC voltage: 12V, subtract the forward voltage drops of the two LEDs: 3.3V and 1.2V, and use the current through the series circuit: 10mA.
R=(12-3.3V-1.2V)/10mA=750Ω... so use a 680Ω or an 820Ω resistor. It's not critical.

For the capacitor in the AC circuit, I would try 10uF/50VDC electrolytic capacitor. (note the polarity)

And, I would change the 1.1K resistor across the capacitor to 10K.

Ken
 
Last edited:
Hi

Thanks for all the help and the circuit looks good.
therefore do i remove the seprate currect limiting resistors that i added for the LED and SSR?

Thanks
 
Just remove the two resistors in each schematic, and replace them with the single resistors that I calculated.

ken
 
Hi

Just last question:
if i change the input voltage to 24vAC.

R=((24V*1.414)-3.3V-1.2V)/10mA=2942Ω

do i need to change any other component or do i leave them the same. the 10uf Cap and 10k res.
 
I would use either a 2.7K or a 3.3K resistor for the 2942Ω
I think every think else should work.

Ken
 
Hi Ken,

Thanks for help with the circuit and its been a few years now and everything worked ok.
Sorry about the late update as I totally forgot about it.

Thanks
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top