Development of a Light Dependent Automatic- Off Timer for House Holds Electronics



Similar documents
Development of a Single Phase Automatic Change-Over Switch

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Development of a Simple Sound Activated Burglar Alarm System

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

CHAPTER 11: Flip Flops

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Digital Logic Elements, Clock, and Memory Elements

A Lesson on Digital Clocks, One Shots and Counters

A Lesson on Digital Clocks, One Shots and Counters

3-Digit Counter and Display

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Operational Amplifier as mono stable multi vibrator

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

Ignition Alert Anti-Theft Security System for Motorbikes with Remote Control Amit Yadav, Anushri Jha, Neelesh Gupta

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

NTE923 & NTE923D Integrated Circuit Precision Voltage Regulator

AP-1 Application Note on Remote Control of UltraVolt HVPS

Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006

GRADE 11A: Physics 5. UNIT 11AP.5 6 hours. Electronic devices. Resources. About this unit. Previous learning. Expectations

Features. Applications

Low Cost Pure Sine Wave Solar Inverter Circuit

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS

SEMICONDUCTOR APPLICATION NOTE

LAB4: Audio Synthesizer

A Digital Timer Implementation using 7 Segment Displays

The components. E3: Digital electronics. Goals:

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

0.9V Boost Driver PR4403 for White LEDs in Solar Lamps

BUILD YOUR OWN RC SWITCH (Issue 3)

BJT AC Analysis. by Kenneth A. Kuhn Oct. 20, 2001, rev Aug. 31, 2008

W03 Analysis of DC Circuits. Yrd. Doç. Dr. Aytaç Gören

OPTICAL COMMUNICATION BASED STEPPER MOTOR CONTROL USING PULSE WIDTH MODULATION

Bipolar Transistor Amplifiers

Operational Amplifiers

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

Transistor Amplifiers

CE8301 Series. Introduction. Features. Ordering Information. Applications SMALL PACKAGE PFM CONTROL STEP-UP DC/DC CONVERTER

css Custom Silicon Solutions, Inc.

MP2259 1A, 16V, 1.4MHz Step-Down Converter

Diodes have an arrow showing the direction of the flow.

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

unit : mm With heat sink (see Pd Ta characteristics)

FEATURES DESCRIPTION APPLICATIONS BLOCK DIAGRAM. PT2248 Infrared Remote Control Transmitter

BJT Characteristics and Amplifiers

Constant Voltage and Constant Current Controller for Adaptors and Battery Chargers

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

css Custom Silicon Solutions, Inc.

Tone Ringer SL2410 LOGIC DIAGRAM PIN ASSIGNMENT SLS

Diode Applications. by Kenneth A. Kuhn Sept. 1, This note illustrates some common applications of diodes.

Operational Amplifier - IC 741

MM74HC4538 Dual Retriggerable Monostable Multivibrator

28V, 2A Buck Constant Current Switching Regulator for White LED

Common-Emitter Amplifier

ANALOG & DIGITAL ELECTRONICS

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

TLI4946. Datasheet TLI4946K, TLI4946-2K, TLI4946-2L. Sense and Control. May 2009

How to Read a Datasheet

SPI-8001TW. Switching Regulators. Dual 1.5 A, DC/DC Step-Down Converter. SANKEN ELECTRIC CO., LTD.

Theft preventer alarm Click here for Circuit Diagram. Power supply failure alarm Click here for Circuit Diagram.

ENEE 307 Electronic Circuit Design Laboratory Spring A. Iliadis Electrical Engineering Department University of Maryland College Park MD 20742

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

Content Map For Career & Technology

CMOS Power Consumption and C pd Calculation

OPERATIONAL AMPLIFIERS. o/p

LM139/LM239/LM339 A Quad of Independently Functioning Comparators

Understanding Power Impedance Supply for Optimum Decoupling

Conversion Between Analog and Digital Signals

CONSTANT CURRENT REGULATOR INDUPERM TYPE CCR 951. Standarddescription of CONSTANT CURRENT REGULATOR TYPE CCR 951.

Chapter 6 PLL and Clock Generator

CERAMIC RESONATOR PRINCIPLES

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

High voltage power supply (1 to 20 KV)

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

Chapter 12: The Operational Amplifier

Lab Unit 4: Oscillators, Timing and the Phase Locked Loop

Push-Pull FET Driver with Integrated Oscillator and Clock Output

AN ULTRA-CHEAP GRID CONNECTED INVERTER FOR SMALL SCALE GRID CONNECTION

