CN114374242A - Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium - Google Patents

Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114374242A
CN114374242A CN202111550301.8A CN202111550301A CN114374242A CN 114374242 A CN114374242 A CN 114374242A CN 202111550301 A CN202111550301 A CN 202111550301A CN 114374242 A CN114374242 A CN 114374242A
Authority
CN
China
Prior art keywords
bin
battery
current
time period
query command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111550301.8A
Other languages
Chinese (zh)
Inventor
彭清辉
唐梅宣
沈剑
黄嘉曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Immotor Technology Co ltd
Original Assignee
Shenzhen Immotor Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Immotor Technology Co ltd filed Critical Shenzhen Immotor Technology Co ltd
Priority to CN202111550301.8A priority Critical patent/CN114374242A/en
Publication of CN114374242A publication Critical patent/CN114374242A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C3/00Registering or indicating the condition or the working of machines or other apparatus, other than vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application is suitable for the technical field of battery replacement, and discloses a battery loss prevention method and device for a battery replacement cabinet, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: sending a query command to the battery; if the response data returned aiming at the query command cannot be received, determining whether the bin door of the current bin is opened within a preset time period, wherein the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point; and if the bin door of the current bin is not opened within a preset time period, reporting fault information, wherein the fault information is used for representing that the current bin is in a fault state. When the response data returned by the battery aiming at the query command cannot be received, the bin is not considered to be an empty bin, and the fault is further judged and reported to the main control module. The cabinet of changing electricity like this can not pop out the storehouse that has the battery for the user as the empty storehouse, and then can not cause the battery to lose.

