Showing posts with label pwm. Show all posts
Showing posts with label pwm. Show all posts

Friday, December 20, 2013

Small DC Motor Control Using PWM

Small DC motors are efficiently controlled using pulse-width modulation (PWM) method. The circuit described here is built around an LM324 low-power quad-operational amplifier. Of the four op-amps (operational amplifiers) available in this IC, two are used for triangular wave generator and one for comparator. Op-amp N2 generates a 1.6kHz square wave, while op-amp N1 is configured as an integrator. The square wave output of N2 at its pin 14 is fed to the inverting input (pin 2) of N1 through resistor R1. As N1 is configured as an integrator, it outputs a triangular wave of the same frequency as the square wave. The triangular wave is fed to pin 5 of op-amp N3, which is configured as a comparator.

Small DC Motor Control Circuit Diagram :

Small DC Motor Control Cirucit diagram

The reference voltage at pin 6 of the comparator is fixed through the potential divider arrangement formed by potmeter VR1 and resistors R4 and R5. It can be set from –6V (lowermost position of VR1) to +6V (uppermost position of VR1). 

  
The triangular wave applied at pin 5 of N3 is compared with the reference voltage at its pin 6. The output at pin 7 is about +12V when the voltage at pin 5 is greater than the voltage at pin 6. Similarly, the output at pin 7 is about -12V when the voltage at pin 5 is lower than the voltage at pin 6.


The output from comparator N3 is the gate voltage for n-channel MOSFET (T1). T1 switches on when the gate voltage is positive and switches off when the gate voltage is negative. Setting of the reference voltage therefore controls the pulse-width of the motor. When T1 is switched on for a longer period, the pulse width will be wider, which means more average DC component and faster speed of the motor. Speed will be low when the pulse width is small. Thus potmeter VR1 controls the speed of the motor.

Assemble the circuit on a general-purpose PCB and enclose in a suitable cabinet. The circuit requires ±12V power supply for its working. It can also be modified to control the speed of a 6V or 24V DC motor.

Source :  http://www.ecircuitslab.com/2012/09/small-dc-motor-control-using-pwm.html
Continue reading...

Thursday, October 3, 2013

PWM Modulator

If you ever thought of experimenting with pulse-width modulation, this circuit should get you started nicely. We’ve kept simplicity in mind and used a dual 555 timer, making the circuit a piece of cake. We have even designed a small PCB for this, so building it shouldn’t be a problem at all. This certainly isn’t an original circuit, and is here mainly as an addition to the ‘Dimmer with MOSFET’ article elsewhere in this website. The design has therefore been tailored to this use. A frequency of 500 Hz was chosen, splitting each half-period of the dimmer into five (a low frequency generates less interference).
Picture of the project:
PWM_Modulator_Circuit
The first timer is configured as a standard astable frequency generator. There is no need to explain its operation here, since this can easily be found on the Internet in the datasheet and application notes. All we need to mention is that the frequency equals 1.49 / ((R1+2R2) × C1) [Hz] R2 has been kept small so that the frequency can be varied easily by adjusting the values of R1 and/or C1. The second timer works as a monostable multivibrator and is triggered by the differentiator constructed using R3 and C3.
Parts layout:
PCB_PWM_Modulator_Circuit_Diagram1
The trigger input reacts to a rising edge. A low level at the trigger input forces the output of the timer low. R3 and C3 have therefore been added, to make the control range as large as possible. The pulse-width of the monostable timer is given by 1.1xR4xC4 and in this case equals just over a millisecond. This is roughly half the period of IC1a. The pulse-width is varied using P1 to change the voltage on the CNTR input. This changes the voltage to the internal comparators of the timer and hence varies the time required to charge up C4.
Circuit diagram:
PWM_Modulator_Circuit_Diagram1
he control range is also affected by the supply voltage; hence we’ve chosen 15V for this. The voltage range of P1 is limited by R6, R7 and R5. In this design the control voltage varies between 3.32 V and 12.55 V (the supply voltage of the prototype was 14.8 V). Only when the voltage reaches 3.51 V does the output become active, with a duty-cycle of 13.5 %. The advantage of this initial ‘quiet’ range is that the lamp will be off. R8 protects the output against short circuits. With the opto-coupler of the dimmer as load, the maximum current consumption of the circuit is about 30 mA.
Power supply:
COMPONENTS LIST
Resistors:
R1 = 270k
R2,R3 = 10k
R4 = 100k
R5,R8 = 1k
R6,R7 = 220R
P1 = 2k2, linear, mono
Capacitors:
C1,C4 = 10nF
C2,C5,C6 = 100nF
C3 = 1nF
C7 = 2µF2 63V radial
C8 = 100µF 25V radial
Semiconductors:
D1 = 1N4002
IC1 = NE556
IC2 = 78L15
Miscellaneous:
P1 = 3-way pinheader
K1 = 2-way pinheader
Author: Ton Giesberts Copyright: Elektor Electronics
Continue reading...