FAN5346 Series Boost LED Driver with PWM Dimming Interface

LDS WLED Matrix Driver with Boost Converter FEATURES APPLICATION DESCRIPTION TYPICAL APPLICATION CIRCUIT

Handheld measurement equipment for measuring extremely low frequency electromagnetic fields

V out = V in x R 2 (R 1 + R 2 ) V o = V i R 1 FXA 2008 POTENTIAL DIVIDER CIRCUIT 1. Candidates should be able to : SUPPLYING A FIXED PD

Accurate Measurement of the Mains Electricity Frequency

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Keywords: rainfall detection, rain sensor, buzzer and alarm system.

AN2680 Application note

TDA4605 CONTROL CIRCUIT FOR SWITCH MODE POWER SUPPLIES USING MOS TRANSISTORS

GLOLAB Two Wire Stepper Motor Positioner

Vi, fi input. Vphi output VCO. Vosc, fosc. voltage-controlled oscillator

Understanding Mechatronics Engineering Using a School Project

Karaoke Circuit Building Instructions

Transcription:

Leonardo Electronic Journal of Practices and Technologies ISSN 583-078 Issue 2, January-June 2008 p. 29-38 Development of a Light Dependent Automatic- Off Timer for House Holds Electronics Jonathan Gana KOLO Department of Electrical and Computer Engineering, Federal University of Technology, Minna, Nigeria. E-mail: jgkolo@gmail.com Abstract This work was undertaken to design and construct a device that would be of use to persons who are in the habit of falling asleep while watching or listening to music. The scope of work ranges from the conceptualization of the idea and theories behind the operation of the device to the stage of packaging the design. The unit provides automatic disconnection of the appliances from the alternating current (AC) mains supply upon the expiration of a pre-set time delay period. The system works by detecting a transition from light to darkness in a room, which triggers the device into a time-out mode. During the time delay period, the appliance e.g. CD (Compact Disk) player is connected to the mains supply. Disconnection occurs after the pre-set time delay period elapses. Keywords Automatic; Timer; Switching; Schmitt trigger; Relay; Oscillator. Introduction A switch can simply be defined as a device operated to turn electric current ON or OFF. Switches are important devices in electrical and electronics circuit design. They are http://lejpt.academicdirect.org 29

Development of a Light Dependent Automatic- Off Timer for House Holds Electronics Jonathan G. KOLO hence widely used components today serving as control devices in modern electrical systems and circuits. Switches can also be defined as devices by which a circuit parameter or signal such as electrical current can be either linked to or cut off from another part of a circuit manually or automatically []. The major aim of this paper is to effectively design and fabricate an electronic system that will be capable of switching off AC power supply automatically from electronic appliances connected to its output interface at night (in dark environments). This device therefore makes it possible for persons to use electronic appliances such as the television set and CD players as they await sleep leisurely late at night. Furthermore this device finds use not only in homes but as a precautionary and protective interface in industries and offices; serving as a switch to turn off at night AC power supply from electronic appliances left on carelessly or by workers negligently during the day. A key feature of this device is that its operation is light dependent, that is, the device is activated only when it is powered ON in the absence of ambient light or in a sufficiently dark environment making it a light dependent automatic-off timer for electrical appliances. The light dependent automatic-off timer uses a light dependent resistor (LDR) as its light sensor. It has the following key components: 555-timer integrated circuit (IC) based Schmitt trigger with the light sensor (LDR) at its input. 4060 IC which is a 4 stage binary ripple counter with a built in oscillator Normally closed (N/C) relay at the output interface of the device. The above-mentioned components give the device its peculiar function. The presence of the LDR makes the device light sensitive and when the room is sufficiently dark, the sensor will have high impedance, which will in turn pass a high voltage into the input of the Schmitt trigger. The Schmitt trigger being a logic inverter will pass a low signal to the RESET pin of the 4060 IC, activating the timer sub-circuit of the device. After the pre-set time period is over, the device cuts off AC power supply from its output interface via the relay action. Fig. shows the generalized block diagram of the system. 30

