Showing posts with label controller. Show all posts
Showing posts with label controller. Show all posts

Tuesday, December 24, 2013

Traffic Light Controller

Here the simple traffic light controller which is could be used to educate kids rudiments of traffic light guidelines. The circuit utilizes easily available electronic parts. It generally consists of rectifier diodes (1N4001), a 5V regulator 7805, two timers circuit using IC 555, two relays (5V, single-changeover), three 15W, 230V light bulbs and also several discrete parts.

Traffic Light Controller Circuit diagram :



Mains electrical power is stepped down by transformer X1 to provide a secondary output voltage of 9V, 300 mA – AC. Then the transformer output current is rectified by a full-wave bridge rectifier composed of diodes D1 through D4, filtered by capacitor C1 and also regulated by IC 7805 (IC1).

IC2 is wired as a multivibrator with ‘on’ and ‘off’ periods of about 30 seconds each with the part values determined. Once mains power switch is turned on, pin 3 of IC2 goes high for 30 seconds. This, in turn, energises relay RL1 via transistor T1 and the red bulb (B1) glows through its normally-open (N/O) contact. At the same time, mains power is turned off from the pole of relay RL2. As the ‘on’ time of IC2 ends, a triggers IC3 through C5. IC3 is set up as a monostable with ‘on’ time of about 4 seconds, which indicates pin 3 of IC3 will stay high for this period of time and energise relay RL2 through driver transistor T2. The amber bulb (B2) thus lightings up for 4 seconds.

Immediately after 4-second time period of timer IC3 at pin 3 lapses, relay RL2 de-energises and also the green bulb (B3) lights up for the rest of ‘off’ period of IC2, which is about 26 seconds. The green bulb is turned on through the normally closed (N/C) contacts of relay RL2. So when mains electrical switch is turned on, red light will light up for 30 seconds, amber for 4 seconds and green for 26 seconds.

You can easily build this circuit on a general purpose PCB and enclose in a protected box. The box needs to have sufficient area for installing transformer X1 and also two relays. It could be installed near 230V AC, 50Hz power supply or mounted on the PVC tube applied in assembly of the traffic light box.

Design of the traffic light container box is demonstrated in following image:


A stout cardboard box of 30x15x10cm3 is needed for housing the lights. To make certain durability, work with a 10x45cm2 plywood plate having 1.5 centimeters thickness and also secure onto it three light outlets and the box utilizing nuts and bolts or screws. Make three tubes of thin aluminium sheet, which is easily offered in equipment stores. The inner diameter of aluminium tubes ought to be such that these can well match on the light outlets. Working with a sharp knife, make holes opposite the outlets carefully. Wire the outlets at the back and take the cables out through the PVC tube.

To begin with, fix three 15W light bulbs (B1 through B3) and then press on the tubes. Support the other ends of the tubes in the holes made on the front panel of cardboard box. Sandwich gelatine papers of the three colors in between two sheets of cardboard and fix over the tubes. The visibility of red, amber and also green lights enhances with their installation on the tubular shape.
Continue Reading[..]

Friday, April 12, 2013

PWM Dimmer Motor Speed Controller

This is yet some other mission born of necessity. Its a simple circuit, but does precisely what its designed to do - dim LED gentles or management the rate of 12V DC motors. The circuit makes use of PWM to regulate the effective or moderate current in the course of the LED array, 12V incandescent lamp (such as a automobile headlight bulb) or DC motor. The best distinction between the two modes of operation is the addition of an influence diode for motor speed control, even supposing a small diode will have to be used for dimmers too, in case long leads are used on the means to create an inductive back EMF when the MOSFET switches off.

  
hoto of Completed PWM Dimmer/Speed Control

The photograph presentations what a achieved board seems like. Dimensions are 53 x 37mm, so its imaginable to set up it into kind of small areas. The parts used are without difficulty to be had, and lots of subsitiutions are available for both the MOSFET and energy diode (the latter is only needed for motor speed management). The opamps will have to not be substituted, because the ones used have been chosen for low power and their capability to swing the output to the terrible supply rail. Note that if used as a motor velocity managementler, there is no remarks, so motor pace will change with load. For many softwares the place DC motors are used, steady speed in spite of load isn't needed or fascinating, but it's up to you to make a decision if this could risingly suit your wants.

Description
First, an outline of PWM is warranted. As the pot is circled clockwise, the input voltage modifications linearly with rotation. At first, the voltage is such that the comparator output is simply slim spikes, which turn the MOSFET on for an awfully quick period. Average current is low, so related LEDs will most probably be reasonably dim, or a motor will run (relatively) slowly. As the enter voltage coming from the pot increases, the MOSFET is on for lengthyer and lengthyer, so increasing energy to the burden.

figure 1 - PWM Waveform Generation

Figure 1 displays how the PWM idea works. The red trace is the triangle wave reference voltage, and the green trace is the voltage from the pot. When the input voltage is bigger than the reference voltage, the MOSFET activates, and current drifts within the load. Because the frequency is comparatively high (about 600Hz), we dont see any flicker from the LEDs, however the tone is audible from a motor thats PWM controlled. The PWM signal is proven in blue. The moderate present in the direction of the load will depend on the ratio of on-time to off-time, and when each are equal, the moderate present is exactly half of of that which would be drawn with DC.

Figure 2 - Dimmer/Speed Controller Schematic

