In the automotive industry, high-brightness LED technology differentiates vehicles in terms of styling, safety, and fuel economy, from switch lighting, LCD backlighting to headlight applications. However, it is not an easy task to control the brightness of HBLEDs efficiently and reliably; power stage efficiency, thermal design, and EMC are the most critical design challenges in applications involving HBLEDs. Typically, a dedicated constant current driver (CCD) is used to drive the HBLED string to solve most of the important design issues and simplify the design. However, CCDs are usually more expensive than microcontroller-based solutions. This article introduces the use of an 8-bit microcontroller (MCU) and a low-cost discrete solution to implement intelligent HBLED lighting control, thereby avoiding the use of expensive analog drivers or CCDs.
Important characteristics of high brightness LEDs
As in the case of low-intensity LEDs, the luminous intensity of high-brightness LEDs is proportional to the amount of current passing through them. This current is usually called the forward current (IF), and in the HBLED ranges from 100mA to 1000mA. At the same time, whenever the HBLED is polarized, a voltage drop occurs, called the forward voltage (VF). In HBLEDs, the luminosity and color are proportional to the IF, so precise control of the current through the HBLED is critical.
HBLEDs with the same part number and technical specifications do not necessarily have exactly the same VF value. When the current IF through two HBLEDs is the same, their backward voltage VF may be different. Therefore, controlling the LED intensity by means of a constant voltage may result in different densities between HBLEDs, and to ensure that all HBLEDs have the same brightness, a current control must be provided.
Not only is the luminous intensity related to the current through the HBLED, the chromaticity is also related to the HBLED current. In order to maintain the HBLED color, the HBLED must be driven with a constant current. This solution will use PWM (Pulse Width Modulation) to provide a lower average current in the HBLED (light intensity) while maintaining the same instantaneous current (LED color).
As the HBLED current increases, the power dissipation will also increase. A 350mA HBLED with a 3V dropout will consume approximately 1 Watt of power, and without proper thermal management, this dissipation may cause the HBLED to overheat and degrade in long-term performance. Another important aspect of thermal design is that the HBLED luminous intensity is inversely proportional to the LED junction temperature, and as the temperature increases, the color of the emitter will move into higher wavelengths.
Challenges of driving high-brightness LEDs
In low-intensity LEDs, it is very common to use resistors to limit the IF current. In HBLEDs, the power rating of the resistors must be higher, which results in inefficient systems. Therefore, in HBLED systems, switch-mode power supplies (SMPS) are used to improve efficiency and reduce power consumption. Since SMPSs require energy storage components (inductors and capacitors), they are usually more expensive; at the same time, SMPSs may also cause noise or EMI issues.
A group of HBLEDs can be driven simultaneously in parallel or in series. Parallel driving allows each HBLED to have a different light intensity, but if a control loop is required, each HBLED will require a dedicated control, which is too expensive for a large number of HBLEDs.
When HBLEDs are connected in parallel, only one drive and control loop is needed for each string, and the current through all HBLEDs in the series is the same, providing them with a relatively constant brightness. Depending on the number of LEDs in the series, the voltage required for the line may be lower or higher than the input voltage.
Using a microcontroller-based solution
There are a large number of solutions on the market for driving HBLED constant current, some of which are based on dedicated intelligent analog drivers, while others use digital signal processors (DSPs) or microcontrollers with independent analog drivers.
MCU-based solutions are not the best way to perform HBLED constant current control, especially when the system uses a switch-mode power supply built with discrete components, it will become unstable and it is impossible to pass EMC certification. Based on the S08MP16 eight-bit microcontroller, the MCU is responsible for measuring the current feed from the LED string and processing it using a PID control algorithm to control the operation of the independent buck-boost switch-mode power supply to ensure the best current flow through the HBLED string.
The microcontroller is also responsible for monitoring user input, battery voltage and temperature sensors, diagnosing the real-time LED power supply status, and some special communication functions such as LIN functions can also be implemented in the same microcontroller.
A switch-mode power supply is used to provide power to the HBLEDs. It is a discrete buck-boost topology that can operate in the range of 1 to 18 LED strings (continuous range of 0V-5V) and runs at an output current of 500mA at a frequency of 350kHz. The application block diagram is shown in Figure 1.
Figure 1 Switching power supply applied to HBLED power supply
Challenges of Switch-Mode Power Supply Design
For a large number of HBLEDs, a buck-boost supply is required to sense the output voltage ( VOUT ) above or below the battery voltage ( VBAT ).
There are many buck-boost topologies available, such as the CUK circuit or the SEPIC converter, each with different requirements and advantages in terms of the number of components required, positive and negative voltage references, and efficiency.
The switch-mode power supply chosen in this design combines a buck converter and a boost converter, which use a common inductor and capacitor. Changing the operation mode from buck to boost or from boost to buck depends on the state of transistors Q1 and Q2, as shown in Figure 2.
Figure 2 Buck-Boost Conversion Example
This topology reduces cost and eliminates the need for additional inductors and capacitors. In addition, depending on the mode in which the switch mode power supply operates, its transfer function is reduced to a common buck or boost converter, simplifying the design from a control perspective.
To control EMC using independent switch-mode power supply topologies, buffer filters need to be set and added to the switching transistors Q1 and Q2; and the software control strategy needs to be set to center-aligned PWM and on/off delay between the two channels.
Choosing the right microcontroller for constant current HBLED control
Switching mode power supply (SMPS) requires accurate switching frequency and duty cycle, PWM signal jitter will be reflected in the output voltage, and then reflected in the HBLED intensity. At the same time, in order to save the cost of inductor and capacitor size, the switching frequency must be increased to tens of thousands of hertz. The resolution and channel availability of analog-to-digital converters are also important for monitoring and controlling HBLED current and voltage at any time.
To achieve HBLED constant current control, S08MP16 measures the HBLED string current reflected in the current sense resistor, which is connected in series with the HBLED string. S08MP16 embedded 12-bit analog-to-digital converter, can use small resistor value, power consumption is very small. In addition, by using ADC and resistor divider, it can measure SMPS output voltage and diagnose open load in overcurrent and overvoltage conditions.
Figure 3 Embedded PID control block diagram
To control the switching power supply frequency and duty cycle, the FlexTimer (FTM) module can be used; using a timer operating frequency of up to 40MHz in the automotive version, high-frequency and high-resolution pulse width modulation (PWM) can be generated, and more HBLEDs can be operated on each string without unstable HBLED intensity when operating in small quantities. In addition, the Programmable Delay Module (PDB) is used in this application to synchronize the ADC reading with the PWM switching frequency, ensuring that the ADC reading is only displayed when the current stabilizes in the ON state.
Previous article:Design of single-stage high power factor TRIAC dimming LED driver
Next article:Single-stage offline LED driver with high PFC and low LED ripple current
- 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