Battery testing method, system, equipment and medium

Through automated testing methods, the voltage difference during the battery switching stage and the level status of the charging enable pin are obtained, which solves the problems of high error rate and low efficiency of manual testing, improves the accuracy and efficiency of battery testing, and ensures terminal Normal function of device backup battery.

CN117706392BActive Publication Date: 2024-09-10NINGBO BIRD SOFTWARE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311497586.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2024-09-10
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

Existing battery testing methods rely on manual operations, resulting in high testing error rates and low efficiency, and faulty terminal equipment may flow into the market.

Method used

Through automated testing methods, obtain the voltage difference between the battery to be tested at different switching stages of the battery switch, and determine whether it is within the preset voltage threshold range. If it is within the range, determine whether the level state of the charging enable pin is Preset level status, output test pass or fail results.

Benefits of technology

It improves the accuracy and efficiency of battery testing, avoids the high error rate and low efficiency of manual testing, and ensures the normal function of the terminal equipment backup battery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117706392B
    Figure CN117706392B
Patent Text Reader

Abstract

The present invention discloses a battery testing method, system, device and medium, which relates to the field of testing technology. Through automated testing, the voltage difference between different switching stages of a battery switching switch of a battery to be tested is obtained, and it is determined whether the voltage difference is within a preset voltage threshold range, so as to determine whether the switching voltage of the battery to be tested at different switching stages of the battery switching switch is a normal switching voltage value. If the voltage difference is within the preset voltage threshold range, it is determined whether the level state of the charging enable pin of the battery to be tested at different switching stages of the charging switching switch is a preset level state, so as to determine whether the battery to be tested can be charged normally. If the level state is the preset level state, the result information indicating that the battery to be tested has passed the test is output. Through the above-mentioned automated testing process, the high error rate and low efficiency of manual testing are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to a battery testing method, system, equipment and medium. Background Art

[0002] Currently, in order to ensure that the backup battery in the terminal device can function normally, it is necessary to test the function of the backup battery. However, most of the current test solutions for the function of the backup battery are manual tests. The entire test process requires the tester to perform accurate manual operations to troubleshoot the backup battery of the terminal device with a fault.

[0003] However, the fully manual test has the problem of uncontrollable test process, high test error rate and low efficiency, which leads to the unfavorable situation that faulty terminal devices enter the market. Summary of the invention

[0004] The main purpose of the present invention is to provide a battery testing method, system, device and medium, aiming to solve the technical problem of how to improve the accuracy and efficiency of battery testing.

[0005] To achieve the above object, the present invention provides a battery testing method, the battery testing method comprising the following steps:

[0006] Obtaining a voltage difference between the battery to be tested at different switching stages of the battery switching switch, and determining whether the voltage difference is within a preset voltage threshold range;

[0007] If the voltage difference is within the preset voltage threshold range, determining whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state;

[0008] If the level state is the preset level state, result information indicating that the battery to be tested has passed the test is output.

[0009] Optionally, the voltage difference includes a first voltage difference, the preset voltage threshold range includes a first preset voltage threshold range, and the step of obtaining a voltage difference between different switching stages of the battery to be tested at the battery switching switch and determining whether the voltage difference is within the preset voltage threshold range includes:

[0010] Acquire a first voltage value of the battery to be tested when the battery switching switch is in a first closed stage, and acquire a second voltage value of the battery to be tested when the battery switching switch is in a first open stage;

[0011] After the first voltage difference is calculated based on the first voltage value and the second voltage value, it is determined whether the first voltage difference is within the first preset voltage threshold range.

[0012] Optionally, the voltage difference value further includes a second voltage difference value, and after the step of determining whether the first voltage difference value is within the first preset voltage threshold value range, the testing method further includes:

[0013] If the first voltage difference is within the first preset voltage threshold range, obtaining a third voltage value of the battery to be tested when the battery switching switch is in the second closing stage;

[0014] After the second voltage difference is calculated based on the third voltage value and the second voltage value, it is determined whether the second voltage difference is within the first preset voltage threshold range.

[0015] Optionally, the voltage difference value further includes a third voltage difference value, the preset voltage threshold range further includes a second preset voltage threshold range, and after the step of determining whether the second voltage difference value is within the first preset voltage threshold range, the testing method further includes:

