Design of Solar LED Street Light Controller Based on STC Microcontroller

Publisher:Lihua521Latest update time:2012-03-14 Source: OFweek Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Faced with the reality of the deteriorating ecological environment and the increasing shortage of resources, governments around the world have adopted many policies and measures to vigorously support and develop energy-saving and environmental protection industries. Solar LED street lights are a comprehensive application of solar energy development and utilization and energy-saving technologies in the field of lighting, with the dual advantages of environmental protection and energy saving. According to statistics, lighting consumption accounts for about 20% of the total electricity consumption, and reducing lighting electricity consumption is an important way to save energy. Solar energy is clean, environmentally friendly and renewable, and LED lighting is the most advanced lighting technology in the world. It is the fourth generation of light sources after incandescent lamps, fluorescent lamps, and high-intensity gas discharge lamps. It has simple structure, high efficiency, light weight, good safety performance, no pollution, maintenance-free, long life, and strong controllability. It is considered to be the best way to save electricity and reduce energy consumption in the lighting field. Statistics show that the energy saving of LED street lights alone can save China about the electricity generated by a Three Gorges Dam every year. Due to the energy-saving and environmentally friendly advantages of LED lighting fixtures, the annual growth rate of its global output value has remained above 20% in recent years. China has also launched the Green Lighting Project, the Semiconductor Lighting Project, and the " Ten Cities, Ten Thousand Lights " plan to promote the development of the industry.

The solar LED street light controller designed in this paper first detects the parameters such as the solar cell output and battery power to determine the system working state, and uses the maximum power point tracking MPPT algorithm to maximize the collection of electric energy . After the electric energy reserve is completed, the PWM technology is used to adjust the LED brightness to further save energy, thereby realizing the automatic control and intelligent energy management of the entire system, which is more conducive to the application and promotion of solar street lights .

1 Introduction to Solar LED Street Light System

1.1 Composition of Solar LED Street Light System

The solar street light system consists of the following parts: solar panels, LED lamps (including LED light sources , lamp poles and lamp housings), controllers, and battery packs, as shown in Figure 1.

Solar Street Light System

1.2 Basic Principles of Solar LED Street Light System

Solar panels made using the photovoltaic effect receive solar radiation during the day and convert it into electrical energy output, which is stored in the battery through the charge and discharge controller. At night, when the illumination gradually decreases, the charge and discharge controller detects this change and the battery begins to discharge to the LED street light. After the battery discharges for about 10 hours, the charge and discharge controller is activated and the battery discharge ends.

According to the sunshine characteristics of Sanya, Hainan and the urban road lighting design standards [5], the component parameters of this system are as follows: 1 set of LED street lights (32 W, 24 V, 1.4 A; LED 1 W light source; 4 groups in parallel, 8 in series in each group); 2 solar panels (each with a rated output voltage of 18 V, an operating current of 5.6 A, an open circuit voltage of 21.2 V, a short circuit current of 6.1 A, and a peak power of 80 W); and a battery (12 V, 200 Ah; overcharge voltage of 14.8 V, float charge voltage of 12.3 V, and over discharge voltage of 10.8 V).

Buck main charging circuit

2 Hardware Design

Although the solar LED street light controller is the least valuable part in the whole system, it is the core control part of the whole system. A controller with advanced design, in addition to completing the most basic charge and discharge control functions, can also control the solar cell array to absorb solar energy as much as possible to improve efficiency; can prevent overcharging and deep discharge of the battery, and extend the service life of the battery; can adjust the brightness of the LED light source according to the environment, especially in the second half of the night, it can also achieve half-power lighting of the load, so as to save energy as much as possible. Since the output power of the photovoltaic panel has a lot of uncertainty, the charge and discharge characteristics of the battery are nonlinear , and the other two are greatly affected by the environment, designing a good performance charge and discharge controller has a great impact on the system performance. This article is a useful exploration of controller design.

The controller designed in this paper uses the STC 12C5410AD microcontroller as the main control device. The device has 4 built-in PWM channels, 8 10-bit ADC channels, and an operating frequency of up to 35 MHz. The instructions are compatible with 51 microcontrollers but the speed is 8 to 12 times faster, which is very suitable for this design requirement. Since the two groups of solar cells are connected in series, the output voltage is 36 V, the battery voltage is 12 V, and the working voltage of the LED street lamp is 24 V, the charging circuit uses a DC/DC buck conversion circuit (Buck), and the discharge circuit uses a DC/DC boost conversion circuit (Boost). The control strategy of charging and discharging is realized through software, so as to ultimately achieve the purpose of improving efficiency and energy saving (as shown in Figure 2). This article focuses on the charging and discharging circuit and its control strategy.

2.1 Charging circuit and control strategy

The charging circuit is composed of an inductor L1, a power MOSFET tube T1 and a freewheeling diode D2 to form a step-down Buck circuit, as shown in Figure 3. The output voltage of the solar panel can be changed by changing the pulse width (Pulse Width Modulation, PWM) applied to the MOSFET control gate. By detecting the output voltage and current of the solar panel, the voltage and current of the battery, the charge state of the battery is determined, and the appropriate charging method is selected to optimize the charging of the battery. When the battery voltage exceeds a certain voltage, T1 is turned off to prevent the battery from overcharging. When the system detects that the ambient light is sufficient, the controller will enter the charging mode.

Block diagram of solar LED street light control system based on SIC

However, the charging efficiency is closely related to the characteristics of the charging power source (solar cell), load (battery) and environment. The output power of a solar cell is a nonlinear function of the sunlight intensity and the ambient temperature [1], as shown in Figure 4. That is, when the sunlight intensity increases, the maximum output power increases accordingly; when the temperature increases, the output power decreases; but under certain conditions, there is always a maximum output power point. When the temperature effect is ignored, the intersection points A, B, C, D, E (operating points) of the output characteristics under different lighting conditions and the load curve L are obviously not all maximum power points. If direct matching is used, it will inevitably lead to a loss of output power.

Output characteristics of solar photovoltaic cells

By adopting the maximum power point tracking (MPPT) control strategy, the collected solar energy can be converted into electrical energy as much as possible and stored in the battery pack. The main MPPT control strategies include interference observation method, admittance increase method and fixed parameter method. The interference observation method [1] is adopted here. Its idea is: the controller changes the output voltage or current of the photovoltaic cell with a small step size in each control cycle - "interference", and the direction of change can be increasing or decreasing; compare the output power of the photovoltaic cell before and after, if the output power increases, continue the interference process in the direction of the previous cycle; if the output power decreases, change the direction of the interference, and finally reach stability at the maximum power point. At this time, the step size can be reduced to further approach the maximum power point.

In addition, under current conditions, lead-acid batteries are relatively economical and practical storage devices. The capacity and life of lead-acid batteries are important parameters of batteries and are greatly affected by the charging method. The acceptable ideal charging curve is a curve in which the charging current decays exponentially over time [3], but the polarization phenomenon restricts the battery life and the charging mode of the photovoltaic battery power generation system. Therefore, it is necessary to adopt a staged charging strategy based on the battery charging characteristic curve to improve the charging efficiency and extend the battery life. The battery charging strategy here is three-stage charging (fast charging, overcharging and floating charging).

(1) The output mode of the charging circuit in the fast charging stage is equivalent to a current source. The output current of the current source is determined according to the maximum acceptable current of the battery. During the charging process, the battery terminal voltage is detected. When the battery terminal voltage rises to the conversion threshold value, the charging circuit switches to the overcharge stage. The output current is fixed and the output voltage is controlled by the MPPT algorithm.

(2) During the overcharge stage, the charging circuit provides a higher voltage to the battery and detects the charging current. When the charging current drops below the switching threshold, the battery is considered to be fully charged and the charging circuit switches to the floating charge stage.

(3) Float Charge Phase After the battery pack is fully charged, the best way to maintain the charge is to provide the battery with an accurate, temperature-compensated float charge voltage.

2.2 Discharge circuit and control strategy

The load of the discharge circuit is a high-power LED street lamp, which is a green light source formed by connecting 1 W and above high-brightness LEDs in a certain topology. The luminous intensity of a high-power LED street lamp is proportional to the current flowing through it. Since the current and voltage parameters of a high-power LED have typical PN junction volt-ampere characteristics, a small change in its forward voltage drop will cause a large change in the forward current. Unstable operating current will affect the life and light decay of the LED, so the high-power LED drive circuit must provide a constant current [2-3]. Its control circuit mainly adopts a DC/DC boost drive circuit (Boost), and the control strategy adopts pulse width modulation (PWM). The Boost charging circuit is shown in Figure 5.

Boost Discharge Circuit

Inductor L2, power MOSFET tube Q2 and D3 form a boost DC/DC converter, which obtains a stable output voltage through the microcontroller control output PWM2; constant current control of 2-way LED lighting is performed through PWM3 and PWM4 channels, and completely shutting down these 2 loads can also be used for half-power point control; R7 and R10 provide current feedback sampling for the LED lighting drive circuit; other timing control functions, temperature compensation circuits and battery over-discharge protection circuits will not be discussed in detail here.

3 Software Design

