Testing Method, Device, Equipment and Medium for Locking and Unlocking Mechanism of Battery Swap Station

By initializing the number of tests in the battery swap station, controlling the mobile board and the electromagnet for the unlocking operation, determining the unlocking status of the locking mechanism, the problem of long test cycle and poor compatibility of the locking mechanism of the battery swap station is solved, and convenient testing and high-compatibility electromagnetic locking mechanism testing are achieved.

CN115508645BActive Publication Date: 2025-06-27北京胜能能源科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211138673.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2025-06-27
Estimated Expiration
2042-09-19

AI Technical Summary

Technical Problem

The locking mechanism and unlocking test cycle of the battery swap station are long, and the test compatibility of different models is poor.

Method used

By initializing the number of tests, in response to the power withdrawal signal, the control board is raised from the waiting position to the working position, and inserts the lock body to be tested in the locking mechanism of the battery swap station into the locking pin, and determines the locking state. In the case of successful locking, in response to the battery swap signal, the electromagnet is controlled to generate magnetism, the moving plate moves downward, and the unlocking state is determined. According to the locking and unlocking status, determine the unlocking test results corresponding to the number of tests and update the number of tests.

Benefits of technology

It improves the convenience of the locking mechanism and unlocking test of the battery swap station, and improves the test compatibility of the electromagnetic locking mechanism of different models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115508645B_ABST
    Figure CN115508645B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for testing the locking and unlocking of a locking mechanism in a battery swapping station. The method includes: initializing the number of test times, in response to a power-taking signal, controlling the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the locking mechanism in the battery swapping station is inserted into the lock pin to be tested, and determining the locking state between the lock pin to be tested and the lock body to be tested; in the case where the locking state is successful locking, in response to a battery swapping signal, controlling the electromagnet to move from the preparation position to the magnetic attraction position, controlling the electromagnet to generate magnetism, controlling the moving plate to move downward, and determining the unlocking state between the lock pin to be tested and the lock body to be tested; determining the locking and unlocking test result corresponding to the number of test times according to the locking state and the unlocking state, and updating the number of test times. Through the technical solution of the embodiment of the present invention, the convenience of testing the locking and unlocking of the locking mechanism in the battery swapping station is improved, and the test compatibility of the electromagnetic locking mechanisms of different vehicle models is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of swapping station testing, and particularly to a method, device, equipment and medium for testing the locking and unlocking of a locking mechanism of a swapping station. Background Art

[0002] As a mechanical device for locking the battery box, the locking mechanism can achieve a reliable connection between the electric vehicle battery box and the vehicle body and meet the requirement of quickly replacing the battery.

[0003] Currently, the entire battery swapping process of swapping stations on the market is realized by the locking and unlocking control of the locking mechanism of the station control system and the battery pack. Therefore, the reliability of the locking and unlocking of the locking mechanism is particularly crucial. When the swapping station conducts a vehicle simulation locking mechanism test for different vehicle models, it will cause problems such as a long test cycle, high test costs, and poor compatibility of the test method with different vehicle models. Summary of the Invention

[0004] The present invention provides a method, device, equipment and medium for testing the locking and unlocking of a locking mechanism of a swapping station, so as to improve the convenience of testing the locking and unlocking of the locking mechanism of the swapping station, and improve the test compatibility of the electromagnetic locking mechanisms of different vehicle models.

[0005] According to one aspect of the present invention, there is provided a method for testing the locking and unlocking of a locking mechanism of a swapping station, the method comprising:

[0006] Initializing the number of test times, and in response to a power-taking signal, controlling the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the swapping station locking mechanism is inserted into the lock pin to be tested of the swapping station locking mechanism, and determining the locking state between the lock pin to be tested and the lock body to be tested; wherein, the lock body to be tested is carried on the moving plate, and the lock pin to be tested is arranged at the working position;

[0007] In the case where the locking state is successful locking, in response to a battery swapping signal, controlling the electromagnet to move from the preparation position to the magnetic attraction position, controlling the electromagnet to generate magnetism, controlling the moving plate to move downward, and determining the unlocking state between the lock pin to be tested and the lock body to be tested; wherein, the magnetic attraction position is at a first preset distance below the working position, and the preparation position is at a second preset distance below the waiting position;

[0008] Determining a locking and unlocking test result corresponding to the number of test times according to the locking state and the unlocking state, and updating the number of test times.