[0016] If the second voltage difference is within the first preset voltage threshold range, then after calculating the third voltage difference based on the third voltage value and the first voltage value, determining whether the third voltage difference is within the second preset voltage threshold range;

[0017] If the third voltage difference is within the second preset voltage threshold range, the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch is performed.

[0018] Optionally, the level state includes a first level state and a second level state, the preset level state includes a first preset level state and a second preset level state, and the step of judging whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is the preset level state includes:

[0019] Determine whether the first level state of the charging enable pin of the battery to be tested is the first preset level state when the charging switch is turned on, and determine whether the second level state of the charging enable pin of the battery to be tested is the second preset level state when the charging switch is turned off;

[0020] The step of outputting result information indicating that the battery to be tested has passed the test if the level state is the preset level state comprises:

[0021] If the first level state is the first preset level state, and the second level state is the second preset level state, then result information indicating that the battery to be tested has passed the test is output.

[0022] Optionally, after the step of determining whether the voltage difference is within a preset voltage threshold range, the testing method further includes:

[0023] If any of the voltage difference values ​​is not within the preset voltage threshold range, outputting result information indicating that the battery to be tested fails the test;

[0024] After the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch, the testing method further includes:

[0025] If any of the level states is not the preset level state, result information indicating that the battery to be tested fails the test is output.

[0026] The present invention also provides a battery testing system, the battery testing system comprising:

[0027] A voltage module, used to obtain a voltage difference between the battery to be tested at different switching stages of the battery switching switch, and determine whether the voltage difference is within a preset voltage threshold range;

[0028] A level module, used for judging whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state if the voltage difference is within the preset voltage threshold range;

[0029] The result output module is used for outputting result information indicating that the battery to be tested has passed the test if the level state is the preset level state.

[0030] Optionally, the level module includes a level acquisition module, and the level acquisition module includes a wiring board and a charging enable pin;

[0031] The input side of the charging enable pin is connected to the voltage output terminal of the rechargeable battery, and the output side of the charging enable pin is connected to the first pin of the wiring board;

[0032] The first pin of the wiring board is connected to the positive electrode of the battery to be tested, the second pin of the wiring board is connected to the negative electrode of the battery to be tested, and the second pin of the wiring board is also connected to the ground terminal.

[0033] In addition, to achieve the above-mentioned purpose, the present invention provides a battery testing device, which includes a memory, a processor, and a test program stored in the memory and executable on the processor, and the test program implements the steps of the battery testing method described above when executed by the processor.

[0034] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium, on which a test program is stored, and when the test program is executed by a processor, the steps of the battery testing method as described above are implemented.

[0035] The present invention proposes a battery testing method, system, device and medium. Through automated testing, the voltage difference between the battery to be tested at different switching stages of the battery switching switch is obtained, and it is determined whether the voltage difference is within a preset voltage threshold range, so as to determine whether the switching voltage of the battery to be tested at different switching stages of the battery switching switch is a normal switching voltage value. If the voltage difference is within the preset voltage threshold range, it is determined whether the level state of the charging enable pin of the battery to be tested at different switching stages of the charging switching switch is a preset level state, so as to determine whether the battery to be tested can be charged normally. If the level state is the preset level state, the result information indicating that the battery to be tested has passed the test is output. Through the above-mentioned automated testing process, the high error rate and low efficiency of manual testing are avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;

[0037] Figure 2 A schematic diagram of a flow chart of an embodiment of a battery testing method of the present invention;

[0038] Figure 3 A schematic diagram of a specific testing phase flow of a battery testing method of the present invention;

[0039] Figure 4 It is a schematic diagram of the module structure of the battery testing system of the present invention;

[0040] Figure 5 This is a schematic diagram of the circuit results of the level acquisition module.

[0041] Description of Figure Numbers:

[0042] Label name J1 Terminal Blocks VBATB Charging enable pin Bat Battery to be tested C1-C2 capacitance

[0043] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0045] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0046] The present invention implements a terminal as a battery test device, such as Figure 1 As shown, the battery testing equipment may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0047] Optionally, the battery test equipment may further include RF (Radio Frequency) circuits, sensors, WiFi modules, etc. Sensors such as light sensors, motion sensors, and other sensors are not described in detail here.

[0048] Those skilled in the art will understand that Figure 1 The structure of the battery testing device shown in the figure does not constitute a limitation on the battery testing device, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0049] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a test program.

[0050] exist Figure 1 In the battery test device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the test program stored in the memory 1005 and perform the following operations:

