The author uses the domestic STC12C5624AD single-chip microcomputer to design an LCD screen backlight module drive and adjustment circuit, which can accurately measure the illumination of the ambient light and automatically and manually adjust the backlight brightness according to the ambient light.
1 Principle of display backlight adjustment
Due to the particularity of the aircraft cockpit, there are higher requirements for the reliability, accuracy and intelligence of the cockpit display. It is necessary to automatically adjust its own backlight brightness according to the changes in the ambient light to make it more comfortable for the human eye. The screen brightness can also be manually adjusted to meet the user's requirements. Through research, we can get the relationship between the ambient light xt and the brightness yt of the backlight screen.
When the ambient light illuminance is xt, the automatically adjusted brightness is:
yt=kxt+b (1)
where b is the minimum brightness required for the driver to see the information displayed on the screen clearly when the ambient light is 0; k is a proportional constant that can be modified according to the user's habits, reflecting the ratio of the brightness required for humans to see the information on the screen clearly in a bright environment to the ambient light.
When the user is not satisfied with the automatically adjusted brightness, he manually adjusts the brightness to yt' and calls the following calculation formula:
The obtained b' and k' are checked and replaced with b and k in formula (1) to obtain a new calculation formula. In order to prevent the driver from over-adjusting, bmin and bmax are set. Only when b' is between these two values, b' is used to replace b. At the same time, the system sets the initial value bs when leaving the factory. The user can restore b to bs by pressing a button. Similarly, kmin, kmax and ks are also set for k.
2 Circuit
The circuit schematic diagram of the LCD backlight module is shown in Figure 1, which mainly includes two PN23CV silicon photocells, a single-chip microcomputer, a key circuit, an LED backlight drive circuit with DD313 as the core, and auxiliary circuits. The PN23CV silicon photocell senses the illumination of the ambient light and the brightness of the LCD backlight, and transmits the signal to the single-chip microcomputer after amplification. The single-chip microcomputer calculates the theoretical brightness of the LCD backlight, compares it with the actual brightness of the LCD backlight, and determines whether the brightness of the LCD backlight needs to be adjusted. If necessary, a signal is sent to the backlight drive circuit with DD313 as the core, where the 13, 11, and 6 pins of DD313 are connected to the red, green, and blue LEDs respectively to control the brightness of the LEDs, thereby adjusting the actual brightness of the LCD backlight module. When the user is not satisfied with the result of the automatic adjustment, a signal can be sent to the single-chip microcomputer through the key circuit, and the single-chip microcomputer determines whether the brightness of the LCD backlight needs to be adjusted. After the brightness of the LCD backlight is adjusted, a delay is made to modify the b and k values. The circuit program flow chart is shown in Figures 2 and 3.
When the user manually adjusts the display brightness, the buttons SW1 and SW2 are connected to the interrupt 0 and interrupt 1 ports of the microcontroller STC12C5624AD respectively. When the button is pressed, the output voltage is VCC, and when the button is released, the output voltage is 0. Pressing SW1 means that the user requires to increase the display brightness, and pressing SW2 means that the user requires to reduce the display brightness. Pressing both SW1 and SW2 means returning to the original factory settings of b and k and bs and ks. SW1 and SW2 are connected to the 8th and 9th pins of the microcontroller respectively.
3 Software Programming
The circuit function is realized by software programming, and the STC single-chip timer and interrupt are used to scan whether there is a key pressed, and then make corresponding processing.
4 Conclusion
This paper uses the 51 single-chip microcomputer with superior performance and mature technology. Through the design of the single-chip microcomputer peripheral circuit and the programming of its timer and interrupt, the manual and automatic adjustment of the cockpit display backlight is realized to achieve a comfortable screen brightness that satisfies the user, making the cockpit display backlight adjustment accurate, reliable, and more intelligent and humane.
Previous article:Briefly introduce the application and working principle of photodetectors
Next article:Design Techniques of CCFL Control Circuit for LCD TV
Recommended ReadingLatest update time:2024-11-16 21:34
- 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
- Application example of serial-input-parallel-output chip 74HC595
- EEWORLD University ---- Sharing of product application solutions based on MM32 MCU - household heating and cooling variable frequency air conditioner
- PIC18 microcontroller
- Ek314 video test problem
- [TI millimeter wave radar evaluation]_3_mmwave_studio usage problems
- MM, be careful, your secret to sleeping has been discovered!
- Is CD4051 VEE negative voltage problem?
- Motion and Environmental Sensor Development Board X-NUCLEO-IKS01A3 Related Materials
- Gaoyun Cloud Source Editor causes cursor movement when using Chinese
- How to reduce the cost of Bluetooth