Design and Development of an Electronic Voltage Indicator for Public Utility

DOI : 10.17577/IJERTV3IS20551

Download Full-Text PDF Cite this Publication

Text Only Version

Design and Development of an Electronic Voltage Indicator for Public Utility

Folorunso C. O.*, Folorunso A. M**, and Ogunlewe A. O***.

Department of Electronic and Computer Engineering, Lagos State University, Lagos Nigeria

Abstract

This paper discusses a simple, reliable and cheap means of detecting the availability of public utility for domestic and industrial use. The system made use of a 555 timer in the monostable- multivibrator mode and two-transistor astable multivibrator. The multivibrator is used as the sensor to detect the availability of mains by using the negative falling edge of the Alternating Current waveform (mains). Once the monostable multivibrator is triggered, it sends a one shot waveform output to the astable multivibrator which in turn triggers an alarm for a predetermined period of time that the monostable remains ON. The duration for the alarm system can be varied using a resistor-capacitor (RC) combination of the monostable multivibrator. The output impedance of the system is 600 with 0.24W power dissipation. It was shown from the results obtained that at a constant capacitance of 100µF and when the resistance is varied from 90 to 500 the alarm sounded between 10 seconds and 1 minutes respectively in the ON state.

Keywords: Alarm System, Monostable multivibrator, Astable multivibrator, 555 Timer, Darlington pair transistor.

  1. Introduction

    It is certain that lack of electricity is one of the main problems of our Country Nigeria. This has been a recurrent issue as the present administration is trying to address it wholly. As a result of this, nearly every home in Nigeria has one type of generator or the other to serve as the main supply of electricity while the public supply now serves as the stand by. When the public utility comes on, there is need for the consumer to be

    alerted of this so that one can change over to the public supply while switching off the alternative power supply. Various methods have been devised for achieving this.

    In big establishments, automatic change over switch is usually used which automatically changes over to the public supply. In private establishments and homes, indicator bulbs also known as pilot lamps are used. However, more recently, alarm systems have been introduced. These systems are connected in such a way as to alert the consumer of the availability of the public supply. This type of alarm system which is mechanical in nature costs =N=5,000.00 upwards for both the sensor and the alarm system. However, this amount may not be affordable by an average Nigerian. It is for this reason that the simple and relatively inexpensive electronic system presented in this paper was explored. It uses components that are readily available locally. The work presented in this paper is a development of an electronic voltage indicator.

    The functionality is implemented as a monitoring and notification system. The 555 timer is used as a monostable multivibrator which monitors the presence of the mains voltage and then produces an output by sounding an alarm for a predetermined period of time.

    The approach used in this work is the modular one where the overall design was first broken into functional block diagrams, each block in the diagram represents a section of the circuit that carries out a specific function. It comprises power supply unit, triggering network, timing network, Comparator unit and the Output unit as shown in figure 1.

    TRIGGERING UNIT

    12V DC

    TIMING NETWORK

    COMPARATOR NETWORK

    12V DC

    POWER SUPPLY

    220V AC INPUT

    12V DC

    OUTPUT

    IT = ITRIGGER + ITIMER + ICOMPARATOR (3)

    Power = 12(ITRIGGER+ITIMER+ ICOMPARATOR) (4)

    The minimum voltage required for the circuit is

    3.Vdc. (5)

    The ripple frequency is equal to the alternating current line frequency for a half wave rectifier, and twice the alternating current frequency in a full wave

    Figure 1. Block Diagram of the System

    In this paper, the methodology is presented in Section 2, while section 3 discusses the result and analysis, and section 4 concludes the research work.

  2. Methodology

    The system made use of a 555 timer in the monostable- multivibrator mode and two transistor astable multivibrator. The multivibrator is used as the sensor to detect the availability of mains by using the negative falling edge of the Alternating Current waveform (mains). Once the monostable multivibrator is triggered, it sends one shot waveform output to the astable multivibrator which in turn triggers an alarm for a predetermined period of time that the monostable remains ON. The duration for the alarm system can be varied using a resistor-capacitor (RC) combination of the monostable multivibrator. The current at the output of the system was calculated using Kirchoffs Current Law.

      1. Power Supply Unit

        A regulated power supply of 12V output voltage was used. This power supply was rectified using a full wave bridge rectifier; this was then regulated as well as filtered to remove all sort of ripple voltage.

        The maximum ripple voltage present for a Full Wave Rectifier circuit is not only determined by the value of the smoothing capacitor but by the frequency and load current, and is calculated as:

        rectifier. That is for a full-wave rectifier on 50 Hz mains, frequency is 100 Hz. A ripple voltage of 5% of the dc output voltage is a reasonable value. The ripple formula can be modified as follows:

        From equation (1),

        C =Idc/(2fVripple) (6) C × Vdc = Idc/{2f(Vripple/Vdc)} (7)

        If Idc =1 A and Vripple/Vdc = 0.05, (= 5%)

        C × Vdc = 10/f , (8)

        C = 10/fVdc

        C = 1/10Vdc, (9)

      2. Triggering Unit

        Its an electronic circuit that generates or modifies an existing waveform to produce a pulse of short time duration with a fast-rising leading edge. This waveform or triggering circuit is normally used to initiate a change of state of some relaxation devices such as a multivibrator. The most important characteristic of the waveform generated by a triggering circuit is usually the fast leading edge. The exact shape of the falling portion of the waveform is of secondary importance, although it is important that the total duration time is not too great. A pulse generator such as a blocking oscillator may also be used and identified as a triggering circuit if it generates sufficiently short pulses.

        Peaking circuits which make use of higher-frequency

        VRIPPLE

        = (1)

        components of a pulse waveform, cause sharp leading

        and trailing edges and are therefore used as triggering circuits. The simplest form of peaking circuits are the

        Where: I is the DC load current in amps, is the frequency of the ripple or twice the input frequency in Hertz, and C is the capacitance in Farads.

        The power of the transformer and the current rating can be calculated using the formula below:

        P = IV (2)

        The power drawn from the power supply is calculated as follows:

        simple RC and RL networks shown in the figure 2. If a steep waveform of amplitude V is applied to either of these circuits, the output will be a sudden rise followed by an exponential decay. These circuits are often called differentiating circuits because the outputs are rough approximations of the derivative of the input waveforms, if the RC or R/L time constant is sufficiently small.

        A transistor triggering circuit is used to trigger the circuit as shown in figure 2 below.

        10K

        D1

        10K

        +12V

        Vcc

        +12V

        1K

        R

        Rt

        10nF

        4 8 4 8

        7

        555

        TIMER

        3

        7 555 3

        TIMER

        +5V BC547

        6 5

        2 1

        5

        6

        2 1

        + Ct

        Figure 2: Triggering Circuit

      3. Timing Network

        The timing network of a monostable multivibrator consists of a combination of resistor and capacitor in series which is connected to pin 6 and 7 of the 555 Timer as shown in figure 3. However, the time period can be adjusted, by using a linear variable resistor and 1K fixed resistor value for R.

        Because the resistance of a variable resistor goes down to around 0 at one end of its range, a 1k resistor is placed in series with it so that the value of R will never fall below 1k. As the shaft of the variable resistor is turned from its lowest setting to its highest, t will become longer.

        The timing equation is given as:

        t = 1.1 RtCt (10)

        The capacitor C has to charge through resistance Rt. The larger the time constant RtCt, the longer it takes for the capacitor voltage to reach +2/3VCC.

        In other words, the RC time constant controls the width of the output pulse. The time during which the timer output remains high is given as

        tp = 1.0986 Rt Ct =1.1 Rt Ct

        Where Rt is in ohms and Ct is in farads. The above relation is derived as follows. Voltage across the capacitor at any instant during charging period is given as

        vc = VCC (1- e-t/RtCt) (11)

        Substituting vc = 2/3 VCC in above equation we get the time taken by the capacitor to charge from 0 to

        +2/3VCC.

        So,

        +2/3VCC. = VCC. (1 e-t/RtCt) or

        0V

        Figure 3: Timing Circuit

      4. Comparator Network

    The 555 Timer is a monolithic timing circuit that can produce accurate and highly stable time delays or oscillations. The timer basically operates in one of the three modesmonostable (one-shot) multivibrator, astable (free-running) multivibrator or as a bistable multivibrator.

    In the monostable mode, it can produce accurate time delays from microseconds to hours. In the astable mode, it can produce rectangular waves with a variable duty cycle. Frequently, the 555 is used in astable mode to generate a continuous series of pulses, but the 555 can be used to make a one-shot or monostable circuit.

    The 555 can source or sink 200 mA of output current, and is capable of driving wide range of output devices. The output can drive TTL (Transistor- Transistor Logic) and has a temperature stability of 50 parts per million (ppm) per degree Celsius change in temperature, or equivalently 0.005 %/°C.

    The 555 timer consists of a voltage divider arrangement, two comparators (both lower and upper comparator), an RS flip-flop, an n-p-n transistor Q1 and a p-n-p transistor Q2. Since the voltage divider has equal resistors, the upper comparator has a trip point of-

    UTP = 2/3Vcc. (13)

    The lower comparator has a trip point of

    LTP = 1/3Vcc. (14)

    2.4.1 Monostable Multivibrator

    A monostable multivibrator is a pulse-generating circuit having one stable and one quasi-stable state. Since there is only one stable state, the circuit is

    So pulse width,

    t RtCt loge 3 = 1.0986 RtCt

    known as monostable multivibrator. The duration of the output pulse is determined by the RC network connected externally to the 555 timer. The stable state

    tP = 1.0986 Rt Ct s = 1.1 RtCt (12)

    The pulse width of the circuit may range from micro- seconds to many seconds.

    output is approximately zero or at logic-low level. An external triggering pulse forces the output to become high or approximately. After a predetermined length of time, the output automatically switches back to the stable state and remains low until a triggering pulse is

    again applied. The cycle then repeats. That is, each time a trigger pulse is applied, the circuit produces a single pulse. Hence, it is also called one-shot multivibrator.

    A 555 timer connected for monostable operation is shown in Figure 4. Pin 1 is grounded. Triggering input is applied to pin 2. In quiescent condition of output, this input is kept at +Vcc. To obtain transition of output from stable state to quasi-stable state, a negative-going pulse of narrow width (a width smaller than expected pulse width of output waveform) and amplitude of less than +1/3Vcc is applied to pin 2. Output is taken from pin 3. Pin 4 is usually connected to +Vcc to avoid accidental reset. Pin 5 is grounded through a 0.01µF capacitor to avoid noise problem. Pin 6 (threshold) is shorted to pin 7. A resistor RA is connected between pins 6 and 8. At pins 7 a discharge capacitor is connected while pin 8 is connected to supply VCC.

    Initially, if the output of the timer is low, that is, the circuit is in a stable state, (refer to figure 4 transistor Q1 is ON and the external capacitor C is shorted to ground. Upon application of a negative triggering pulse to pin 2, transistor Q1 is turned off, which releases the short circuit across the capacitor and as a result, the output becomes high. The capacitor now starts charging up towards Vcc through RA. When the voltage across the capacitor equals 2/3Vcc, the output of comparator 1 switches from low to high which in turn makes the output low via the output of the flip- flop. Also, the output of the flip-flop turns transistor Q1 on and hence the capacitor rapidly discharges through the transistor. The output of the monostable multivibrator remains low until a triggering pulse is again applied. The cycle then repeats. The pulse width of the triggering input must be smaller than the expected pulse width of the output waveform. Moreover, the trigger pulse must be a negative-going input signal with an amplitude larger than 1/3Vcc.

    Once the circuit is triggered, the output will remain high for the time interval tp. It will not change even if an input triggering pulse is applied during this time interval. In other words, the circuit is said to be non- retriggerable. However, the timing can be interrupted by the application of a negative signal at the reset input on pin 4. A voltage level going from +Vcc to ground at the reset input will cause the timer to immediately switch back to its stable state with the output low.

    Figure 4. onostale multivirator

    2.5 Output

    The astable multivibrator was achieved using two transistors. The output of the astable was then amplified using the two transistor in Darlington pair configurations.

    Transistorized Astable Multivibrator is a cross coupled transistor network capable of producing sharp continuous square wave. It is a free running oscillator or simply a regenerative switching circuit using positive feedback. Astable Multivibrator switches continuously between its two unstable states without the need for any external triggering circuit. Time period of Astable multivibrator can be controlled by changing the values of feedback components such as coupling capacitors and resistors.

    The Darlington transistor also called a Darlington pair, is a compound structure consisting of two bipolar transistors connected in such a way that the current amplified by the first transistor is amplified further by the second one. This configuration gives a much higher current gain (called or hFE) than each transistor taken separately and in the case of integrated devices, can take less space than two individual transistors because they can use a shared collector.

    A Darlington pair behaves like a single transistor with a high current gain (approximately the product of the gains of the two transistors)

    A general relation between the global current gain and the individual gains is given by:

    Darlington = 1. 2 + 1 + 2, (15)

    Where 1 is beta1 while 2 is beta2. Equation (15) is approximately 1 . 2, The approximation is valid if beta1 and beta2 are high enough (hundreds). A typical modern device has current gain of 1000 or more, so that only a small base current is needed to make the pair switch on.

    +

    1

    2

    V R R

    5

    2.

    .96

    3.43

    19.3

    19.88

    6

    The power supply gave the output of 12V DC at 20mA. The calculated current for the triggering unit

    R3 was 1.2mA while the measured current ranges from

    0.0 to 0.96mA which lie within 20% tolerance. The calculated current for the timing unit was 24µA while the measured current ranges from 3.43µA to 17µA

    Figure 5. Simplifie Block iagram of the system

    To calculate the current drawn by each unit, the equivalent resistance was first calculated as follows:

    although this current is negligible. The calculated current for the comparator unit was 18.8mA while the measured current ranges between 114.29µA and 19.03mA which lie within 5% tolerance. The current at the output was approximately equal to the input

    Let RTRIGGERING

    = R1,

    current which agrees coherently with the Kirchoffs

    current law.

    RTIMER = R2, and RCOMPARATOR = R3

    1 / RT =

    1 / RTRIGGERING + 1 / RTIMER + 1 / RCOMPARATOR

    Tale 4.2. Test result for the system in the FF state

    Varia

    le

    esis tor

    nput

    Curre nt T

    Trigg ering Unit

    Curre nt m

    Timin g Unit

    Curre nt

    Compa rator

    Unit Current

    utpu t

    Curre nt

    m

    Time Const ant

    seco ns

    9

    133.1

    .

    18.84

    114.29

    .

    1

    18

    123.8

    .

    9.47

    114.29

    .

    2

    27

    12.6

    .

    6.33

    114.29

    .

    3

    36

    119.1

    .

    4.76

    114.29

    .

    4

    45

    118.1

    .

    3.8

    114.29

    .

    5

    5

    117.7

    .

    3.43

    114.29

    .

    6

    i.e.

    1 / RT = R1 + R2 +R3 (16)

    Current in any unit is calculated using the current divider rule as follows:

    V = Ix Rx

    IRT = (RT / Rx)

    IX = (RT / Rx) * I (17)

  3. Results and Analysis

The entire circuit was tested. The circuit worked perfectly as planned and the following results were obtained:

Varia

le

esis tor

nput

Curre nt T

m

Trigger ing Uni t

Curren t m

Timin g Unit

Curre nt

Comp arator

Unit

Curre nt m

utpu t

Curre nt

m

Time Cons tant

seco ns

9

2.

.96

17.1

19.3

19.88

1

18

2.

.96

9.14

1

9.3

19.88

2

27

2.

.96

6.23

19.3

19.88

3

36

2.

.96

4.71

19.3

19.88

4

45

2.

.96

3.71

19.3

19.88

5

Tale 4.1. Test result for the system in the state

140

120

100

80

60

40

20

0

Input Current

(IT) (µA)

Triggering Unit

Current (mA) Timing Unit Current (µA)

Comparator

Unit

Output Current

1 2 3 4 5 6 7 8

Time Constant

(seconds)

Figure 6. raph showing the relationship etween the results of each moule of the system when in the state.

0

1 2 3 4 5 6 7

1 2 3 4 5 6 7 8

Time

Constant (seconds)

Variable

Resistor

600

500

400

300

200

100

0

Variable

Resistor (K)

Input Current (IT) (mA)

Output Current (mA)

500

400

300

200

100

Figure 7. raph showing the relationship etween the input an the output current in the state.

Input Current

Figure 1. raph of Time Constant versus Variale esistance with the capacitance remaining constant at 1F.

140

120

100

80

60

40

20

0

1 2 3 4 5 6 7 8

(IT) (µA)

Triggering Unit Current (mA) Timing Unit Current (µA) Comparator Unit

Output Current

Time Constant (seconds)

Figure 11. picture of the prototype after it was packa ge.

Figure 8. raph showing the relationship etween the results of each moule of the system when in the FF state.

500

400

300

200

100

0

1 2 3 4 5 6 7

Variable Resistor (K)

Input Current (IT) (µA)

Output Current (mA)

Figure 12. The internal structure of the prototype.

4. Conclusion

In this paper, an electronic voltage indicator for mains supply was designed, constructed and tested, and impressive results were obtained. Furthermore, a prototype was built and tested at various stages for

Figure 9. raph showing the relationship etween the input an the output current in the FF state.

more than twenty times varying the resistance. A desired and expected timing was realized using a stopwatch. This design is suitable for homes, offices as well as industry. It serves as power conservation which reduces cost. This device is relatively cheap, affordable, reliable, easy to install, and dissipates lesser heat as the package provides enough ventilation for the transformer. More so, the 555

Timer used has a value of 600mW power dissipation which is indeed a very small amount.

The alarm system operates at 600 impedance and 0.24W power.

Finally, the current obtained at the output of the design was relatively and approximately equal to the current at the input which conforms to Kirchoffs current law.

REFERENCES

1.) Huangshan, P. R; (2009), Proceedings of the 2009 International Symposium on Information Processing (ISIP09) China, ISBN 978- 952-5726-02-2 (Print), August 21-23, 2009, pp. 410-413