[0051] Obtaining a voltage difference between the battery to be tested at different switching stages of the battery switching switch, and determining whether the voltage difference is within a preset voltage threshold range;

[0052] If the voltage difference is within the preset voltage threshold range, determining whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state;

[0053] If the level state is the preset level state, result information indicating that the battery to be tested has passed the test is output.

[0054] Further, the processor 1001 may call the test program stored in the memory 1005, and also perform the following operations:

[0055] The voltage difference value includes a first voltage difference value, the preset voltage threshold range includes a first preset voltage threshold range, and the step of obtaining the voltage difference value of the battery to be tested between different switching stages of the battery switching switch and judging whether the voltage difference is within the preset voltage threshold range includes obtaining a first voltage value of the battery to be tested when the battery switching switch is in a first closing stage, and obtaining a second voltage value of the battery to be tested when the battery switching switch is in a first opening stage;

[0056] After the first voltage difference is calculated based on the first voltage value and the second voltage value, it is determined whether the first voltage difference is within the first preset voltage threshold range.

[0057] Further, the processor 1001 may call the test program stored in the memory 1005, and also perform the following operations:

[0058] The voltage difference value further includes a second voltage difference value. After the step of determining whether the first voltage difference value is within the first preset voltage threshold value range, if the first voltage difference value is within the first preset voltage threshold value range, obtaining a third voltage value of the battery to be tested when the battery switching switch is in the second closing stage;

[0059] After the second voltage difference is calculated based on the third voltage value and the second voltage value, it is determined whether the second voltage difference is within the first preset voltage threshold range.

[0060] Further, the processor 1001 may call the test program stored in the memory 1005, and also perform the following operations:

[0061] The voltage difference value further includes a third voltage difference value, and the preset voltage threshold range further includes a second preset voltage threshold range. After the step of determining whether the second voltage difference value is within the first preset voltage threshold range, if the second voltage difference value is within the first preset voltage threshold range, then after calculating the third voltage difference value based on the third voltage value and the first voltage value, determining whether the third voltage difference value is within the second preset voltage threshold range;

[0062] If the third voltage difference is within the second preset voltage threshold range, the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch is performed.

[0063] Further, the processor 1001 may call the test program stored in the memory 1005, and also perform the following operations:

[0064] The level state includes a first level state and a second level state, the preset level state includes a first preset level state and a second preset level state, and the step of judging whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switching switch includes: judging whether the first level state of the charging enable pin of the battery to be tested is the first preset level state when the charging switching switch is in the on stage, and judging whether the second level state of the charging enable pin of the battery to be tested is the second preset level state when the charging switching switch is in the off stage;

[0065] The step of outputting result information indicating that the battery to be tested has passed the test if the level state is the preset level state comprises:

[0066] If the first level state is the first preset level state, and the second level state is the second preset level state, then result information indicating that the battery to be tested has passed the test is output.

[0067] Further, the processor 1001 may call the test program stored in the memory 1005, and also perform the following operations:

[0068] After the step of determining whether the voltage difference is within a preset voltage threshold range, if any of the voltage difference is not within the preset voltage threshold range, outputting result information indicating that the battery to be tested has failed the test;

[0069] After the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch, the testing method further includes:

[0070] If any of the level states is not the preset level state, result information indicating that the battery to be tested fails the test is output.

[0071] Reference Figure 2 In one embodiment of the present invention, the battery testing method includes:

[0072] Step S10, obtaining a voltage difference between the battery to be tested in different switching stages of the battery switching switch, and determining whether the voltage difference is within a preset voltage threshold range.

[0073] It should be noted that the battery to be tested may represent a backup battery, the on phase of the battery switch is used to switch from the main battery application to the battery to be tested application, and the off phase of the battery switch is used to switch from the battery to be tested application to the main battery application.

[0074] In this embodiment, the switching voltage value of the battery to be tested between different switching stages is obtained by obtaining the battery difference between the different switching stages of the battery switching switch, and by judging whether the battery difference is within the preset voltage threshold range, it is determined whether the switching voltage value of the battery to be tested is within the normal range, thereby determining whether the switching function of the backup battery when switching from the main battery to the backup battery application and from the backup battery application to the main battery application can be used normally, thereby avoiding the inconvenience and tediousness of manually clicking the battery switching switch, pulling out the main battery, and reinserting the main battery after judging that the terminal device is not powered off when manually performing the switching function of the backup battery.