[0009] According to another aspect of the present invention, there is provided a device for testing the locking and unlocking of a locking mechanism of a swapping station, the device comprising:

[0010] The locking test module is used to initialize the number of tests, and in response to the power-taking signal, control the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the locking mechanism of the battery swapping station is inserted into the locking pin to be tested of the locking mechanism of the battery swapping station, and determine the locking state between the locking pin to be tested and the lock body to be tested; wherein, the lock body to be tested is carried on the moving plate, and the locking pin to be tested is arranged at the working position;

[0011] The unlocking test module is used to, when the locking state is successful locking, in response to the battery swapping signal, control the electromagnet to move from the preparation position to the magnetic attraction position, control the electromagnet to generate magnetism, control the moving plate to move downward, and determine the unlocking state between the locking pin to be tested and the lock body to be tested; wherein, the magnetic attraction position is at a first preset distance below the working position, and the preparation position is at a second preset distance below the waiting position;

[0012] The test result determination module is used to determine the locking and unlocking test result corresponding to the number of tests according to the locking state and the unlocking state, and update the number of tests.

[0013] According to another aspect of the present invention, there is provided an electronic device, which includes:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the locking and unlocking test method for the locking mechanism of the battery swapping station according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, there is provided a computer-readable storage medium, which stores computer instructions for causing a processor to implement the locking and unlocking test method for the locking mechanism of the battery swapping station according to any embodiment of the present invention when executed.

[0018] In the technical solution of the embodiment of the present invention, by initializing the number of test times, in response to the power-taking signal, the moving plate is controlled to rise from the waiting position to the working position, so that the to-be-tested lock body of the locking mechanism of the battery swapping station is inserted into the to-be-tested lock pin of the locking mechanism of the battery swapping station, and the locking state between the to-be-tested lock pin and the to-be-tested lock body is determined. In the case that the locking state is successful locking, in response to the battery swapping signal, the electromagnet is controlled to move from the preparation position to the magnetic attraction position, the electromagnet is controlled to generate magnetism, the moving plate is controlled to move downward, and the unlocking state between the to-be-tested lock pin and the to-be-tested lock body is determined. According to the locking state and the unlocking state, the locking and unlocking test results corresponding to the number of test times are determined, and the number of test times is updated, which solves the problems of long locking and unlocking test cycles of the locking mechanism of the battery swapping station and poor test compatibility for different vehicle models, realizes the improvement of the convenience of the locking and unlocking test of the locking mechanism of the battery swapping station, and furthermore, improves the test compatibility of the electromagnetic locking mechanisms of different vehicle models.

[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0021] Figure 1 It is a schematic flowchart of a method for testing the locking and unlocking of a locking mechanism of a battery swapping station provided in Embodiment 1 of the present invention;

[0022] Figure 2 It is a schematic flowchart of a method for testing the locking and unlocking of a locking mechanism of a battery swapping station provided in Embodiment 2 of the present invention;

[0023] Figure 3 It is a schematic flowchart of another method for testing the locking and unlocking of a locking mechanism of a battery swapping station provided in Embodiment 2 of the present invention;

[0024] Figure 4 It is a schematic structural diagram of an electromagnetic lock locking and unlocking test bench and a control system provided in Embodiment 2 of the present invention;

[0025] Figure 5 It is a top view of a cross-section of an electromagnetic lock locking and unlocking test bench provided in Embodiment 2 of the present invention;

[0026] Figure 6Schematic structural diagram of a locking and unlocking test device for a locking mechanism of a battery swapping station provided in Embodiment 3 of the present invention;

[0027] Figure 7 Schematic structural diagram of an electronic device provided in Embodiment 4 of the present invention. Detailed implementation manners

[0028] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0030] It can be understood that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the requirements of the corresponding laws, regulations and related provisions.

[0031] Embodiment 1

[0032] Figure 1 Schematic flowchart of a method for testing the locking and unlocking of a locking mechanism of a battery swapping station provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of testing the locking and unlocking control of the locking mechanism between the station control system of the battery swapping station and the battery pack. This method can be executed by a locking and unlocking test device for the locking mechanism of the battery swapping station. The locking and unlocking test device for the locking mechanism of the battery swapping station can be implemented in the form of hardware and / or software, and the locking and unlocking test device for the locking mechanism of the battery swapping station can be configured in an electronic device.

[0033] As Figure 1 shown, the method includes:

