1 System Structure
The independent solar photovoltaic system is mainly composed of solar cell array, battery pack, controller and load. Its composition block diagram is shown in Figure 1.
Analysis of the composition of the solar energy comprehensive utilization system shows that the load uses sunlight as energy, the solar cell module/array collects electricity during the day, the lead-acid battery stores electricity, and through the reasonable control of the controller, it provides electricity to the load at night, and the use time and working mode can be flexibly set. A low-pressure sodium lamp solar power controller for a small photovoltaic system has been developed, in which the battery is 24 V, the load is a 36 W low-pressure sodium lamp, and the load output is single-channel.
2 System Hardware Design
The hardware part of the intelligent controller device has three interfaces: one for the solar cell array interface, one for the battery interface and one for the low-pressure sodium lamp load interface. The overall structure design block diagram of the controller is shown in Figure 2. The controller part is in the dotted box.
2.1 P87LPC767 MCU
The system control is implemented by the P87LPC767 microcontroller of PHILIPS Semiconductor Company. When it works at 100 kHz to 4 MHz and the power supply voltage is 3.3 V, its power consumption is only 0.044 to 1.7 mA, which is suitable for battery-powered systems. It provides high-speed and low-speed crystal oscillators and RC oscillation modes, which can be selected by programming, and has a wide operating voltage range; programmable I/O port line output mode selection, Schmitt trigger input, LED drive output can be selected; it contains a watchdog timer and I2C bus; its internal two analog comparators can form an 8-bit A/D converter; it also has power-on reset detection and undervoltage reset detection functions; it ensures that the I/O port drive current reaches 20 mA. P87LPC767 adopts the 80C51 accelerated processor structure, and the instruction execution speed is twice that of the standard 80C51 CPU.
This system is based on the P87LPC767 microcontroller, and the peripheral circuits are mainly composed of voltage acquisition circuit, load output control and detection circuit, LED display circuit, mode selection circuit, and E2PROM chip that can add additional functions to the system. P87LPC767 and its peripheral circuits are shown in Figure 3. Table 1 is a description of the pin functions of the P87LPC767 microcontroller combined with the hardware circuit design.
2.2 Battery charging and discharging circuit
Based on the particularity of photovoltaic power generation, it is necessary to design a charge and discharge control circuit with good performance. In order to extend the service life of the battery, its charge and discharge conditions must be restricted to prevent the battery from overcharging and deep discharge. The charge and discharge circuit is equivalent to a voltage acquisition and battery management module.
When there is sunlight during the day, the microcontroller detects the voltage values of the solar cell array and the battery respectively, and controls the on/off state of the switch MOSFET tube VQ9 (Figure 3) of the battery charging circuit. When the microcontroller detects that the PV + level is higher than the BAT+ level, the switch device VQ9 is turned on, and the solar cell array charges the battery in a direct charging manner; when the battery is charged to an overvoltage, the switch device Q9 is turned off, and the solar cell array charges the battery with a small current (floating charge), which can play an "overcharge protection" role.
When there is insufficient sunlight at night or on cloudy days, the relay is turned on and the battery is discharged to ensure that the load does not stop power. The relay RELAY1 designed in this system is a battery discharge switch, and the control signal of RELAY1 on/off is output by the I/O port of the single-chip computer. The load of this system is a low-pressure sodium lamp, which is used for road lighting. Therefore, it should have a light control function, that is, when there is sunlight, RELAY1 is turned off; when there is insufficient sunlight at night or on cloudy days, RELAY1 is turned on, the battery is discharged, and the street lamp is illuminated. From the perspective of protecting the battery, when it is necessary to supply power to the load but the battery voltage is less than the "over-discharge voltage", RELAY1 is also turned off to perform "over-discharge protection" to avoid emptying the battery and damaging the battery; when the solar cell array is powered again and only when the battery voltage rises to the floating charge voltage again, RELAY1 is turned on again when it is necessary to supply power to the load, and the load circuit is connected.
2.3 DC/AC low-frequency electronic ballast system circuit for low-pressure sodium lamp
The electronic ballast is connected between the power supply and one or more gas discharge lamps, and limits the working current of the gas discharge lamp to the specified value, which is used for output control and detection of the load. Low-pressure sodium lamps belong to gas discharge lamps. Since gas discharge lamps have negative resistance working characteristics, they should be equipped with control devices such as ballasts to make them work normally. These related control devices should complete the following control functions: 1) limit and stabilize the working current of the gas discharge lamp; 2) ensure that the lamp voltage, lamp current and lamp power are stable within the allowable variation range of the battery terminal voltage, so that the lamp can work normally. 3) provide the ignition voltage required for the gas discharge lamp. 4) provide the required lamp electrode preheating function before the gas discharge lamp load is ignited.
At present, there have been many studies on solar power controllers, low-pressure sodium lamps and their supporting electronic ballasts. However, in actual engineering applications, it is found that since the above three devices or products are independently developed, they have poor compatibility in work. Some low-pressure sodium lamps are unstable when started, and some even cause damage, which greatly limits the application of low-pressure sodium lamps. Therefore, it is recommended to incorporate the DC/AC low-frequency electronic ballast system circuit module of the low-pressure sodium lamp into this controller system, and design it into a solar low-pressure sodium lamp lighting system intelligent controller and ballast all-in-one machine.
2.4 LED display circuit
This controller uses a two-color LED as the system status indicator. The two-color LED display is very intuitive and replaces the previous multiple indicator lights. The microcontroller controls the output level of pin 2 (P1.7) and pin 3 (P1.6) by comparing the value of pin 17 (AD1, i.e. BAT+ voltage) with the set value to determine the color and state of the system status indicator. The status of the status indicator is shown in Table 2.
2.5 Controller working mode selection circuit
This controller has 8 preset working modes for users to choose from (see Table 3). Users only need to turn the DIP switch J1. The microcontroller will automatically detect the controller mode selected by the individual user and implement the functions in different modes according to the program flow.
3 System Software Design
The software program of this design includes: main program, timer interrupt program, A/D conversion subroutine, external interrupt subroutine, charge and discharge management subroutine, load management subroutine, LED display subroutine, etc. Figure 4 is the block diagram of the software structure design of this system. Taking "debugging mode" as an example, the software design program flow of this system is shown in Figure 5.
4 Experimental Results
According to the above design ideas, a prototype was trial-produced. The experimental platform consisting of two 12 V 7 AH valve-controlled sealed lead-acid batteries, a 36 W low-pressure sodium lamp and an 80 Wp photovoltaic array system replaced by a DC power supply simulation was used to conduct experimental research on various performance indicators of the prototype. Figure 6 is the waveform of the low-pressure sodium lamp oscilloscope in the stable stage. The results show that the system operates stably and reliably.
5 Conclusion
After experimentation and debugging, this system has achieved the expected functions, effectively and reasonably completed the management of system status and real-time control of energy flow. The microprocessor is used to realize the charge and discharge control of the solar controller, and its various performance indicators are significantly better than those of conventional controllers. It can also set parameters and perform temperature compensation for different batteries, greatly expanding its use functions.
Previous article:A CMOS bandgap reference with adjustable output
Next article:The editor recommends several DC boost circuits
- 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
- IAR is crazy, has anyone encountered this?
- HuaDa HC32F460 series MCU internal FLASH made into USB flash drive
- PCB wiring and layout and circuit design 268 design specifications
- [ESK32-360 Review] + Construction of development environment
- Several circuit designs that must be understood by microcontrollers
- Several questions about common source amplifier circuits.
- Reliable communications for short-range wireless systems
- I can't read the TMP275 temperature sensor. I use the STM32 I/O to simulate IIC. Please help.
- Understanding GaN Device Thermal Analysis
- 5. Control objects in previous “Control” competitions