[0075] Step S20: If the voltage difference is within the preset voltage threshold range, determining whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state.

[0076] If it is determined that any voltage difference is within the preset voltage threshold range, it means that the switching function of the battery to be tested is intact and can provide continuous power supply to the terminal device when the main battery fails or other main batteries cannot power the terminal device, thereby ensuring the normal operation of the terminal device.

[0077] At the same time, after determining that the switching function of the battery to be tested is intact, it is necessary to test whether the battery to be tested can be charged normally by performing a charging function test, that is, by respectively obtaining the level state of the charging enable pin of the battery to be tested when the charging switching switch is on and when the charging switching switch is off, and by determining whether the level state is a preset level state for normal charging or not charging, it is determined whether the charging function of the backup battery can be used normally. By making self-judgments through software automation, it is possible to avoid situations where the terminal equipment may miss or misdetect due to misoperation of the tester, which may affect the test results, thereby improving the test accuracy of the battery, while reducing the manual testing costs of the tester and saving the production costs on the test production line.

[0078] Optionally, if the voltage difference is within the preset voltage threshold range in step S20, before the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch, the testing method further includes:

[0079] Step S201, obtaining a first voltage value of the battery to be tested when the battery switching switch is in a first closed stage, and obtaining a second voltage value of the battery to be tested when the battery switching switch is in a first open stage;

[0080] Step S202: after calculating the first voltage difference based on the first voltage value and the second voltage value, determine whether the first voltage difference is within the first preset voltage threshold range.

[0081] Specifically, refer to Figure 3 As can be seen from the test flow chart, there are three test stages regarding the switching function of the battery to be tested.

[0082] Among them, the first test stage is at the beginning of the test (i.e., step 1), that is, in the first closing stage of the battery switching switch, directly obtaining the first voltage value of the battery to be tested (i.e., the voltage value of the battery to be tested when it has not entered the application state, corresponding to step 2), and after determining that the first voltage value of the battery to be tested is obtained, the software program controls the battery switching switch to enter the first opening stage (i.e., step 3), and obtains the second voltage value of the battery to be tested in the first opening stage (i.e., the voltage value of the battery to be tested when it enters the application state, corresponding to step 4).

[0083] At this time, after calculating the first voltage difference between the first voltage value and the second voltage value (i.e., step 5), it is determined whether the first voltage difference is within the first preset voltage threshold range (i.e., step 6), so as to determine whether the switching voltage value of the battery to be tested when switching from not entering the application stage to entering the application stage is a voltage value that can be used normally.

[0084] It should be noted that the first preset voltage threshold range is set based on the voltage value of the backup battery when it enters the application state under normal circumstances. For example, if the voltage value of the backup battery when it enters the application state under normal circumstances is 4V, the first preset voltage threshold can be set to -3.8~-4V.

[0085] Optionally, after determining whether the first voltage difference is within the first preset voltage threshold value in step S202, the testing method further includes:

[0086] Step S203, if the first voltage difference is within the first preset voltage threshold range, obtaining a third voltage value of the battery to be tested when the battery switching switch is in the second closing stage;

[0087] Step S204: after calculating the second voltage difference based on the third voltage value and the second voltage value, determine whether the second voltage difference is within the first preset voltage threshold range.

[0088] The second test stage is that after determining that the first voltage difference is within the first preset voltage threshold range, the software program controls the battery switching switch to enter the second closing stage (that is, re-controls the battery to be tested to enter the unused stage, corresponding to step 7), and then obtains the third voltage value of the battery to be tested at this time (that is, step 8).

[0089] At this time, after calculating the second voltage difference between the third voltage value and the second voltage value (i.e., step 9), it is determined whether the second voltage difference is within the first preset voltage threshold range (i.e., step 6), so as to determine whether the switching voltage value of the battery to be tested from entering the application stage to not entering the application stage is a voltage value that can power off normally.

[0090] Optionally, after determining whether the second voltage difference is within the first preset voltage threshold value in step S204, the testing method further includes:

[0091] Step S205, if the second voltage difference is within the first preset voltage threshold range, after calculating the third voltage difference based on the third voltage value and the first voltage value, determine whether the third voltage difference is within the second preset voltage threshold range;

[0092] Step S206 , if the third voltage difference is within the second preset voltage threshold range, executing the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch.