Description

Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium
Technical Field
The application belongs to the field of battery replacement, and particularly relates to a battery loss prevention method and device for a battery replacement cabinet, electronic equipment and a computer-readable storage medium.
Background
The power conversion process based on the power conversion cabinet generally comprises the following steps: a user scans a two-dimensional code displayed on a screen of a battery replacement cabinet through a mobile phone; the power exchange cabinet controls an empty bin to open a bin door; a user inserts a low-power battery into the empty bin and closes a bin door; the power exchange cabinet controls a bin loaded with a replaceable battery to open a bin door; and the user takes out the fully charged battery and closes the bin gate to complete the battery replacement process.
However, when a user replaces the battery, the battery replacement cabinet may pop up the bin with the battery as an empty bin to the user, and the battery may be lost.
Disclosure of Invention
The embodiment of the application provides a method and a device for preventing battery loss of a battery replacement cabinet, electronic equipment and a computer-readable storage medium, and can solve the problem that the battery of the existing battery replacement cabinet is lost.
In a first aspect, an embodiment of the present application provides a method for preventing battery loss of a battery replacement cabinet, including:
sending a query command to the battery;
if the response data returned aiming at the query command cannot be received, determining whether the bin door of the current bin is opened within a preset time period, wherein the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point;
and if the bin door of the current bin is not opened within a preset time period, reporting fault information, wherein the fault information is used for representing that the current bin is in a fault state.
According to the technical scheme, when the response data returned by the battery for the query command cannot be received, the current bin cannot be directly considered as an empty bin, and the empty bin information is reported, but whether the battery is in the bin is further judged by whether the bin door is opened within the preset time period, if the bin door is not opened within the preset time period, the battery is not taken out from the time point when the battery is inserted into the bin to the current time point, and then the current bin is determined not to be the empty bin, and the fault information is reported. Like this, trade the electric cabinet and forbid the back in storehouse according to fault information, can not open the storehouse that is in the fault state at the electricity changing in-process, can not pop out the storehouse that has the battery for the user as empty storehouse promptly, and then can not appear the battery and lose.
In some possible implementations of the first aspect, the method further includes: and if the bin door of the current bin is opened within a preset time period, reporting empty bin information, wherein the empty bin information is used for representing that the current bin is in an empty bin state.
In some possible implementations of the first aspect, after sending the query command to the battery, the method further includes: and if response data returned aiming at the query command is received, reporting the information in the bin, wherein the information in the bin is used for representing that a battery is stored in the bin.
In some possible implementations of the first aspect, before sending the query command to the battery, the method further includes: after the battery is inserted into the current bin, receiving a voltage signal of the battery; in response to the voltage signal, a step of sending a query command to the battery is entered.
In some possible implementations of the first aspect, the query command is a battery management system BMS firmware version query command, and the response data includes a firmware version number.
In a second aspect, an embodiment of the present application provides a battery loss prevention device for a battery replacement cabinet, including:
the sending module is used for sending a query command to the battery;
the determining module is used for determining whether the bin door of the current bin is opened within a preset time period if response data returned aiming at the query command cannot be received, wherein the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point;
and the fault reporting module is used for reporting fault information if the bin door of the current bin is not opened within a preset time period, wherein the fault information is used for representing that the current bin is in a fault state.
In some possible implementations of the second aspect, the apparatus further includes:
and the empty bin reporting module is used for reporting empty bin information if the bin door of the current bin is opened within a preset time period, wherein the empty bin information is used for representing that the current bin is in an empty bin state.
In some possible implementations of the second aspect, the apparatus further includes:
and the on-bin reporting module is used for reporting on-bin information if response data returned by aiming at the query command is received, wherein the on-bin information is used for representing that a battery is stored in the bin.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method according to any one of the first aspect is implemented.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is executed by a processor to implement the method according to any one of the above first aspects.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on an electronic device, causes the electronic device to perform the method of any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a power swapping system provided in the embodiment of the present application;
fig. 2 is a schematic block diagram of a power transformation cabinet provided in an embodiment of the present application;
fig. 3 is a schematic block diagram of a structure of a power transformation cabinet provided in an embodiment of the present application;
fig. 4 is a schematic flow chart of a battery loss prevention method for a battery replacement cabinet according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a structure of a battery anti-lost device of a battery replacement cabinet provided in the embodiment of the present application;
fig. 6 is a block diagram schematically illustrating a structure of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The following first presents an exemplary description of what embodiments of the present application may relate to.
Please refer to fig. 1, which is a schematic diagram of a power swapping system according to an embodiment of the present disclosure. As shown in fig. 1, the system includes a power exchange cabinet 11, a terminal device 12, and a server 13. The power exchange cabinet 11 and the terminal equipment 12 can be in communication connection with the server 13. Terminal device 12 may illustratively be a cell phone or tablet or the like. The switchboard 11 may comprise a touch screen for displaying relevant information to the user, e.g. a two-dimensional code or the like; the touch control device can also be used for receiving touch control operation of a user and executing corresponding actions in response to the touch control operation, for example, opening a bin door of an empty bin and the like. Further, the battery changing cabinet 11 includes a plurality of bins for storing batteries, and for example, referring to a schematic block diagram of the battery changing cabinet shown in fig. 2, the battery changing cabinet 21 includes a bin 211, a bin 212, a bin 213, a bin 214, a bin 215, a bin 216, and a bin 217. After the user inserts the battery in the storehouse, trade the battery cabinet and can charge to the battery.
Based on the battery swapping system architecture of fig. 1, the battery swapping process may be exemplarily as follows:
first, a user scans a two-dimensional code displayed on the switchboard 11 through the terminal device 12 (e.g., a mobile phone). After scanning the two-dimensional code, the terminal device 12 sends a battery swapping request to the server 13; after receiving the battery swapping request from the terminal device 12, the server 13 sends a battery swapping instruction to the battery swapping cabinet 11 according to related information carried by the battery swapping request, for example, identification information of the battery swapping cabinet 11.
After receiving a power change instruction from the server, the power change cabinet 11 queries the bins in the empty bin state at the current time in response to the power change instruction, selects one empty bin from the bins in the empty bin state, and controls the empty bin to open the bin door.
After the power exchange cabinet 11 opens the door of the empty bin, the user can put the battery detached from the electric vehicle into the target empty bin and close the door of the empty bin.
When the switch cabinet 11 detects that the bin door of the empty bin is closed, one bin is selected from the bins storing the fully charged batteries, and the bin of the bin is opened. And after the bin door is opened, the user takes out the fully charged battery to load the electric vehicle, and closes the bin door. Thus, a power conversion process is completed.
In the above-mentioned battery replacement process, the battery replacement cabinet 11 needs to know the state of each bin, that is, it needs to know which bin is empty and which bin is a bin with a fully charged battery.
In a specific application, the main control module in the battery replacement cabinet 11 can obtain the state of each bin through information reported by a Power Management System (PMS) of each bin.
Each compartment of the power change cabinet 11 is provided with a PMS as a control panel of each compartment. The PMS is mainly used for acquiring battery information and reporting the battery information to a main control module (namely an upper computer) and can also be used for controlling a charger to charge batteries in a bin.
Each Battery has a Battery Management System (BMS) for data acquisition, Management, and control of the Battery. The BMS serves as a control board for the battery.
After the user inserts the battery into the empty compartment of the power distribution cabinet, the PMS of the compartment may communicate with the BMS for the battery to read battery information, determine whether the battery is on-line, etc.
For example, referring to the schematic block diagram of the structure of the power conversion cabinet shown in fig. 3, the power conversion cabinet may include a main control module 33, a PMS31, and a BMS 32. There is one PMS31 for each bay, and BMS32 is the control board for the batteries in the bay. Communication between the PMS31 and the BMS32 is performed via a can (controller Area network) bus.
After the user inserts the battery into the empty bin, the PMS CAN continuously send a query command to the BMS of the battery through the CAN bus to confirm whether the battery is on line or not, and report the on-line state of the battery to the power change cabinet.
And after receiving the query command from the PMS, the BMS responds according to the data protocol to return response data to the PMS.
If the PMS receives response data of the BMS of the battery, the battery is considered to be on-line, namely the battery is considered to be in the bin; if the response data of the BMS of the battery is not received, the battery is considered to be not on-line, i.e., the battery is considered not to be in the compartment, i.e., the compartment is considered to be an empty compartment.
Normally, the BMS of the battery responds to the PMS after receiving the query command of the PMS. However, if a battery fails or the battery is under-voltage and sleeps, the battery will not respond to the PMS.
Illustratively, the BMS acquires the battery voltage through the ADC, and determines that the current battery voltage is less than a certain voltage threshold, and considers that the battery is under-voltage. And, under the undervoltage condition, the battery has no current for more than 15 minutes, and the battery can enter the dormant state. In the dormant state, the battery CAN close the MOS tube and close the CAN bus module. At this time, the BMS and the PMS cannot communicate through the CAN bus, and after the PMS sends the query command to the BMS, the BMS will not respond, and the PMS will not receive BMS response data. Or, when the fault occurs in the PMS terminal or the CAN module of the BMS terminal, the communication between the PMS and the BMS is disabled, and the PMS does not receive BMS response data.
In these cases, the PMS may assume that the battery is not in the bin due to the failure to receive BMS response data. But in practice the batteries are in the compartment. Therefore, after the main control module of the power transformation cabinet receives the empty bin state information reported by the PMS, the empty bin of the bin loaded with the battery is recorded by mistake. Therefore, when the user exchanges electricity, the main control module of the electricity exchange cabinet can pop up the bin with the battery as an empty bin to the user, and the battery can be lost.
For example, for the power distribution cabinet 21 shown in fig. 2, assuming that the battery in the compartment 213 is under-voltage and dormant, the PMS in the compartment 213 sends a query command to the BMS of the battery in the compartment, and the BMS cannot send response data to the PMS because the battery is dormant. At this time, the PMS reports the empty bin state to the main control module if the PMS cannot receive the BMS response data within a certain time period. And after receiving the empty bin state reported by the PMS, the main control module changes the state of the bin 213 into an empty bin.
After scanning the two-dimensional code displayed by the power exchange cabinet 21 through the mobile phone, the user sends a power exchange instruction to the power exchange cabinet 21 by requesting the background server. The main control module of the power change cabinet 21 responds to the power change instruction and inquires that the bin 213 is currently in the empty bin state, and then pops the bin 213 as an empty bin to the user, that is, opens the bin door of the bin 213. But actually, the compartment 213 is stored with batteries, and the batteries in the compartment 213 may be lost when the compartment door is opened.
In order to solve the problem that the battery of the power changing cabinet is lost, the embodiment of the application provides a battery anti-loss scheme of the power changing cabinet. According to the scheme, when the battery is in the cabin, if the PMS cannot receive BMS response data, the cabin is not considered to be an empty cabin, the empty cabin is not reported to the main control module, and a fault is reported to the main control module. In this way, the master control module can disable the failed bin to prevent the battery from being lost.
Referring to fig. 4, a schematic flow chart of a battery loss prevention method for a power conversion cabinet provided in an embodiment of the present application may be applied to a PMS of each bin in the power conversion cabinet, and the method may include the following steps:
step S401, the PMS sends a query command to the battery.
It will be appreciated that after the user inserts the battery into the compartment, the PMS will continuously send a query command to the battery's BMS to confirm that the battery is on-line, i.e., whether the battery is in the compartment.
Typically, there is a connection line between the PMS and the BMS, and this continuous line has an INT signal. When the battery is just inserted into the cabin of the power exchange cabinet, the BMS of the battery wakes up from the sleep state after detecting the INT signal. At the same time, the PMS also receives the VCC signal transmitted by the BMS. The PMS, upon receiving the VCC signal from the BMS, will then continuously query whether there is a battery in the compartment.
That is, in some embodiments, prior to sending the query command to the battery, the method further comprises: after the battery is inserted into the front compartment, the PMS receives a voltage signal (i.e., VCC signal) of the battery; in response to the voltage signal, a step of sending a query command to the battery is entered.
In some embodiments, the query command is a BMS firmware version query command, and the response data includes a firmware version number. Namely, the PMS transmits a BMS firmware version query command to the BMS, and the BMS transmits a version number to the PMS in response to the query command.
Step S402, if the response data returned aiming at the query command is not received, the PMS determines whether the bin gate of the current bin is opened within a preset time period, wherein the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point.
It can be understood that, when the PMS sends the query command to the BMS, the transmission time point of the query command may be recorded, and whether response data returned by the BMS is not received due to timeout may be determined based on the recorded transmission time point and the current time point. And if the response data returned by the BMS is not received in the overtime, the response data returned aiming at the query command is not received.
When the PMS judges that response data returned aiming at the query command are not received, whether the bin gate is opened within a preset time period or not is further judged, namely whether the bin gate is opened from the time point when the battery is inserted into the bin to the current time point or not is further judged. If the bin door is opened, the battery in the bin is considered to be taken out, and the bin is an empty bin due to the fact that the BMS response data are not received; on the contrary, if the bin door is not opened, the battery in the bin is not taken out, the reason that the BMS response data is not received is the reason that the battery is in failure and the like, and the bin is not considered to be an empty bin but is considered to be a failed bin.
Step S403, if the door of the current cabin is not opened within a preset time period, the PMS reports fault information, and the fault information is used for representing that the current cabin is in a fault state.
It should be noted that, after receiving the fault information reported by the PMS, the main control module of the power conversion cabinet changes the state of the corresponding bin into a fault state. In a fault condition, the bin is not allowed to open as an empty bin. Normally, a failure state of a warehouse requires the maintenance personnel to handle the failure on site.
It can be understood that the main control module allocates an address to the PMS of each bin, and can know the fault information reported by the PMS of which bin according to the address of the PMS, and further know which bin needs to be forbidden.
The PMS of each cabin can also be used for opening the cabin door according to the cabin opening instruction of the main control module. Specifically, when the main control module needs to open the bin door of a certain bin, a bin opening instruction is issued to the PMS of the bin, and after receiving the bin opening instruction, the PMS controls the bin door to be opened. Therefore, the PMS may determine whether the bin door has been opened within the preset time period by inquiring whether a bin opening command is received within the preset time period. If the bin opening instruction is received within the preset time period, the bin gate is considered to be opened within the preset time period, otherwise, the bin gate is considered not to be opened within the preset time period.
It is worth noting that upon failure to receive the BMS response data, the PMS does not consider the compartment to be empty, but rather further confirms whether a battery is stored in the compartment. If the battery is stored in the bin, the battery can not receive BMS response data, the battery is considered to be a fault bin, the main control module can further forbid the bin for the bin, and in the battery replacement process, the main control module does not pop the fault bin as an empty bin for a user, so that the battery can not be lost.
Optionally, the method may further include step S404, if the bin door of the current bin is opened within a preset time period, the PMS reports empty bin information, where the empty bin information is used to represent that the current bin is in an empty bin state.
As can be seen from the above discussion, the PMS further confirms whether the door has been opened when the BMS response data is not received. If the bin door is opened, the bin is considered to be an empty bin, and empty bin information is reported to the main control module.
Optionally, the method may further include step S405, if response data returned for the query command is received, the PMS reports the information in the bin, where the information in the bin is used to represent that a battery is stored in the bin.
And if the PMS receives response data returned by the BMS, the PMS considers that a battery is stored in the bin and reports the information in the bin to the main control module.
According to the technical scheme, when the response data returned by the battery for the query command cannot be received, the current bin cannot be directly considered as an empty bin, and the empty bin information is reported, but whether the battery is in the bin is further judged by whether the bin door is opened within the preset time period, if the bin door is not opened within the preset time period, the battery is not taken out from the time point when the battery is inserted into the bin to the current time point, and then the current bin is determined not to be the empty bin, and the fault information is reported. Like this, trade the electric cabinet and can forbid the back in storehouse according to fault information, can not open the storehouse that is in the fault condition at the electricity changing in-process, can not pop out the storehouse that has the battery for the user as the empty storehouse promptly, and then can not appear the battery and lose.
The power transformation cabinet is provided with a plurality of bins, each bin is provided with one PMS, and each PMS executes the flow shown in the figure 4 so as to report information to the main control module. And the main control module obtains the battery information of each bin according to the information reported by the PMS of each bin.
In the embodiment of the application, when the master control module receives the fault information reported by the PMS, the state of the bin is changed into the fault state. Based on this, the swap procedure may be exemplarily as follows:
firstly, a user scans a two-dimensional code of the power change cabinet through the terminal device, so that the terminal device sends a power change request to the server. And the server responds to the battery swapping request and sends a battery swapping instruction to the battery swapping cabinet. Of course, the user may trigger the power swapping instruction in other ways. For example, a user may input a power swapping instruction to the power swapping cabinet through a touch screen of the power swapping cabinet.
After the battery replacement cabinet obtains the battery replacement instruction, the current state of each bin is inquired in response to the battery replacement instruction. And selecting one empty bin from the bins in the empty bin state to be ejected to the user. At this time, the bin in the fault state is not popped out as an empty bin to the user, so that the battery is not lost in case that the PMS cannot receive the BMS response data while the battery is in the bin.
The user inserts the low-battery cell of following the electric motor car dismantlement into the empty storehouse of popping out to close the door. After the main control module of the power exchange cabinet detects that the bin door is closed, a fully charged battery bin is popped up for a user, so that the user can take out the fully charged battery and install the fully charged battery on the electric vehicle.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the method described in the foregoing embodiment, fig. 5 shows a schematic block diagram of a structure of a battery replacement cabinet anti-lost device provided in the embodiment of the present application, and for convenience of description, only the parts related to the embodiment of the present application are shown.
Referring to fig. 5, the apparatus includes:
a sending module 51, configured to send a query command to the battery;
the determining module 52 is configured to determine whether the bin gate of the current bin is opened within a preset time period if no response data returned in response to the query command is received, where the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point;
and a fault reporting module 53, configured to report fault information if the bin gate of the current bin is not opened within a preset time period, where the fault information is used to represent that the current bin is in a fault state.
In some possible implementations, the apparatus further includes: and the empty bin reporting module is used for reporting empty bin information if the bin door of the current bin is opened within a preset time period, wherein the empty bin information is used for representing that the current bin is in an empty bin state.
In some possible implementations, the apparatus further includes: and the on-bin reporting module is used for reporting on-bin information if response data returned by aiming at the query command is received, wherein the on-bin information is used for representing that a battery is stored in the bin.
In some possible implementations, the apparatus further includes: the voltage receiving module is used for receiving a voltage signal of the battery after the battery is inserted into the current bin; in response to the voltage signal, a step of sending a query command to the battery is entered.
In some possible implementations, the query command is a battery management system BMS firmware version query command, and the response data includes a firmware version number.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the method embodiment in the embodiment of the present application, which may be referred to in the method embodiment section specifically, and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic apparatus 6 of this embodiment includes: at least one processor 60 (only one shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any of the various object tracking method embodiments described above when executing the computer program 62.
Exemplarily, the electronic device may be an android machine in a power exchange cabinet. The electronic device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of the electronic device 6, and does not constitute a limitation of the electronic device 6, and may include more or less components than those shown, or combine some of the components, or different components, such as an input-output device, a network access device, etc.
The Processor 60 may be a Central Processing Unit (CPU), and the Processor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in some embodiments be an internal storage unit of the electronic device 6, such as a hard disk or a memory of the electronic device 6. The memory 61 may also be an external storage device of the electronic device 6 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the electronic device 6. The memory 61 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides an electronic device, including: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on an electronic device, enables the electronic device to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A battery loss prevention method for a battery replacement cabinet is characterized by comprising the following steps:
sending a query command to the battery;
if the response data returned aiming at the query command is not received, determining whether a bin door of a current bin is opened within a preset time period, wherein the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point;
and if the bin door of the current bin is not opened within a preset time period, reporting fault information, wherein the fault information is used for representing that the current bin is in a fault state.
2. The method of claim 1, wherein the method further comprises:
and if the bin door of the current bin is opened within the preset time period, reporting empty bin information, wherein the empty bin information is used for representing that the current bin is in an empty bin state.
3. The method of claim 1, wherein after sending the query command to the battery, the method further comprises:
and if response data returned aiming at the query command are received, reporting the in-bin information, wherein the in-bin information is used for representing that a battery is stored in a bin.
4. The method of claim 1, wherein prior to sending the query command to the battery, the method further comprises:
receiving a voltage signal of the battery after the battery is inserted into the current bin;
in response to the voltage signal, the step of sending a query command to the battery is entered.
5. The method of claim 1, wherein the query command is a Battery Management System (BMS) firmware version query command and the response data includes a firmware version number.
6. The utility model provides a trade battery of battery cabinet and prevent losing device which characterized in that includes:
the sending module is used for sending a query command to the battery;
the determining module is used for determining whether a bin door of a current bin is opened within a preset time period if response data returned aiming at the query command is not received, wherein the preset time period is a time period between a time point when the battery is inserted into the current bin and the current time point;
and the fault reporting module is used for reporting fault information if the bin door of the current bin is not opened within a preset time period, wherein the fault information is used for representing that the current bin is in a fault state.
7. The apparatus of claim 6, further comprising:
and the empty bin reporting module is used for reporting empty bin information if the bin door of the current bin is opened within the preset time period, wherein the empty bin information is used for representing that the current bin is in an empty bin state.
8. The apparatus of claim 7, further comprising:
and the on-bin reporting module is used for reporting on-bin information if response data returned by aiming at the query command is received, wherein the on-bin information is used for representing that a battery is stored in a bin.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202111550301.8A 2021-12-17 2021-12-17 Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium Pending CN114374242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111550301.8A CN114374242A (en) 2021-12-17 2021-12-17 Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111550301.8A CN114374242A (en) 2021-12-17 2021-12-17 Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114374242A true CN114374242A (en) 2022-04-19

Family

ID=81139601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111550301.8A Pending CN114374242A (en) 2021-12-17 2021-12-17 Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114374242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115188144A (en) * 2022-08-03 2022-10-14 中国铁塔股份有限公司 Battery loss confirmation method and device, electronic equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115188144A (en) * 2022-08-03 2022-10-14 中国铁塔股份有限公司 Battery loss confirmation method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN112104048B (en) Charging and battery-replacing cabinet control system with charger scheduling function
CN112677804B (en) Charging power distribution method, charging power distribution device and battery replacement cabinet
CN111415469A (en) Battery swapping system and method based on wireless communication technology
CN114374242A (en) Battery loss prevention method and device for power exchange cabinet, electronic equipment and readable storage medium
CN113077302B (en) Processing method, system, equipment and storage medium of battery exchange cabinet
CN113232548A (en) Offline power changing method and system of power changing cabinet, terminal and storage medium
CN103839309A (en) Community entrance guard method and system
CN113787931B (en) Control method and device of battery changing cabinet, electronic equipment and storage medium
CN111263385A (en) Charging and battery replacing cabinet and communication method thereof
CN108876543A (en) A kind of tablet computer leases management-control method and system
CN110492557B (en) Battery fault processing method and equipment
CN112510644B (en) Short circuit protection method and device for UPS parallel operation system and UPS
CN113793450B (en) Shared battery replacing method and device, electronic equipment and storage medium
CN113160460B (en) Lock management method, electronic device, storage medium and sharing bicycle
CN214670239U (en) Automobile diagnosis equipment
CN210743087U (en) Portable power source leases equipment
CN102468655A (en) Charging device, powered device, charging system and charging method
CN210515489U (en) Intelligent electric vehicle sharing battery
CN113766000B (en) Method and system for restarting power exchange flow and unlocking
CN116260664B (en) Electricity changing bin access configuration method, device, equipment and storage medium
CN220041170U (en) Portable power source charging module, portable power source leasing equipment and system
CN108983670A (en) A method of the EEPROM multiple spot suitable for new-energy automobile electric-control system is read and write
CN217427364U (en) Distributed charging cabinet and distributed charging cabinet system
US20230150389A1 (en) Power supply management system
CN117872772A (en) Automatic policy processing method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination