Home> Blog> LED dimming engine: switch mode dimmable LED driver solution based on 8-bit MCU

LED dimming engine: switch mode dimmable LED driver solution based on 8-bit MCU

October 11, 2022

Switch mode dimmable LED drivers are known for their high efficiency and precise control of LED current. This type of LED Driver also provides dimming, allowing end users to reduce their power consumption while creating fantastic lighting effects. 8-bit microcontroller (MCU)-based solutions provide the necessary modules for such applications, enabling communication, customization, and intelligent control. In addition, integrated core-independent peripherals provide significant flexibility compared to pure analog or ASIC implementations, extending the functionality of lighting products while shaping product differentiation for innovation. This type of intelligent lighting solution with features such as fault prediction and maintenance, energy monitoring, color temperature maintenance, and remote communication and control is so numerous that it will be favored.

While LED drivers have many advantages over previous lighting solutions, there are many challenges in their implementation. But you don't have to worry, after reading this article, you will learn how to use 8-bit MCUs to easily address these design challenges, creating a high-performance switch-mode LED driver solution that is so rich that traditional solutions can only be seen .

The 8-bit microcontroller can independently control up to four LED channels, a unique capability not found in most off-the-shelf LED driver controllers. In Figure 1, the LED dimming engine can be constructed from peripherals provided in a microcontroller. These engines have separate, closed channels that require little or no central processing unit (CPU) intervention to control the switch mode power converter. This frees up the CPU to perform other important tasks, such as monitoring, communication, or new intelligence in the system.

LED dimming engine: switch mode dimmable LED driver solution based on 8-bit MCU

LED dimming engine: switch mode dimmable LED driver solution based on 8-bit MCU

Figure 1: Graphical representation of four LED strings controlled by Microchip's PIC16F1779 8-bit microcontroller

LED dimming engine

In Figure 2, the LED driver based on the current mode boost converter is controlled by an LED dimming engine. The engine is mainly independent of the core by complementary output generator (COG), digital signal modulator (DSM), comparator, programmable ramp generator (PRG), operational amplifier (OPA) and pulse width modulator 3 (PWM3). Peripheral (CIP) composition. These CIPs are combined with other on-chip peripherals such as fixed voltage regulators (FVRs), digital-to-analog converters (DACs), and capture/compare/PWM (CCP) to form a complete engine. The COG supplies a high frequency switching pulse to the MOSFET Q1 to transfer energy and supply current to the LED string. The switching period of the COG output is set by the CCP and duty cycle to maintain the constant current of the LED, depending on the comparator output. The comparator generates an output pulse whenever the voltage across Rsense1 exceeds the output of the PRG module. The input to the PRG is derived from the OPA output in the feedback circuit, which is configured as a slope compensator to counteract the effects of the intrinsic subharmonic oscillations when the duty cycle is greater than 50%.

The OPA module is implemented as an error amplifier (EA) with a Type II compensator configuration. The FVR is used as a DAC input to provide a reference voltage for the OPA non-inverting input based on the LED constant current specification.

Contact Us

Author:

Mr. Wayne Tang

Phone/WhatsApp:

+886916140279

Popular Products
You may also like
Related Information
How to use extrusion aluminum heat sink?

1. Determine the size and shape of the heat sink required for your application. 2. Choose the appropriate extrusion aluminum heat sink based on the size and shape requirements. 3. Install the heat...

The Application of Extrusion aluminum heat sink

Extrusion aluminum heat sinks are commonly used in electronic devices to dissipate heat generated by electronic components such as transistors, diodes, and integrated circuits. The heat sink is...

What is Custom extrusion aluminum heat sink?

Custom extrusion aluminum heat sink is a type of heat sink that is made by extruding aluminum material into a specific shape and size. The process involves forcing the material through a die to...

The Usage of Extrusion aluminum heating sink

Extrusion aluminum heating sink is used to dissipate heat generated by electronic components such as transistors, diodes, and integrated circuits. The heat sink is attached to the component using...

Related Categories

Email to this supplier

Subject:
Email:
Message:

Your message must be betwwen 20-8000 characters

Related Products List

Home

Product

Whatsapp

About Us

Inquiry

We will contact you immediately

Fill in more information so that we can get in touch with you faster

Privacy statement: Your privacy is very important to Us. Our company promises not to disclose your personal information to any external company with out your explicit permission.

Send