[0093] The third test stage is that after it is determined that the second voltage difference is within the first preset voltage threshold range, in order to ensure the stability of the switching voltage between different shutdown stages, that is, the stability of the shutdown voltage of the battery to be tested in different shutdown stages, a third voltage difference between the third voltage value and the first voltage value is obtained (that is, step 10), and it is determined whether the third voltage difference is within the second preset voltage threshold range (that is, step 6), so as to determine whether the battery to be tested can maintain stability in different shutdown stages before entering the application stage.

[0094] It should be noted that the second preset voltage threshold range is set based on the voltage value of the backup battery when it is not in the application state under normal circumstances. For example, if the voltage value of the backup battery when it is not in the application state under normal circumstances is 0V, the second preset voltage threshold can be set to 0V~0.1V.

[0095] In the switching function test stage of the battery to be tested in the present embodiment, the switching function of the battery to be tested is judged by obtaining the voltage difference between different switching stages of the battery switching switch, so that the switching function of the battery to be tested can be tested in an all-round way, avoiding the test blind spot of a single opening stage or a closing stage or a single voltage difference between the opening stage and the closing stage, and eliminating the problem of whether the switching function of the battery to be tested will be affected by the battery switching switch.

[0096] It should be noted that if any voltage difference is determined to be outside the preset voltage threshold range during the test phase of the switching function, then result information indicating that the battery to be tested has failed the test is outputted to facilitate processing by technicians.

[0097] Optionally, the step of judging in step S20 whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state includes:

[0098] Step S207, determining whether the first level state of the charging enable pin of the battery to be tested when the charging switch is on is the first preset level state, and determining whether the second level state of the charging enable pin of the battery to be tested when the charging switch is off is the second preset level state.