[0034] S110. Initialize the number of tests. In response to the power-taking signal, control the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the power exchange station locking mechanism is inserted into the lock pin to be tested of the power exchange station locking mechanism, and determine the locking state between the lock pin to be tested and the lock body to be tested.

[0035] Among them, the number of tests can be the number of times of the current unlocking and locking test. The power-taking signal can be an instruction to take out the battery pack from the power exchange station, that is, an instruction to take out the battery pack by locking through the locking mechanism. The power exchange station locking mechanism is the locking structure to be tested, which can include a lock pin to be tested and a lock body to be tested. The lock pin to be tested and the lock body to be tested are used in a matching manner and can realize the functions of locking and unlocking. The moving plate can be a plate structure that can reciprocate along a fixed direction and can carry the lock body to be tested. The moving plate is used to simulate the transportation of the battery pack by a Rail Guided Vehicle (RGV). The working position can be a position for fixing the lock pin to be tested. At the working position, the locking and unlocking of the power exchange station locking structure can be performed. The waiting position can be the position where the moving plate is located at the start of the test. Generally, the waiting position is below the working position. The locking state can be information indicating whether locking is successful, and can include successful locking and failed locking.

[0036] Specifically, at the start of the unlocking and locking test of the power exchange station locking mechanism, reset the number of tests, for example, initialize it to one, so that the number of tests can represent the current test times. Receive the power-taking signal, and control the moving plate to rise from the waiting position to the working position. At this time, the lock body to be tested carried on the moving plate can rise to the working position along with the moving plate, so that the lock body to be tested is combined with the lock pin to be tested fixed at the working position. Specifically, the lock body to be tested is inserted into the lock pin to be tested. Furthermore, it can be determined whether the locking of the power exchange station locking mechanism is completed after the lock body to be tested is inserted into the lock pin to be tested, and the locking state between the lock pin to be tested and the lock body to be tested is determined.

[0037] It should be noted that the insertion of the lock body to be tested into the lock pin to be tested is only the positional relationship between the two. After the insertion, determining whether the locking is completed is the purpose of the locking test.

[0038] S120. When the locking state is successful locking, in response to the power exchange signal, control the electromagnet to move from the preparation position to the magnetic attraction position, control the electromagnet to generate magnetism, control the moving plate to move downward, and determine the unlocking state between the lock pin to be tested and the lock body to be tested.

[0039] Among them, the battery swapping signal can be an instruction for replacing the battery pack, that is, an instruction to unlock the locking mechanism to replace the battery pack. An electromagnet is a device that generates electromagnetic force when energized, and is used to hold the lock body to be tested by magnetization and release the lock body to be tested by demagnetization. The preparation position can be the position where the electromagnet is initially placed, and the preparation position is at a second preset distance below the waiting position. It can be understood that in the initial state, the electromagnet is at a second preset distance below the moving plate. The magnetic attraction position can be the position where the electromagnet generates magnetism when energized and demagnetizes when powered off, and the magnetic attraction position is at a first preset distance below the working position. It can be understood that when performing the unlocking test, the electromagnet is at a first preset distance below the moving plate. It should be noted that the specific values of the first preset distance and the second preset distance can be set according to the actual situation and are not specifically limited in this embodiment. The unlocking state can be used to represent information on whether unlocking is successful, and can include unlocking success and unlocking failure.

[0040] Specifically, if the locking state is locking failure, there is no need to perform subsequent unlocking tests. At this time, it is necessary to manually or automatically lock the lock pin to be tested and the lock body to be tested to perform subsequent unlocking tests. If the locking state is locking success, subsequent unlocking tests are performed. Receive the battery swapping signal and control the electromagnet to move from the preparation position to the magnetic attraction position. When the electromagnet moves to the magnetic attraction position, the electromagnet is energized to generate magnetism, and at the same time, control the moving plate to move downward. At this time, if the unlocking is successful, the lock body to be tested will be separated from the lock pin to be tested under the action of the magnetic force and move downward with the moving plate. If the unlocking fails, when the moving plate moves downward, there is no lock body to be tested on the moving plate. Therefore, the unlocking state between the lock pin to be tested and the lock body to be tested can be further determined.

[0041] S130. Determine the locking and unlocking test results corresponding to the test times according to the locking state and the unlocking state, and update the test times.

[0042] Among them, the locking and unlocking test results can be an integration of the locking result and the unlocking result, such as locking success + unlocking success, locking failure + unlocking success, etc., or can be such as locking and unlocking failure or locking and unlocking success.

[0043] Specifically, after determining the locking state through the locking test and the unlocking state through the unlocking test, the locking state and the unlocking state can be integrated, and the obtained result is the locking and unlocking test result corresponding to the test times. Furthermore, update the test times, specifically, the test times can be incremented by one to enter the next locking and unlocking test of the lock structure of the battery swapping station, and record the test times of the next test.

[0044] Optionally, before updating the number of tests, it can be first determined whether the number of tests meets the test requirements, that is, whether it reaches the preset number, so as to determine whether to update the number of tests and conduct the next test.

[0045] Specifically, it can be:

[0046] When the number of tests is less than the preset number, return and execute the operation of controlling the moving plate to rise from the waiting position to the working position in response to the power-taking signal.

[0047] Among them, the preset number can be the number of times set in advance for the unlocking and locking tests of the locking mechanism of the swapping station for a set of lock pins to be tested and lock bodies to be tested. The specific value can be set according to actual needs and is not specifically limited in this embodiment.

[0048] Specifically, when the number of tests is less than the preset number, it indicates that the number of tests is insufficient and continuous testing is still required. Therefore, continue to execute the operation of controlling the moving plate to rise from the waiting position to the working position in response to the power-taking signal to conduct the next unlocking and locking test.

[0049] When the number of tests is equal to the preset number, determine the total test result of the locking mechanism of the swapping station according to the results of each unlocking and locking test.

[0050] Among them, the total test result can be the test result of the locking mechanism of the swapping station obtained by synthesizing the results of each unlocking and locking test, and can include passing the test and failing the test, etc.

[0051] Specifically, when the number of tests is equal to the preset number, it indicates that the number of tests has reached the test requirements and the test can be stopped. Moreover, based on the unlocking and locking test results corresponding to each test number, a comprehensive analysis is conducted to determine the total test result of the locking mechanism of the swapping station.

[0052] Exemplarily, the total test result of the locking mechanism of the swapping station can be determined according to the success ratio in the unlocking and locking test results. For example: determine the success ratio according to the results of each unlocking and locking test. If the success ratio is greater than or equal to the preset ratio, the total test result of the locking mechanism of the swapping station is passing the test; if the success ratio is less than the preset ratio, the total test result of the locking mechanism of the swapping station is failing the test. Of course, the total test result can also be determined by other methods, which will not be elaborated in this embodiment.

[0053] In the technical solution of the embodiment of the present invention, by initializing the number of test times, in response to the power-taking signal, the moving plate is controlled to rise from the waiting position to the working position, so that the to-be-tested lock body of the locking mechanism of the battery swapping station is inserted into the to-be-tested lock pin of the locking mechanism of the battery swapping station, and the locking state between the to-be-tested lock pin and the to-be-tested lock body is determined. In the case where the locking state is successful locking, in response to the battery swapping signal, the electromagnet is controlled to move from the preparation position to the magnetic attraction position, the electromagnet is controlled to generate magnetism, the moving plate is controlled to move downward, and the unlocking state between the to-be-tested lock pin and the to-be-tested lock body is determined. According to the locking state and the unlocking state, the locking and unlocking test result corresponding to the number of test times is determined, and the number of test times is updated, which solves the problems of long locking and unlocking test cycles of the locking mechanism of the battery swapping station and poor test compatibility for different vehicle models, realizes the improvement of the convenience of the locking and unlocking test of the locking mechanism of the battery swapping station, and moreover, improves the test compatibility of the electromagnetic locking mechanisms of different vehicle models.

[0054] Embodiment 2

[0055] Figure 2 It is a schematic flowchart of a method for testing the locking and unlocking of a locking mechanism of a battery swapping station provided by Embodiment 2 of the present invention. On the basis of the above embodiments, for the specific content of the determination method of the locking state and the unlocking state, reference can be made to the detailed description of this technical solution. Among them, the explanations of the same or corresponding terms as those in the above embodiments will not be repeated here.

[0056] As Figure 2 shown, the method includes:

[0057] S210. Initialize the number of test times, and in response to the power-taking signal, control the moving plate to rise from the waiting position to the working position, so that the to-be-tested lock body of the locking mechanism of the battery swapping station is inserted into the to-be-tested lock pin of the locking mechanism of the battery swapping station.

[0058] S220. Control the moving plate to descend from the working position to the downward pull position.

[0059] Among them, the downward pull position is a position below the working position, which is used to judge the locking state and can also be used to judge the unlocking state in the subsequent unlocking test.

[0060] Specifically, during the locking test, control the moving plate to descend from the working position to the downward pull position. If the locking is successful, the to-be-tested lock body will not move to the downward pull position along with the moving plate. If the locking fails, the to-be-tested lock body will move to the downward pull position along with the moving plate.

[0061] S230. Obtain a first proximity signal based on a preset proximity sensor, and determine the locking state according to the first proximity signal.

[0062] Among them, the proximity sensor is used to detect whether the lock body to be tested moves to the downward position following the moving plate. The proximity sensor can be a magnetic proximity sensor. The proximity sensor is set at a third preset distance above the downward position to detect whether the lock body to be tested is carried on the moving plate. The first proximity signal can be the induction signal of the proximity sensor after the moving plate descends to the downward position during the locking test.

[0063] Specifically, after the moving plate descends from the working position to the downward position, obtain the induction signal of the proximity sensor, which is the first proximity signal. Determine whether the proximity sensor is blocked according to the first proximity signal, which can be understood as whether it is blocked by the lock body to be tested carried on the moving plate. If it is blocked, it indicates that the lock body to be tested moves down with the moving plate, and determine that the locking state is locking failure; if it is not blocked, it indicates that the lock body to be tested is locked with the lock pin to be tested and does not move down with the moving plate, and determine that the locking state is locking success.

[0064] S240. Control the moving plate to rise from the downward position to the working position.

[0065] Specifically, raise the moving plate from the downward position to the working position to facilitate subsequent unlocking tests.

[0066] S250. When the locking state is locking success, in response to the power change signal, control the electromagnet to move from the ready position to the magnetic attraction position and control the electromagnet to generate magnetism.

[0067] S260. Control the moving plate to descend from the working position to the downward position.

[0068] Specifically, during the unlocking test, control the moving plate to descend from the working position to the downward position. If the unlocking fails, the lock body to be tested will not move to the downward position with the moving plate. If the unlocking is successful, the lock body to be tested will move to the downward position with the moving plate.

[0069] S270. Obtain the second proximity signal based on the proximity sensor and determine the unlocking state according to the second proximity signal.

[0070] Among them, the second proximity signal can be the induction signal of the proximity sensor after the moving plate descends to the downward position during the unlocking test.

[0071] Specifically, after the moving plate descends from the working position to the lowered position, the induction signal of the proximity sensor is obtained, which is the second proximity signal. It can be determined whether the proximity sensor is blocked according to the second proximity signal, which can be understood as whether it is blocked by the lock body to be tested carried on the moving plate. If it is blocked, it indicates that the lock body to be tested has disengaged from the lock pin to be tested and has descended with the moving plate, and it is determined that the unlocking state is successful; if it is not blocked, it indicates that the lock body to be tested and the lock pin to be tested are still in the locked state and have not descended with the moving plate, and it is determined that the unlocking state is failed.

[0072] S280. Control the electromagnet to demagnetize, control the electromagnet to move from the magnetic attraction position to the preparation position, and control the moving plate to descend from the lowered position to the waiting position.

[0073] Specifically, in order to facilitate the next unlocking and locking test, it is necessary to control the electromagnet and the moving plate to return to the initial state. First, the electromagnet can be controlled to power off and demagnetize, and the electromagnet is controlled to move from the magnetic attraction position to the preparation position to wait for the next unlocking test. Furthermore, the moving plate is controlled to descend from the lowered position to the waiting position to wait for the next unlocking and locking test.

[0074] S290. Determine the unlocking and locking test results corresponding to the test times according to the locking state and the unlocking state, and update the test times.

[0075] Optionally, the electromagnet is controlled by a relay connected to the electromagnet. When the relay is closed, the electromagnet is powered on to generate magnetism. When the relay is open, the electromagnet is powered off and demagnetized.

[0076] Figure 3 It is a schematic flowchart of another unlocking and locking test method for the locking mechanism of the battery swapping station provided by the second embodiment of the present invention. As Figure 3 shown, the method includes:

[0077] 1) Power on the electromagnetic lock unlocking and locking test bench, complete initialization, and the magnetic attraction Z-axis (moving plate) is in the waiting position.