The software design mainly assists the hardware circuit to complete the control strategy of the controller, which consists of the main program and charging, discharging and other subroutines, as shown in Figures 6 to 9. The charging subroutine completes the three-stage charging conversion according to the voltage and current of the battery. The MPPT algorithm is used in the fast charging stage to maximize the output power of the photovoltaic cell. The discharge subroutine adjusts the load current through PWM technology, which can completely cut off the load in the second half of the night to achieve half-power lighting of the load.

Discharge electronic program flow

4 Conclusion

The solar LED street lighting system is a perfect combination of solar energy development and utilization and a new generation of green light source LED. After multiple hardware and software debugging, the intelligent controller designed with STC12C5410AD microcontroller as the core in this paper realizes the three-stage charging control function as a whole, and can effectively prevent the battery from overcharging; at the same time, it can also realize the timing and half-power point load cut-off, and the load will be cut off when the battery voltage is less than the over-discharge voltage, thereby protecting the battery from over-discharge. The system has certain practical value in terms of energy utilization and working reliability. Considering that the wind resources in Sanya are also relatively rich, the next research direction will be to make full use of the complementarity of solar energy and wind energy to ensure uninterrupted lighting throughout the year, thus taking a step towards truly realizing a zero-pollution, zero-emission, green lighting system.

Keywords:MCU Reference address:Design of Solar LED Street Light Controller Based on STC Microcontroller

Previous article:LED display export analysis report: export certification, patents, and technical standards
Next article:COMMB-LED High Efficiency Integrated Surface Light Source Technology Introduction

Recommended ReadingLatest update time:2024-11-16 20:53

51 single chip microcomputer - LED water light
1. Using the table lookup method to realize the running light Looking at the schematic diagram of the development board, we know that the port that controls LED2~LED7 is P0, so we can control the light-emitting diode by assigning a value to P0. For example, if the value of P0 is expressed in hexadecimal, P0=0xfe, th
[Microcontroller]
51 single chip microcomputer - LED water light
An ISD4004 voice chip application circuit based on single-chip microcomputer control
1 Introduction The ISD4004 voice chip is a new product recently launched by the American ISD company. As the pin description and internal circuit of the voice chip can be easily found in the chip data provided by ISD, I will not describe it in detail in this article. I will only briefly introduce its characteris
[Microcontroller]
An ISD4004 voice chip application circuit based on single-chip microcomputer control
51 MCU header file
intrins.h In C51 MCU programming, the functions in the header file INTRINS.H will make it as easy for you to use as in assembly. Internal function description _crol_ Characters rotate left _cror_ Characters rotate right _irol_ Integer circular left shift _iror_ Integer rotate right
[Microcontroller]
Comparative analysis of enhanced 51 microcontroller and traditional 51 microcontroller
In the previous content, we started from the traditional 51 microcontroller, and based on the hardware, we derived the enhancements of the enhanced 51 microcontroller step by step. Now we can clearly understand that compared with the traditional 51 microcontroller, the enhancement of the enhanced 51 microcontroller li
[Microcontroller]
Comparative analysis of enhanced 51 microcontroller and traditional 51 microcontroller
Detailed explanation of CAN acceptance filter application for LPC2000 series ARM microcontrollers
CAN (Controller Area NetWork) bus, also known as controller area network bus, is the earliest data communication protocol developed and launched by the German Bosch company in 1982 for internal measurement and execution components in automobiles. In its history of more than 20 years, CAN bus has been applied in many f
[Microcontroller]
Detailed explanation of CAN acceptance filter application for LPC2000 series ARM microcontrollers
51 MCU Study Notes——13.2DS1302 Real-time Clock Code Part (1)
Code: Experiment sequence: 11.1 Experimental task: Write the initial calibration time to the DS1302, then read the time from the DS1302 and display it Implementation phenomenon: After the program is running, the dynamic digital tube displays the initial time: 23-59-50, and continuously updates the display Hardware
[Microcontroller]
How to implement the upper control algorithm analysis solution of ARM9 microcontroller
introduction In many embedded control systems, the system must complete a large amount of information collection and complex algorithms, and also realize precise control functions. The ARM9 microcontroller running the embedded Linux operating system is used to complete signal collection and implement the upper-
[Microcontroller]
How to implement the upper control algorithm analysis solution of ARM9 microcontroller
Clock + stopwatch + running light microcontroller assembly program
//HJSMSY-V1.0 MCU development board test program //--------------------------------------------- // Computer clock //--------------------------------------------- //=======Main function================================ ORG 0000H     LJMP MAIN     ORG 000BH     LJMP T00 // ORG 001BH // LJMP T11     ORG 0030H //=====
[Microcontroller]
Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号