Leonardo Electronic Journal of Practices and Technologies ISSN 583-078 Issue 2, January-June 2008 p. 29-38 Power supply unit Pre-timer stage Output stage Timer stage Figure. Block diagram of the system Pre-timer stage The Schmitt trigger (the pre-timer unit) in Fig.2 is a logic state inverter which switches a high logic state at its input to a low logic state at its output and vice versa. The input voltage at the input of the 555 timer-based trigger is controlled by the voltage divider circuit consisting of the LDR (the light sensor) and the parallel combination of two resistors- 47kΩ and 00kΩ. The effective resistance of the parallel combination is given by: 47 00 = 32KΩ 47 + 00 The LDR is connected directly to the input of the Schmitt trigger. The LDR has a light dependent resistance characteristic with its resistance increasing with decreasing light intensity. In dark environments, the resistance of the light sensor is very large, in the range of mega ohms (MΩ). Hence in the dark, the LDR divides a greater percentage of the voltage because of its large value of resistance when compared to the effective resistance of 32kΩ. The voltage division offered by the resistors and the LDR is in the following ratio: R R LDR LDR Where R LDR = the resistance of the LDR in kilo ohms which varies with light intensity. The expression for the input voltage V IN, at the input of the Schmitt trigger at any given time is: V R = R LDR IN 2 LDR + 32 volts From the above expression it is obvious that the logic state (high or low voltage) at the input depends directly on the value of R LDR There are two possible cases: in presence of + 32 3

Development of a Light Dependent Automatic- Off Timer for House Holds Electronics ambient light and the absence of ambient light. Jonathan G. KOLO In the first case, the value of R LDR would be very low because of the presence of ambient light and hence the 32kΩ equivalent resistance would divide a greater proportion of the 2V voltage signal as the resistance of the LDR is very small and negligible when compared to the 32kΩ resistance. Therefore, a low voltage will appear at the input of the Schmitt trigger. In the second case, the value of R LDR would be very large since there is an absence of ambient light. As a result, a greater percentage of the 2volts is divided across the LDR presenting a high voltage input at the input of the Schmitt trigger. An effective resistance value of 32kΩ was chosen in preference over the 00kΩ resistance values to ensure that the device had great sensitivity to the transition from light to darkness and vice versa. The Schmitt trigger is used to provide a clean switching of the time delay circuit (timer unit) ON or OFF since the resistance of the LDR shows a gradual increase in encroaching darkness and similarly also, a gradual decrease in resistance as light intensity increases (in the presence of ambient light). The change in resistance of the LDR is conditioned to generate an oscillation free output with a 555 timer-based Schmitt trigger which provides the enable/ disable control needed to switch the timer unit ON(in the dark) or OFF(in bright light). Vcc The switching threshold for the inverter (Schmitt trigger) is fixed at 3 a low to high logic state switching, and the 2V DC supply, the thresholds are: -required for 2V cc for a high to low logic state switching [2]. For 3 2 2 2 and this yields 4V and 8V respectively. Hence, whenever the voltage across the 3 3 LDR is less than 4V the Schmitt trigger would place a high (2V) logic state at pin 3 of the 555 timer (Timer unit disable condition) and when the input voltage exceeds 8V, a low logic state (0V) at the output of the trigger (Timer unit enable condition). Summarily, V IN would be less than 4V in the presence of light and V IN would be between 8V and 2V in dark environments. The capacitor connected to pin5 of the 555-timer eliminates noise in the circuit [3-5]. 32

