Battery detection method and device and computer readable storage medium
By performing sleep, wake-up, high-voltage connection and disconnection detection on the batteries to be installed in electric vehicles, the problem of batteries being unusable after battery replacement is solved, the detection accuracy and the robustness of the battery replacement process are improved, and the user experience is enhanced.
Patent Information
- Application Number
- CN202410253257.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2025-09-12
AI Technical Summary
After an electric vehicle replaces its battery, the battery to be installed may have problems such as voltage mismatch, making it unusable and affecting the user experience.
By testing the sleep, wake-up, high-voltage connection and high-voltage disconnection of the installed battery, it is ensured that the battery can be used normally on the electrical equipment. In case of detection failure, a secondary battery replacement or manual intervention is carried out in time to improve the detection accuracy and the robustness of the battery replacement process.
It reduces the possibility of the battery becoming unusable after battery replacement, improves the accuracy of battery detection and the efficiency of the battery replacement process, reduces user waiting time, and improves user experience.
Smart Images

Figure CN120629992A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a battery detection method, device, and computer-readable storage medium. Background Art
[0002] With the development of new energy technologies, batteries are being used in more and more fields. For example, they can be used as a power source to power vehicles and reduce the use of non-renewable resources.
[0003] Currently, in addition to charging the batteries in electric vehicles through charging devices to ensure continuous operation of the electric vehicles, batteries can also be replaced at battery swap stations, which can quickly replenish energy for electric vehicles with insufficient energy, thereby avoiding long battery charging times. However, after battery swapping, the replaced battery may become unusable. Summary of the Invention
[0004] The embodiments of the present application provide a battery detection method, device, and computer-readable storage medium, which can improve user experience.
[0005] In a first aspect, a battery detection method is provided, comprising: receiving first battery replacement information, wherein the first battery replacement information is used to indicate that a battery to be removed from an electrical device has been removed and a battery to be installed has been installed on the electrical device; based on the first battery replacement information, detecting the battery to be installed to determine whether the battery to be installed can be used after being installed on the electrical device.
[0006] In the embodiment of the present application, after the battery to be removed is removed from the electrical equipment and the battery to be installed is installed on the electrical equipment, the battery to be installed is tested, which reduces the possibility that the battery to be installed cannot be used after the battery is replaced due to problems such as voltage mismatch between the batteries to be installed, thereby effectively improving the user experience.
[0007] In some possible implementations, the detecting the battery to be installed includes detecting the battery to be installed by determining whether the battery to be installed can be dormant, awakened, connected to high voltage, or disconnected from high voltage.
[0008] The above technical solution detects the battery to be installed by judging whether the battery to be installed can perform at least one of sleep, wake up, high voltage connection and high voltage disconnection. In this way, it can reduce the possibility of repeated battery replacement due to the inability of electrical equipment to reach high voltage after battery replacement, and improve the accuracy of battery detection.
[0009] In some possible implementations, the battery to be installed is detected by judging whether the battery to be installed can perform at least one of sleep, wake up, high voltage connection and high voltage disconnection, including: controlling the battery to be installed to wake up; if the battery to be installed wakes up successfully, controlling the battery to be installed to perform high voltage connection; if the high voltage connection of the battery to be installed is successful, controlling the battery to be installed to perform high voltage disconnection; if the high voltage disconnection of the battery to be installed is successful, controlling the battery to be installed to sleep.
[0010] The above technical solution wakes up, increases high voltage, reduces high voltage, and puts the installed battery into sleep mode in sequence to detect the installed battery. This can further reduce the possibility of repeated battery replacement due to the inability of electrical equipment to increase high voltage after battery replacement, improve the accuracy of battery detection, and thus effectively improve user experience.
[0011] In some possible implementations, the method further includes: determining that the battery to be installed can be used after being installed on the electrical device when the battery to be installed can be put into sleep, woken up, connected to high voltage, and disconnected from high voltage; and sending a detection success message, wherein the detection success message is used to indicate that the battery to be installed can be used after being installed on the electrical device.
[0012] The above technical solution, when the battery to be installed can be put into sleep, awakened, connected to high voltage, and disconnected from high voltage, determines that the battery to be installed can be used on the electrical equipment, and sends (for example, to the station control system) information indicating that the battery to be installed can be used on the electrical equipment. In this way, after the receiving object (for example, the station control system) receives the information, it can promptly execute subsequent steps, such as allowing the electrical equipment to leave the station, reducing the time spent waiting for the battery to be installed to be tested. For example, the test has been completed but the station control system does not know that the test has been completed and is still waiting for the test results. Through this technical solution, not only the efficiency of the entire battery replacement process is improved, but also the waiting time for users to wait for battery replacement is reduced, further improving the user experience.
[0013] In some possible implementations, the method further includes: determining that the battery to be installed cannot be used when installed on the electrical device when at least one of the following fails: sleep, wake-up, high-voltage connection, and high-voltage disconnection of the battery to be installed; and sending detection failure information, wherein the detection failure information is used to indicate that the battery to be installed cannot be used when installed on the electrical device.
[0014] The above technical solution determines that the battery to be installed cannot be used on the electrical device when at least one of the following fails: sleep, wake-up, high-voltage connection, and high-voltage disconnection. The solution also sends (for example, to the station control system) information indicating that the battery to be installed cannot be used on the electrical device. In this way, after the receiving object (for example, the station control system) receives the information, it can promptly execute subsequent steps, such as re-battery replacement, thereby reducing the time spent waiting for the battery to be installed to be tested. This not only improves the efficiency of the entire battery replacement process, but also reduces the waiting time for users to wait for battery replacement, further improving the user experience.
[0015] In some possible implementations, when the battery to be installed is unusable after being installed on the electrical device, the method further includes: controlling the battery to be installed to disconnect the high voltage and perform hibernation.
[0016] The above technical solution controls the battery to be installed to disconnect the high voltage and put it into hibernation when it is determined that the battery to be installed cannot be used on the electrical equipment, which can reduce the adverse effects caused by the battery to be installed actually being still in the high voltage connection and awake state.
[0017] In some possible implementations, when the battery to be installed is unusable after being installed on the electrical equipment, the method further includes: receiving second battery replacement information, where the second battery replacement information is used to instruct the replacement of the battery to be installed; and based on the second battery replacement information, controlling the locking mechanism of the electrical equipment to be unlocked so that the station control system can disassemble the battery to be installed.
[0018] When it is determined that the battery to be installed cannot be used on the electrical equipment, the battery to be installed will be disassembled, that is, a second battery replacement will be performed, which reduces the probability that the electrical equipment cannot be driven due to the battery to be installed being unusable on the electrical equipment, and can further improve the user experience.
[0019] In some possible implementations, the method further includes: controlling the locking mechanism of the electrical device to unlock before the battery to be removed is removed; in the event of unlocking failure, receiving unlocking information input by the user, and the unlocking information is used to control the unlocking of the locking mechanism.
[0020] The above technical solution receives unlocking information input by the user to control the unlocking of the locking mechanism after automatic unlocking fails, which increases manual control of the locking mechanism, thereby increasing the probability of successful unlocking and successful battery replacement, and improving the robustness of the entire battery replacement process.
[0021] In some possible implementations, the method further includes: when the battery to be installed has been installed in the electrical device, controlling the locking mechanism of the electrical device to lock it; in the event of locking failure, receiving locking information input by the user, and the locking information is used to control the locking of the locking mechanism.
[0022] The above technical solution receives locking information input by the user to control the locking of the locking mechanism after the automatic locking fails, which increases the manual control of the locking mechanism, thereby increasing the probability of successful locking and successful battery replacement, and improving the robustness of the entire battery replacement process.
[0023] In the second aspect, a battery detection device is provided, including: a communication unit for receiving first battery replacement information, wherein the first battery replacement information is used to indicate that the battery to be removed from the electrical device has been removed and the battery to be installed has been installed on the electrical device; a detection unit for detecting the battery to be installed based on the first battery replacement information to determine whether the battery to be installed can be used after being installed on the electrical device.
[0024] In some possible implementations, the detection unit is specifically configured to detect the battery to be installed by determining whether the battery to be installed can perform at least one of sleep, wake up, high voltage connection, and high voltage disconnection.
[0025] In some possible implementations, the detection unit is specifically used to: control the battery to be installed to wake up; if the battery to be installed wakes up successfully, control the battery to be installed to connect to high voltage; if the high voltage connection of the battery to be installed is successful, control the battery to be installed to disconnect the high voltage; if the high voltage disconnection of the battery to be installed is successful, control the battery to be installed to sleep.
[0026] In some possible implementations, the device further includes: a determination unit, configured to determine that the battery to be installed can be used after being installed on the electrical device when the battery to be installed can be put into sleep, awakened, connected to high voltage, and disconnected from high voltage; the communication unit is further configured to send a detection success message, wherein the detection success message is used to indicate that the battery to be installed can be used after being installed on the electrical device.
[0027] In some possible implementations, the device further includes: a determination unit, configured to determine that the battery to be installed cannot be used when installed on the electrical device if at least one of the following fails: sleep, wake-up, high-voltage connection, and high-voltage disconnection; and the communication unit is further configured to send detection failure information, wherein the detection failure information is used to indicate that the battery to be installed cannot be used when installed on the electrical device.
[0028] In some possible implementations, when the battery to be installed is unusable after being installed on the electrical device, the detection unit is further configured to: control the battery to be installed to disconnect the high voltage and perform hibernation.
[0029] In some possible implementations, when the battery to be installed is unusable after being installed on the electrical equipment, the communication unit is further used to: receive second battery replacement information, where the second battery replacement information is used to instruct the replacement of the battery to be installed; the device also includes: a control unit, which is used to control the locking mechanism of the electrical equipment to unlock based on the second battery replacement information, so that the station control system can disassemble the battery to be installed.
[0030] In some possible implementations, the device further includes: a control unit, configured to control the locking mechanism of the electrical device to be unlocked before the battery to be removed is removed; the communication unit is further configured to receive unlocking information input by the user in the event of unlocking failure, and the unlocking information is used to control the unlocking of the locking mechanism.
[0031] In some possible implementations, the device further includes: a control unit, configured to control the locking mechanism of the electrical device to lock when the battery to be installed has been installed in the electrical device; the communication unit is further configured to receive locking information input by a user when locking fails, and the locking information is used to control the locking of the locking mechanism.
[0032] In a third aspect, a battery detection device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program to execute the method in the first aspect or its various implementations.
[0033] In a fourth aspect, a computer-readable storage medium is provided for storing a computer program, which enables a computer to execute the method in the above-mentioned first aspect or its various implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the drawings without creative work.
[0035] In the drawings, the drawings are not drawn to scale.
[0036] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present application.
[0037] Figure 2 It is a schematic diagram of a battery detection method according to an embodiment of the present application.
[0038] Figure 3 This is a specific schematic flow chart of a battery detection method according to an embodiment of the present application.
[0039] Figure 4 It is a schematic block diagram of a battery detection device according to an embodiment of the present application.
[0040] Figure 5 It is a schematic block diagram of a battery detection device according to an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following detailed description of the embodiments of the present application is provided in conjunction with the accompanying drawings and examples. The following detailed description of the embodiments and the accompanying drawings are used to illustrate the principles of the present application, but are not intended to limit the scope of the present application, that is, the present application is not limited to the described embodiments.
[0042] In the description of this application, it should be noted that, unless otherwise specified, "plurality" means more than two; terms such as "upper," "lower," "left," "right," "inner," and "outer" indicating directions or positional relationships are merely for the purpose of facilitating the description of this application and simplifying the description, and do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limiting this application. Furthermore, terms such as "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0043] Unless otherwise defined, all technical and scientific terms used in this application have the same meanings as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0044] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0045] With the development of new energy technologies, batteries are finding increasingly widespread application, such as as a power source for electrical devices, reducing the use of non-renewable resources. If the battery power level in an electrical device is insufficient to keep it running, charging equipment such as charging piles can be used to recharge the device, effectively recharging the battery within the device and enabling a continuous charge and discharge cycle. However, battery charging takes a long time, limiting the device's endurance.
[0046] To improve the battery life of electrical equipment, battery swapping technology has emerged. This technology utilizes a "vehicle-battery separation" approach, allowing battery swapping services for electrical equipment at battery swap stations. This allows batteries to be quickly removed from or installed in the equipment. Batteries removed from the equipment can be charged in a battery swap cabinet at the station, ready for subsequent battery swapping with new equipment at the station.
[0047] In some cases, even if the battery replacement is successful, the battery installed in the power-consuming device may become unusable. Based on this, the embodiment of the present application proposes a battery detection method. After the battery to be removed from the power-consuming device and the battery to be installed has been installed on the power-consuming device, the battery to be installed is detected. This reduces the possibility of the battery to be installed becoming unusable due to problems such as voltage mismatch between the batteries to be installed after the battery replacement, thereby effectively improving the user experience.
[0048] Figure 1 A schematic diagram showing an application scenario of the battery detection method of an embodiment of the present application is shown. Figure 1 As shown, the application scenario of the battery detection method may involve a battery swap station 11, an electrical device 12 and a battery.
[0049] The battery swap station 11 may refer to a location that provides battery swap services for electrical equipment. For example, the battery swap station 11 may be a fixed location, or the battery swap station 11 may be a mobile location such as a mobile battery swap vehicle, which is not limited here.
[0050] The battery can be detachably connected to the power device 12. In some examples, the power device 12 can be a car, a heavy truck, or other vehicle that uses a power battery as a power source.
[0051] The battery may include a battery provided in the power-consuming device 12 and a battery provided in the power-exchanging station 11 for power exchange. Figure 1As shown, the battery to be replaced in the electrical equipment 12 is recorded as battery 141, and the battery used for battery replacement in the battery swap station is recorded as battery 142. In terms of the type of battery, the battery can be a lithium-ion battery, a lithium metal battery, a lead-acid battery, a nickel-cathode battery, a nickel-hydrogen battery, a lithium-sulfur battery, a lithium-air battery or a sodium-ion battery, etc., which is not specifically limited in the embodiments of the present application. In terms of battery scale, the battery in the embodiments of the present application can be a battery pack. However, it should be understood that in other scenarios, the battery can be a battery cell / battery monomer or a battery module.
[0052] In addition to being used as a power source to supply power to the motors of electrical equipment, the battery can also supply power to other electrical components in the electrical equipment. For example, the battery can also supply power to the car's air conditioner, car player, etc.
[0053] When a powered device 12 equipped with battery 141 enters a battery swap station 11, the station 11 removes battery 141 from the powered device 12 using a battery swapping device, removes battery 142 from the station 11, and then installs battery 142 on the powered device 12. The powered device 12 equipped with battery 142 can then leave the station 11. This battery swapping technology allows for rapid energy replenishment of powered devices within minutes or even tens of seconds, improving the user experience.
[0054] like Figure 1 As shown, a battery swap cabinet 13 may be provided in the battery swap station 11. The battery swap cabinet 13 includes a battery management unit (BMU) 131. The battery swap cabinet 13 may also be provided with a plurality of charging compartments 132, in which batteries for battery swapping may be placed.
[0055] The battery swap station 11 may also be provided with a corresponding management device. The management device may be a centralized structure or a distributed structure, which is not limited here. The management device may be provided inside the battery swap station 11 or outside the battery swap station 11. In the case where the management device is a distributed structure, the management device may also be provided partially inside the battery swap station 11 and partially outside the battery swap station 11. For example, Figure 1 As shown, the management device may include a station control system 151 within the battery swap station 11 and a cloud server 152 outside the battery swap station 11, which is not limited here.
[0056] For example, the station control system 151 can communicate with the BMU 131 to obtain information about the battery 141 on the power-consuming device 12 or the battery 142 in the charging compartment 133. For another example, the station control system 151 can also communicate with the cloud server 152 to obtain information about the battery 141 on the power-consuming device 12 or the battery 142 in the charging compartment 133.
[0057] Figure 2A schematic flow chart of a battery detection method 200 according to an embodiment of the present application is shown. Optionally, the method 200 may be executed by a master battery management unit (MBMU). The method 200 may include at least part of the following contents.
[0058] S210: Receive first battery replacement information, where the first battery replacement information is used to indicate that the battery to be removed from the electrical device has been removed and the battery to be installed has been installed on the electrical device.
[0059] S220: Based on the first battery replacement information, the battery to be installed is inspected to determine whether the battery to be installed can be used when installed on the electrical equipment.
[0060] Optionally, the battery to be removed may be a low-charged battery, and the battery to be installed may be a fully-charged battery.
[0061] Alternatively, the battery to be removed may be an abnormal battery, such as one experiencing thermal runaway or a deformed battery. In this case, the battery to be installed may also be a fully charged battery, or a battery with the same charge as the battery to be removed but without thermal runaway or deformation.
[0062] The electrical equipment can be an electric vehicle, or a ship or spacecraft. For example, the electric vehicle can be a heavy truck, such as a sprinkler truck, a fire truck, a soil truck, a truck, etc. According to analysis, the overall market holdings of heavy trucks are about 7 million, and more than 70% of heavy trucks operate 24 hours a day (two shifts or three shifts). In this case, the electrical equipment is a heavy truck, which can improve the user experience of heavy trucks. And for heavy trucks, compared with charging, the battery swap mode can effectively solve the pain points such as the scarcity of charging parking spaces, large battery capacity, and long charging time.
[0063] Optionally, wireless communication and interaction may be performed with other units, modules, devices, and the like. For example, the MBMU wirelessly receives the first battery swapping information sent by the station control system. Wireless communication methods may include, but are not limited to, Bluetooth communication, wireless fidelity (WIFI), ZigBee communication, and other methods.
[0064] In some embodiments, detecting the battery to be installed may specifically include detecting the battery to be installed by determining whether the battery to be installed can perform at least one of sleep, wake-up, high voltage connection, and high voltage disconnection.
[0065] This technical solution detects the battery to be installed by judging whether it can perform at least one of the following operations: sleep, wake up, high voltage connection, and high voltage disconnection. In this way, it can reduce the possibility of repeated battery replacement due to the inability of electrical equipment to reach high voltage after battery replacement, and improve the accuracy of battery detection.
[0066] As an example, the battery to be installed may be controlled to wake up, connect to high voltage, disconnect from high voltage, and sleep in sequence, so as to detect the battery to be installed.
[0067] Specifically, the battery to be installed can be controlled to wake up first. If the battery to be installed wakes up successfully, the battery to be installed can be controlled to connect to high voltage. Then, if the battery to be installed high voltage is successfully connected, the battery to be installed can be controlled to disconnect the high voltage. Finally, if the battery to be installed high voltage is successfully disconnected, the battery to be installed can be controlled to sleep.
[0068] In this way, the possibility of repeated battery replacement due to the inability of electrical equipment to reach high voltage after battery replacement can be further reduced, the accuracy of battery detection can be improved, and the user experience can be effectively improved.
[0069] If the battery to be installed can be awakened, connected to high voltage, disconnected from high voltage, and put into sleep mode, it is determined that the battery to be installed can be used after being installed on the power-consuming device. In addition, a detection success message can be sent to the station control system, and the detection success message can be used to ensure that the battery to be installed can be used after being installed on the power-consuming device.
[0070] In the case that the battery to be installed can be put into sleep, awakened, connected to high voltage, and disconnected from high voltage, it is determined that the battery to be installed can be used on the electrical equipment, and information indicating that the battery to be installed can be used on the electrical equipment is sent (for example, to the station control system). In this way, after the receiving object (for example, the station control system) receives the information, it can execute subsequent steps in a timely manner, such as allowing the electrical equipment to leave the station, reducing the time spent waiting for the battery to be installed to be tested. For example, the test has been completed but the station control system does not know that the test has been completed and is still waiting for the test results. Through this technical solution, not only the efficiency of the entire battery replacement process is improved, but also the waiting time for users to wait for battery replacement is reduced, further improving the user experience.
[0071] If the battery to be installed fails to sleep, wake up, connect to high voltage, or disconnect from high voltage, it can be determined that the battery to be installed cannot be used after installation in the power-consuming device, that is, the power-consuming device may have a problem with high voltage. In this case, a detection failure message can be sent to the station control system, indicating that the battery to be installed cannot be used after installation in the power-consuming device.
[0072] In the event that the battery to be installed fails in at least one of sleep, wake-up, high-voltage connection, and high-voltage disconnection, it is determined that the battery to be installed cannot be used on the power-consuming device, and information indicating that the battery to be installed cannot be used on the power-consuming device is sent (for example, to the station control system). In this way, after the receiving object (for example, the station control system) receives the information, it can promptly execute subsequent steps, such as re-battery replacement, reducing the time spent waiting for the battery to be installed to be tested. This not only improves the efficiency of the entire battery replacement process, but also reduces the waiting time for users to wait for battery replacement, further improving the user experience.
[0073] After determining that the battery to be installed is unusable after being installed on the electrical device, the method 200 may further include: controlling the battery to be installed to perform high voltage disconnection and hibernation.
[0074] The above technical solution controls the battery to be installed to disconnect the high voltage and put it into hibernation when it is determined that the battery to be installed cannot be used on the electrical equipment, which can reduce the adverse effects caused by the battery to be installed actually being still in the high voltage connection and awake state.
[0075] After the station control system receives the detection failure information, the entire battery replacement process can be ended, and the user can then perform some steps.
[0076] Alternatively, the station control system can perform a secondary battery swap, replacing the battery to be installed on the electrical device. Specifically, the station control system can send a second battery swap message to the MBMU, which in turn can receive the second battery swap message. This second battery swap message can be used to instruct the MBMU to replace the battery to be installed. After receiving the second battery swap message, the station control system can control the locking mechanism of the electrical device to unlock based on the second battery swap message, allowing the station control system to remove the battery to be installed and install a new battery.
[0077] Afterwards, the MBMU may re-execute the locking process and the detection process.
[0078] This technical solution, when it is determined that the battery to be installed cannot be used on the electrical equipment, will dismantle the battery to be installed, that is, perform a second battery replacement, which reduces the probability that the electrical equipment cannot be driven due to the battery to be installed being unusable on the electrical equipment, and can further improve the user experience.
[0079] At present, intelligent detection units are usually used to control the locking mechanism of electrical equipment. If the control of the locking mechanism fails, it may directly lead to battery replacement failure, which not only reduces the success rate of battery replacement but also reduces the user experience.
[0080] Taking this issue into consideration, the embodiment of the present application adds manual control of the locking mechanism on the basis of the conventional process to improve the robustness of the entire battery replacement process and thereby enhance the user experience.
[0081] Specifically, the method 200 may further include: before the battery to be removed is removed, controlling the locking mechanism of the electrical device to unlock, and in the event of unlocking failure, receiving unlocking information input by the user, the unlocking information being used to control the unlocking of the locking mechanism.
[0082] In other words, before removing the battery, the locking mechanism can be controlled to automatically unlock. If automatic unlocking fails, the locking mechanism can be controlled to manually unlock. If manual unlocking succeeds, the next step is executed. If manual unlocking fails, a message indicating unlocking failure can be sent to the station control system.
[0083] If the automatic unlocking fails once during the process of controlling the locking mechanism to automatically unlock, the locking mechanism can be controlled to manually unlock. Alternatively, the locking mechanism can be controlled to manually unlock after multiple automatic unlocking failures. For example, manual unlocking can be performed after three automatic unlocking failures. The number of automatic unlocking failures can be fixed or determined based on the current actual situation.
[0084] If automatic unlocking fails, manual unlocking can be performed directly. Alternatively, after automatic unlocking fails, manual unlocking can be performed after a preset time period. For example, the preset time period can be 5 seconds or 10 seconds.
[0085] After automatic unlocking fails, an unlocking failure message can optionally be sent to the station control system. After receiving the unlocking failure message, the station control system can notify the user of the automatic unlocking failure through the display device of the battery swap station (such as a display screen, speaker), so that the user can manually unlock the battery. Alternatively, the unlocking failure message can be sent to the entire vehicle, so that the entire vehicle notifies the user of the automatic unlocking failure through the display device of the electrical equipment.
[0086] After automatic unlocking fails, unlocking information input by the user is received to control the unlocking of the locking mechanism, which increases manual control of the locking mechanism, thereby increasing the probability of successful unlocking and successful battery replacement, and improving the robustness of the entire battery replacement process.
[0087] Similarly, method 200 may further include: controlling a locking mechanism of the electrical device to lock the electrical device if the battery to be installed has been installed in the electrical device, and receiving locking information input by a user if locking fails, the locking information being used to control the locking mechanism to lock the electrical device.
[0088] In other words, if the battery to be installed is already installed in the electrical equipment, the locking mechanism can be controlled to automatically lock the device. If the automatic locking is detected, the locking mechanism is controlled to manually lock the device. If the manual locking is successful, the next step is executed. If the manual locking fails, a message indicating the locking failure can be sent to the station control system.
[0089] If the locking mechanism fails to lock automatically once during the process of controlling the locking mechanism, the locking mechanism can be controlled to lock manually. Alternatively, if the automatic locking fails multiple times, the locking mechanism can be controlled to lock manually. The number of automatic locking failures can be fixed or flexibly set.
[0090] If automatic locking fails, you can directly lock the vehicle manually. Alternatively, if automatic locking fails, you can wait a preset period of time before manually locking the vehicle.
[0091] After automatic locking fails, a lock failure message can optionally be sent to the station control system. Upon receiving the lock failure message, the station control system can notify the user to manually lock the vehicle through a display device at the battery swap station. Alternatively, the lock failure message can be sent to the entire vehicle, so that the vehicle notifies the user of the automatic lock failure through a display device on an electrical device.
[0092] The above technical solution receives locking information input by the user to control the locking of the locking mechanism after the automatic locking fails, which increases the manual control of the locking mechanism, thereby increasing the probability of successful locking and successful battery replacement, and improving the robustness of the entire battery replacement process.
[0093] It should be understood that when it is determined that the battery to be installed cannot be used when installed on the electrical equipment and a second battery replacement is performed, the unlocking process during the second battery replacement process can also add a manual unlocking step, and / or the locking process can also add a manual locking step.
[0094] In some embodiments, unlocking or locking can be achieved by controlling the solenoid valve and motor in the locking mechanism. Alternatively, the locking mechanism can be automatically unlocked by first enabling the solenoid valve and then enabling the motor. Alternatively, the locking mechanism can be locked by over-enabling the motor.
[0095] It should be noted that, in the embodiment of the present application, unlocking successfully means that all locking mechanisms are unlocked successfully, and locking successfully fails means that all locking structures are locked successfully.
[0096] It should also be noted that each time automatic unlocking or automatic locking fails, the solenoid valve and motor can be driven to be disabled, and after automatic locking fails, the solenoid valve drive can be controlled to be enabled and wait for the internal air pressure to be released before trying the locking process.
[0097] Furthermore, method 200 may further include: during the battery replacement process, obtaining battery information of the battery to be installed, and determining the status of the battery to be installed based on the obtained battery information. If it is determined that the battery to be installed is in an abnormal state, an alarm message may be sent to the station control system. Upon receiving the alarm message, the station control system may prohibit the electric device from leaving the station. Alternatively, if it is determined that the battery to be installed is in an abnormal state, the battery to be installed may be controlled to supply power to the electric device.
[0098] The battery information may include but is not limited to device information of the battery to be installed, connection information of the battery to be installed, etc. For example, it may be determined whether the battery to be installed is connected normally.
[0099] In order to more clearly describe the embodiments of the present application, Figure 3 A specific implementation process of method 200 is described in detail.
[0100] In step 301, the station control system sends a battery replacement request message to the MBMU, wherein the battery replacement request message is used to request a battery replacement for an electrical device.
[0101] In step 302, the MBMU determines whether the battery replacement request information is received.
[0102] If the battery replacement request information is received, step 303 is executed. If the battery replacement request information is not received, step 302 is continued.
[0103] In step 303 , the MBMU controls the solenoid valve of the locking mechanism to be driven and enabled.
[0104] In step 304 , the MBMU controls the motor drive of the locking mechanism to enable.
[0105] In step 305 , the MBMU controls the solenoid valve and the motor drive to be disabled.
[0106] In step 306 , the MBMU determines whether the locking mechanism is automatically unlocked successfully.
[0107] If the automatic unlocking is not successful, then execute step 307. If the automatic unlocking is successful, then execute step 310.
[0108] In step 307 , the MBMU controls the locking mechanism to perform manual unlocking.
[0109] In step 308 , the MBMU determines whether the manual unlocking is successful.
[0110] If manual unlocking fails, it is determined that the battery replacement has failed, and step 309 is executed. If manual unlocking succeeds, step 310 is executed.
[0111] In step 309, a battery replacement failure message is sent to the station control system, where the battery replacement failure message is used to indicate a battery replacement failure.
[0112] In step 310, installation information is sent to the station control system, where the installation information is used to instruct the station control system to remove the battery to be removed from the electrical device and install the battery to be installed.
[0113] In step 311 , the MBMU receives first battery replacement information, where the first battery replacement information is used to indicate that the battery to be removed from the electric device has been removed and the battery to be installed has been installed on the electric device.
[0114] In step 312, the MBMU determines whether the battery to be installed has been installed.
[0115] If it is determined that the installation is complete, then step 313 is executed. If it is determined that the installation is not complete, then step 312 is continued.
[0116] In step 313 , the MBMU controls the motor drive to be enabled.
[0117] In step 314 , the MBMU determines whether the locking mechanism is automatically locked successfully.
[0118] If the automatic locking is successful, go to step 315. If the automatic locking fails, go to step 318.
[0119] In step 315 , the MBMU controls the motor drive to be disabled.
[0120] In step 316 , the MBMU controls the solenoid valve to be driven and enabled.
[0121] In step 317 , the MBMU controls the solenoid valve to be disabled.
[0122] Afterwards, execute step 323.
[0123] In step 318 , the MBMU controls the motor drive to be disabled, controls the solenoid valve drive to be enabled, and waits for the solenoid valve to be released for 3 seconds.
[0124] In step 319 , the MBMU controls the solenoid valve to be disabled.
[0125] In step 320 , the MBMU determines whether the automatic locking has failed three times.
[0126] If the automatic locking fails three times, then step 321 is executed. If the number of automatic locking failures is less than three times, then step 313 is executed.
[0127] In step 321 , the MBMU controls the locking mechanism to perform manual locking.
[0128] In step 322 , the MBMU determines whether the manual locking is successful.
[0129] If manual locking fails, it is determined that the battery replacement has failed, and step 309 is executed. If manual locking is successful, step 323 is executed.
[0130] In step 323 , the MBMU controls the battery to be installed to wake up.
[0131] In step 324 , the MBMU determines whether the battery to be installed is successfully awakened.
[0132] If the wake-up is successful, execute step 325. If the wake-up fails, execute step 329.
[0133] In step 325 , the MBMU controls the battery to be installed to apply high voltage.
[0134] In step 326 , the MBMU determines whether the high voltage of the battery to be installed is successfully applied.
[0135] If the high voltage is applied successfully, the process goes to step 327. If the high voltage is applied fails, the process goes to step 329.
[0136] In step 327 , the MBMU controls the battery to be installed to lower the high voltage.
[0137] In step 328 , the MBMU determines whether the high voltage is applied to the battery to be installed successfully.
[0138] If the high pressure is applied successfully, the process proceeds to step 329. If the high pressure is applied unsuccessfully, the process proceeds to step 330.
[0139] In step 329, the MBMU sends a detection success message to the station control system. The detection success message is used to indicate that the battery to be installed is installed on the electrical equipment and can be used, indicating that the battery replacement is successful.
[0140] In step 330 , the MBMU controls the battery to be installed to lower the high voltage.
[0141] In step 331 , the MBMU controls the battery to be installed to hibernate.
[0142] In step 332, the MBMU sends a detection failure message to the station control system. The detection failure message is used to indicate that the battery to be installed cannot be used when installed on the power-consuming device.
[0143] In step 333, after receiving the detection failure information, the station control system determines to perform a second battery replacement and sends a second battery replacement information to the MBMU, which second instructs to replace the battery to be installed.
[0144] After receiving the second battery replacement information, the MBMU executes step 303 .
[0145] In the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0146] Moreover, under the premise of no conflict, the various embodiments and / or technical features in the various embodiments described in this application can be arbitrarily combined with each other, and the technical solutions obtained after the combination should also fall within the protection scope of this application.
[0147] The battery detection method of the embodiment of the present application is described in detail above. The battery detection device of the embodiment of the present application will be described below. It should be understood that the battery detection device in the embodiment of the present application can execute the battery detection method in the embodiment of the present application.
[0148] Figure 4 FIG. 4 is a schematic block diagram of a battery detection device 400 according to an embodiment of the present application. Figure 4 As shown, the battery detection device 400 may include:
[0149] The communication unit 410 is used to receive first battery replacement information, where the first battery replacement information is used to indicate that the battery to be removed from the electrical device has been removed and the battery to be installed has been installed on the electrical device.
[0150] The detection unit 420 is used to detect the battery to be installed based on the first battery replacement information to determine whether the battery to be installed can be used when installed on the electrical equipment.
[0151] Optionally, in an embodiment of the present application, the detection unit 420 is specifically configured to detect the battery to be installed by determining whether the battery to be installed can perform at least one of sleep, wake-up, high voltage connection, and high voltage disconnection.
[0152] Optionally, in an embodiment of the present application, the detection unit 420 is specifically used to: control the battery to be installed to wake up; if the battery to be installed wakes up successfully, control the battery to be installed to connect to high voltage; if the high voltage connection of the battery to be installed is successful, control the battery to be installed to disconnect the high voltage; if the high voltage disconnection of the battery to be installed is successful, control the battery to be installed to sleep.
[0153] Optionally, in an embodiment of the present application, the battery detection device 400 further includes: a determination unit for determining that the battery to be installed can be used when installed on the electrical device when the battery to be installed can be put into sleep, awakened, connected to high voltage, and disconnected from high voltage; the communication unit 410 is also used to send a detection success message, and the detection success message is used to indicate that the battery to be installed can be used when installed on the electrical device.
[0154] Optionally, in an embodiment of the present application, the battery detection device 400 further includes: a determination unit for determining that the battery to be installed cannot be used when installed on the electrical device when at least one of the following fails: sleep, wake-up, high-voltage connection, and high-voltage disconnection of the battery to be installed; the communication unit 410 is further used to send a detection failure message, wherein the detection failure message is used to indicate that the battery to be installed cannot be used when installed on the electrical device.
[0155] Optionally, in the embodiment of the present application, when the battery to be installed is unusable after being installed on the electrical device, the detection unit 420 is further configured to control the battery to be installed to disconnect the high voltage and perform hibernation.
[0156] Optionally, in an embodiment of the present application, when the battery to be installed is unusable after being installed on the electrical equipment, the communication unit 410 is also used to: receive second battery replacement information, where the second battery replacement information is used to instruct the replacement of the battery to be installed; the device also includes: a control unit, which is used to control the locking mechanism of the electrical equipment to unlock based on the second battery replacement information, so that the station control system can disassemble the battery to be installed.
[0157] Optionally, in an embodiment of the present application, the battery detection device 400 also includes: a control unit, used to control the locking mechanism of the electrical equipment to unlock before the battery to be removed is removed; the communication unit 410 is also used to receive unlocking information input by the user in the event of unlocking failure, and the unlocking information is used to control the unlocking of the locking mechanism.
[0158] Optionally, in an embodiment of the present application, the battery detection device 400 further includes: a control unit, used to control the locking mechanism of the electrical device to lock when the battery to be installed has been installed in the electrical device; the communication unit 410 is also used to receive locking information input by the user when locking fails, and the locking information is used to control the locking of the locking mechanism.
[0159] It should be understood that the battery detection device 400 can implement the corresponding operations in the method 200, and for the sake of brevity, they are not described here in detail.
[0160] Figure 5 1 is a schematic diagram of the hardware structure of a battery detection apparatus 500 according to an embodiment of the present application. The battery detection apparatus 500 includes a memory 501, a processor 502, a communication interface 503, and a bus 504. The memory 501, the processor 502, and the communication interface 503 are connected to each other via the bus 504.
[0161] Memory 501 can be a read-only memory (ROM), a static storage device, or a random access memory (RAM). Memory 501 can store programs. When the program stored in memory 501 is executed by processor 502, processor 502 and communication interface 503 are used to perform the various steps of the battery detection method of the embodiment of the present application.
[0162] The processor 502 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the device of the embodiment of the present application, or to execute the battery detection method of the embodiment of the present application.
[0163] The processor 502 may also be an integrated circuit chip with signal processing capabilities. During implementation, each step of the battery detection method of the embodiment of the present application may be completed by hardware integrated logic circuits in the processor 502 or software instructions.
[0164] The processor 502 may also be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. It may implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application may be directly implemented as being executed by a hardware processor, or may be executed using a combination of hardware and software modules within the processor. The software module may be located in a storage medium well-established in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in the memory 501. The processor 502 reads the information in the memory 501 and, in combination with its hardware, completes the functions required to be performed by the units included in the battery detection apparatus 500 of the embodiments of this application, or executes the battery detection method of the embodiments of this application.
[0165] The communication interface 503 uses a transceiver device such as, but not limited to, a transceiver to implement communication between the battery detection apparatus 500 and other devices or a communication network.
[0166] The bus 504 may include a path for transmitting information between various components of the battery detection apparatus 500 (eg, the memory 501 , the processor 502 , and the communication interface 503 ).
[0167] It should be noted that although the above-mentioned battery detection device 500 only shows a memory, a processor, and a communication interface, in the specific implementation process, those skilled in the art should understand that the battery detection device 500 may also include other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the battery detection device 500 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the battery detection device 500 may also include only the devices necessary to implement the embodiments of the present application, and does not necessarily include Figure 5 All devices shown in .
[0168] An embodiment of the present application further provides a computer-readable storage medium for storing a computer program, which is used to execute the methods of the various embodiments of the present application described above.
[0169] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0170] An embodiment of the present application further provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned battery detection method.
[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A battery detection method, characterized in that: include: Receive first battery replacement information, where the first battery replacement information is used to indicate that the battery to be removed from the electric device has been removed and the battery to be installed has been installed on the electric device; Based on the first battery replacement information, the battery to be installed is detected to determine whether the battery to be installed can be used when installed on the electrical equipment.
2. The method according to claim 1, characterized in that The detecting of the battery to be installed includes: The battery to be installed is detected by determining whether the battery to be installed can perform at least one of sleep, wake-up, high voltage connection, and high voltage disconnection.
3. The method according to claim 2, characterized in that The detecting of the battery to be installed by judging whether the battery to be installed can be dormant, awakened, connected to high voltage, or disconnected from high voltage comprises: Controlling the battery to be installed to wake up; When the battery to be installed is successfully awakened, controlling the battery to be installed to perform high voltage connection; When the high voltage connection of the battery to be installed is successful, controlling the battery to be installed to disconnect the high voltage; When the high voltage of the battery to be installed is disconnected successfully, the battery to be installed is controlled to enter hibernation.
4. The method according to claim 2 or 3, characterized in that The method further comprises: If the battery to be installed can be put into sleep, woken up, connected to high voltage, and disconnected from high voltage, determining that the battery to be installed can be used after being installed on the electrical device; Sending a detection success message, wherein the detection success message is used to indicate that the battery to be installed is installed on the electrical device and can be used.
5. The method according to claim 2 or 3, characterized in that The method further comprises: If the battery to be installed fails in at least one of sleep, wake-up, high-voltage connection, and high-voltage disconnection, determining that the battery to be installed is unusable when installed on the electrical device; Sending detection failure information, where the detection failure information is used to indicate that the battery to be installed cannot be used when installed on the electrical device.
6. The method according to any one of claims 1 to 5, characterized in that In the case where the battery to be installed is unusable after being installed on the electrical device, the method further includes: The battery to be installed is controlled to disconnect high voltage and enter sleep mode.
7. The method according to any one of claims 1 to 6, characterized in that In the case where the battery to be installed is unusable after being installed on the electrical device, the method further includes: receiving second battery replacement information, where the second battery replacement information is used to instruct the battery to be installed to be replaced; Based on the second battery replacement information, the locking mechanism of the electrical equipment is controlled to unlock so that the station control system can disassemble the battery to be installed.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: Before the battery to be removed is removed, controlling the locking mechanism of the electrical device to unlock; In the case of unlocking failure, unlocking information input by the user is received, and the unlocking information is used to control the unlocking of the locking mechanism.
9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: When the battery to be installed has been installed in the electrical device, controlling a locking mechanism of the electrical device to lock the device; In the case of locking failure, locking information input by a user is received, and the locking information is used to control the locking mechanism to be locked.
10. A battery detection device, characterized in that: include: a communication unit, configured to receive first battery replacement information, wherein the first battery replacement information is used to indicate that a battery to be removed from an electric device has been removed and a battery to be installed has been installed on the electric device; A detection unit is used to detect the battery to be installed based on the first battery replacement information to determine whether the battery to be installed can be used when installed on the electrical equipment.
11. The device according to claim 10, characterized in that The detection unit is specifically used for: The battery to be installed is detected by determining whether the battery to be installed can perform at least one of sleep, wake-up, high voltage connection, and high voltage disconnection.
12. The device according to claim 11, characterized in that The detection unit is specifically used for: Controlling the battery to be installed to wake up; When the battery to be installed is successfully awakened, controlling the battery to be installed to perform high voltage connection; When the high voltage connection of the battery to be installed is successful, controlling the battery to be installed to disconnect the high voltage; When the high voltage of the battery to be installed is disconnected successfully, the battery to be installed is controlled to enter hibernation.
13. The device according to claim 11 or 12, characterized in that The device further comprises: A determining unit, configured to determine that the battery to be installed is usable when installed on the electrical device, if the battery to be installed can be put into sleep, awakened, connected to high voltage, and disconnected from high voltage; The communication unit is further configured to send a detection success message, where the detection success message is configured to indicate that the battery to be installed is ready for use after being installed on the electrical device.
14. The device according to claim 11 or 12, characterized in that The device further comprises: a determining unit, configured to determine that the battery to be installed is unusable when installed on the electrical device if at least one of sleep, wake-up, high-voltage connection, and high-voltage disconnection of the battery to be installed fails; The communication unit is further configured to send detection failure information, where the detection failure information is used to indicate that the battery to be installed cannot be used after being installed on the electrical device.
15. The device according to any one of claims 10 to 14, characterized in that In the case that the battery to be installed is unusable after being installed on the electrical device, the detection unit is further configured to: The battery to be installed is controlled to disconnect high voltage and enter sleep mode.
16. The device according to any one of claims 10 to 15, characterized in that When the battery to be installed is installed on the electrical device and cannot be used, the communication unit is further configured to: receiving second battery replacement information, where the second battery replacement information is used to instruct the battery to be installed to be replaced; The device further comprises: A control unit is used to control the locking mechanism of the electrical equipment to unlock based on the second battery replacement information, so that the station control system can disassemble the battery to be installed.
17. The device according to any one of claims 10 to 16, characterized in that The device further comprises: A control unit, configured to control the locking mechanism of the electrical device to unlock before the battery to be removed is removed; The communication unit is further configured to receive unlocking information input by a user when unlocking fails, and the unlocking information is used to control unlocking of the locking mechanism.
18. The device according to any one of claims 10 to 17, characterized in that The device further comprises: a control unit, configured to control a locking mechanism of the electric device to lock the device when the battery to be installed has been installed in the electric device; The communication unit is further configured to receive locking information input by a user in the event of a locking failure, wherein the locking information is used to control the locking of the locking mechanism.
19. A battery detection device, characterized in that: include: Memory, used to store programs; A processor is configured to execute the program stored in the memory. When the program stored in the memory is executed, the processor is configured to execute the battery detection method according to any one of claims 1 to 9.
20. A computer-readable storage medium, characterized in that Used to store a computer program, wherein the computer program causes a computer to execute the battery detection method according to any one of claims 1 to 9.