With the development of digital technology and network technology, the digitization and networking of street lamps have become an inevitable trend. Saving energy, ensuring the life of lamps, improving the level of lighting management, beautifying the city night and ensuring the safety of night travel in the city have become a basic requirement for the lighting system. With the continuous development of social civilization and the rapid expansion of urban scale, urban lighting is no longer limited to road lighting. The society's requirements for lighting rate, accuracy of switching lights, real-time fault detection and timely maintenance, and energy saving of street lamps are also increasing. With the expansion of cities and the rapid growth of the number of street lamps, manual control methods are increasingly unsuitable for urban development in terms of real-time fault monitoring and processing, on-demand control, and energy saving. Therefore, the intelligent control and energy-saving measures taken for street lamps are very meaningful.
The LED intelligent street light control system designed in this paper uses the STC89C58RD single-chip microcomputer as the dominant control chip. It can realize a series of intelligent behaviors such as clock-timed switching of lights, switching lights on and off according to changes in ambient light, automatically adjusting the lighting status according to traffic conditions, and implementing sound and light alarms when street lights fail.
1 Overall system design
The system uses a photodiode to detect changes in ambient light and an infrared transmitter and receiver as a device to automatically adjust the light according to traffic conditions. The infrared transmitter is installed on the street light pole and the infrared receiver is installed on the street light bracket. When the photodiode cannot detect the light source and the infrared receiver detects the infrared signal, the street light will light up, otherwise it will not light up. Programming is used to achieve timing, design the time for turning on and off the street lights, select LCD12864 as the display device, and make corresponding displays. The system structure block diagram is shown in Figure 1.
Figure 1 System structure diagram
2 Unit module design
2.1 Clock timing part
The STC89C58RD chip we chose has a programmable timer/counter, which can be programmed by software to achieve timing/counting. When the set time is reached, the corresponding timing setting task will be executed.
2.2 Photodiode part
This circuit uses a photosensitive diode as the main control element (see Figure 2). When there is no light, the reverse resistance is large and the reverse current is small. When there is light, photons hit the vicinity of the PN junction, so electron-hole pairs are generated near the PN junction. They move in a directional manner under the action of the electric field inside the PN junction to form a photocurrent. The stronger the light, the greater the photocurrent. Therefore, different voltage signals are output according to the brightness of the environment.
Figure 2 Photosensitive circuit
2.3 Infrared receiving and transmitting part (detecting traffic conditions and street lights on and off)
As required, infrared receivers are installed on the lamp posts on both sides of the road (see Figure 3). The receiving end of the signal is connected to the microcontroller. When a vehicle or pedestrian passes by, the receiver detects the infrared and the signal end detects the high-level input, thereby controlling the on and off of the street lights.
Figure 3 Infrared emission sensor
2.4 Sound and light alarm part
When the street lamp fails, LED0 lights up and the buzzer sounds, achieving the sound and light alarm function (see Figure 4). When the microcontroller P0.7-pin is given a high frequency, LED0 lights up, the transistor is turned on, and the buzzer also sounds.
Figure 4 Sound and light alarm
2.5 Display
This part uses LCD128*64 as the display (see Figure 5). The main reason for using this display is that it can display pictures and characters. It has very powerful functions and can control the entire circuit through display prompts.
Figure 5 Display circuit
2.6 Constant current source part
This circuit provides a constant current (see Figure 6). Q3 is connected to the load to make the load work stably. Increasing the load will not affect the change of current.
In this way, the connected street lamp can work stably. By adjusting the input voltage, the output current can be changed accordingly. The reference voltage of the collector C of the TIP122 Darlington tube can be l2-20V.
Figure 6 Constant current source circuit
2.7 Street light quality detection part
This circuit uses two voltage comparators built with an LM358, which can detect the quality of the two street lamps at the P1 and P2 ends respectively. When the street lamp is turned on, there will be voltage at the 2nd and 6th pins of the comparator, and the 3rd and 5th pins of the comparator adjust the voltage through the sliding resistor, and the adjustment voltage of the 3rd and 5th pins should be smaller than the working voltage of the 2nd and 6th pins respectively, but it cannot be adjusted to 0 V. Therefore, when the street lamp is working normally, the P0.5 and P0.6 pins of the microcontroller output low level, and when the street lamp is faulty, the P0.5 and P0.6 pins will output high level.
3 System Software Design
The system software block diagram is shown in Figure 7.
Figure 7 System software block diagram
4 System Test Results
The test results of the voltage and current at the output end of the LED street lamp drive current are shown in Table 1 and Table 2.
Table 1 Load 1 (one lamp)
Table 2 Load 2 (two lamps)
5 Conclusion
This paper proposes a design scheme of intelligent control system for street lamps based on single chip microcomputer, and completes the design of hardware and software. The intelligent control device can automatically adjust the lighting status according to the traffic conditions: when vehicles or pedestrians approach the street lamps, the street lamps gradually become brighter; when vehicles or pedestrians move away, the street lamps automatically dim and finally go out. The controller can also independently control the on and off time of each street lamp. The system has high overall cost performance, low maintenance cost, low power consumption, environmentally friendly process, and meets the requirements of green economy and conservation-oriented society.
Previous article:The basic principles and specific methods of power supply driving LED
Next article:High-efficiency DC/DC constant current power supply LED driver innovative design solution
Recommended ReadingLatest update time:2024-11-16 20:55
- 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
- How is the solution of converting voltage to frequency and frequency to voltage again implemented in the analog signal isolation solution?
- Really high-end! Rapidly upgrade the design of car digital instruments
- There are still places available, hurry up and get on board! The application for the free Qinheng evaluation board event is still ongoing
- STM32G474 sine signal generator
- R16 core board features
- How to say goodbye to the trouble of manually configuring the configuration file of the wiring harness tester? Today, I will teach you a trick to use Excel to do it in minutes!
- [Flower carving DIY] Interesting and fun music visualization series of small projects (05) --- WS2812 column jump light
- Schematic diagram/PCB package of HuaDa Semiconductor MCU general and low power series products
- TF card disassembly and structure diagram
- Common power symbols and their meanings