The circuit is shown in Figure 2. U1 is the oscillator, and generates a triangular waveform. R4 and R5 simply set a half voltage reference, so the opamps can perform around a 6V centre voltage. U2A is an amplifier, and its output is a 10V top to peak triangle wave that's used by the comparator in line with U2B. This circuit evaluates the voltage from the pot with the triangle wave. If the input voltage is at zero, the comparators output remains low, and the MOSFET is off. This is the zero atmosphere. In truth, the reference triangle waveform is from at least about 1.5V to a maximum of 9.5V, so there's a small part at each and every end of the pots rotation the place nothing occurs. 

This is commonplace and practical, due to the fact we would like a well defined off and most environment. Because of this vary, for lighting fixtures applications, an business standard zero-10V DC management sign can be used to set the mild stage. C-BUS (as smartly as many other home automation machines) can present 0-10V modules that may management the dimmer. While a 1N4004 diode is proven for D2, that is handiest appropriate if the unit is used as a dimmer. For motor pace management, a excessive-current quick recovery diode is required, this sort ofs a HFA15TB60PBF ultra-fast HEXFRED diode. There are many prospects for the diode, so you want to use whatever is without difficulty available that has appropriate scores. The diode should be rated for at least 1 of 2 the entire load present of the motor, and the HFA15TB60PBF urged is good for 15A continuous, so is adequateay with motors drawing as a lot as 30A.

Construction
While its unquestionably conceivable to build the dimmer on veroboard or identical, its somewhat fiddly to make and mistakes are easily made. Also, take no lengthyere that on account of the current the circuit can deal with, it may be very necessary use thick wires to give a boost to one of the crucial skinny tracks. This is even important for the PCB model. Naturally, I suggest the PCB, and this is to be had from ESP. The board is small - fifty three x 37mm, and it automobileries the entire skinnyg, together with the screw terminals. The PCB is double-sided with plated-through holes, and has solder maskss on both sides. The MOSFET will desire a heatsink except you are using the dimmer for light hundreds only. It is vital to insulate the MOSFET from the heatsink generally, for the explanation that case of the transistor is the drain (PWM output).

For use at excessive current and that which you can imagine excessive temperatures, the warmthsink may need to be higher than expected. Although the MOSFET must on the whole only dissipate about 2W or so at 10A, it's going to dissipate much more if its allowed to get scorching. Switching MOSFETs will cheerfully go into thermal runaway and self destruct if they have got inadequate heatsinking. You may also use an IGBT (insulated gate bipolar transistor) - most should have the identical pinouts, and they do no longer endure from the same thermal runaway drawback as MOSFETs. As noted above, there are rather a lot of different MOSFETs (or IGBTs) and fast diodes which are usable. The IRF540 MOSFET is a good choice, and being rated 27A it has a generous security margin. There are many differents that are equally suitable - in truth any switching MOSFET rated at 10A or more, and with a most voltage of more than 20V is quite adequate.

Testing

Connect to an appropriate 12V power supply. When powering up for the first time, use a one hundred ohm \"safety\" resisor in collection with the optimistic provide to limit the present if when you have made a mistake within the wiring. The complete present drain is about 2.5mA with the pot totally off, rising to 12.5mA when totally on. Most of this current is in the LED, which can also be fed from the PWM provide so you will see that the entire lot is working with no need to attach a load. Make sure that the pot is fully anti-clockwise (minimum), and apply power. You will have to measure not greater than 0.25V throughout the security resistor, rising to 1.25V with the pot at most. If adequate, do away with the safety resistor and install a load. High depth LED strip lights can draw up to ~1.5A each, and this dimmer should be capable of drive as so much as 10 of them, depending on the capabilities of the potential supply and the size of the warmthsink for the MOSFET.

source: http://sound.westhost.com/project126.htm
Continue Reading[..]

Sunday, March 17, 2013

Make This Mains Transformerless LED Controller Circuit


Normally LED control circuits are based on buck boost or flyback principles, where the circuit is configured to produce a constant DC for illuminating an LED series.

The above LED control systems have their respective drawbacks and the positives in which the range of operating voltage and the number of LEDs at the output decide the efficiency of the circuit. Other factors like whether the LEDs are included in parallel or series or whether they need to bedimmed or not, also affects the above topologies. These considerations make these LED control circuits rather dicey and complicated.
The circuit explained here employs a different approach and relies on a resonant mode of application.
Though the circuit does not provide direct isolation from the input AC, it has the features of driving many LEDs with current levels as high as 750 mA. The soft switching process involved in the circuit ensures greater efficiency to the unit.
Basically the mains transformerless LED control circuit is designed around the fluorescent lamp dimmer control IC IRS2530D. The circuit diagram shows how the IC has been wired up and how its output has been modified for controlling LEDs in place of the usual fluorescent lamp.
The usual preheating stage required for a tube light utilized a resonant tank which is now effectively replaced by a LC circuit suitable for driving LEDs.
Because the current at the output is an AC, the need of a bridge rectifier at the output became imperative; this makes sure that current is continuously passing through the LEDs during every switching cycle of the frequency.

The AC current sensing is done by the resistor RCS, placed across the common and the bottom of the rectifier.
This provides an instant AC measurement of the amplitude of the rectified LED current.
The DIM pin of the IC receives the above AC measurement via the resistor RFB and capacitor CFB.
This allows the dimmer control loop of the IC to keep track of the LED current amplitude and regulates it by instantaneously varying the frequency of the half bridge switching circuit, such that the voltage across the LED maintains a correct RMS value.
The dimmer loop also helps to keep the LED current constant irrespective of the line voltage, load current and temperature changes.
Whether a single LED is connected or a group in series, the LED parameters is always maintained correctly by the IC.

Alternatively the configuration may also be used as a high current transformerless power supply circuit.

Courtesy - http://www.irf.com/pressroom/articles/594LEDP0902.pdf
Continue Reading[..]