脉冲宽度调制(PWM)调光是一种用于控制 LED 亮度的流行技术。由于其效率高、能够提供精确的调光控制,因此被广泛使用。本文将探讨 PWM 调光、其优势、技术细节以及与其他调光方法的比较。
用于 LED 驱动器的 PWM 调光使用的是脉冲宽度调制。它通过高频率开关 LED 来调节 LED 的亮度。通过改变占空比,LED 的平均功率发生变化,从而控制亮度。PWM 调光因其效率高而备受青睐。它能精确控制 LED 的亮度。这使它适用于许多照明应用。
为了更好地理解 PWM 调光,我们需要深入了解其工作原理的具体细节,以及为什么它比其他方法更受青睐。
关于调光的见解

恒定电流降低 (CCR)
LEDs can be dimmed in various ways. The most common are Constant Current Reduction (CCR) and Pulse Width Modulation (PWM). CCR reduces the current supplied to the LED, thereby lowering its brightness. This method is simple. But, it may change the color and efficiency of the LED. Lowering the current can cause CCR to change the LED's color or make it less bright. Also, this method might create more heat. This heat could reduce the life of the LED components.

恒流减速器可应用于以下领域。
- 驾驶员远离电源的情况
- 潮湿区域和户外应用
- 电磁干扰(EMI)标准严格的地区
脉冲宽度调制 (PWM)
另一方面,PWM 调光通过快速开关 LED 来控制亮度。通过改变 PWM 信号的占空比来调整 LED 的平均功率。这种方法能保持颜色的一致性,而且效率更高,因此在许多应用中成为首选。PWM 调节脉冲宽度。它能确保 LED 在短时间内获得稳定的功率。这样,LED 就能保持其色彩。此外,PWM 可以很容易地由数字系统控制。这使其与现代电子控制和智能照明系统高度兼容。
PWM 应用于以下领域
- LED 驱动器调光
- 太阳能电池板
- 发动机
什么是 PWM 调光?
PWM 调光是利用方波信号来控制 LED 的功率。信号以高频率在开启和关闭状态之间切换。占空比是信号开启的时间比例。它决定了平均功率,从而决定了 LED 的亮度。例如,如果占空比设置为 50%,LED 将有一半时间处于开启状态,另一半时间处于关闭状态,从而产生 50% 的亮度。它的开关速度很快。人眼看到的是调光效果,而不是闪烁的光。
例如,50% 占空比意味着 LED 亮一半,灭一半,亮度为 50%。通过调整占空比,可以实现对亮度的精确控制。此外,PWM 调光并不局限于简单的开关模式。占空比可以平滑变化。这样就可以实现亮度的渐变。这对于需要平滑调光的应用非常有用。这些应用包括建筑照明或舞台照明。此外,微控制器还能实现 PWM 调光。这使它成为各种 LED 驱动器设计的通用器件。

为什么使用 PWM 对 LED 进行调光
PWM 可用于 LED 的调光,因为它有几个优点:
- 效率:PWM 调光不会以热量形式耗散功率,因此更加节能。模拟调光方法会将多余的功率转化为热量,从而浪费能源。PWM 能更精确地控制功率。它能确保将能源损耗降至最低。这种速度对于使用电池或便携式灯具至关重要。省电在这方面至关重要。
- 精确度:它能精确控制亮度级别。微调占空比的功能可实现从极暗到全亮的多种亮度设置。这种精度使 PWM 调光适用于需要精确控制照明的应用,如医疗设备、摄影照明和显示器背光。
- 一致性: Maintains the color temperature and quality of the LED light. Because the LED is always operating at its full rated current during the "on" periods, the color temperature remains stable. This is a significant advantage over analog dimming, which can cause color shifts at lower current levels. Consistent color quality is vital in applications like retail lighting and museum displays. Accurate color is crucial in these places.
- 兼容性:易于与数字控制器和微控制器集成。许多数字设备都能发出 PWM 信号。这些设备包括微控制器、PLC 甚至一些简单的定时器。这种兼容性使其可以轻松集成到智能照明系统和自动控制设置中,实现远程调光控制、可编程照明时间表和动态照明效果等功能。
These benefits make PWM ideal for applications. These range from household lighting to industrial and automotive uses. In cars, for instance, PWM dimming is used in dashboard and headlight dimming. It's also used in interior ambient lighting. It provides reliable and efficient control in changing conditions.
LED 驱动器中 PWM 调光工作原理的技术细节
PWM dimming in LED drivers involves generating a high-frequency square wave signal. This signal is fed into the LED driver, which then modulates the power supplied to the LED based on the duty cycle of the PWM signal. The LED driver acts as an intermediary, ensuring that the LED receives the correct amount of power to achieve the desired brightness. The modulation process involves switching the current to the LED on and off at high speeds. The length of the "on" time is set by the PWM signal's duty cycle.
LED 驱动器通常包括一个微控制器或专用 PWM 控制器集成电路,用于产生 PWM 信号。PWM 信号的频率要选择得足够高,以避免可见闪烁,通常在 200 Hz 以上。在此频率下,开关转换太快,人眼无法察觉,从而产生平滑的调光效果。微控制器或 PWM 控制芯片可调整占空比。它根据用户输入或编程设置进行调整。这样就能实现动态、灵敏的 LED 亮度控制。
To ensure reliable performance, the LED driver must be designed to handle the specific characteristics of the LED load. This includes the LED's forward voltage. It also includes its current rating and thermal needs. The drivers may have feedback. It monitors the LED's performance and adjusts the PWM signal. This keeps brightness and color consistent under varying conditions. Also, the LED driver may have protection features. These include overcurrent protection, thermal shutdown, and short-circuit protection. They protect both the LED and the driver circuit.
PWM 作为调光信号:占空比和频率
The duty cycle of a PWM signal is the ratio of the on time to the total period of the signal. For instance, a duty cycle of 25% means the signal is on for 25% of the time and off for 75%. Adjusting the duty cycle changes the average power delivered to the LED, thus controlling its brightness. The duty cycle's flexibility allows for a wide range of brightness levels. They go from nearly off to fully on. It provides precise and smooth dimming control.


