On this project, the PWM dimming LED driver circuit to provide the required voltage and current of the LED, and has a high
color temperature, the economy, long life. The electrical properties of the white LED has a highly decentralized?? And white
LED light source is a homomorphism, is a solid state lighting devices. It has small size, mechanical strength, low-power,
long life, easy to adjust and control, as well as environmentally friendly features, light great prospects for development of
new products. However, white LED forward voltage characteristics are very steep, very difficult to force a small white LED
voltage fluctuations lead to dramatic changes in the current work, and can even burn the LED. In order to maintain the
stability of the LED current, and to ensure normal and reliable LED to work properly, the design of the drive circuit is
important.
Electrical characteristics of a white LED
1.1 LED power indicator and the current
LED devices in the current range of LED forward current intensity increases, but different semiconductor materials, LED
devices, light intensity and the forward current relationship between the changes is different. Under normal circumstances,
the luminescence intensity increased if, iridium forward current increase.
If the curve of Ir and description, in order to achieve the desired light intensity, LED should be how much the drive
current. LED luminous intensity and forward current Figure 1 L red curve shows the light-emitting LED, for example, when a DC
current of 40 mA, the red LED luminous intensity will not change. In other words, until the red LED array to control direct
current reaches a certain value, the intensity will have a saturation trend.
1.2 the influence of temperature in the white LED forward current
The size of the white LED forward current, when the temperature changes, as shown in Figure 2, the use of white LEDs,
allowing the temperature curve of the direct current.
PWM LED
2.1 principles and form of a PWM signal
Blink of an eye is not sensitive to the load based on human characteristics, the PWM dimming brightness, LED lights, when it
is dark, dark, and if more than the light frequency of 100 Hz, the human eye can see is the average intensity, instead of
flashing . PWM brightness, time to adjust the brightness dimming of a small part. Using this method, and can adjust the load
and a fixed frequency digital signal is the ratio used to adjust the lightness or darkness of withdrawal period may darken,
but different brightness of the device or internal soft-start circuit area to restore normal speed, which is not very common.
The principle of the PWM is based on a fixed DC voltage, with some frequency by the open and close the switch K, thus
changing the LED on the control voltage. When the LED lights to set the maximum current Imax. Switch to open and close the T
-cycle, each closing time T, then the duty cycle D = T / T, the LED average current:
(1) can be seen in the T invariant (ie, from a fixed switching frequency switching), but only changed the time t, can change
the average current through the LED. To change the brightness of the LED.
The existence of three types: 1) stress – pulse transformer of the PWM signal forming circuit, and then pulse width modulated
signal generated by a hardware, 2) by the time of the software timer, timer to run the program most of the time, and with the
pulse signal output port P1.0 or other regulated output pulse signal, 3) hardware pulse width modulation signal generated by
the microcontroller external timer / counter (eg, 8253) control circuit, only two counters are used by hardware connecting l
and 2-way method can generate a PWM signal. The first of which kind of hardware circuit, the circuit complexity. Two methods
of using the timer, because the circumstances of the counter, but should be expanded. Third, the use of 8253, very
convenient, but spend less time software.
ATMEGA 16 microcontroller with 4-channel PWM, as well as the fast PWM mode, the phase correct PWM mode and other modes.
Taking into account the costs and simplify the entire system is directly ATMEGA 16 microcontroller designed to generate a PWM
signal.
2.2 the PWM White LED Driver
LED is proportional to the advantages of LED devices, which shows the average current and pulse current DC the same
conditions, although the brightness of the LED power indicator. In addition, the large amplitude of the LED current pulse,
and then by adjusting the pulse duty cycle to obtain a more suitable medium current, which can reduce energy consumption.
Because, when the LED pulse state is perceived by the human eye between the LED brightness and the average brightness between
the peak brightness value. Therefore, the DC drive LED direct drive current pulse LED lights, is to get the same brightness
pulse than required to control the average current value is less than the DC current production line of LED lights.
Second, the light-emitting diode drive pulse circuit, PWM control, compared with the DC control mode, the control of the
control will be relatively large in order to improve efficiency, while limiting resistor can be removed or reduced small
value. Therefore, from the point of view, the pulsed power drive better use of energy issues.
The pulse-oriented approach is the use of repeated switching power LED devices a way to make light of human visual inertia.
The use of this CD is usually taking into account the definition of the scope of the current amplitude and pulse repetition
frequency. DC drives, the average pulse current of the drive in order to get enough light?? Ia and DC drive should be the
same value. Figure 3?? Show, the average current transient current moment I have time