[0078] Specifically, the moving plate can be used to simulate the RGV carrying the battery pack to the specified position. The structural schematic diagrams of the electromagnetic lock unlocking and locking test bench and the control system are as Figure 4 shown, and the cross-sectional top view of the electromagnetic lock unlocking and locking test bench is as Figure 5 shown. According to Figure 4 and Figure 5 it can be seen that the unlocking and locking tests can be carried out for two sets of locking mechanisms respectively at the same time. Figure 5 The left electromagnet and the left magnetic attraction proximity switch in are used to test the left locking mechanism, and the right electromagnet and the right magnetic attraction proximity switch are used to test the right locking mechanism.

[0079] 2) The control system controls the motor to operate, driving the magnetic adsorption Z-axis to rise to the working position (working location), that is, the magnetic adsorption Z-axis rises to simulate jacking up the battery pack, so that the locking pin (the locking pin to be tested) is inserted into the lock body (the lock body to be tested) to complete locking.

[0080] 3) The control system controls the motor to operate, driving the magnetic adsorption Z-axis to descend to the pulling-down position (pulling-down location). The magnetic adsorption proximity sensor is exposed, and the proximity signal (the first proximity signal) feeds back the state (locking state). If there is no signal, it is detected that the locking is successful.

[0081] 4) When the control system receives the signal of successful locking, it controls the motor to operate and drives the magnetic adsorption Z-axis to return to the working position.

[0082] 5) The control system controls the motor to operate, and the magnetic adsorption push rod drives the electromagnet to rise to the limited position (magnetic adsorption position).

[0083] Among them, the magnetic adsorption push rod is a component that pushes or pulls the electromagnet to move.

[0084] 6) The control system controls the relay to close, the electromagnet is powered on, and the suction is completed, that is, the lock body moves and separates from the locking pin under the action of magnetic force to complete unlocking.

[0085] 7) The control system controls the motor to operate, driving the magnetic adsorption Z-axis to descend to the pulling-down position. The magnetic adsorption proximity sensor is blocked, and the proximity signal (the second proximity signal) feeds back the state (unlocking state). If there is a signal, it is detected that the unlocking is successful.

[0086] 8) The control system receives the signal of successful unlocking.

[0087] 9) The control system controls the relay to disconnect, the electromagnet is powered off and demagnetized and descends, and the magnetic adsorption Z-axis returns to the waiting position. The counter of the control system synchronously counts to complete the recording of the test times.

[0088] Through 1)-9), a locking and unlocking test of the locking mechanism of the battery swapping station is realized, and it is synchronously detected whether the locking and unlocking are successful. Through multiple locking and unlocking tests of the locking mechanism of the battery swapping station, the test results (total test results) of the locking mechanism of the battery swapping station can be detected.

[0089] In the technical solution of the embodiment of the present invention, by initializing the number of tests, in response to the power-taking signal, the moving plate is controlled to rise from the waiting position to the working position, so that the lock body to be tested of the locking mechanism of the battery swapping station is inserted into the lock pin to be tested of the locking mechanism of the battery swapping station. The moving plate is controlled to descend from the working position to the pulling-down position, a first proximity signal is obtained based on a preset proximity sensor, and the locking state is determined according to the first proximity signal. The moving plate is controlled to rise from the pulling-down position to the working position. When the locking state is successful locking, in response to the battery swapping signal, the electromagnet is controlled to move from the preparation position to the magnetic attraction position, the electromagnet is controlled to generate magnetism, the moving plate is controlled to descend from the working position to the pulling-down position, a second proximity signal is obtained based on the proximity sensor, and the unlocking state is determined according to the second proximity signal. The electromagnet is demagnetized, the electromagnet is controlled to move from the magnetic attraction position to the preparation position, the moving plate is controlled to descend from the pulling-down position to the waiting position, and according to the locking state and the unlocking state, the locking and unlocking test result corresponding to the number of tests is determined, and the number of tests is updated, solving the problem that it is difficult to judge the locking state and the unlocking state during the locking and unlocking test of the locking mechanism, and achieving the effect of improving the convenience and accuracy of judging the locking state and the unlocking state.

[0090] Embodiment III

[0091] Figure 6 It is a schematic structural diagram of a locking and unlocking test device for a locking mechanism of a battery swapping station provided by Embodiment III of the present invention. As Figure 6 shown, the device includes: a locking test module 310, an unlocking test module 320, and a test result determination module 330.