2.) Ahmed, M. S, Mohammed, A. S, Agbo, G. A, (2008), Development of a Simple Sound Activated Burglar Alarm System. Department of Electrical and Computer Engineering, Federal University Technology, Minna, Nigeria

3.) Kumar, R;(2010), International Journal of smart Home, Vol.4, No.

4, October 2010.

4.) Bird, J;(2007), Electrical and Electronic Principles and Technology, Published by Elsevier Ltd, 3rd edition, P.327 328, 217 219, 148 149.

5.) http://www.uoguelph.ca/~anto/gadgets/555/555.html

6.) http://www.doctronics.com/555Timer

7.) http://wiki.answers.com

8.) http://home.cogeco.ca/~rpaisley4/LM555.html#29

9.) http://en.wikipedia.org/wiki/Relay

10.) http://www.kpsec.freeuk.com/555timer.htm#monostable

11.) http://www.matni.com/Arabic/Elec- Info/NE555%20DETAILS/555.html

12.) http://www.discovercircuits.com/DJ-Circuits/daj-oneshot.htm

13.) http://www.kpsec.freeuk.com/docs/timer.pdf

14.) Salawu, R.I; (2001), Principles of Electrical Engineering, ris Systems Laboratories Limited, 2nd Edition. Page 24

Leave a Reply