Control system and control method for battery changing cabinet and charging pile
By introducing a combination of battery control module, inverter module and switch switching module into the battery swapping cabinet and charging pile, the problem of grid power consumption burden and operating cost is solved by utilizing the off-peak electricity price period for charging and the peak electricity price period for inverting power, thus realizing the efficient utilization of battery energy and cost optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-17
- Publication Date
- 2026-03-31
AI Technical Summary
The existing battery swapping stations and charging piles use a single mains power supply method, which leads to a heavy burden on the power grid, increases the operating costs of operators, and the difference between peak and off-peak electricity prices in the power grid results in an uneven cost structure.
Design a control system that combines a battery control module, an inverter module, and a switch switching module to charge the battery during off-peak hours and invert the power into the grid or power electric bicycle charging stations during peak hours, thereby dynamically adjusting the power consumption pattern to optimize the grid load.
This reduces the electricity burden on the power grid, lowers the operating costs for operators, and generates revenue through electricity price differences, thus achieving efficient utilization of battery energy.
Smart Images

Figure CN121756957A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charging control technology, and in particular to a control system and control method for a battery swapping cabinet and a charging pile. Background Technology
[0002] With the rise of the food delivery and express delivery industries, more and more people are joining these sectors. Most of these workers use electric bicycles as their mode of transportation. However, electric bicycles are extremely inconvenient for these workers due to their short range and slow charging speed. Battery swapping stations, which allow for quick battery swaps, have become very popular and have seen widespread development. Now that regulations prohibit indoor charging of electric bicycles, outdoor charging stations have also proliferated. As the number of electric bicycles in my country continues to grow, integrated charging stations combining battery swapping stations and charging piles are becoming increasingly common. Currently, most battery swapping stations and charging piles rely solely on grid power. In areas with limited electricity supply, this single-source power supply can burden the power grid, and the varying peak and off-peak electricity prices also increase operating costs for operators.
[0003] Therefore, it is necessary to study a control system and control method for battery swapping cabinets and charging piles, which can reduce the power grid's electricity burden and reduce the operator's operating costs. Summary of the Invention
[0004] To address the problems in the existing technology, this invention provides a control system and control method for a battery swapping cabinet and charging pile, the specific technical solution of which is as follows: A control system for a battery swapping cabinet and a charging pile includes a battery swapping cabinet and a charging pile, wherein the battery swapping cabinet includes at least one battery control module, an inverter module, a switch switching module, and a control module; The charging station includes at least one socket; The battery control module and the switch switching module are respectively connected to the mains power. The battery control module, inverter module, and switch switching module are connected in sequence. The socket is connected to the switch switching module; The battery control module and the switch switching module are respectively connected to the control module for communication. The battery control module is used to control the charging and discharging of the battery; The inverter module is used to convert the direct current discharged from the battery into alternating current. The switching module is used to switch the power supply provided to the charging pile from AC mains power to AC power output from the inverter module. The socket is used to connect an electric bicycle; The control module is used to charge the battery during off-peak electricity pricing periods when there is no demand for battery swapping at the swapping station and no demand for charging at the charging station, so that the battery is fully charged. When there is no demand for battery swapping at the swapping station and demand for charging at the charging station, the control module charges the battery and controls the switch switching module to switch the mains power supply to the socket corresponding to the charging station. When there is demand for battery swapping at the swapping station and no demand for charging at the charging station, the control module charges the battery and prioritizes batteries with a charge level greater than or equal to a set swapping threshold for battery swapping. When there is demand for battery swapping at the swapping station and demand for charging at the charging station, the control module prioritizes batteries with a charge level greater than or equal to a set swapping threshold for battery swapping, charges batteries with a charge level less than the set swapping threshold, and controls the switch switching module to switch the mains power supply to the socket corresponding to the charging station. During peak electricity price periods, when there is no demand for battery swapping at the swapping station and no demand for charging at the charging station, the system controls the battery control module to discharge the batteries and controls the inverter module to invert the battery's energy and input it into the grid. When there is no demand for battery swapping at the swapping station and demand for charging at the charging station, the system controls the battery control module to discharge the batteries and controls the inverter module to invert the battery's energy to supply power to the corresponding socket of the charging station. When there is demand for battery swapping at the swapping station and no demand for charging at the charging station, the system prioritizes batteries with a charge level greater than or equal to a set swapping threshold for rental swapping. When there is demand for battery swapping at the swapping station and demand for charging at the charging station, the system prioritizes batteries with a charge level greater than or equal to a set swapping threshold for rental swapping, controls the battery control module to discharge batteries with a charge level greater than or equal to a set discharge threshold, and controls the switch switching module to switch the mains power to supply power to the corresponding socket of the charging station when the charge level of all batteries falls below the set discharge threshold.
[0005] Preferably, the charging pile further includes a power detection module, which is connected to the socket and the control module respectively. The power detection module is used to collect the power of the socket and input the collected power consumption of the socket to the control module. The control module is also used to control the switch switching module to switch the mains power to supply power to the socket corresponding to the charging pile when the charging pile has a charging demand and when the power consumption of the corresponding socket is less than a set threshold. When the power consumption of the socket is greater than or equal to the set threshold, the switch switching module controls the switch switching module to switch the AC power output by the inverter module to supply power to the socket corresponding to the charging pile.
[0006] Preferably, the battery control module includes a charger, a battery, and a DC-DC module connected in sequence; the charger, battery, and DC-DC module are respectively connected to the control module; the charger is connected to the mains power, and the DC-DC module is connected to the inverter module. The charger is used to charge or disconnect the battery according to the control signal from the control module; the DC-DC module is used to convert the battery voltage into the input voltage required by the inverter module.
[0007] Preferably, the system further includes a 485 module, and the battery control module, switch switching module, and power detection module are respectively connected to the control module via the 485 module.
[0008] Preferably, the system further includes a remote communication module, and the control module is connected to the cloud platform through the remote communication module.
[0009] A control method for a battery swapping cabinet and charging pile, using the aforementioned system, includes the following steps: (1) During off-peak electricity price periods, when there is no demand for battery swapping at the battery swapping station and no demand for charging at the charging station, the battery is charged to achieve full energy storage. When there is no demand for battery swapping at the battery swapping station and demand for charging at the charging station, the battery is charged and the mains power is switched to supply power to the socket corresponding to the charging station. When there is demand for battery swapping at the battery swapping station and no demand for charging at the charging station, the battery is charged and priority is given to batteries with a charge level greater than or equal to the set battery swapping threshold for rental and battery swapping. When there is demand for battery swapping at the battery swapping station and demand for charging at the charging station, priority is given to batteries with a charge level greater than or equal to the set battery swapping threshold for rental and battery swapping, and batteries with a charge level less than the set battery swapping threshold are charged and the mains power is switched to supply power to the socket corresponding to the charging station. (2) During peak electricity price periods, when there is no demand for battery swapping at the battery swapping station and no demand for charging at the charging station, the battery is controlled to discharge and the battery's electrical energy is controlled to be inverted and input into the grid. When there is no demand for battery swapping at the battery swapping station and a demand for charging at the charging station, the battery is controlled to discharge and the battery's electrical energy is controlled to be inverted and supplied to the corresponding socket of the charging station. When there is demand for battery swapping at the battery swapping station and no demand for charging at the charging station, priority is given to batteries with a charge level greater than or equal to the set battery swapping threshold for rental and battery swapping. When there is demand for battery swapping at the battery swapping station and a demand for charging at the charging station, priority is given to batteries with a charge level greater than or equal to the set battery swapping threshold for rental and battery swapping. The battery with a charge level greater than or equal to the set discharge threshold is controlled to discharge. When the charge level of all batteries is less than the set discharge threshold, the switch switching module is controlled to switch the mains power to supply the corresponding socket of the charging station.
[0010] Preferably, the method further includes controlling the switching of AC power to supply power to the socket corresponding to the charging pile when the charging pile has a charging demand and when the power of the socket is less than a set threshold; and controlling the switching of AC power output from the inverter of the battery swapping cabinet to supply power to the socket corresponding to the charging pile when the power of the corresponding socket is greater than or equal to the set threshold.
[0011] A computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the control method for the battery swapping cabinet and charging pile.
[0012] A processor for running a program, wherein the program executes the control method for the battery swapping cabinet and charging pile when it runs.
[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention charges the batteries in the battery swapping cabinet when electricity prices are low, dynamically adjusting power consumption by rationally utilizing battery power data and the power consumption of charging pile sockets, thereby reducing the load on the power grid. The battery swapping cabinet can also convert battery energy into AC power and transmit it to the power grid to collect electricity revenue, significantly reducing the operator's operating costs. Attached Figure Description
[0014] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.
[0015] Figure 1 This is a system schematic diagram of the present invention. Detailed Implementation
[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0018] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0019] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0020] Example 1: This embodiment provides a control system for a battery swapping cabinet and a charging pile, including a battery swapping cabinet and a charging pile. The battery swapping cabinet includes multiple battery control modules, an inverter module, a switch switching module, a control module, and a 485 module. The charging pile includes multiple sockets and a power detection module. The battery control module, the switch switching module, and the power detection module are respectively connected to the control module via the 485 module. The 485 module includes a first 485 module, a second 485 module, a third 485 module, and a fourth 485 module.
[0021] Specifically, each battery control module includes a charger, a battery, and a DC-DC module connected in sequence. Each charger is connected to the control module via a first 485 module, each battery is connected to the control module via a second 485 module, and each DC-DC module is connected to the control module. Each power detection module is connected to the control module via a third 485 module, and the switch module is connected to the control module via a fourth 485 module. The power detection module is connected to its corresponding socket.
[0022] Each charger is connected to the mains power, and each DC-DC module is connected to the inverter module. The inverter module is connected to the switch module, and the switch module is connected to the mains power and each socket.
[0023] The charger is used to control the charging or disconnection of the corresponding battery according to the control signal from the control module. The DC-DC module is used to convert the voltage of the corresponding battery into the input voltage required by the inverter module.
[0024] The inverter module is used to convert the DC power discharged from each battery into AC power. The switch switching module is used to switch the power supply provided to the charging pile from AC mains power to AC power output from the inverter module. In this embodiment, several switch switching modules are set up, and each switch switching module controls one socket independently.
[0025] The socket is used to connect electric bicycles; The power detection module is used to collect the power of the corresponding socket and input the collected power of the socket into the control module.
[0026] During off-peak electricity pricing periods, when there is no demand for battery swapping at the swapping station and no demand for charging at the charging station, the control module controls the battery control module to charge the battery to full capacity. When there is no demand for battery swapping at the swapping station and demand for charging at the charging station, the control module charges the battery and controls the switch switching module to switch the mains power supply to the corresponding socket of the charging station. When there is demand for battery swapping at the swapping station and no demand for charging at the charging station, the control module charges the battery and prioritizes batteries with a charge level greater than or equal to a set swapping threshold for rental swapping. When there is demand for battery swapping at the swapping station and demand for charging at the charging station, the control module prioritizes batteries with a charge level greater than or equal to a set swapping threshold for rental swapping, charges batteries with a charge level less than the set swapping threshold, and controls the switch switching module to switch the mains power supply to the corresponding socket of the charging station. And during peak electricity price periods, when there is no demand for battery swapping at the swapping station and no demand for charging at the charging station, the system controls the battery control module to discharge the battery and controls the inverter module to invert the battery's electrical energy and input it into the grid; when there is no demand for battery swapping at the swapping station and demand for charging at the charging station, the system controls the battery control module to discharge the battery and controls the inverter module to invert the battery's electrical energy to supply power to the corresponding socket of the charging station; when there is demand for battery swapping at the swapping station and no demand for charging at the charging station, the system prioritizes the rental of batteries with a charge level greater than or equal to a set battery swapping threshold; when there is demand for battery swapping at the swapping station and demand for charging at the charging station, the system prioritizes the rental of batteries with a charge level greater than or equal to a set battery swapping threshold, controls the battery control module to discharge batteries with a charge level greater than or equal to a set discharge threshold, and controls the switch switching module to switch the mains power to supply power to the corresponding socket of the charging station when the charge level of all batteries is less than the set discharge threshold. It is also used to control the switch switching module to switch the mains power to supply power to the socket corresponding to the charging pile when there is a charging demand for the charging pile and when the power of the socket is less than the set threshold. When the power of the socket is greater than or equal to the set threshold, the switch switching module switches the AC power output by the inverter module to supply power to the socket corresponding to the charging pile.
[0027] The system also includes a remote communication module and a cloud platform. The control module connects to the cloud platform via the remote communication module. The remote communication module is implemented using a 4G module.
[0028] The system also includes a mobile terminal, which communicates with the cloud platform or control module to input battery swapping or charging requirements.
[0029] The working principle of the system of the present invention is as follows: The control module collects power data from each battery via the second 485 module and power data from each socket detected by the power detection modules via the third 485 module. The control module then transmits the collected data, including battery power and power consumption of each socket in the battery swapping cabinet, to the cloud platform via a remote communication module. This data is displayed on a monitor, allowing backend maintenance personnel to easily monitor the operation of the charging piles and battery swapping cabinet.
[0030] The control module has preset off-peak and peak electricity price periods, or the cloud platform has preset off-peak and peak electricity price periods. The control module obtains the current time period from the cloud platform through the remote communication module.
[0031] (1) During off-peak electricity price periods, the control module performs the following control: When there is no need for battery swapping at the battery swapping station or no need for charging at the charging station, the control module transmits a control signal to the charger through the first 485 module. The charger connects to the mains power according to the control signal to charge the corresponding battery, so that the corresponding battery is fully charged and stored.
[0032] When there is no need for battery swapping at the battery swapping station and a need for charging at the charging station, the control module transmits a control signal to the charger via the first 485 module. The charger connects to the mains power to charge the corresponding battery based on the control signal. Simultaneously, the power detection module for the socket with charging needs collects the power consumption of the corresponding socket and transmits the power consumption to the control module. When the power consumption of the corresponding socket of the charging station is less than a set threshold, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the mains power to supply power to the corresponding socket of the charging station. When the power consumption of the corresponding socket of the charging station is greater than or equal to the set threshold, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the AC power inverted by the inverter module to supply power to the corresponding socket of the charging station. At the same time, the control module transmits a control signal to the charger via the first 485 module. The charger disconnects the mains power to charge the corresponding battery based on the control signal, at which point the battery is in a discharging state.
[0033] When there is a need for battery swapping at the battery swapping station and no need for charging at the charging station, the control module prioritizes batteries with a charge level greater than or equal to the battery swapping threshold for rental and swapping. At the same time, the control module transmits control signals to the charger through the first 485 module, and the charger connects to the mains power to charge the corresponding batteries that are not participating in the battery swapping according to the control signals.
[0034] When there is a need for battery swapping at the battery swapping station and a need for charging at the charging station, the control module prioritizes batteries with a charge level greater than or equal to the swapping threshold for rental and swapping. When the power consumption of the corresponding socket of the charging station is greater than or equal to a set threshold while the battery charge level is less than a set threshold, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the AC power to charge the corresponding socket of the charging station and transmits a control signal to the charger via the first 485 module. The charger connects to the AC power according to the control signal to charge the corresponding battery. When the power consumption of the corresponding socket of the charging station is greater than or equal to a set threshold while the battery charge level is greater than or equal to a set threshold, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the AC power inverted by the inverter module to charge the corresponding socket of the charging station and transmits a control signal to the charger via the first 485 module. The charger disconnects the AC power according to the control signal to charge the corresponding battery, at which point the battery is in a discharging state. When the power consumption of a certain socket in the charging pile is less than the set threshold, the control module sends a control signal to the switch switching module through the third 485 module. The switch switching module switches the mains power to supply power to the socket in the charging pile whose power consumption is less than the set threshold. At the same time, it transmits a control signal to the charger through the first 485 module. The charger connects to the mains power according to the control signal to charge the battery with a power consumption less than the set threshold.
[0035] (2) During peak electricity price periods, the control module performs the following controls: When there is no demand for battery swapping at the battery swapping station or charging at the charging station, the battery is fully charged during off-peak electricity pricing periods. The control module transmits a control signal to the corresponding charger via the first 485 module. The corresponding charger disconnects from the mains power to charge the corresponding battery based on the control signal. Simultaneously, the second 485 module collects the battery's charge level. When the battery's charge level exceeds a set discharge threshold, the control module controls the switching module via the fourth 485 module to connect the inverter module's output to the mains power, thus converting the energy provided by the battery into AC power. This AC power is then supplied to the grid for electricity price difference revenue, reducing the operating costs of the battery swapping station and charging station. When the battery's energy is converted into AC power and a certain amount of electricity is consumed, the control module reads via the second 485 module that the battery's charge level is below the discharge threshold. The control module then controls the corresponding DC-DC module to stop operating via the fourth 485 module. When the charge of a battery exceeding a certain threshold reaches the discharge lower limit, the inverter module stops converting the output AC power. The control module transmits the data to the corresponding charger through the first 485 module. During off-peak electricity hours, the charger connects to the mains power to recharge the corresponding battery.
[0036] When there is no need for battery swapping at the battery swapping station and a need for charging at the charging station, the control module controls the discharge of batteries with a charge level higher than a set threshold. This activates the corresponding DC-DC module, which outputs the battery's energy to the inverter module. The inverter module then converts the battery's energy into AC power, which is output to the switch module. The control module, via a fourth 485 module, controls the switch module to switch to supplying the AC power inverted by the inverter module to the corresponding socket on the charging station. The control module also monitors the power consumption of the charging station's sockets in real time via a third 485 module. When the power consumption of a socket on the charging station falls below a set threshold, the control module sends a control signal to the switch module via the third 485 module. The switch module then switches to AC power to supply the socket on the charging station whose power consumption is below the set threshold.
[0037] When there is a need for battery swapping at the battery swapping cabinet and no need for charging at the charging pile, the control module prioritizes the rental and swapping of batteries with a power level greater than or equal to the battery swapping threshold.
[0038] When there is a need for battery swapping at the battery swapping station and a need for charging at the charging station, the control module prioritizes batteries with a charge level greater than or equal to the swapping threshold for battery swapping. When the power consumption of the corresponding socket of the charging station is greater than or equal to a set threshold and the battery charge level is greater than or equal to a set charge level, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the AC power inverted by the inverter module to charge the corresponding socket of the charging station. At the same time, it transmits a control signal to the charger via the first 485 module. The charger disconnects the mains power according to the control signal to charge the corresponding battery, at which point the battery is in a discharging state. When the power consumption of the corresponding socket of the charging station is greater than or equal to the set threshold and the battery charge level is less than the set charge level, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the mains power to charge the corresponding socket of the charging station. When the power consumption of a socket of the charging station is less than a set threshold, the control module sends a control signal to the switch switching module via the third 485 module. The switch switching module switches the mains power to supply power to the socket of the charging station with a power consumption less than the set threshold.
[0039] The battery swapping requirements for the battery swapping cabinets are input into the system in the following ways: A QR code is set up at the battery swapping cabinet. By scanning the QR code with a mobile device, the cloud platform receives the battery swapping instruction. The cloud platform transmits the information to the remote communication module of the battery swapping cabinet through the network signal base station. The remote communication module of the battery swapping cabinet transmits the battery swapping instruction to the control module of the battery swapping cabinet. The control module controls the corresponding battery to perform the battery swapping operation according to the battery swapping instruction.
[0040] The charging demand for charging stations is input into the system in the following ways: A QR code is set up at each socket of the charging pile. By scanning the QR code on the charging pile socket with a mobile device, the cloud platform receives the charging instruction. The cloud platform transmits the information to the remote communication module of the battery swapping cabinet through the network signal base station. The remote communication module of the battery swapping cabinet transmits the charging instruction to the control module of the battery swapping cabinet. The control module controls the switch to supply the corresponding socket with mains power or AC power inverted by the inverter module according to the charging instruction.
[0041] Example 2: Based on the same inventive concept as Embodiment 1, this embodiment provides a control method for a battery swapping cabinet and a charging pile. The applied system includes the following steps: (1) During off-peak electricity price periods, when there is no demand for battery swapping at the battery swapping station and no demand for charging at the charging station, the battery is charged to achieve full energy storage. When there is no demand for battery swapping at the battery swapping station and demand for charging at the charging station, the battery is charged and the mains power is switched to supply power to the corresponding socket of the charging station. When there is demand for battery swapping at the battery swapping station and no demand for charging at the charging station, the battery is charged and priority is given to batteries with a charge level greater than or equal to the set battery swapping threshold for rental and battery swapping. When there is demand for battery swapping at the battery swapping station and demand for charging at the charging station, priority is given to batteries with a charge level greater than or equal to the set battery swapping threshold for rental and battery swapping, and batteries with a charge level less than the set battery swapping threshold are charged and the mains power is switched to supply power to the socket of the charging station. (2) During peak electricity price periods, when there is no demand for battery swapping at the battery swapping station and no demand for charging at the charging station, the battery is controlled to discharge and the battery's electrical energy is controlled to be inverted and input into the grid. When there is no demand for battery swapping at the battery swapping station and a demand for charging at the charging station, the battery is controlled to discharge and the battery's electrical energy is controlled to be inverted and supplied to the charging station socket. When there is demand for battery swapping at the battery swapping station and no demand for charging at the charging station, batteries with a charge level greater than or equal to the set battery swapping threshold are prioritized for battery swapping. When there is demand for battery swapping at the battery swapping station and a demand for charging at the charging station, batteries with a charge level greater than or equal to the set battery swapping threshold are prioritized for battery swapping, and batteries with a charge level greater than or equal to the set discharge threshold are controlled to discharge. When the charge level of all batteries is less than the set discharge threshold, the switch switching module is controlled to switch the mains power to supply the charging station socket.
[0042] As a preferred embodiment, the method further includes controlling the switching of AC power to supply power to the socket corresponding to the charging pile when the charging pile has a charging demand and when the power of the socket is less than a set threshold, and controlling the switching of AC power output from the inverter of the battery swapping cabinet to supply power to the socket corresponding to the charging pile when the power of the socket is greater than or equal to the set threshold.
[0043] Example 3: Based on the same inventive concept as Embodiment 1, this embodiment provides a computer-readable storage medium, which includes a stored program, wherein a control method for a battery swapping cabinet and a charging pile is executed by the device where the computer-readable storage medium is located when the program is running.
[0044] Example 4: Based on the same inventive concept as Embodiment 1, this embodiment provides a processor for running a program, wherein the program executes a control method for a battery swapping cabinet and a charging pile.
[0045] Those skilled in the art will recognize that the modules of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components of the examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of the invention.
[0046] In the embodiments provided by this invention, it should be understood that the division of modules is only a logical functional division. In actual implementation, there may be other division methods, such as multiple modules can be combined into one module, one module can be split into multiple modules, or some features can be ignored.
[0047] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0048] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be covered within the scope of the claims and specification of the present invention.
Claims
1. A control system of a battery swap cabinet and a charging pile, comprising a battery swap cabinet and a charging pile, characterized in that, The battery swap cabinet comprises at least one battery control module, an inverter module, a switch switching module and a control module; The charging pile comprises at least one socket; The battery control module and the switch switching module are respectively connected with the commercial power supply; The battery control module, the inverter module and the switch switching module are sequentially connected; The socket is connected with the switch switching module; The battery control module and the switch switching module are respectively connected in communication with the control module; The battery control module is used for controlling the charging and discharging of the battery; The inverter module is used for converting the direct current discharged by the battery into alternating current; The switch switching module is used for switching the power supply mode of the charging pile, i.e. whether the commercial alternating current power supply or the alternating current power supply output by the inverter module; The socket is used for connecting the electric bicycle; The control module is used for controlling the battery control module to charge the battery to make the battery store energy at full capacity when the power grid is in a low valley electricity price period, the battery swap cabinet has no battery swap demand and the charging pile has no charging demand; controlling the battery control module to charge the battery and controlling the switch switching module to switch the commercial power supply to the socket corresponding to the charging pile when the battery swap cabinet has no battery swap demand and the charging pile has charging demand; controlling the battery control module to charge the battery and preferentially controlling the battery with an electric quantity greater than or equal to a set battery swap threshold to be rented for battery swap when the battery swap cabinet has battery swap demand and the charging pile has no charging demand; preferentially controlling the battery with an electric quantity greater than or equal to the set battery swap threshold to be rented for battery swap and controlling the battery control module to charge the battery with an electric quantity less than the set battery swap threshold and controlling the switch switching module to switch the commercial power supply to the socket corresponding to the charging pile when the battery swap cabinet has battery swap demand and the charging pile has charging demand; and used for controlling the battery control module to discharge the battery and controlling the inverter module to convert the electric energy of the battery into alternating current to input to the power grid when the power grid is in a high peak electricity price period, the battery swap cabinet has no battery swap demand and the charging pile has no charging demand; controlling the battery control module to discharge the battery and controlling the inverter module to convert the electric energy of the battery into alternating current to supply to the socket corresponding to the charging pile when the battery swap cabinet has no battery swap demand and the charging pile has charging demand; preferentially controlling the battery with an electric quantity greater than or equal to the set battery swap threshold to be rented for battery swap when the battery swap cabinet has battery swap demand and the charging pile has no charging demand; preferentially controlling the battery with an electric quantity greater than or equal to the set battery swap threshold to be rented for battery swap, controlling the battery control module to discharge the battery with an electric quantity greater than or equal to a set discharging threshold and controlling the switch switching module to switch the commercial power supply to the socket corresponding to the charging pile when the battery swap cabinet has battery swap demand and the charging pile has charging demand. 2.The control system of the battery swap cabinet and the charging pile according to claim 1, wherein, The charging pile further comprises a power detection module, which is connected with the socket and the control module respectively; the power detection module is used for collecting power of the socket and inputting the collected power of the socket to the control module; the control module is further used for controlling the switch switching module to switch the power supply of the socket corresponding to the charging pile by the mains when the charging pile has charging demand and the power of the socket is less than a set threshold, and to switch the power supply of the socket corresponding to the charging pile by the alternating current output by the inverter module when the power of the socket is greater than or equal to the set threshold. 3.The control system of the battery swap cabinet and the charging pile according to claim 1, characterized in that, The battery control module comprises a charger, a battery and a DC-DC module connected in sequence; the charger, the battery and the DC-DC module are connected with the control module respectively; the charger is connected with the mains, and the DC-DC module is connected with the inverter module. The charger is used for charging or disconnecting the charging of the battery according to the control signal of the control module; the DC-DC module is used for converting the voltage of the battery into the input voltage required by the inverter module.
4. The control system of the battery swap cabinet and charging pile according to claim 1, characterized in that, The system further comprises a 485 module, and the battery control module, the switch switching module and the power detection module are connected with the control module in communication through the 485 module. 5.The control system of the battery swap cabinet and the charging pile according to claim 1, wherein, The system further comprises a remote communication module, and the control module is connected with the cloud platform through the remote communication module.
6. A control method of a battery swap cabinet and a charging pile, characterized in that, The system of any one of claims 1-5 comprises the following steps: (1) during the off-peak electricity price period of the power grid, when the battery swap cabinet has no battery swap demand and the charging pile has no charging demand, the battery is controlled to be charged to store energy; when the battery swap cabinet has no battery swap demand and the charging pile has charging demand, the battery is controlled to be charged, and the power supply of the socket corresponding to the charging pile by the mains is controlled to be switched; when the battery swap cabinet has battery swap demand and the charging pile has no charging demand, the battery is controlled to be charged, and the battery with an electric quantity greater than or equal to a set battery swap threshold is preferentially controlled to be rented and swapped; when the battery swap cabinet has battery swap demand and the charging pile has charging demand, the battery with an electric quantity greater than or equal to the set battery swap threshold is preferentially controlled to be rented and swapped, and the battery with an electric quantity less than the set battery swap threshold is controlled to be charged, and the power supply of the socket corresponding to the charging pile by the mains is controlled to be switched; (2) during the peak electricity price period of the power grid, when the battery swap cabinet has no battery swap demand and the charging pile has no charging demand, the battery is controlled to be discharged, and the electric energy of the battery is controlled to be input to the power grid by inversion; when the battery swap cabinet has no battery swap demand and the charging pile has charging demand, the battery is controlled to be discharged, and the electric energy of the battery is controlled to be supplied to the socket corresponding to the charging pile by inversion; when the battery swap cabinet has battery swap demand and the charging pile has no charging demand, the battery with an electric quantity greater than or equal to a set battery swap threshold is preferentially controlled to be rented and swapped; when the battery swap cabinet has battery swap demand and the charging pile has charging demand, the battery with an electric quantity greater than or equal to the set battery swap threshold is preferentially controlled to be rented and swapped, the battery with an electric quantity greater than or equal to a set discharge threshold is controlled to be discharged, and the power supply of the socket corresponding to the charging pile by the mains is controlled to be switched when the electric quantity of all the batteries is less than the set discharge threshold.
7. The control method of the battery swap cabinet and the charging pile according to claim 6, characterized in that, The method also comprises: when there is a charging demand for the charging pile, and when the power of the socket is less than a set threshold, controlling switching of power supply of the socket corresponding to the charging pile by the mains; and when the power of the corresponding socket is greater than or equal to the set threshold, controlling switching of power supply of the socket corresponding to the charging pile by the inverter output AC power of the battery swap cabinet.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored program, wherein the program, when executed, controls the device in which the computer readable storage medium is located to perform the control method of the battery swap cabinet and the charging pile according to any one of claims 6 to 7.
9. A processor, comprising: The processor is configured to execute a program, wherein the program, when executed, performs the control method of the battery swap cabinet and the charging pile according to any one of claims 6 to 7.