当前位置:首页 > 电源 > 数字电源
[导读]PWM马达/灯控制器电路-PWM Motor/Light ControllerA pulse width modulator (PWM) is a device that may be used as an efficient light dimmer or DC motor speed controller. The circuit described here is a gen

PWM马达/灯控制器电路-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. The circuit described here is a general purpose device that can control DC 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 speed DC fan, the fan was mounted on top of a small metal box and the PWM circuit was contained inside of the box (Fig 1). I built a simple circuit board (Fig 2) using a free circuit board CAD program, 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 should be necessary 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.

本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

或许单单跟大家说震荡电路,大家会觉得这电路很简单,跟地气是零距离;缺乏科技感,一点也不高大上。但其实,震荡电路还有一个名字叫方波发生器。说到方波发生器,这是在实验室中经常看到的:

关键字: 震荡电路 方波发生器 PWM

脉冲宽度调制(PWM) 是一种数字信号,最常用于控制电路。该信号在预定义的时间和速度中设置为高(5v或3.3v)和低(0v)。通常,我们将PWM的高电平称为1,低电平为0。

关键字: STM32 PWM 控制

​今天来介绍SWM32单片机的两个功能模块Systick和PWM。两个功能相对简单一些,所以放在一起介绍。

关键字: SWM32单片机 Systick PWM

硬盘有机械硬盘(HDD)和固态硬盘(SSD)之分。机械硬盘即是传统普通硬盘,主要由:盘片,磁头,盘片转轴及控制电机,磁头控制器,数据转换器,接口,缓存等几个部分组成。

关键字: 硬盘 马达 机械硬盘

摘要:详细介绍了一种光伏路灯控制器设计方案,该方案基于Buck-Boost双向变换器结构及同步整流技术,与其他设计方案相比,电路结构简单,成本低,效率高,优势明显。经样机试制证明,性能优良,效果突出。

关键字: 同步整流 双向变换器 PWM

摘要:为了实现对半导体制冷系统温度的精确控制,设计了基于AD590温度传感器、STM32F407单片机和模糊PID控制算法的半导体制冷温控系统,自动实现对PWM输出波形的占空比控制,使得工作温度保持恒定。模糊PID控制算...

关键字: 半导体制冷 模糊PID控制 PWM

在我之前的帖子中,我们拼凑了一个系统,找到了我们的组件,征服了强大的原理图,并进行了审查、审查和审查。许多人会称他们的设计部分完成,将原理图交给布局工程师,并在等待 PCB 时喝杯咖啡。但是,不要放弃!布局是我们物理实例...

关键字: 电机驱动 PWM

在我之前的文章中,我们拼凑了一个系统,找到了我们的组件,征服了强大的原理图并进行了审查、审查和审查。上次,我讨论了一些常见的布局错误、最佳实践以及我们如何确保印刷电路板 (PCB) 的最佳性能。由于这篇文章的受欢迎程度,...

关键字: 电机驱动 PWM

我们有我们的想法,我们有我们的电机旋转,我们找到了我们设计的主要组成部分......现在怎么办?现在我们可以从更困难的部分开始,例如原理图捕获、布局和调试/测试。我们可以在下面看到这些如何落入典型的 PCB 设计流程中。...

关键字: 电机驱动 PWM

基于DRV8711步进电机控制器NexFET TM Power MOSTFET和MSP430 LaunchPad的电机驱动和控制系统。我还将分享人们在此过程中遇到的许多关键问题的知识,例如正确的组件选择、关键布局路径和常...

关键字: 电机驱动 PWM

数字电源

15504 篇文章

关注

发布文章

编辑精选

技术子站

关闭