The frequency of the PWM signal is also crucial. Higher frequency makes dimming smoother and avoids flicker. This is especially true in applications with motion, like video recording. Frequencies above 25 kHz are recommended for flicker-free dimming. At these high frequencies, the PWM signal switches on and off so rapidly. This flicker is so fast that humans and high-speed cameras can't see it. This is key in pro lighting setups. Flicker can harm video quality and viewer comfort.

In practice, the PWM frequency choice depends on the LED's needs and its use case. For example, in architectural lighting, a frequency of around 1 kHz may be enough to avoid visible flicker. But, in high-performance video lighting, a frequency of 25 kHz or higher may be needed for flawless performance. The duty cycle and frequency must be calibrated carefully. They balance brightness, efficiency, and flicker-free operation. Factors include the LED's response time and the system's thermal traits.
PWM 作为 LED 驱动器输出
In a PWM-based LED driver, the output is a modulated current that corresponds to the PWM signal. The LED driver converts the PWM signal into a corresponding current, which then drives the LED. This method ensures the LED gets the right amount of current. This keeps its brightness and efficiency. Modulating the current allows for precise control over the LED's light output. This ensures consistent performance across a wide range of brightness levels.
The LED driver achieves this by rapidly switching the current to the LED on and off in sync with the PWM signal. During the "on" periods, the LED receives full current, producing its maximum light output. During the "off" periods, the LED receives no current, resulting in no light output. The driver adjusts the ratio of "on" to "off" periods (the duty cycle). This control sets the average current and, thus, the average light output of the LED.

This approach has several advantages. First, it allows the LED to operate at its full efficiency during the "on" periods, minimizing energy loss and heat generation. Second, it maintains the LED's color consistency, as the LED always operates at its rated current during the "on" periods. Third, it provides precise control over the LED's brightness. This allows smooth dimming and dynamic lighting effects. Also, PWM-based drivers can easily connect to digital control systems. This allows for programmable and remote control of the lighting setup.
PWM 调光与其他调光方法的比较
与其他方法相比,PWM 调光有几个优点:
- 模拟调光:涉及调整提供给 LED 的电流。这种方法虽然简单,但可能导致色差,而且效率较低。模拟调光会逐渐减小电流。这会导致 LED 发出不同强度的光,并可能改变其颜色。此外,这种方法往往会消耗更多的热能,从而降低系统的整体效率。
- 相切调光:在交流供电的 LED 驱动器中使用,它可切断交流波形以降低功耗。它可能会引起闪烁和与某些 LED 驱动器的兼容性问题。相切调光的工作原理是切断部分交流波形,从而有效降低输送到 LED 的平均功率。这种方法会导致与某些 LED 驱动器的兼容性问题。这会导致闪烁和性能不佳。它还需要更复杂的电路来实现,这可能会增加照明系统的成本和复杂性。
PWM 调光效率更高。它还能提供精确控制并保持色彩一致。在许多应用中都有更好的效果。PWM 调光用高频信号调制功率。它避免了模拟调光和相切调光的问题。PWM 调光是一种更可靠、更灵活的解决方案。此外,PWM 调光还可与数字控制系统配合使用。它可以实现可编程调光配置文件、远程控制以及与智能家居系统集成等高级功能。
在市场中实现 PWM 调光驱动器
PWM dimming drivers are increasingly important in LED lighting. However, it is crucial to understand that there are two distinct methods for implementing PWM dimming drivers. Let's explore these methods.
假 PWM 调光
假 PWM 调光方法是将 PWM 输入转换为模拟控制信号。这种方法在驱动器内使用电阻电容 (RC) 滤波器。RC 滤波器可将 PWM 信号平滑转换为与占空比成比例的直流电压。假 PWM 调光的一个优点是无噪声,因为 LED 电流在输出端保持连续。

However, this method has significant drawbacks. The peak value of the PWM signal must be 10V to ensure accuracy, which can be a limitation. Also, the RC parameters limit the PWM signal's frequency. This reduces the dimming system's flexibility and performance.
真正的 PWM 调光
在真正的 PWM 调光中,LED 电流以指定的频率和占空比开关。驱动器内的微控制器 (MCU) 可检测 PWM 信号的峰值电压,从而实现精确控制。真正的 PWM 调光支持更宽的 PWM 频率范围,并能保留 LED 输出的白点。它还能容纳更高的基准电压,减少偏移误差。

例如,所有 boqi 驱动器都集成了一个 MCU,以实现真正的 PWM 调光。这使其驱动器能够接受从 3.8V 到 10V 的各种 PWM 信号电压,从而兼容各种 PWM 信号,如常用的 5V PWM 信号。

用户需要在驱动器编程软件中选择 PWM 调光模式,才能使用该功能。
结论
总之,PWM 调光是一种有效且高效的 LED 亮度控制方法。它的精确性和适应性使其成为各种应用的首选。了解其原理和优点有助于选择适合您需求的调光解决方案。选择像 boqi 这样信誉良好的供应商。他们能确保您获得高质量的 可调光 LED 驱动器.这些驱动器性能卓越,可靠性高。