[0092] Among them, the locking test module 310 is used to initialize the number of tests, in response to the power-taking signal, control the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the locking mechanism of the battery swapping station is inserted into the lock pin to be tested of the locking mechanism of the battery swapping station, and determine the locking state between the lock pin to be tested and the lock body to be tested; wherein, the lock body to be tested is carried on the moving plate, and the lock pin to be tested is arranged at the working position; the unlocking test module 320 is used to, when the locking state is successful locking, in response to the battery swapping signal, control the electromagnet to move from the preparation position to the magnetic attraction position, control the electromagnet to generate magnetism, control the moving plate to move downward, and determine the unlocking state between the lock pin to be tested and the lock body to be tested; wherein, the magnetic attraction position is at a first preset distance below the working position, and the preparation position is at a second preset distance below the waiting position; the test result determination module 330 is used to determine the locking and unlocking test result corresponding to the number of tests according to the locking state and the unlocking state, and update the number of tests.

[0093] Optionally, the locking test module 310 is further configured to control the moving plate to descend from the working position to the pulling-down position; obtain a first proximity signal based on a preset proximity sensor, and determine the locking state according to the first proximity signal; wherein, the proximity sensor is disposed at a third preset distance above the pulling-down position.

[0094] Optionally, after determining the locking state according to the first proximity signal, the device further includes: a first recovery module, configured to control the moving plate to ascend from the pulling-down position to the working position.

[0095] Optionally, the unlocking test module 320 is further configured to control the moving plate to descend from the working position to the pulling-down position; obtain a second proximity signal based on the proximity sensor, and determine the unlocking state according to the second proximity signal.

[0096] Optionally, before determining the locking / unlocking test result corresponding to the test times according to the locking state and the unlocking state and updating the test times, the device further includes: a second recovery module, configured to control the electromagnet to demagnetize; control the electromagnet to move from the magnetic attraction position to the preparation position; control the moving plate to descend from the pulling-down position to the waiting position.

[0097] Optionally, the electromagnet is controlled by a relay connected to the electromagnet.

[0098] Optionally, before updating the test times, the device further includes: a judgment module, configured to, when the test times are less than a preset number of times, return to execute the operation of controlling the moving plate to ascend from the waiting position to the working position in response to the power-taking signal; when the test times are equal to the preset number of times, determine the total test result of the locking mechanism of the battery swapping station according to each locking / unlocking test result.

[0099] The technical solution of the embodiment of the present invention initializes the number of test times, responds to the power-taking signal, controls the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the locking mechanism of the battery swapping station is inserted into the lock pin to be tested of the locking mechanism of the battery swapping station, and determines the locking state between the lock pin to be tested and the lock body to be tested. When the locking state is successful locking, in response to the battery swapping signal, controls the electromagnet to move from the preparation position to the magnetic attraction position, controls the electromagnet to generate magnetism, controls the moving plate to move downward, and determines the unlocking state between the lock pin to be tested and the lock body to be tested. According to the locking state and the unlocking state, determines the locking and unlocking test results corresponding to the number of test times, and updates the number of test times, solving the problems of long locking and unlocking test cycles for the locking mechanism of the battery swapping station and poor test compatibility for different vehicle models, achieving the effect of improving the convenience of the locking and unlocking test of the locking mechanism of the battery swapping station, and improving the test compatibility of the electromagnetic locking mechanisms of different vehicle models.

[0100] The locking and unlocking test device for the locking mechanism of the battery swapping station provided by the embodiment of the present invention can execute the locking and unlocking test method for the locking mechanism of the battery swapping station provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0101] Embodiment 4

[0102] Figure 7 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0103] As Figure 7As shown, the electronic device 10 includes at least one processor 11 and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0104] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0105] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the unlocking and locking test method for the locking mechanism of the battery swapping station.

[0106] In some embodiments, the unlocking and locking test method for the locking mechanism of the battery swapping station can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the unlocking and locking test method for the locking mechanism of the battery swapping station described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the unlocking and locking test method for the locking mechanism of the battery swapping station in any other appropriate way (e.g., by means of firmware).

