Utilizing two or more independent LEDs, today’s drivers can control trendy decorative lights that can be used in portable systems. Not only is the ILED peak current fully programmable, each LED can be dimmed to any value between 0 and 100% brightness. In addition, embedded progressive dimming functions that work in both the upward and downward directions provide a special lighting sequence that the end customer requires. This article describes the features of this driver and focuses on progressive dimming based on a typical application. In addition, the associated software is discussed as a typical example.
Basic simulation operations
Typically, an LED driver provides a constant current to bias the LED under the proper conditions. If we consider a portable system, the power source is a battery with an output voltage range of 2.8 to 4.2V (assuming a standard Li-Ion battery). Since the forward voltage of today's low-power LEDs can vary between 2.8 and 3.5V depending on the bias current and room temperature, an interface is needed to ensure that the LED is properly biased during normal operation. This is the purpose of the driver IC, and the first block to consider is the voltage range of the current control system.
Figure 1 Basic LED wiring
Figure 2 Comparison of advantages and disadvantages of series-parallel connection
At this point, we can consider connecting LEDs in series or in parallel: both connection methods have their own advantages and disadvantages, see Figure 2.
The key point is the ability to adjust the brightness of each LED independently and dynamically in color applications. Although it is possible to use a boost structure and use switches to connect between each LED to control them, the series arrangement is not the preferred solution, and the parallel structure is the easiest to implement.
The charge pump is the most suitable DC-DC converter to generate low voltage and minimize EMI problems. On the other hand, the use of multiple operating modes (1X, 1.5X, 2X) purely improves efficiency, allowing the system to save as much energy as possible when running in portable devices.
Besides the DC-DC converter, the second critical parameter is the current matching between LEDs belonging to a common array: the RGB structure cannot accommodate the bias current differences between LEDs, because these differences will translate into color performance in video and image displays. This problem is solved by using a set of accurate current mirrors as shown in Figure 3.
To achieve an accurate and stable forward bias condition in the LED, a reference current is generated by an external resistor related to the constant voltage provided by the bandgap reference. Transistor Q1 associated with operational amplifier U1 generates a constant output voltage at the Vref pin. The external resistor connected between Vref and ground generates a constant current flowing through Q1 and Q2. This current is now mirrored and amplified by the series of transistors Q3 to Q7, each of which is connected to switches S1 to S5 and summed by transistor Q8. Finally, transistor Q9 copies the reference current to LED1. This structure is replicated for each LED, and the layout of the chip is carefully analyzed to optimize the matching between each LED.
Figure 3 Basic current mirror structure
Figure 4 Typical independent PWM control
In this way, each LED shares the same I-LED peak current and no additional electronic circuit is needed to control the brightness of each LED individually. This functionality is achieved by using an independent PWM modulation for each LED (see Figure 4): switches S6~S8 controlled by digital signals PWM1 to PWM3 enable/disable the associated current mirror, thus generating brightness control of the associated LED. The net advantage is that the LED peak current is constant, ensuring that the color performance is not weakened by the brightness control and the operating point of the LED remains at the reference color defined by the color map, see Figure 5.
The waveforms in Figure 5 are derived from an industrial application and show the characteristics of the three PWMs embedded in the selected device. The three LEDs are controlled by a common low-frequency clock with a duty cycle setting to suit the given application. It is obvious that each PWM can be weakened or strengthened independently, ranging from 0 to 100% duty cycle, while the ILED peak current is constant.
Figure 5 Typical industrial PWM operation
A more complex circuit design can be used to obtain fully independent control of the LEDs: both the I-LED peak current and the PWM can be digitally programmed, producing an almost unlimited color range and brightness as the I-LED peak current moves through the color map. The basic model description is shown in Figure 6.
Figure 6 Comparison of LED and CCFL color gamut with NTSC standard
Digital Control
The standard I2C port is used to handle I-LED and PWM, and the built-in functions of the controller are set by software. To better illustrate the gradual dimming, we will use the NCP5623 controller as a reference to describe the operation of this function.
Before PWM can occur, the ILED peak current is set by sending the appropriate code to the chip as defined in the NCP5623 datasheet. To create a smooth increase in brightness, the software sends the driver the total number of steps available: in this case, we have 31. A simple loop could be implemented in the microcontroller (MCU) to handle this, but the brightness ramp-up process could be disrupted due to priority interrupt issues associated with real-time systems. The NCP5623 has a built-in sequence that avoids the need for real-time MCU operations: both increasing and decreasing brightness, gradual dimming can be achieved with a very limited number of software steps and without the impact of high-priority interrupt events.
Basically, the two built-in registers will be pre-adjusted as follows.
Goals and directions of progressive dimming:
-Brightness Enhancement=%101xxxxx
→ The last bits [B4:B0] contain the final ILED target for the enhancement
-Brightness reduction=%110xxxxx
→ The last bit [B5:B0] contains the final ILED target attenuation.
Timing and start conditions:
GRAD=%111xxxxx
→The last bit [B5:B0] contains the timing of each stage
The ILED current will increase smoothly from 0 to 5.5mA, with the total sequence timing equal to the contents of the GRAD register bits [B5:B0] multiplied by the number of levels defined in the UPWARD register. In this example:
T=GRAD[B5:B0]*UPWARD[B5:B0]
T=64*26=1664ms
Figure 7 Typical NCP5623 automatic upward gradual dimming process (8ms per level)
The waveforms shown in Figure 7 demonstrate upward gradual dimming; downward dimming operation is achieved by appropriately programming the DWNWRD register.
As we can observe, the ILED current increases in a quasi-exponential curve, which is good enough to compensate for the sensitivity of the human eye.
The reverse direction is easily accomplished by using the appropriate code in the upper three bits of the data register, with the rest of the sequence being the same.
Built-in registers make it possible to dynamically control the gradual dimming, allowing the simulation of different visual effects. For example, we can repeat a sequence created by digital modulation of the up or down period, or we can combine a set of gradual dimming with a sudden change to create a sawtooth-like waveform on the opposite side of the waveform.
Finally, it is possible to combine progressive dimming with the PWM embedded in the chip to create quite complex lighting sequences by modulating the ILED peak current via the IREF pin: a decorative light system can be constructed with a minimum number of passive components around the main controller.
Previous article:LED street light driver price dropped by 30%
Next article:Briefly describe the application of high-power LED in signal lights
Recommended ReadingLatest update time:2024-11-16 16:42
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Real-time control technologies meet the demands of real-time industrial communications – Part 3
- Share a STMF105RBT6 and 103RCT6_keil_C++ source program
- MSP430 MCU Example 3 - Colored Light Control
- EEWORLD University-What is an isolated gate driver?
- Burning image and mounting USB disk with busybox file system failed
- Switching Circuit
- EEWORLD University Hall----Open Source PWM Robotic Arm (Version 51)
- MakeCode Extension for the LSM6DSO Sensor
- PCB reliability test
- It is rare for home appliance manufacturers to issue price increase letters, simply because of rising costs of chips and other items!