Pulse width modulation is to achieve grayscale by controlling the light-emitting time of LED . The photoelectric response speed of LED is relatively fast, which can reach tens of megahertz. Therefore, we can use the control circuit to light up and extinguish the LED at high speed to obtain fine grayscale. In this way, the current driving the LED becomes a series of pulses, and the width of the pulse is modulated by the image data, so it is called pulse width modulation. This method has low control cost, high control accuracy and good linearity, and has been widely used.
1. Weight Lighting Method
Taking the corrected 12-bit image data D11...D0 as an example to illustrate this method, first convert the parallel data into serial data, and then output the LED lights in turn . When the highest bit D11 is output, the LED lights need to be turned on (or off) for 2 048 clock cycles (the LED lights are turned on when D11 is high, and the LED lights are turned off when D11 is low); when D10 is output, 1 024 clock cycles are required; and so on, only one clock cycle is required when D0 is output. In this way, 4 096 clock cycles are required to complete the grayscale formation of a pixel. Obviously, this method is too time-consuming, and it is generally not used in practice.
2. Weight Extinction Method
Still taking the corrected 12-bit image data D11...D0 as an example to illustrate this method, firstly, the parallel data is still converted into serial data, and then the LED lights are output in turn. However, this method only needs 12 clock cycles to complete the grayscale formation of one pixel. This method defines that when outputting D11, the LED light needs to be turned on (or off) for 1 clock cycle; then, DIO is 1/2 clock cycle; D9 is 1,4 clock cycle; and so on, D0 is 1/2048 clock cycle. It should be noted that the clock mentioned here refers to the lock clock (LAT) of the LED driver output to the LED display screen , which is generally around 1 000-3 000Hz (the internal clock of the main control chip is generally above 100 MHz). When each bit of image data is output and locked on the screen, the main control chip outputs a signal called "blanking pulse" (OE), which is generally defined as turning off the LED when OE is high and turning on the LED when OE is low. The width of the OE pulse must be precisely controlled. When outputting D11, OE outputs 1 clock cycle; when outputting DO, OE outputs 1/2 048 clock cycles. Although this method has a small time cost, it greatly sacrifices the brightness of the display screen . If the image data is fully bright (that is, D11... D0 are all 1), the brightness of the display screen is only 17% (approximate value) of the weighted lighting method. The formula is as follows:
Brightness percentage = 1/12 (1+1/2+1/4+1/8+1/16+1/32+1/64+1/128+1/256+1/512+1/1 024+1/2 048) = 17%
Obviously, such brightness is unacceptable.
3. Hybrid method
In order to increase the brightness of the screen without wasting too much time, the two methods can be mixed. For example, we can make D11 repeat 8 times, D10 repeat 4 times, D9 repeat 2 times, D8 output once, and from D7 on, the pulse width of OE is halved, and when D0 is output, the pulse width of OE is 1/256. This method requires 23 clock cycles to complete the grayscale formation of a pixel. It is much less than the 4,096 clock cycles of the weighted lighting method, and the brightness of the screen can reach 70% (approximate value) of the weighted lighting method. The formula is as follows:
Brightness percentage = 1/23 (8+4+2+1+1/2+1/4+l/8+1/16+1/32+1/64+1/128+l/256) = 70%
Generally speaking, this brightness should be acceptable. If you want to increase the brightness, you can repeat D11 16 times or more; conversely, if you want to reduce the time cost, you can reduce the repetition of D11 a little bit. You can't have both, and you need to consider comprehensively.
Previous article:Analysis on improving the efficiency of medium voltage boost converter in LED backlight system
Next article:Output power measurement in an electrolytic capacitor-free LED driver solution
Recommended ReadingLatest update time:2024-11-16 19:35
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
- Intelligent Control Technology of Permanent Magnet Synchronous Motor (Written by Wang Jun)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- 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
- 使用SVN保持 封装库 同步的方法【轉載】
- Resenas E1 downloads HEX to the R5F51115 chip
- BearPi-Hongmeng-BearPi-HM Nano 3 + Results from LED lighting experiment
- FAQ|Molex and TTI Live: Smaller, faster, more reliable connectors drive new developments in IoT applications
- MSP430F5529 and common matrix keyboard
- BlueNRG-LP HID KEYBOARD example PC side can not be used normally
- Channel Coding (Complete PPT can be downloaded)
- SensorTile.box Trial (2) Getting Started Mode Experience
- BLE usage (II) Before connecting
- Tomorrow night at 8:00: Domestic chips, Xianji 800MHz RISC-V high-performance MCU, play with four-axis servo motors