[0107] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0108] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0109] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0110] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0111] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0112] A computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The relationship between the client and the server is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0113] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0114] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for testing the locking and unlocking of a locking mechanism in a battery swapping station, characterized in that Including: Initializing the number of test times, in response to the power-taking signal, controlling the moving plate to rise from the waiting position to the working position, so that the to-be-tested lock body of the swapping station locking mechanism is inserted into the to-be-tested lock pin of the swapping station locking mechanism, and determining the locking state between the to-be-tested lock pin and the to-be-tested lock body; wherein, the to-be-tested lock body is carried on the moving plate, and the to-be-tested lock pin is arranged at the working position; When the locking state is successful locking, in response to the swapping signal, controlling the electromagnet to move from the preparation position to the magnetic attraction position, controlling the electromagnet to generate magnetism, controlling the moving plate to move downward, and determining the unlocking state between the to-be-tested lock pin and the to-be-tested lock body; wherein, the magnetic attraction position is at a first preset distance below the working position, and the preparation position is at a second preset distance below the waiting position; Determining the locking and unlocking test result corresponding to the test times according to the locking state and the unlocking state, and updating the test times; The determining the locking state between the to-be-tested lock pin and the to-be-tested lock body includes: Controlling the moving plate to descend from the working position to the downward pull position; Obtaining a first proximity signal based on a preset proximity sensor, and determining the locking state according to the first proximity signal; wherein, the proximity sensor is arranged at a third preset distance above the downward pull position, and the proximity sensor is used to detect whether the to-be-tested lock body moves to the downward pull position following the moving plate.

2. The method according to claim 1, characterized in that, After determining the locking state according to the first proximity signal, it further includes: Controlling the moving plate to rise from the downward pull position to the working position.

3. The method according to claim 2, wherein The controlling the moving plate to move downward and determining the unlocking state between the to-be-tested lock pin and the to-be-tested lock body includes: Controlling the moving plate to descend from the working position to the downward pull position; Obtaining a second proximity signal based on the proximity sensor, and determining the unlocking state according to the second proximity signal.

4. The method according to claim 3, characterized in that, Before determining the locking and unlocking test result corresponding to the test times according to the locking state and the unlocking state and updating the test times, it further includes Controlling the electromagnet to demagnetize; Controlling the electromagnet to move from the magnetic attraction position to the preparation position; Controlling the moving plate to descend from the downward pull position to the waiting position.

5. The method according to claim 4, characterized in that The electromagnet is controlled by a relay connected to the electromagnet.

6. The method according to claim 1, characterized in that Before updating the test times, it further includes: When the number of test times is less than the preset number of times, returning to execute the operation of controlling the moving plate to rise from the waiting position to the working position in response to the power-taking signal; When the number of test times is equal to the preset number of times, determining the total test result of the swapping station locking mechanism according to each locking and unlocking test result.

7. A locking and unlocking test device for a power exchange station locking mechanism, characterized in that, Including: The locking test module is used to initialize the number of tests, and in response to the power-taking signal, control the moving plate to rise from the waiting position to the working position, so that the lock body to be tested of the swapping station locking mechanism is inserted into the lock pin to be tested of the swapping station locking mechanism, and determine the locking state between the lock pin to be tested and the lock body to be tested; wherein, the lock body to be tested is carried on the moving plate, and the lock pin to be tested is arranged at the working position; The unlocking test module is used to, when the locking state is successful locking, in response to the swapping signal, control the electromagnet to move from the preparation position to the magnetic attraction position, control the electromagnet to generate magnetism, control the moving plate to move downward, and determine the unlocking state between the lock pin to be tested and the lock body to be tested; wherein, the magnetic attraction position is at a first preset distance below the working position, and the preparation position is at a second preset distance below the waiting position; The test result determination module is used to determine the locking and unlocking test result corresponding to the number of tests according to the locking state and the unlocking state, and update the number of tests; The determining the locking state between the lock pin to be tested and the lock body to be tested includes: Controlling the moving plate to descend from the working position to the pulling-down position; Obtaining a first proximity signal based on a preset proximity sensor, and determining the locking state according to the first proximity signal; wherein, the proximity sensor is arranged at a third preset distance above the pulling-down position, and the proximity sensor is used to detect whether the lock body to be tested moves to the pulling-down position following the moving plate.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the locking and unlocking test method for the swapping station locking mechanism according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the processor to implement the locking and unlocking test method for the swapping station locking mechanism according to any one of claims 1-6 when executed.

Citation Information

Patent Citations

  • Durability test bench for locking mechanism

    CN114518226A