AC Mains Voltage Indicator Design

acindicatorvoltage

I am a beginner in EE and I am just studying circuits at the moment, and I have this question about designing an AC Mains Voltage indicator that indicates the voltage level of AC mains by three different LEDs. It takes input from a stepped down transformer and through a circuit that has three led indicators, Red which is on when the input voltage is above (240+5%)V (rms) (+5%), Green when input voltage is in 5% range below or above 240V (rms) and Yellow if input voltage is less than (240-5%)V (rms)

The problem is, I have just started sinusoidal state analysis and I don't have any idea how such a thing is implemented. Can you give me some leads that would help me design this circuit? It is from a design assignment.

Best Answer

This kind of design assignment should not be too difficult to break down into constituent parts, so you can replace one big problem with a bunch of smaller problems. Hopefully you already know how to solve some, or all, of the smaller problems.

If you start at the output and work backwards- you want 3 LEDs driven by some kind of circuit that controls their illumination. Let's say you have a "DC" voltage that represents the RMS AC input voltage that you've been asked to measure. By "DC" I mean rectified and low-pass filtered so that it has little ripple. Say the voltage is 10V for 240V RMS, 9.5V for 5% low, and 10.5V for 5% high. So you need to design a circuit that will illuminate the Red, Green or Yellow LED based on that voltage (3 states, so it can be defined with two comparison bits). That's one smaller problem.

A second problem is how to power the circuit. You know you have a step-down transformer, so you should be able to design a power supply. But wait- there's an issue here with the specifications. You're told to illuminate a yellow LED if the voltage is 5% or more below nominal, but it's going to be hard to do that at 0V. You may have to make a reasonable assumption here- say it will work down to 30% under nominal. So your power supply has to work with as low as 160V in, and still provide (say) 15V regulated for the circuit to work. That's smaller problem number two.

The third problem is how to get a voltage representing the RMS voltage into a DC voltage. One approach is to use a rectifier or precision rectifier circuit and rectify and filter the output voltage of the transformer. It's easier to measure the average value of the rectified voltage than the RMS value and assume it's a sine wave (this is where your AC analysis might come in, there is a constant factor between the two for a sine wave). This is really three even smaller problems- rectify the voltage, filter the voltage and (perhaps) scale the voltage so that it meets our requirements in the first problem of 230VAC->10.0V output.

So, a total of five smaller design problems, and we've detected a deficiency in the specifications. This is a fairly representative assignment in terms of what you'll run into, in miniature, but all the elements are there.

One little enhancement I'll recommend- keep the current draw (especially of the LED circuit since it will draw the most) constant regardless of which LEDs are illuminated. If you can describe why that's a good thing, you may get bonus marks.

Related Topic