Control method and device of selling equipment and selling equipment
By determining the charging and discharging strategies of the energy storage device based on environmental data and electricity consumption data in the sales equipment, the operational instability caused by poor power supply is solved, and higher power supply stability and equipment operation reliability are achieved.
Patent Information
- Application Number
- CN202411952599.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-05-13
AI Technical Summary
Due to poor power supply, existing sales equipment are prone to unstable operation due to voltage fluctuations or power failure.
By determining the charging and discharging strategies of the energy storage device based on environmental data and electricity consumption data, the charging and discharging operations of the energy storage device are flexibly controlled to improve the stability of power supply.
In different environments and electricity use, we can flexibly respond to emergencies, improve the stability of power supply through energy storage devices, and thus improve the operational stability of the sales equipment.
Smart Images

Figure CN119995076A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control technology, and in particular to a control method and device for vending equipment, and vending equipment. Background Art
[0002] Currently, various types of vending equipment are often powered by the power grid. During use, voltage fluctuations or power outages often cause the equipment to fail to function properly. Summary of the invention
[0003] The present application provides a control method and device for vending equipment, and vending equipment, so as to solve the technical problem that the equipment operates unstably due to poor power supply.
[0004] In a first aspect, the present application provides a control method for a vending device, the method comprising: determining a charging strategy and a discharging strategy of an energy storage device based on environmental data and / or electricity consumption data; charging and storing energy based on the charging strategy, and / or discharging based on the discharging strategy for operation of the vending device.
[0005] In one possible implementation, determining a charging strategy and a discharging strategy for an energy storage device based on environmental data and / or power usage data includes: determining whether charging is required based on current environmental data and / or power usage data; in response to determining that charging is required, obtaining environmental forecast data for a predetermined time period; and determining a charging strategy for the energy storage device based on the environmental forecast data.
[0006] In a possible implementation, determining whether charging is required based on current environmental data and / or power usage data includes: determining current weather based on current environmental data; and determining that charging is required in response to the current weather being sunny.
[0007] In a possible implementation, determining whether charging is required based on current environmental data and / or power usage data includes: determining a remaining power of the energy storage device based on the power usage data; and determining that charging is required in response to the remaining power being lower than a preset power.
[0008] In a possible implementation, determining a charging strategy for an energy storage device based on the environmental forecast data includes: determining an expected power generation based on the environmental forecast data; and determining a charging strategy for an energy storage device based on the expected power generation.
[0009] In one possible implementation, determining the charging strategy of the energy storage device based on the expected power generation includes: determining weather data based on the environmental forecast data; the weather data includes at least one of light intensity, sunshine duration and cloud thickness; determining the charging strategy of the energy storage device based on the expected power generation and the weather data.
[0010] In one possible implementation, determining the charging strategy and discharging strategy of the energy storage device based on environmental data and / or power consumption data includes: determining whether the current power supply fluctuates or is stopped based on the power consumption data; and in response to the current power supply fluctuating or being stopped, determining that the discharging strategy of the energy storage device is to start discharging currently.
[0011] In one possible implementation, determining whether the current power supply fluctuates based on power consumption data includes: determining whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on the power consumption data; in response to the fluctuation range exceeding the predetermined range, and the duration of the fluctuation range exceeding the predetermined range reaching a predetermined duration, determining that the current power supply fluctuates.
[0012] In one possible implementation, the environmental data includes environmental forecast data for a predetermined time period; determining the charging strategy and discharging strategy of the energy storage device based on the environmental data and / or electricity consumption data includes: determining weather data for a predetermined time period based on the environmental forecast data; and determining at least one discharge time period corresponding to the discharge strategy of the energy storage device based on the weather data.
[0013] In a second aspect, the present application provides a control device for a vending device, the device comprising: a determination unit for determining a charging strategy and a discharging strategy of an energy storage device based on environmental data and / or electricity consumption data; an execution unit for charging and storing energy based on the charging strategy, and / or discharging based on the discharging strategy for operation of the vending device.
[0014] In a third aspect, the present application provides a vending machine, wherein the vending machine comprises the control device of the vending machine described in the second aspect.
[0015] In a fourth aspect, the present application provides an electronic device comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store a computer program; and the processor is used to implement any one of the methods described in the first aspect when executing the computer program.
[0016] In a fifth aspect, the present application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods described in the first aspect.
[0017] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application determines the charging strategy and the discharging strategy of the energy storage device based on the environmental data and / or the power consumption data; performs charging and energy storage based on the charging strategy, and / or performs discharging based on the discharging strategy for the operation of the vending device. In this way, the vending device can flexibly charge and discharge the energy storage device according to the environment and power consumption, so that it can flexibly respond to different emergency situations in different environments and different power consumption conditions, improve the stability of power supply through the energy storage device, and thus improve the operating stability of the vending device. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0021] Figure 1 A flow chart of a vending machine control method provided in an embodiment of the present application;
[0022] Figure 2 A flow chart of a vending machine control method provided in an embodiment of the present application;
[0023] Figure 3 A flow chart of a vending machine control method provided in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of a photovoltaic energy storage system provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of a flow chart of an energy storage system control method provided in an embodiment of the present application;
[0026] Figure 6 A schematic diagram of a control device for a vending machine provided in an embodiment of the present application;
[0027] Figure 7A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0029] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0030] In order to solve the technical problem of unstable operation of vending equipment in the prior art, the present application provides a control method, device and vending equipment for vending equipment, which flexibly controls the charging and discharging operations of the energy storage device according to the environment and power consumption, improves the power supply stability, and thus improves the stability of the equipment operation.
[0031] Figure 1 A flow chart of a control method of a vending machine provided in this embodiment is shown as follows: Figure 1 As shown, the method may include:
[0032] S10: Determine a charging strategy and a discharging strategy for the energy storage device based on the environmental data and / or the power consumption data;
[0033] S20: Charging and storing energy based on the charging strategy, and / or discharging for operation of the vending equipment based on the discharging strategy.
[0034] The control method of the vending equipment provided in this embodiment can be applied to vending equipment, such as vending machines, vending cabinets, distribution cabinets or other types of vending equipment, or can also be applied to servers or other terminals that have the ability to control the vending equipment, such as terminal devices that are connected to the vending equipment via Bluetooth, local area network or other methods to control the operation of the vending equipment.
[0035] In this embodiment, the vending device may include an energy storage device, or the vending device may be connected to the energy storage device, and the energy storage device is used to charge and store energy and to supply power to the vending device by discharging. Here, charging and storing energy may be performed by solar charging, for example, the energy storage device may include a solar panel and a battery pack.
[0036] In one embodiment, the solar panel can be installed on the door, top or other well-lit surface of the vending device. The energy storage device can also include a direct current (DC) / DC converter. Since the direct current voltage generated by the solar panel may not be suitable for direct storage or use, it is necessary to adjust the voltage through a DC / DC converter to ensure that it matches the battery pack of the energy storage device. The battery pack can be a lithium-ion battery pack, etc.
[0037] In one embodiment, the environmental data may include weather data, for example, the environmental data may be obtained by accessing a weather forecast application programming interface (API). The power consumption data may represent the current power supply status of the vending device and / or the current power status of the energy storage device.
[0038] In one embodiment, charging and energy storage based on the charging strategy may include: charging and energy storage through solar energy based on the charging strategy, for example, charging and energy storage may be directed to charging and energy storage of an energy storage device.
[0039] In one embodiment, the vending device may be powered by at least one of a power grid and an energy storage device. Discharging based on the discharge strategy to operate the vending device may refer to discharging based on the discharge strategy to jointly power the vending device through the energy storage device and the power grid, or discharging based on the discharge strategy to power the vending device alone through the energy storage device.
[0040] In one embodiment, in step S10, determining the charging strategy of the energy storage device based on environmental data and / or power usage data may include: determining the charging strategy of the energy storage device based on at least one of environmental data, power usage data and historical operation data.
[0041] Here, the historical operation data may include data such as the frequency, time period, and power consumption of the historical use of the vending device. For example, determining the charging strategy of the energy storage device based on at least one of the environmental data, the power consumption data, and the historical operation data may include: determining at least one expected peak usage period based on the historical operation data; and determining the charging strategy of the energy storage device based on the expected peak usage period.
[0042] Exemplarily, determining the charging strategy of the energy storage device based on the expected peak usage period may refer to determining the charging strategy of the energy storage device to complete charging and energy storage of a target charge amount before the expected peak usage period.
[0043] In one embodiment, discharging based on the discharging strategy for operation of the vending equipment may include: in response to determining that the current power supply has fluctuations or is stopped, discharging based on the discharging strategy for operation of the vending equipment.
[0044] In one embodiment, after step S10 or S20, the method may further include: displaying at least one of the current charging strategy, discharging strategy, power supply status, etc. on the vending device. For example, the power supply status may refer to power supply based on the energy storage device, power supply based on the power grid, or power supply based on both the energy storage device and the power grid. Displaying on the vending device may refer to displaying on the display screen of the vending device for the user to view.
[0045] In one embodiment, after step S10 or S20, the method may further include: reporting the operating status of the vending device. For example, the operating status may include at least one of the amount of solar energy collected, the amount of electricity stored in the power storage device, and the working status.
[0046] In one embodiment, after step S10 or S20, the method may further include: in response to detecting an abnormal situation, reporting information corresponding to the abnormal situation. Here, the abnormal situation may include, for example, low power of the power storage device, damage to the battery panel, etc. The report may be directed to a server or a cloud platform.
[0047] In this way, the vending equipment can flexibly charge and discharge the energy storage device according to the environment and power consumption, so that it can flexibly respond to different emergencies in different environments and different power consumption conditions, improve the stability of power supply through the energy storage device, and thus improve the operating stability of the vending equipment.
[0048] In order to improve the estimation accuracy of the charging strategy and avoid frequent modification of the strategy during the charging process, in some embodiments, such as Figure 2 As shown, step S10 may include:
[0049] S11: Determine whether charging is required based on current environment data and / or power consumption data;
[0050] S12: in response to determining that charging is required, obtaining environmental forecast data for a predetermined time period;
[0051] S13: Determine a charging strategy for the energy storage device based on the environmental forecast data.
[0052] In one embodiment, the environmental data includes current environmental data, and the current environmental data may include current weather data, and the weather data includes at least one of the degree of cloudy or sunny, light intensity, sunshine duration, and cloud thickness. Step S11 may include: determining that charging is required when the charging condition is currently met based on the current environmental data and / or power consumption data. For example, determining that the charging condition is currently met based on the current environmental data and / or power consumption data may include at least one of the following: determining that the output voltage and / or output current of the solar panel exceeds a predetermined threshold (for example, the predetermined threshold includes a predetermined voltage threshold of 12V and a predetermined current threshold of 5A) based on the power consumption data; determining that the power of the energy storage device is lower than a predetermined value, such as 20%, based on the power consumption data; determining that the current ambient temperature is lower than a predetermined temperature based on the current environmental data.
[0053] In one embodiment, step S13 may include: determining that the light intensity during the predetermined time period meets the predetermined condition based on the environmental forecast data, and continuously charging during the predetermined time period. For example, the light intensity meeting the predetermined condition may mean that the weather continues to be sunny, the light intensity continues to be higher than the predetermined intensity, etc.
[0054] In one embodiment, the environmental forecast data may refer to weather forecast data, and the predetermined time period may be a predetermined time period after the current moment, such as 12 hours, 24 hours, or 48 hours.
[0055] In one embodiment, determining the charging strategy of the energy storage device based on the environmental forecast data may include: determining the charging strategy of the energy storage device based on the environmental forecast data and power consumption data. Here, the power consumption data may represent the current power supply status of the vending equipment and / or the current power status of the energy storage device.
[0056] In one embodiment, the charging strategy may include at least one of a charging period, a charge amount corresponding to the charging period, a charging efficiency, a charging duration, and a charging number, etc. The discharging strategy may include at least one of a discharging period, a discharge amount corresponding to the discharging period, a discharging efficiency, a discharging duration, and a discharging number, etc.
[0057] In this way, determining whether charging is needed based on the current environment and power usage can improve the accuracy of the timing of starting charging and avoid charging operations when it is not suitable or not needed. Combined with forecast data for a certain period of time in the future, the required charging strategy can be determined more accurately to avoid frequent adjustments.
[0058] In some embodiments, the step S11 may include:
[0059] determining current weather based on current environmental data;
[0060] In response to the current weather being sunny, it is determined that charging is required.
[0061] In one embodiment, in response to the current weather being sunny, determining that charging is required may include: in response to the current weather being sunny and the duration of the sunny weather reaching a predetermined duration, determining that charging is required.
[0062] In one embodiment, step S11 may further include: in response to the current weather being cloudy, determining the current cloud thickness based on current environmental data; in response to the current cloud thickness being lower than a predetermined thickness, determining that charging is required.
[0063] In one embodiment, step S11 may further include: in response to the current weather being cloudy, determining the current cloud thickness based on current environmental data; in response to the current cloud thickness being greater than or equal to a predetermined thickness, determining that charging is not required.
[0064] In one embodiment, step S11 may further include: in response to the current weather being other than cloudy or overcast, determining that charging is not required.
[0065] In one embodiment, in response to the current weather being sunny, determining that charging is required may include: in response to the current weather being sunny, determining the remaining power of the energy storage device based on power usage data; in response to the remaining power being lower than a preset power, determining that charging is required.
[0066] In this way, charging can be performed only on sunny days based on the weather, avoiding the low efficiency of solar-based charging and improving device stability.
[0067] In one embodiment, the step S11 may include:
[0068] determining the remaining capacity of the energy storage device based on the power consumption data;
[0069] In response to the remaining power being lower than a preset power, it is determined that charging is required.
[0070] In one embodiment, the remaining power and the preset power may be power values or power ratios.
[0071] In one embodiment, in response to the remaining power being lower than a preset power, determining that charging is required may include: in response to the remaining power being lower than a preset power, determining the current weather based on current environmental data; and in response to the current weather being sunny, determining that charging is required.
[0072] In one embodiment, in response to the current weather being sunny, determining that charging is needed may include: in response to the current weather being sunny, checking whether the current power supply fluctuates or is stopped; and determining that charging is needed in response to the current power supply fluctuating or being stopped.
[0073] In one embodiment, in response to the remaining power being lower than a preset power, determining that charging is required may include: in response to the remaining power being lower than a preset power, determining whether there is fluctuation in the current power supply or power supply is stopped; in response to fluctuation in the current power supply or power supply being stopped, determining that charging is required.
[0074] In this way, determining that charging needs to start when the remaining power of the energy storage device is low can further enhance the necessity of starting charging, reduce the operation of formulating a charging strategy when the power is sufficient, and reduce power consumption.
[0075] In some embodiments, step S13 may include:
[0076] determining an expected amount of power generation based on the environmental forecast data;
[0077] A charging strategy for the energy storage device is determined based on the estimated power generation.
[0078] In one embodiment, determining the expected power generation based on the environmental forecast data may include: determining at least one of the degree of cloudiness, light intensity, sunshine duration and cloud thickness in a predetermined time period based on the environmental forecast data; determining the expected power generation based on at least one of the degree of cloudiness, light intensity, sunshine duration and cloud thickness in a predetermined time period.
[0079] Here, the estimated power generation may refer to the estimated total power generation, such as the estimated power generation within a predetermined time period, etc. The predetermined time period may refer to a predetermined time period from the current time to the end of the day, or from the current time, etc.
[0080] In one embodiment, different light intensities correspond to different estimated power generation amounts. For example, according to the light intensity (such as W / m 2 ) and sunshine duration (e.g. hours), estimate the daily power generation of solar panels. For example, the light intensity on a sunny day is 1000W / m 2 , the sunshine duration is 10 hours, and the estimated power generation for the day is 10kWh.
[0081] In one embodiment, different degrees of cloudiness and clearness correspond to different estimated power generation, for example, sunny day: high light intensity, maximum power generation, estimated power generation>8kWh. Cloudy day: medium light intensity, medium power generation, estimated power generation between 5-8kWh. Cloudy / rainy day: low light intensity, minimum power generation, estimated power generation<5kWh.
[0082] In one embodiment, determining the charging strategy of the energy storage device based on the predicted power generation may include: determining the charging strategy of the energy storage device based on the predicted power generation and environmental forecast data.
[0083] In one embodiment, determining a charging strategy for an energy storage device based on the estimated power generation includes:
[0084] Determining weather data based on the environmental forecast data; the weather data includes at least one of light intensity, sunshine duration, and cloud thickness;
[0085] A charging strategy for an energy storage device is determined based on the predicted power generation and the weather data.
[0086] In one embodiment, determining the charging strategy of the energy storage device based on the expected power generation and the weather data may include: determining the charging strategy of the energy storage device based on the expected power generation and the degree of cloudy or sunny weather. For example, on sunny days, the charging strategy and the discharging strategy are to prioritize energy storage charging and discharge when the power generation exceeds the demand. Optionally, the method may also include: adjusting the charging strategy and / or the discharging strategy based on historical data to ensure maximum utilization of solar energy.
[0087] For example, in cloudy weather, the charging strategy and the discharging strategy are to balance charging and discharging to ensure that the power of the energy storage device is maintained at a medium level. Optionally, the method may also include: adjusting the charging strategy and the discharging strategy in real time based on the thickness of the cloud layer.
[0088] For example, on rainy days, the charging strategy is to charge one day in advance based on environmental forecast data to ensure sufficient energy storage capacity.
[0089] In one embodiment, determining the expected power generation based on the environmental forecast data may include: determining the expected power generation and at least one power generation period based on the environmental forecast data. Determining a charging strategy for an energy storage device based on the expected power generation may include: determining a charging strategy for an energy storage device based on the expected power generation and at least one power generation period.
[0090] In this way, the charging target required for this charging strategy can be determined more accurately through environmental forecast data and estimated power generation, so that the environmental forecast data can be used to more accurately determine whether the environmental conditions for charging are suitable and accurately obtain the best charging strategy.
[0091] In some embodiments, Figure 3 As shown, step S10 may include:
[0092] S14: determining whether there is a fluctuation or power outage in the current power supply based on the power consumption data;
[0093] S15: In response to the current power supply fluctuating or being stopped, determining that the discharging strategy of the energy storage device is to start discharging now.
[0094] In one embodiment, the current power supply may refer to the current power supply from the grid, or the current power supply from the grid and the energy storage device.
[0095] In one embodiment, the existence of fluctuations may refer to the existence of voltage fluctuations, current fluctuations or other types of fluctuations. Determining whether the current power supply has fluctuations may refer to determining whether the current power supply has fluctuations within a predetermined time window, for example, the predetermined time window may be 1 minute, 2 minutes or 5 minutes.
[0096] In one embodiment, stopping power supply may include: stopping power supply and the duration of stopping power supply reaches a predetermined stopping duration, for example, the predetermined stopping duration may be 30 seconds, 1 minute, or 2 minutes.
[0097] In one embodiment, step S15 may include: in response to fluctuations in current power supply or cessation of power supply, determining the remaining power of the energy storage device; in response to the remaining power reaching a predetermined upper power limit, determining that the discharge strategy of the energy storage device is to start discharging now.
[0098] In one embodiment, step S15 may also include: in response to fluctuations in the current power supply or cessation of power supply, determining whether charging is required based on current environmental data and / or power consumption data; in response to determining that charging is required, obtaining environmental forecast data for a predetermined time period; and determining a charging strategy for the energy storage device based on the environmental forecast data.
[0099] In this way, when the current power supply is unstable or stopped, the energy storage device starts discharging to supply power to the vending equipment, thereby avoiding maintaining the power supply of the vending equipment in an emergency situation where the power supply of the power grid is unstable, thereby improving the operational stability.
[0100] In some embodiments, step S14 may include:
[0101] Determining whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on the power consumption data;
[0102] In response to the fluctuation range exceeding the predetermined range, and the duration of the fluctuation range exceeding the predetermined range reaching the predetermined duration, it is determined that the current power supply fluctuates.
[0103] In one embodiment, the fluctuation range may refer to a fluctuation range based on a normal power supply voltage, and the predetermined range may include a fluctuation upper limit value and a fluctuation lower limit value. The predetermined range may be a predetermined ratio range, such as ±10%.
[0104] In one embodiment, the duration of the fluctuation range exceeding the predetermined range may refer to the duration of the current power supply voltage exceeding the fluctuation upper limit or fluctuation lower limit of the predetermined range. For example, if the normal power supply voltage is 220V, the fluctuation upper limit is 242V, the current power supply voltage is 250V and the duration reaches the predetermined duration, it is determined that the current power supply has fluctuations.
[0105] In one embodiment, determining whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on the power consumption data may include: determining whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on the power consumption data within a predetermined period of time.
[0106] In this way, based on the voltage fluctuation range and the duration of the voltage exceeding the range, the accuracy of determining whether there is power supply fluctuation can be further improved, thereby avoiding accidental voltage fluctuations that lead to discharge operations and improving the operating reliability of the equipment.
[0107] In some embodiments, the environmental data includes environmental forecast data for a predetermined time period; the step S10 may include:
[0108] determining weather data for a predetermined time period based on the environmental forecast data;
[0109] At least one discharge time period corresponding to a discharge strategy of the energy storage device is determined based on the weather data.
[0110] In one embodiment, determining at least one discharge time period corresponding to the discharge strategy of the energy storage device may include: determining at least one discharge time period corresponding to the discharge strategy of the energy storage device, and at least one of the discharge amount, discharge efficiency, discharge duration, and discharge times corresponding to the discharge time period.
[0111] In one embodiment, determining at least one discharge period corresponding to the discharge strategy of the energy storage device may include: determining at least one discharge period corresponding to the discharge strategy of the energy storage device, and the discharge amount corresponding to the discharge period. Here, the discharge amount may refer to the discharge amount in each discharge period, or the total discharge amount of all discharge periods.
[0112] In one embodiment, determining at least one discharge period corresponding to the discharge strategy of the energy storage device based on the weather data may include: determining at least one discharge period corresponding to the discharge strategy of the energy storage device based on the weather data and power consumption data. Here, the power consumption data may include at least remaining power data of the energy storage device.
[0113] In this way, the power supply required for vending equipment can be determined more accurately based on future forecast weather data, and then the discharge strategy required for the energy storage device can be accurately determined, thereby improving the stability of power supply and the reliability of equipment.
[0114] As a possible implementation method, this embodiment provides a photovoltaic energy storage system and control method for a meal delivery cabinet, aiming to solve the problem of service interruption caused by unstable power supply.
[0115] Photovoltaic energy storage system Figure 4 As shown, the specific control process is as follows:
[0116] 1. Solar energy collection
[0117] Solar panels: Installed on the door, top or other well-lit surface of the meal delivery cabinet. When sunlight hits the panels, they convert light energy into DC electricity.
[0118] 2. Power conversion and storage
[0119] DC / DC converter: Since the DC voltage generated by solar panels may not be suitable for direct storage or use, a DC / DC converter is needed to adjust the voltage to ensure that it matches the energy storage device.
[0120] High-efficiency energy storage devices, such as Figure 5 As shown, the converted DC power is stored in a high-efficiency power storage device, such as a lithium-ion battery pack. The power storage device needs to have sufficient capacity to meet the power demand under long-term no-sun conditions.
[0121] 3. Energy management
[0122] Smart Energy Management System: This system monitors the output power of solar panels, the state of charge of power storage devices, and the power supply of the power grid. It analyzes data through built-in algorithms to decide when to charge, when to discharge, and whether to switch to backup power.
[0123] Specifically, when to charge: 1) When there is sufficient sunlight during the day: When the output voltage and current of the solar panel exceed the set threshold (such as 12V and 5A), and the power of the energy storage device is less than 80%, the system starts charging. The system also monitors the ambient temperature to ensure that the battery is not damaged when charging under high temperature conditions. If the temperature is too high, the system will start the cooling device.
[0124] 2) Weather forecast predicts good lighting conditions: By accessing the weather forecast API, if it is predicted to be sunny for the next 24 hours, the system will also give priority to charging operations.
[0125] 3) Low power threshold trigger: When the power of the energy storage device is lower than the set minimum threshold (such as 20%), the system will give priority to charging regardless of whether the current power grid is stable to ensure sufficient backup power. In addition, when low power is triggered, the system will adjust the power supply priority of non-critical equipment and give priority to powering critical equipment.
[0126] When to discharge: 1) At night or on rainy days: When the output of the solar panel is insufficient (below the set threshold) and the power grid is normal, the system starts to discharge to provide power for the meal distribution cabinet.
[0127] 2) High power threshold trigger: When the power of the energy storage device exceeds the set high power threshold (such as 90%), the system automatically discharges to prevent the battery from overcharging.
[0128] 3) Predicting insufficient sunlight in the future: The weather forecast API is used to predict the lighting conditions in the future. If more rainy days are predicted, the system will prioritize discharge during the day to reduce the burden on the energy storage device.
[0129] Switch to backup power supply: 1) Grid voltage instability: When the grid voltage fluctuation exceeds the set stability range (such as within ±10%) and lasts for more than 10 seconds, the system automatically switches to the backup power supply (energy storage device). The system will record the frequency and amplitude of voltage fluctuations in real time and generate a stability report for analysis by operation and maintenance personnel.
[0130] 2) Power outage: When a complete power outage is detected, the system immediately switches to the backup power supply to ensure the continued operation of the meal delivery cabinet. The system will send an alarm to notify the operation and maintenance personnel and prompt the current power supply mode on the user interface.
[0131] Weather forecast integration: The system is connected to the weather forecast API to estimate solar power generation according to weather changes and adjust the energy storage strategy in advance to ensure sufficient power reserves even on rainy days.
[0132] Specifically, determining a charging strategy for the energy storage device based on the estimated power generation may include at least one of the following:
[0133] A. Get weather data: Access the weather forecast API: The system obtains weather forecast data for the next week in real time, including daily light intensity, sunshine duration, degree of cloudy or sunny weather, etc.
[0134] B. Power generation estimation: 1) Light intensity and sunshine duration: Estimate the daily power generation of solar panels based on the light intensity (such as W / m2) and expected sunshine duration (such as hours) provided by the API. For example, if the light intensity on a sunny day is 1000W / m2 and the sunshine duration is 10 hours, the estimated power generation on that day is 10kWh.
[0135] 2) Weather conditions classification: Sunny day: high light intensity, maximum power generation, estimated power generation > 8kWh. Cloudy day: medium light intensity, medium power generation, estimated power generation between 5-8kWh. Cloudy / rainy day: low light intensity, minimum power generation, estimated power generation < 5kWh.
[0136] C. Adjustment of energy storage strategy: 1) Sunny day mode: On sunny days, the system prioritizes energy storage charging and discharges when power generation exceeds demand. At the same time, the system adjusts the daytime discharge strategy based on historical data to ensure maximum utilization of solar energy.
[0137] 2) Cloudy mode: In cloudy weather, the system charges and discharges evenly to ensure that the energy storage device remains at a moderate level. The system will adjust the charging and discharging strategies in real time based on cloud thickness data.
[0138] 3) Rainy day mode: On rainy days, the system will give priority to discharge and charge one day in advance according to the weather forecast to ensure sufficient energy storage. The system will also detect the health status of the energy storage device to ensure stable operation under extreme weather conditions.
[0139] User behavior analysis and prediction: Through big data analysis, the system can record and analyze users’ meal-taking behaviors and habits, predict peak usage periods, and adjust energy storage strategies in advance. Energy storage is added before the expected peak period to ensure stable power supply.
[0140] 4. Power distribution and switching
[0141] Inverter: Converts DC power in the power storage device into AC power for use in the meal distribution cabinet. Automatic switch: When the grid voltage is detected to be unstable or power outages, the intelligent energy management system triggers the automatic switch to quickly switch the power supply of the meal distribution cabinet from the mains to the power storage device to ensure continuous and stable operation of the system.
[0142] Specifically, voltage fluctuation range setting: the system sets the stable range of the grid voltage, for example, ±10%, that is, the voltage between 220V±22V belongs to the normal range.
[0143] Voltage fluctuation monitoring: 1) Real-time monitoring: The system monitors the fluctuation of grid voltage every second.
[0144] 2) Duration: When the voltage fluctuation exceeds the set range (such as ±10%) and lasts for more than 10 seconds, the system determines that the voltage is unstable. The system also monitors the grid frequency and triggers instability judgment when the frequency deviates from the normal range.
[0145] 3) Abnormal records: The system records the time and amplitude of abnormal voltage fluctuations and dynamically adjusts the switching strategy according to the grid stability. The system generates regular reports for operation and maintenance personnel to analyze grid stability.
[0146] 5. Monitoring and maintenance
[0147] Remote monitoring platform: Through the Internet of Things technology, the operating status of each meal distribution cabinet is transmitted to the cloud server in real time. Operation and maintenance personnel can view the information such as the amount of solar energy collected, the power storage device power, and the working status of each device in the background.
[0148] Fault alarm: When the system detects an abnormal situation, such as low power in the power storage device or damage to the battery panel, it will automatically send an alarm to notify the operation and maintenance personnel to handle it in time.
[0149] 6. User Interaction
[0150] Information display: The current power supply mode (such as mains power supply, solar power supply, hybrid power supply, etc.) is displayed on the touch screen of the meal distribution cabinet to increase transparency and let users understand the environmental protection characteristics of the equipment.
[0151] like Figure 6 As shown, the embodiment of the present application provides a control device for a vending machine, which may include:
[0152] A determination unit 100, configured to determine a charging strategy and a discharging strategy of an energy storage device based on environmental data and / or power consumption data;
[0153] The execution unit 200 is used to perform charging and energy storage based on the charging strategy, and / or to perform discharging based on the discharging strategy for the operation of the vending device.
[0154] In one possible implementation, the determination unit 100 is used to: determine whether charging is required based on current environmental data and / or power consumption data; in response to determining that charging is required, obtain environmental forecast data for a predetermined time period; and determine a charging strategy for the energy storage device based on the environmental forecast data.
[0155] In a possible implementation manner, the determination unit 100 is configured to: determine the current weather based on current environmental data; and determine that charging is required in response to the current weather being sunny.
[0156] In a possible implementation, the determination unit 100 is configured to: determine the remaining power of the energy storage device based on the power usage data; and determine that charging is required in response to the remaining power being lower than a preset power.
[0157] In a possible implementation, the determination unit 100 is configured to: determine an expected power generation based on the environmental forecast data; and determine a charging strategy for an energy storage device based on the expected power generation.
[0158] In one possible implementation, the determination unit 100 is used to: determine weather data based on the environmental forecast data; the weather data includes at least one of light intensity, sunshine duration and cloud thickness; determine a charging strategy for the energy storage device based on the expected power generation and the weather data.
[0159] In a possible implementation, the determination unit 100 is used to: determine whether the current power supply fluctuates or is stopped based on the power consumption data; and in response to the current power supply fluctuating or being stopped, determine that the discharge strategy of the energy storage device is to start discharging now.
[0160] In one possible implementation, the determination unit 100 is used to: determine whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on power consumption data; in response to the fluctuation range exceeding the predetermined range, and the duration of the fluctuation range exceeding the predetermined range reaches a predetermined duration, determine that there is fluctuation in the current power supply.
[0161] In one possible implementation, the environmental data includes environmental forecast data for a predetermined time period; the determination unit 100 is used to: determine weather data for a predetermined time period based on the environmental forecast data; and determine at least one discharge period corresponding to a discharge strategy of the energy storage device based on the weather data.
[0162] An embodiment of the present application further provides a vending machine, which may include the control device of the vending machine in any one or more of the aforementioned embodiments, or may be used to execute the control method of the vending machine in any one or more of the aforementioned embodiments.
[0163] like Figure 7 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0164] Memory 113, used for storing computer programs;
[0165] In one embodiment of the present application, the processor 111, when executing the program stored in the memory 113, implements the control method of the vending equipment provided by any one or more of the aforementioned method embodiments, which at least includes: determining the charging strategy and the discharging strategy of the energy storage device based on the environmental data and / or the power consumption data; charging and storing energy based on the charging strategy, and / or discharging based on the discharging strategy for the operation of the vending equipment.
[0166] In one possible implementation, determining a charging strategy and a discharging strategy for an energy storage device based on environmental data and / or power usage data includes: determining whether charging is required based on current environmental data and / or power usage data; in response to determining that charging is required, obtaining environmental forecast data for a predetermined time period; and determining a charging strategy for the energy storage device based on the environmental forecast data.
[0167] In a possible implementation, determining whether charging is required based on current environmental data and / or power usage data includes: determining current weather based on current environmental data; and determining that charging is required in response to the current weather being sunny.
[0168] In a possible implementation, determining whether charging is required based on current environmental data and / or power usage data includes: determining a remaining power of the energy storage device based on the power usage data; and determining that charging is required in response to the remaining power being lower than a preset power.
[0169] In a possible implementation, determining a charging strategy for an energy storage device based on the environmental forecast data includes: determining an expected power generation based on the environmental forecast data; and determining a charging strategy for an energy storage device based on the expected power generation.
[0170] In one possible implementation, determining the charging strategy of the energy storage device based on the expected power generation includes: determining weather data based on the environmental forecast data; the weather data includes at least one of light intensity, sunshine duration and cloud thickness; determining the charging strategy of the energy storage device based on the expected power generation and the weather data.
[0171] In one possible implementation, determining the charging strategy and discharging strategy of the energy storage device based on environmental data and / or power consumption data includes: determining whether the current power supply fluctuates or is stopped based on the power consumption data; and in response to the current power supply fluctuating or being stopped, determining that the discharging strategy of the energy storage device is to start discharging currently.
[0172] In one possible implementation, determining whether the current power supply fluctuates based on power consumption data includes: determining whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on the power consumption data; in response to the fluctuation range exceeding the predetermined range, and the duration of the fluctuation range exceeding the predetermined range reaching a predetermined duration, determining that the current power supply fluctuates.
[0173] In one possible implementation, the environmental data includes environmental forecast data for a predetermined time period; determining the charging strategy and discharging strategy of the energy storage device based on the environmental data and / or electricity consumption data includes: determining weather data for a predetermined time period based on the environmental forecast data; and determining at least one discharge time period corresponding to the discharge strategy of the energy storage device based on the weather data.
[0174] The embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the control method of the vending device provided by any one or more of the aforementioned method embodiments are implemented.
[0175] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0176] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0177] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0178] In the absence of contradiction, each step in a certain implementation mode or example can be implemented as an independent example, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain implementation mode or example can also be implemented as an independent example, and the order of the steps in a certain implementation mode or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain implementation mode or example can be arbitrarily combined; in addition, the various implementation modes or examples can be arbitrarily combined. For example, some or all steps of different implementation modes or examples can be arbitrarily combined, and a certain implementation mode or example can be arbitrarily combined with the optional methods or optional examples of other implementation modes or examples.
[0179] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for controlling a vending machine, characterized in that: The method comprises: Determine a charging strategy and a discharging strategy for the energy storage device based on the environmental data and / or the power consumption data; Charging is performed based on the charging strategy to store energy, and / or discharging is performed based on the discharging strategy to operate the vending device.
2. The method according to claim 1, characterized in that Determining a charging strategy and a discharging strategy of the energy storage device based on environmental data and / or power consumption data includes: Determining whether charging is required based on current environmental data and / or power usage data; In response to determining that charging is required, obtaining environmental forecast data for a predetermined time period; A charging strategy for the energy storage device is determined based on the environmental forecast data.
3. The method according to claim 2, characterized in that The determining whether charging is required based on current environment data and / or power usage data includes: determining current weather based on current environmental data; In response to the current weather being sunny, it is determined that charging is required.
4. The method according to claim 2, characterized in that: The determining whether charging is required based on current environment data and / or power usage data includes: determining the remaining capacity of the energy storage device based on the power consumption data; In response to the remaining power being lower than a preset power, it is determined that charging is required.
5. The method according to claim 2, characterized in that: The determining of a charging strategy for an energy storage device based on the environmental forecast data comprises: determining an expected amount of power generation based on the environmental forecast data; A charging strategy for the energy storage device is determined based on the estimated power generation.
6. The method according to claim 5, characterized in that The determining of a charging strategy for the energy storage device based on the estimated power generation comprises: Determining weather data based on the environmental forecast data; the weather data includes at least one of light intensity, sunshine duration, and cloud thickness; A charging strategy for an energy storage device is determined based on the predicted power generation and the weather data.
7. The method according to claim 1, characterized in that Determining a charging strategy and a discharging strategy of the energy storage device based on environmental data and / or power consumption data includes: Determine whether the current power supply fluctuates or stops based on the power consumption data; In response to the current power supply fluctuating or being stopped, the discharging strategy of the energy storage device is determined to start discharging now.
8. The method according to claim 7, characterized in that The determining whether there is a fluctuation in the current power supply based on the power consumption data includes: Determining whether the fluctuation range of the current power supply voltage exceeds a predetermined range based on the power consumption data; In response to the fluctuation range exceeding the predetermined range, and the duration of the fluctuation range exceeding the predetermined range reaching the predetermined duration, it is determined that the current power supply fluctuates.
9. The method according to claim 1, characterized in that: The environmental data includes environmental forecast data for a predetermined time period; the determining of a charging strategy and a discharging strategy of the energy storage device based on the environmental data and / or the power consumption data includes: determining weather data for a predetermined time period based on the environmental forecast data; At least one discharge time period corresponding to a discharge strategy of the energy storage device is determined based on the weather data.
10. A control device for a vending machine, characterized in that: The device comprises: A determination unit, configured to determine a charging strategy and a discharging strategy of the energy storage device based on the environmental data and / or the power consumption data; An execution unit is used to charge and store energy based on the charging strategy, and / or to discharge energy based on the discharging strategy for the operation of the vending device.
11. A vending device, characterized in that: The vending device includes the control device of claim 10.
12. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store a computer program; and the processor is used to implement the method according to any one of claims 1 to 9 when executing the computer program.
13. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.