Monday, August 18, 2014

PWM motor / lamp controller circuit -PWM Motor / Light C

PWM motor / lamp controller circuit -PWM Motor / Light Controller
A Pulse width Modulator ( PWM ) is a device That May be Used as an Efficient light DIMMER or DC Motor Speed ​​Controller. DESCRIBED The circuit here is a General Purpose DC device That CAN Control Devices Which Draw up to a FEW amps of current. The circuit may be used in 12 Volt and 24 Volt systems with a few minor changes. This device has been used to control the brightness of an automotive tail lamp and as a motor speed control for small DC fans of the type used in computer power supplies. A PWM circuit works by making a square wave with a variable on-to-off ratio, the average on time may be varied from 0 to 100 percent. In this manner, a variable amount of power is transferred to the load. The main advantage of a PWM circuit over a resistive power controller is the efficiency, at a 50% level, the PWM will use about 50% of full power, almost all of which is transferred to the load, a resistive controller at 50% load power would consume about 71% of full power, 50% of the power goes to the load and the other 21% is wasted heating the dropping resistor. Load efficiency is almost always a critical factor in alternative energy systems. An additional advantage of pulse width modulation is that the pulses are at the full supply voltage and will produce more torque in a motor by being able to overcome the internal motor resistances more easily. Finally, in a PWM circuit, common small potentiometers may be used to control a wide variety of loads whereas large and expensive high power variable resistors are needed for resistive controllers. The main Disadvantages of PWM circuits are the added complexity and the possibility of generating radio frequency interference (RFI). RFI may be minimized by locating the controller near the load, using short leads, and in some cases, using additional filtering on the power supply leads. This circuit has some RFI bypassing and produced minimal interference with an AM radio that was located under a foot away. If additional filtering is needed, a car radio line choke may be placed in series with the DC power input, be sure not to exceed the current rating of the choke.
SPECIFICATIONS
PWM Frequency: 400 Hz
Current Capacity: 3 Amps with IRF521 FET, More with IRFZ34N FET
PWM circuit current: 1.5 mA @ 12V with no LED and no load
Operating Voltage: 12V or 24V DEPENDING on the configuration.
THEORY
The PWM circuit Requires a steadily running Oscillator to Operate. U1a and U1d form a Square / Triangle Waveform Generator with a Frequency of around 400 Hz. U1c is Used to generate a 6 Volt Reference current Which is Used as a Virtual Ground for the Oscillator , this is necessary to allow the oscillator to run off of a single supply instead of a +/- voltage dual supply. U1b is wired in a comparator configuration and is the part of the circuit that generates the variable pulse width. U1 pin 6 receives a variable voltage from the R6, VR1, R7 voltage ladder. This is compared to the triangle waveform from U1-14. When the waveform is above the pin 6 voltage, U1 produces a high output. Conversely, when the waveform is below the pin 6 voltage, U1 produces a low output. By varying the pin 6 voltage, the on / off points are moved up and down the triangle wave, producing a variable pulse width. Resistors R6 and R7 are used to set the end points of the VR1 control, the values ​​shown allow the control to have a full on and a full off setting within the travel of the potentiometer. These part values ​​may be varied to change the behavior of the potentiometer. Finally, Q1 is the power switch, it receives the modulated pulse width voltage on the gate terminal and switches the load current on and off through the Source-Drain current path. When Q1 is on, it provides a ground path for the load, when Q1 is off, the load's ground is floating. Care should be taken to insure that the load terminals are not grounded or a short will occur. The load will have the supply voltage on the positive side at all times. LED1 is optional and gives a variable brightness response to the pulse width. Capacitor C3 smooths out the switching waveform and removes some RFI, Diode D1 is a flywheel diode that shorts out the reverse voltage kick from inductive motor loads. In the 24 Volt mode, regulator U2 converts the 24 Volt supply to 12 Volts for running the pwm circuit, Q1 switches the 24 Volt load to ground just like it does for the 12 Volt load. See the schematic for instructions on wiring the circuit for 12 Volts or 24 Volts. At the 1 amp current level, no heat sink is needed on Q1, if you will be switching more current, a heat sink is recommended. Q1 may be replaced with a higher current device such as an IRFZ34N, all of the current handling devices, switch S1, fuse F1, and the wiring between the FET, power supply, and load should be able to handle the maximum load current.
CONSTRUCTON
The prototype for this circuit WAS Constructed on a regular IC proto Board with Parts and wires stuck into the proto Board holes. One Version of the Finished circuit WAS Used to make a variable DC Fan Speed, the Fan WAS mounted on Top of a Small Metal Box and thePWM circuit WAS CONTAINED Inside of the Box (Fig 1). I Built a Simple circuit Board (Fig 2) using a CAD program free circuit Board, PCB (1) That runs on the Linux Operating system. The circuit Board image was printed on a PostScript laser printer onto a mask transfer product called Techniks Press-n-Peel blue film (2). The printed on film is then ironed on to a cleaned piece of single sided copper clad board. The board is etched with Ferric Chloride solution. Holes are drilled with a fine gauge drill bit, parts are soldered in, and the board is wired to the power and load. This technique is great for producing working boards in a short time but is not suitable for large numbers of boards. A board pattern is shown in Fig 3, this may be photo-copied onto a piece of press-n-peel blue film. Alternately, the dead-bug construction method may be used, this involves taking a piece of blank copper PC board, glueing a wire-wrap IC socket to the board with 5 minute epoxy, then soldering all of the parts to the wire wrap pins. Grounded pins can be soldered directly to the copper board.
ALIGNMENT
No Alignment Necessary SHOULD be with this circuit.
PARTS
U1: LM324N Quad op-amp
U2: 78L12 12 volt Regulator
Q1: IRF521 N Channel MosFet
D1: 1N4004 silicon Diode
LED1 Red LED
C1: 0.01uF Ceramic Disc Capacitor, 25V
C2-C5: 0.1uF Ceramic Disk Capacitor, 50V
R1 R4: 100K 1 / 4W resistor
R5: 47K 1 / 4W resistor
R6-R7: 3.9K 1 / 4W resistor
R8: 2.7K 1 / 4W resistor
VR1: 10K linear Potentiometer
F1: 3 Amp, 28V DC fast Blow fuse
S1: Toggle switch, 5 Amps
USE
This circuit Will work as a DC lamp DIMMER, Small Motor Controller, and Even as a Small Heater Controller. It Would make a great Speed ​​Control for a Solar Powered electric Train. I have not Tried the circuit with larger motors, in theory, it should work in applications such as a bicycle motor drive system, if you experiment with this, be sure to include an easily accessible emergency power disconnect switch in case the FET shorts on. Wire the circuit for 12 Volts or 24 Volts as per the schematic , connect the battery to the input terminals, and connect the load to the output terminals, be sure not to ground either output terminal or anything connected to the output terminals such as a motor case. Turn the potentiometer knob back and forth, the load should show variable speed or light.

[Editor: electronic enthusiasts --- reproduced, please indicate the source] 

No comments:

Post a Comment

Please comment