[0099] After the voltage difference is determined to be within the preset voltage threshold range in all three test stages of the switching function of the battery to be tested (i.e. Figure 3 In the example, if the determination in is “yes”, a charging function test is required to test whether the battery to be tested can be charged normally.

[0100] Specific reference Figure 3The two charging function test phases are illustrated in FIG.

[0101] In the first stage, the charging switch for charging the main battery to the battery to be tested is controlled by the software program to enter the start stage (i.e., step 11). At this time, the voltage of the main battery is charged to the battery to be tested through the charging enable pin of the battery to be tested. Therefore, in this stage, the first level state of the charging enable pin of the battery to be tested is obtained (i.e., step 12), that is, it can be determined whether the battery to be tested can be charged normally. After determining that the first level state is the first preset level state (i.e., Figure 3 In the example, if the battery is charged with "yes" in the test state, the charging switch for charging the battery to be tested by the main battery is controlled by the software program to enter the off stage (i.e., step 13). At this time, the voltage of the main battery stops charging the battery to be tested through the charging enable pin of the battery to be tested. Therefore, in this stage, the second level state of the charging enable pin of the battery to be tested is obtained (i.e., step 14), that is, it can be determined whether the battery to be tested can normally disconnect the charging circuit. After determining that the second level state is the second preset level state (i.e., Figure 3 If the battery under test is “yes”, the result information indicating that the battery under test has passed the test is output.

[0102] It should be noted that, based on the level states during normal charging and disconnection of charging, this embodiment sets the first preset level state to a high level and the second preset level state to a low level.

[0103] Step S30: If the level state is the preset level state, output result information indicating that the battery to be tested has passed the test.

[0104] When the level state is determined to be the preset level state during the charging stage, it means that the charging function of the battery to be tested is normal. Therefore, at this time, the software program outputs result information indicating that the battery to be tested has passed the test based on the test results that the switching function and charging function of the battery to be tested are normal (i.e., step 15), thereby realizing fully automatic testing of the battery through a fully automated software testing process, avoiding inaccurate test results caused by manual misoperation and low efficiency.

[0105] It should be noted that if any level state determined during the charging stage is not the preset level state, then result information indicating that the battery to be tested has failed the test is outputted to facilitate processing by technicians.

[0106] Optionally, if the level state is the preset level state in step S30, the step of outputting result information indicating that the battery to be tested has passed the test includes:

[0107] Step S301: if the first level state is the first preset level state, and the second level state is the second preset level state, then outputting result information indicating that the battery to be tested has passed the test.

[0108] Specifically, only when the first level state is the first preset level state and the second level state is the second preset level state, the test of the battery to be tested is determined to have passed, so as to ensure the test integrity of the charging function of the battery to be tested.

[0109] In this embodiment, through automated testing, the voltage difference between the tested battery at different switching stages of the battery switching switch is obtained, and it is determined whether the voltage difference is within the preset voltage threshold range, so as to determine whether the switching voltage of the tested battery at different switching stages of the battery switching switch is a normal switching voltage value. If the voltage difference is within the preset voltage threshold range, it is determined whether the level state of the charging enable pin of the tested battery at different switching stages of the charging switching switch is the preset level state, so as to determine whether the tested battery can be charged normally. If the level state is the preset level state, the result information indicating that the tested battery has passed the test is output. Through the above-mentioned automated testing process, the high error rate and low efficiency of manual testing are avoided.

[0110] Reference Figure 4 The present invention provides a battery testing system, the battery testing system comprising:

[0111] The voltage module 10 is used to obtain the voltage difference between the battery to be tested at different switching stages of the battery switching switch, and determine whether the voltage difference is within a preset voltage threshold range;

[0112] The level module 20 is used to determine whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state if the voltage difference is within the preset voltage threshold range;

[0113] The result output module 30 is configured to output result information indicating that the battery to be tested has passed the test if the level state is the preset level state.

[0114] Specifically, refer to Figure 5 As shown, the level module includes a level acquisition module, and the level acquisition module includes a wiring board and a charging enable pin;

[0115] The input side of the charging enable pin is connected to the voltage output end of the rechargeable battery, the output side of the charging enable pin is connected to the first pin of the wiring board, the first pin of the wiring board is connected to the positive electrode of the battery to be tested, the second pin of the wiring board is connected to the negative electrode of the battery to be tested, and the second pin of the wiring board is also connected to the ground terminal.

[0116] Figure 5 The level acquisition module designed for testing the charging function of the backup battery in this embodiment, when the charging switch for controlling the main battery to charge the battery to be tested by the software program enters the on stage, at this time, the input side of the charging enable pin starts to connect the charging voltage from the voltage output end of the charging battery (i.e., the main battery), and the charging voltage flows to the first pin of the wiring board through the charging enable pin, and then flows into the positive electrode of the battery to be tested through the first pin, and then flows into the second pin of the wiring board from the negative electrode of the battery to be tested. Because the second pin is connected to the ground terminal, the first pin and the second pin of the wiring board will form a charging circuit, so that the level state on the charging enable pin is a high level state; when the charging switch for controlling the main battery to charge the battery to be tested by the software program enters the off stage, at this time, the voltage output end of the charging battery (i.e., the main battery) stops charging the battery to be tested, so the charging circuit on the first pin and the second pin of the wiring board will be disconnected, so that the level state on the charging enable pin is a low level state, based on which the level state of the charging enable pin of the battery to be tested in the charging function test stage is acquired.

[0117] The first capacitor and the second capacitor play the role of voltage stabilization and filtering, and the third pin and the fourth pin of the wiring board are connected to the second pin and then connected to the ground terminal.

[0118] In addition, the present invention also proposes a battery testing device, which includes a memory, a processor, and a test program stored in the memory and executable on the processor, and the test program implements the steps of the battery testing method described above when executed by the processor.

[0119] In addition, the present invention also proposes a computer-readable storage medium, on which a test program is stored. When the test program is executed by a processor, the steps of the battery testing method described above are implemented.

[0120] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0121] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0123] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A battery testing method, characterized in that: The battery testing method comprises the following steps: Obtaining a voltage difference between the battery to be tested at different switching stages of the battery switching switch, and determining whether the voltage difference is within a preset voltage threshold range; If the voltage difference is within the preset voltage threshold range, determining whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state; If the level state is the preset level state, outputting result information indicating that the battery to be tested has passed the test; The voltage difference includes a first voltage difference, the preset voltage threshold range includes a first preset voltage threshold range, and the step of obtaining the voltage difference between the battery to be tested at different switching stages of the battery switching switch and determining whether the voltage difference is within the preset voltage threshold range includes: Acquire a first voltage value of the battery to be tested when the battery switching switch is in a first closed stage, and acquire a second voltage value of the battery to be tested when the battery switching switch is in a first open stage; After the first voltage difference is calculated based on the first voltage value and the second voltage value, it is determined whether the first voltage difference is within the first preset voltage threshold range.

2. The battery testing method according to claim 1, characterized in that: The voltage difference value further includes a second voltage difference value. After the step of determining whether the first voltage difference value is within the first preset voltage threshold value range, the testing method further includes: If the first voltage difference is within the first preset voltage threshold range, obtaining a third voltage value of the battery to be tested when the battery switching switch is in the second closing stage; After the second voltage difference is calculated based on the third voltage value and the second voltage value, it is determined whether the second voltage difference is within the first preset voltage threshold range.

3. The battery testing method according to claim 2, characterized in that: The voltage difference value further includes a third voltage difference value, the preset voltage threshold range further includes a second preset voltage threshold range, and after the step of determining whether the second voltage difference value is within the first preset voltage threshold range, the testing method further includes: If the second voltage difference is within the first preset voltage threshold range, then after calculating the third voltage difference based on the third voltage value and the first voltage value, determining whether the third voltage difference is within the second preset voltage threshold range; If the third voltage difference is within the second preset voltage threshold range, the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch is performed.

4. The battery testing method according to claim 1, characterized in that: The level state includes a first level state and a second level state, the preset level state includes a first preset level state and a second preset level state, and the step of judging whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is the preset level state includes: Determine whether the first level state of the charging enable pin of the battery to be tested is the first preset level state when the charging switch is turned on, and determine whether the second level state of the charging enable pin of the battery to be tested is the second preset level state when the charging switch is turned off; The step of outputting result information indicating that the battery to be tested has passed the test if the level state is the preset level state comprises: If the first level state is the first preset level state, and the second level state is the second preset level state, then result information indicating that the battery to be tested has passed the test is output.

5. The battery testing method according to claim 1, characterized in that: After the step of determining whether the voltage difference is within a preset voltage threshold range, the testing method further includes: If any of the voltage difference values ​​is not within the preset voltage threshold range, outputting result information indicating that the battery to be tested fails the test; After the step of determining whether the level state of the charging enable pin of the battery to be tested is a preset level state in different switching stages of the charging switch, the testing method further includes: If any of the level states is not the preset level state, result information indicating that the battery to be tested fails the test is output.

6. A battery testing system, characterized in that: The battery testing system is applied to the battery testing method as claimed in any one of claims 1 to 5, and the battery testing system comprises: A voltage module, used to obtain a voltage difference between the battery to be tested at different switching stages of the battery switching switch, and determine whether the voltage difference is within a preset voltage threshold range; A level module, used for judging whether the level state of the charging enable pin of the battery to be tested in different switching stages of the charging switch is a preset level state if the voltage difference is within the preset voltage threshold range; A result output module, configured to output result information indicating that the battery to be tested has passed the test if the level state is the preset level state; Wherein, the voltage difference includes a first voltage difference, the preset voltage threshold range includes a first preset voltage threshold range, and the voltage module is further used to obtain a first voltage value of the battery to be tested when the battery switching switch is in a first closed stage, and to obtain a second voltage value of the battery to be tested when the battery switching switch is in a first open stage; After the first voltage difference is calculated based on the first voltage value and the second voltage value, it is determined whether the first voltage difference is within the first preset voltage threshold range.

7. The battery testing system according to claim 6, characterized in that: The level module includes a level acquisition module, and the level acquisition module includes a wiring board and a charging enable pin; The input side of the charging enable pin is connected to the voltage output terminal of the rechargeable battery, and the output side of the charging enable pin is connected to the first pin of the wiring board; The first pin of the wiring board is connected to the positive electrode of the battery to be tested, the second pin of the wiring board is connected to the negative electrode of the battery to be tested, and the second pin of the wiring board is also connected to the ground terminal.

8. A battery testing device, characterized in that: The battery testing device comprises a memory, a processor and a testing program stored in the memory and executable on the processor, wherein the testing program implements the steps of the battery testing method as described in any one of claims 1 to 5 when executed by the processor.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a test program, and when the test program is executed by a processor, the steps of the battery testing method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Electrically powered vehicle

    CN110893776A

  • Method and device for acquiring state of battery, battery, electronic equipment and storage medium

    CN113036710A

  • Apparatus and method for diagnosing battery

    CN114514433A

  • Super capacitor test method and device, electronic equipment and storage medium

    CN115436824A

  • System and method for controlling charge / discharge between batteries of a dual battery

    CN115552760A