Leonardo Electronic Journal of Practices and Technologies ISSN 583-078 Issue 2, January-June 2008 p. 29-38 Design Calculations The major operational component in the timer stage is the 4060IC, which is a 4 stage binary ripple counter with built-in oscillator as shown in Fig. 3. The frequency with which the oscillator oscillates is determined by the value of the resistor, R and capacitor, C connected to pins 9 and 0 of the 4060IC respectively. Hence, the time delay period of the timer unit is preset by the value of these two components [2][6][7]. The time delay of the timer unit is activated when the 4060IC detects a low signal or pulse at the reset pin, pin2. A high signal on pin2 would simply reset the IC, disabling the on-chip oscillator [7][8]. Fig 3 is the circuit diagram of the timer unit. The count LED (Light Emitting Diode) blinks with the frequency of oscillation, showing that the counter has been activated. The count LED is OFF when there is a high logic state at the reset pin showing that the counter is disabled or that timer is off. Since the 4060 IC is a counter that consists of 4 Flip Flop stages, it can be used to generate larger time delay periods than is possible with the 555 timer operating in the monostable mode. `The frequency of oscillation determined by the external RC circuit is given by [9-]: F OSC = 2. 3RC To generate a time-delay period of 50 minutes, the values of the external resistor, R and capacitor, C necessary to set the Q4 output pin of the IC high after a delay of 3000 seconds (50 mins) was determined. Now, Q4 goes high after 2 4 clock pulses and since two clock pulses make a cycle 2 4 (one high and low pulse makes a clock cycle), Q4 goes high after = 892 cycles of input 2 clock waveform. Also, a time-delay of 50 minutes is: 50 60 = 3000 seconds. From these values, the frequency with which the oscillator must oscillate to generate 892 the 50 minutes time-delay is: F = 2. 73 cycles/second (Hz) 3000 In evaluating the RC component that will generate an oscillating frequency of 2.73Hz. We have: Solving yields, 2.73 = (i.e. equating equations F and F OSC ). 2.3RC 33

Development of a Light Dependent Automatic- Off Timer for House Holds Electronics Jonathan G. KOLO RC = (2.3x 2.73) -, RC 0.5926 Now, choosing a resistance value of 440kΩ, we have an accompanying capacitor value of: C = 0.5926 440000 0.000000362F or 0.362µF. Two capacitors 0.033µF and 0.33µF were connected in parallel to realize this capacitance value i.e. C eq = C + C 2 = 0.033+ 0.33= 0.363µF and two series resistors of 220kΩ resistance each supplied the 440kΩ resistance. Summarily, RC components required to generate a 50 minutes time-delay is: R = 440kΩ and C = 0.363µF. It is important to note also that to prevent the oscillator from rolling over; the positive rising edge of Q4 is detected and fed back to the oscillator through the clock input, pin. The MΩ resistor and signal diode are employed to achieve the feedback loop. Reset switch 47kΩ LDR 00kΩ 8 4 Vcc Reset 7 Dis 6 Thr 2 Tri 5 Con 0.0µF Out 3 Output pulse Gnd 2V from the power supply unit Figure 2. Circuit diagram of the Pre-timer unit Also, for a test mode of operation, the Q9 output was taken and a switch employed to switch between the Q9 and Q4 output pins. This makes it possible for the user to switch between the test and operate modes of the device. Similarly, Q9 goes high after 2 9 clock pulses. Therefore, Q9 goes high after 52 2 clock cycles, i.e. 256 cycles. In evaluating the time-delay expected with the oscillator oscillating at 2.73Hz we have: F = 256 where T D is the time-delay in seconds and F the frequency of oscillation. T D 34

Leonardo Electronic Journal of Practices and Technologies ISSN 583-078 Issue 2, January-June 2008 p. 29-38 Input from the pre-timer unit 2 4060 IC MR RS O3 7 O4 5 O5 4 O6 6 O7 4 O8 3 O9 5 O O2 2 O3 3 CTC 9 RTC 0 COUNT 220Ω WARNING 220Ω To output unit 220kΩ 220kΩ 33nF MΩ 0.33µF Figure 3. Circuit diagram of the timer unit This yields- 256 256 2.73 = therefore, T D = = 93. 77s 2.73 T D T D =.56 minutes. This is the time-delay for the test mode of operation of the device. The test mode was incorporated is the design in order to provide a much smaller time-delay period specifically for test purposes and to predict the operation of the device in the operate mode. The warning LED indicator is used to indicate when the Q3, the penultimate Flip Flop stage goes high, warning the user that the device would soon operate. This output pin was chosen for the warning indication as it glows when the Q3 pin goes high. The LED indicator would remain ON till the high to low transition on the pin, which will trigger the Q4 output and cause the device to operate, switching off the CD player. Output stage The output stage consists of a BJT transistor, two 220Ω resistors, One LED (load- OFF) indicator, a free wheeling diode and a normally closed relay connected as shown by the circuit diagram in fig.4 [2]. The base 220Ω resistance of the BJT generates the base bias 35

Development of a Light Dependent Automatic- Off Timer for House Holds Electronics Jonathan G. KOLO current when Q4 pin of the 4060IC goes high. The collector current then flows in the BJT causing the load-off LED indicator to glow and the relay to operate. The free wheeling diode protects against the back e.m.f. from the inductive coils of the relay. The load-off LED indicator glows when the device has operated; cutting OFF power supply to the CD player [8][3]. The contacts of the relay once operated opens, creating an open circuit between the CD player and the AC mains supply. Performance evaluation From the results displayed in table 2 we see that a little discrepancy occurs between the actual time-delay period in operation and the expected time-delay period. In percentage value, this can be expressed as: (discrepancy/expected value) 00. Considering the results, 4.52 we have: 00 9.00% and the discrepancy between the actual frequency of operation 50 and the expected frequency of operation is 2.99-2.73 = 0.26; hence, we have 0.26 00 9.52%. Therefore, after the evaluation of the designed system, an overall 2.73 efficiency of about 90% was attained. Table. Table of device state illustration LDR Reset Pin Count LED Light High OFF Dark Low Blinks Table 2. Table of results Mode of Operation Actual time-delay Expected time-delay Discrepancy Test.27 minutes.56 minutes 0.29 Operate 45.48 minutes 50 minutes 4.52 Conclusion A light dependent automatic-off timer was designed and constructed. The system designed is a unique timer whose timing control is dependent on light intensity. 36

Leonardo Electronic Journal of Practices and Technologies ISSN 583-078 Issue 2, January-June 2008 p. 29-38 2 240 V 50 Hz 0Deg IRON_CORE_XFORMER 4 3 B4B42 0.uF-POL 2200uF-POL 220 Ω Key = A 47k Ω 00k Ω 8 VCC 4 RST OUT 3 7 DIS 6 THR 2 TRI 5 CON GND 0.uF-POL LMC555CM 36k Ω 2 4060BD_5V MR RS O3 7 O4 5 O5 4 O6 6 O7 4 O8 3 O9 5 O O2 2 O3 3 CTC 9 RTC 0 220 Ω 220 Ω Key = Space N400 220 Ω CR 220k Ω 0.33uF-POL.0M Ω 33nF 220k Ω 220 Ω 2N7 N448 Figure 4. Overall functional circuit diagram of the device It was primarily designed to aid users who habitually listen to music late in the night, by providing a safe automatic means to switching off CD players in a case where the user falls asleep suddenly Furthermore, from the tests carried out, an accuracy of about 90% was achieved. This achievement is deemed satisfactory and significant when limitations like components values variations within the tolerance limits are considered carefully. The device could be applied to not just CD players but common household electronic appliances like the Television set. 37

Development of a Light Dependent Automatic- Off Timer for House Holds Electronics References Jonathan G. KOLO. Rizzoni G., Principles and application of electrical engineering, 3 rd Ed. McGraw-Hill companies, U.S.A., 2000. 2. Ronald J. T., Neal S. W., Digital Systems: principles and application, 7 th Ed. Von Hoffman press Inc.U.S.A, 998. 3. 555 timer tutorials [online]. Available at: http://www.electroniclab.com, 2002. 4. Sacco Company, Tutorial on how 555 timers work [online]. Available at: http://www.555timer.com, 200. 5. Emagbetere J.O., Akeze A.C., Edeko F.O., Improving Home and Office Security-The Footmat Intruder Alarm System With Restricted Access, Journal Of Electrical and Electronic Engineering, vol. 0. No., Benin-city, January 2006, p 35-4. 6. Datasheet Search System [online]; 2003-2006 Alldatasheet.com. Available at: http://www.alldatasheet.com/. 7. Mahmud S. A., Abubakar S. M., Genesis A. A., Development of a Simple Sound Activated Burglar Alarm System, Leonardo Journal of Sciences, 2006, 9, p. 97-02 [online]. Available at http://www.ljs.academicdirect.org/a09/097_02.pdf 8. Ahmed M. S., Mohammed A. S., Onimole T. G., Attah P. O., Design and construction of a remote Controlled fan regulator, Leonardo Electronic Journal of Practices and 9. Technologies, 2006, 9, p. 55-62 [online]. Available at: http://www.lejpt.academicdirect.org/a09/055_062.pdf 0. [9] Theraja B.L., Theraja A.K., A textbook of electrical technology, 2 st Ed., S. Chand and Company, New Delhi, India, 999.. [0] Forrest M. Mims III, Engineer s Mini Notebook, Volume I. Timer, Op Amp & Optoelectronic Circuits & Projects, st Ed., Master Publishing, 986. 2. [] Horowitz P., Hill W., The art of Electronics, 2 nd Ed., Cambridge University Press, U.S.A., 995. 3. Amos S.W., James M. Principles of transistor circuit: Introduction to the Design of Amplifiers, Receivers and Digital Circuits, 6th Ed., Hartnolls Ltd., 98. 4. Mahmud S. A., Murtala B. Z. A., Kolo J.G., Design and Construction of a Remote Controlled Power Supply Unit, Leonardo Journal of Sciences, 2007,, p. 4-50 [online]. Available at: http://www.ljs.academicdirect.org/a/04_050.pdf 38