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.

Scale 230V AC to 24DC

Status
Not open for further replies.

Suraj143

Active Member
Guys I have 230V input (Live & Neutral).I want to out DC24V to my PLC for status checking.

If 230V AC then it will out = 24V DC
If 0V AC then it will out = 0V DC

In actual application I have 14 AC inputs so it has 14 outputs as well.

Whats the easiest way of doing?

Thanks
 
A 230VAC to 18VAC transformer feeding a rectifier. Add a small capacitor and bleeder resistor and you will have exactly what you want. Plus you get the necessary safety isolation from the transformer.

If you can't get the 18 Volt transformer, use a 24 Volt one and use a resister divider to get the top end voltage you want.
 
Hmm that is good if you have single input channel.But in my application I have 14 inputs & 14 outputs.

My plan is to use PC817 optocoupler feeding 230V AC via 220K resister & a series diode & the optocoupler output (collector resister) feeding via a 24V DC supply & getting Vout from emitter side.

Is that ok?
 
Last edited:
Guys this is the circuit I'm going to use.

Is this ok?
 

Attachments

  • 230 to 24.JPG
    230 to 24.JPG
    14.4 KB · Views: 5,660
Guys this is the circuit I'm going to use.

Is this ok?

No, the time constant RC is too short. You will need something more like this. Even here, the tradeoff is how much sag you can tolerate during each half-cycle vs how long after the AC turns off the input drops to a logic zero?
 

Attachments

  • D27.jpg
    D27.jpg
    157.5 KB · Views: 547
Make sure any components mains side are correctly rated voltage wise. Most cheap resistors aren't despite having an adequate power rating.
 
But in my application I have 14 inputs & 14 outputs.
Do you really need 14 inputs? If the mains is what you are monitoring and it fails then it will affect all 14 channels, so you could get away with 1 input and 14 outputs.
 
Status
Not open for further replies.

Latest threads

Back
Top