CN-121618658-B - Intelligent cabinet-oriented solar energy and power grid cooperative power supply control method
Abstract
The invention relates to the technical field of data processing, in particular to a solar energy and power grid collaborative power supply control method for an intelligent cabinet, which comprises the steps of collecting photovoltaic input power, load consumption power, battery surface temperature and battery state of charge at each moment, and acquiring an energy supply trend index based on a difference average value of the photovoltaic input power and the load consumption power in a history window and a change slope of the battery state of charge; the method comprises the steps of obtaining the deviation degree of the environmental working condition based on the difference between the surface temperature of the battery and the preset reference temperature, obtaining the dynamic switching threshold value at the current moment according to the deviation degree of the energy supply trend index and the environmental working condition, comparing the dynamic switching threshold value at the current moment with the charge state of the battery at the current moment, and controlling the system to switch the power supply mode.
Inventors
- FAN WEI
- XIAO JIANWU
- YE YUBIAO
- WANG LEI
- JIANG WEI
Assignees
- 武汉市哈哈便利科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260203
Claims (7)
- 1. The intelligent cabinet-oriented solar energy and power grid cooperative power supply control method is characterized by comprising the following steps of: collecting photovoltaic input power, load consumption power, battery surface temperature and battery charge state at each moment; The method comprises the steps of obtaining a history window of a current moment, obtaining a change slope of a battery state of charge of the current moment, obtaining an energy supply trend index of the current moment based on a difference value of photovoltaic input power and load consumption power at each moment in the history window of the current moment and the change slope of the battery state of charge, and obtaining an environment working condition deviation degree of the current moment based on a difference between a battery surface temperature and a preset reference temperature; The method comprises the steps of obtaining a dynamic switching threshold value at the current moment according to the deviation degree of an energy supply trend index and an environmental working condition, comparing the dynamic switching threshold value at the current moment with a battery state of charge at the current moment, controlling a system to switch a power supply mode, wherein if the battery state of charge at the current moment is larger than the dynamic switching threshold value at the current moment, the system controls a mains relay to keep an open state, only closes a photovoltaic charging loop, supplies power to a load by the battery and the photovoltaic together and charges the battery at the same time, and if the battery state of charge at the current moment is smaller than or equal to the dynamic switching threshold value at the current moment, the system closes the mains relay, switches to a power grid power supply mode, and supplies power to the load by the mains and supplements power to the battery; the energy supply trend index at the current moment is obtained, which comprises the following steps: ; An energy supply trend index representing the current time; Photovoltaic input power at the ith moment in a history window representing the current moment; The load at the ith moment in the history window representing the current moment consumes power; Representing the number of times in a history window of the current time; representing a device maximum power reference value; A change slope representing a state of charge of the battery at a current time; representing a current power gain weight; representing the electric quantity change speed weight; The method for acquiring the dynamic switching threshold value at the current moment comprises the following steps: ; Representing a dynamic switching threshold value at the current moment; a fixed threshold representing the state of charge of the battery; An adjustment amplitude representing a fixed threshold; Representing the deviation degree of the environmental working condition at the current moment, wherein tan () represents a hyperbolic tangent function; representing the deviation penalty coefficient.
- 2. The intelligent cabinet-oriented solar energy and power grid collaborative power supply control method according to claim 1, wherein the obtaining the history window of the current moment comprises: The number N of the historical moments is preset, and a window formed by the current moment and N moments before the current moment is used as a historical window of the current moment.
- 3. The intelligent cabinet-oriented solar energy and power grid collaborative power supply control method according to claim 1, wherein the obtaining the change slope of the battery state of charge at the current moment comprises: And taking a series formed by the battery charge states at all the moments in the history window at the current moment as a battery charge state sequence at the current moment, performing linear fitting on the battery charge state sequence at the current moment by using a least square method, and taking the slope of a fitting straight line as the change slope of the battery charge state at the current moment.
- 4. The intelligent cabinet-oriented solar energy and power grid collaborative power supply control method according to claim 1, wherein the obtaining the deviation of the environmental working condition at the current moment comprises: ; in the formula, Representing the deviation degree of the environmental working condition at the current moment; Representing the surface temperature of the battery at the current moment; exp () represents an exponential function based on a natural constant; representing the standard deviation of the preset temperature profile.
- 5. The intelligent cabinet-oriented solar energy and power grid collaborative power supply control method according to claim 1, wherein the collecting photovoltaic input power, load consumption power and battery surface temperature at each moment comprises: Every 1 second is a sampling time, and the photovoltaic input power, the load consumption power and the battery surface temperature of the outdoor intelligent cabinet at each time are sequentially collected.
- 6. The intelligent cabinet-oriented solar energy and power grid collaborative power supply control method according to claim 5, wherein the obtaining of the photovoltaic input power, the load consumption power and the battery surface temperature comprises: Collecting photovoltaic voltage through a voltage dividing circuit and an ADC (analog to digital converter) which are connected to the input end of a photovoltaic controller, collecting photovoltaic input current through a Hall current sensor, and calculating ohm law in the controller based on the photovoltaic voltage and the photovoltaic input current to obtain photovoltaic input power; Collecting the total current of a load through a low-resistance sampling resistor arranged on a system bus, and then collecting the bus voltage by combining a voltage sensor, so as to obtain the load consumption power through calculation; The terminal voltage of the two ends of the positive electrode and the negative electrode of the storage battery is directly read through a high-precision ADC, and the surface temperature of the battery is collected through an NTC thermistor attached to the surface of the battery.
- 7. The intelligent cabinet-oriented solar energy and power grid collaborative power supply control method according to claim 1, wherein the obtaining of the battery state of charge comprises: the actual electric quantity of the storage battery of the outdoor intelligent cabinet at each moment is directly read to serve as the battery charge state.
Description
Intelligent cabinet-oriented solar energy and power grid cooperative power supply control method Technical Field The invention relates to the technical field of data processing. More specifically, the invention relates to a solar energy and power grid collaborative power supply control method for an intelligent cabinet. Background With the rapid development and popularization of the internet of things technology, mass outdoor intelligent terminal equipment is deployed in the fields of smart cities, environmental monitoring and the like. In order to reduce the expensive cost of laying power lines and respond to the call of global green energy low-carbon environment protection, the outdoor intelligent cabinets generally adopt independent power supply systems, and the current mainstream power supply architecture adopts a hybrid power supply mode with solar photovoltaic and storage batteries as main components and a commercial power grid as auxiliary components. The core operation logic is that based on the data collected in real time, the state of electric quantity of the storage battery is monitored, and the storage battery is switched to the commercial power when the load requirement cannot be met, so that the equipment can be ensured to operate continuously in all weather. However, the existing cooperative power supply control method has significant technical limitations. Firstly, the control strategy is too stiff, in the prior art, fixed threshold decision logic is mostly adopted, for example, the power supply of a commercial power grid is switched when the SOC of the remaining capacity of a storage battery is lower than 20%, the photovoltaic power supply is switched back when the SOC of the remaining capacity of the storage battery is higher than 80%, the static strategy cannot sense the dynamic change of the external environment, for example, in early morning, although the SOC of the battery is lower (such as 19%), the illumination intensity is rapidly enhanced, energy supply is upcoming, if the SOC is only lower than the fixed threshold at this moment, the utility ratio of clean energy is reduced due to the fact that the commercial power is switched, and in the scene that the environment is bad and illumination is continuously deteriorated, the actual available capacity of the battery is greatly reduced, and at this moment, if the switching decision is still carried out along with the fixed threshold (such as 20%), the battery is extremely easy to be overdischarged, irreversible chemical damage is caused, and the service life of the battery is seriously shortened. Disclosure of Invention In order to solve the technical problems that the power supply switching strategy with a fixed threshold cannot sense illumination change in real time, so that the clean energy is wasted due to misuse of commercial power when illumination is enhanced, and the battery overdischarge is caused by delayed switching and service life decay is accelerated when illumination is deteriorated, the invention provides a solar energy and power grid collaborative power supply control method for an intelligent cabinet, which comprises the following steps: collecting photovoltaic input power, load consumption power, battery surface temperature and battery charge state at each moment; The method comprises the steps of obtaining a history window of a current moment, obtaining a change slope of a battery state of charge of the current moment, obtaining an energy supply trend index of the current moment based on a difference value of photovoltaic input power and load consumption power at each moment in the history window of the current moment and the change slope of the battery state of charge, and obtaining an environment working condition deviation degree of the current moment based on a difference between a battery surface temperature and a preset reference temperature; and comparing the dynamic switching threshold value at the current moment with the battery state of charge at the current moment, and controlling the system to switch the power supply mode. The invention has the innovation that the dynamic switching threshold value is obtained by introducing dynamic analysis of the deviation degree of the energy supply trend index and the environmental working condition, so that the system does not depend on fixed parameters any more, when the illumination data is good and the environmental data is stable, the system can automatically reduce the fixed threshold value to obtain the dynamic switching threshold value, and fully uses solar photovoltaic power supply, and under severe environment, the system automatically improves the fixed threshold value and switches to the utility grid power supply in advance, so that the system triggers a battery protection mechanism in advance, and the excessive discharge of a battery is avoided. Preferably, the obtaining the history window of the current time includes: The number N of the historical momen