A method, system, device and medium for automatic operation of charging and discharging
By automatically executing lithium battery charging and discharging process files through Ranorex, acquiring and comparing test data in real time, and generating test reports using hash values and national cryptographic algorithms, the problems of time-consuming and labor-intensive traditional manual operations and difficulty in data traceability are solved, achieving efficient and safe lithium battery testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FUJIAN NEBULA ELECTRONICS CO LTD
- Filing Date
- 2023-08-16
- Publication Date
- 2026-04-17
AI Technical Summary
Traditional manual setup and operation of lithium battery charging and discharging processes are time-consuming and labor-intensive, making it impossible to conduct tests at night. Test data is difficult to trace and lacks safety.
Ranorex automates the execution of process files, acquires and compares test data in real time, generates and archives test reports, and encrypts them using hash values and national cryptographic algorithms, then distributes and backs them up to a cloud server.
It achieves convenience, efficiency, and traceability in lithium battery testing, improves the security of test reports, and prevents data tampering and plaintext theft.
Smart Images

Figure CN117310523B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charge and discharge testing technology, and in particular to an automatic operation method, system, equipment and medium for charge and discharge processes. Background Technology
[0002] After lithium batteries are manufactured, they need to undergo a series of charging and discharging tests. Before testing, charging and discharging procedures need to be programmed, and then the lithium batteries are controlled to charge and discharge based on these procedures. However, the traditional method of manually setting and operating the charging and discharging procedures has the following drawbacks:
[0003] 1. Manually performing protection checks during charging and discharging, such as voltage and current limits, is not only time-consuming and labor-intensive, but the repetitive nature of the work also puts a great strain on the patience of the testers; 2. It requires manual intervention and cannot be conducted at night; 3. The source data for the tests is difficult to obtain, which is not conducive to later traceability.
[0004] Therefore, how to provide an automated method, system, equipment, and medium for charging and discharging processes to improve the convenience, efficiency, and traceability of lithium battery testing has become an urgent technical problem to be solved. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide an automatic operation method, system, equipment and medium for charging and discharging steps, so as to improve the convenience, efficiency and traceability of lithium battery testing.
[0006] In a first aspect, the present invention provides an automatic operation method for charging and discharging processes, comprising the following steps:
[0007] Step S1: The host computer creates a step file based on several charging and discharging steps, and configures the test channel for lithium battery testing through Ranorex.
[0008] Step S2: The host computer automatically reads the process file through Ranorex and automatically executes each charge and discharge process in the process file sequentially through the test channel;
[0009] Step S3: The host computer acquires test data in real time during the execution of each charging and discharging step, and Ranorex monitors the channel status of the test channel in real time.
[0010] Step S4: Ranorex automatically reads the test data and compares the test data with the expected data carried in the charge and discharge process in real time to obtain the comparison results.
[0011] Step S5: The host computer generates a test report and archives it based on the charging and discharging steps, test data, and comparison results.
[0012] Furthermore, in step S1, the charging and discharging process includes at least the charging start time, charging current, charging end time, discharging start time, discharging current, discharging end time, test channel number, number of test cycles, upper voltage limit, upper current limit, and expected data.
[0013] Furthermore, in step S1, the process file is an XML file.
[0014] Furthermore, step S4 specifically includes:
[0015] The host computer performs hash calculations on the charging and discharging steps, test data, comparison results, and test time to obtain hash values. It then uses the national cryptographic algorithm to encrypt the charging and discharging steps, test data, comparison results, test time, and hash values to generate a test report. The test report is stored locally and then distributed and backed up to a cloud server.
[0016] Secondly, the present invention provides an automatic charging and discharging process system, comprising the following modules:
[0017] The process step file creation module is used by the host computer to create a process step file based on several charge and discharge process steps, and configure the test channel for lithium battery testing through Ranorex.
[0018] The charge / discharge step execution module is used by the host computer to automatically read the step file through Ranorex and execute each charge / discharge step in the step file sequentially through the test channel.
[0019] The test data acquisition module is used by the host computer to acquire test data in real time during the execution of each charging and discharging step, and Ranorex monitors the channel status of the test channel in real time.
[0020] The data comparison module is used by Ranorex to automatically read the test data and compare the test data with the expected data carried in the charge and discharge process in real time to obtain the comparison results.
[0021] The test report generation module is used by the host computer to generate and archive test reports based on the charging and discharging steps, test data, and comparison results.
[0022] Furthermore, in the process step file creation module, the charging and discharging process step includes at least the charging start time, charging current, charging end time, discharging start time, discharging current, discharging end time, test channel number, number of test cycles, upper voltage limit, upper current limit, and expected data.
[0023] Furthermore, in the process step file creation module, the process step file is an XML file.
[0024] Furthermore, the test report generation module is specifically used for:
[0025] The host computer performs hash calculations on the charging and discharging steps, test data, comparison results, and test time to obtain hash values. It then uses the national cryptographic algorithm to encrypt the charging and discharging steps, test data, comparison results, test time, and hash values to generate a test report. The test report is stored locally and then distributed and backed up to a cloud server.
[0026] Thirdly, the present invention provides an automatic charging and discharging step operation device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect.
[0027] Fourthly, the present invention provides an automatic charging and discharging process operating medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0028] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0029] 1. A process file is created using a host computer based on several charge / discharge steps. A test channel for lithium battery testing is configured using Ranorex. Ranorex then automatically reads the process file and executes each charge / discharge step sequentially through the test channel. During the execution of each charge / discharge step, test data is acquired in real time and compared with the actual charge / discharge steps to obtain comparison results. Finally, a test report is generated and archived based on the charge / discharge steps, test data, and comparison results. In other words, the process file is automatically executed using Ranorex without manual intervention. The archived test report facilitates later traceability, ultimately greatly improving the convenience, efficiency, and traceability of lithium battery testing.
[0030] 2. By performing hash calculations on the charging and discharging steps, test data, comparison results, and test time, a hash value is obtained. This hash value can then be used to verify the integrity of the charging and discharging steps, test data, comparison results, and test time, and to check for tampering. Furthermore, the charging and discharging steps, test data, comparison results, test time, and hash value are encrypted using national cryptographic algorithms to prevent the relevant data from being stolen in plaintext, thereby greatly improving the security of the test report.
[0031] 3. By storing test reports locally and distributing them to cloud servers, test reports can be recovered from local storage if they are lost, further enhancing the security of test reports.
[0032] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0033] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0034] Figure 1 This is a flowchart of an automatic operation method for charging and discharging steps according to the present invention.
[0035] Figure 2 This is a schematic diagram of the structure of an automatic charging and discharging process system according to the present invention.
[0036] Figure 3 This is a schematic diagram of the structure of an automatic charging and discharging step operation device according to the present invention.
[0037] Figure 4 This is a schematic diagram of the structure of a charging and discharging automatic operation medium according to the present invention. Detailed Implementation
[0038] This application provides an automated charging and discharging process method, system, device, and medium to improve the convenience, efficiency, and traceability of lithium battery testing.
[0039] The technical solution in this application embodiment has the following general idea: the process step file created by Ranorex is automatically executed without manual intervention, and the test report generated based on the charge and discharge process step, test data and comparison results is archived and backed up to improve the convenience, efficiency and traceability of lithium battery testing.
[0040] Example 1
[0041] This embodiment provides a method for automatically operating the charging and discharging process, such as... Figure 1 As shown, it includes the following steps:
[0042] Step S1: The host computer creates a step file based on several charging and discharging steps, and configures the test channel for lithium battery testing through Ranorex.
[0043] Step S2: The host computer automatically reads the process file through Ranorex and automatically executes each charge and discharge process in the process file sequentially through the test channel. Ranorex is a software that can record computer operations. After the recorded operation is completed, the recorded operation can be replayed to perform automated testing.
[0044] Step S3: The host computer acquires test data in real time during the execution of each charging and discharging step, and Ranorex monitors the channel status of the test channel in real time; the channel status includes at least whether the test has ended and whether there is an alarm.
[0045] Step S4: Ranorex automatically reads the test data and compares the test data with the expected data carried in the charge and discharge process in real time to obtain the comparison results.
[0046] Step S5: The host computer generates a test report and archives it based on the charging and discharging steps, test data, and comparison results.
[0047] This invention automatically executes the created process files using Ranorex, eliminating the need for manual intervention. It also archives the test reports generated based on the charge / discharge process, test data, and comparison results, facilitating later traceability. Ultimately, this greatly improves the convenience, efficiency, and traceability of lithium battery testing.
[0048] In step S1, the charging and discharging process includes at least the charging start time, charging current, charging end time, discharging start time, discharging current, discharging end time, test channel number, number of test cycles, upper voltage limit, upper current limit, and expected data.
[0049] In step S1, the process file is an XML file.
[0050] Step S4 specifically involves:
[0051] The host computer performs hash calculations on the charging and discharging steps, test data, comparison results, and test time to obtain hash values. It then uses the national cryptographic algorithm to encrypt the charging and discharging steps, test data, comparison results, test time, and hash values to generate a test report. The test report is stored locally and then distributed and backed up to a cloud server.
[0052] Hash values are obtained by hashing the charging / discharging steps, test data, comparison results, and test time. These hash values are then used to verify the integrity of the charging / discharging steps, test data, comparison results, and test time, and to check for tampering. Furthermore, the charging / discharging steps, test data, comparison results, test time, and hash values are encrypted using national cryptographic algorithms to prevent the data from being intercepted in plaintext, thus greatly enhancing the security of the test report. By storing the test report locally and distributing backups to a cloud server, the report can be recovered from the cloud server if the locally stored report is lost, further improving its security.
[0053] Example 2
[0054] This embodiment provides an automatic charging and discharging process system, such as... Figure 2 As shown, it includes the following modules:
[0055] The process step file creation module is used by the host computer to create a process step file based on several charge and discharge process steps, and configure the test channel for lithium battery testing through Ranorex.
[0056] The charge / discharge step execution module is used by the host computer to automatically read the step file through Ranorex and execute each charge / discharge step in the step file sequentially through the test channel. Ranorex is a software that can record computer operations. After the recorded operation is completed, the recorded operation can be replayed to execute automated testing.
[0057] The test data acquisition module is used by the host computer to acquire test data in real time during the execution of each charging and discharging step. Ranorex monitors the channel status of the test channel in real time; the channel status includes at least whether the test has ended and whether there is an alarm.
[0058] The data comparison module is used by Ranorex to automatically read the test data and compare the test data with the expected data carried in the charge and discharge process in real time to obtain the comparison results.
[0059] The test report generation module is used by the host computer to generate and archive test reports based on the charging and discharging steps, test data, and comparison results.
[0060] This invention automatically executes the created process files using Ranorex, eliminating the need for manual intervention. It also archives the test reports generated based on the charge / discharge process, test data, and comparison results, facilitating later traceability. Ultimately, this greatly improves the convenience, efficiency, and traceability of lithium battery testing.
[0061] In the process step file creation module, the charging and discharging process step includes at least the charging start time, charging current, charging end time, discharging start time, discharging current, discharging end time, test channel number, number of test cycles, upper voltage limit, upper current limit, and expected data.
[0062] In the process step file creation module, the process step file is an XML file.
[0063] The test report generation module is specifically used for:
[0064] The host computer performs hash calculations on the charging and discharging steps, test data, comparison results, and test time to obtain hash values. It then uses the national cryptographic algorithm to encrypt the charging and discharging steps, test data, comparison results, test time, and hash values to generate a test report. The test report is stored locally and then distributed and backed up to a cloud server.
[0065] Hash values are obtained by hashing the charging / discharging steps, test data, comparison results, and test time. These hash values are then used to verify the integrity of the charging / discharging steps, test data, comparison results, and test time, and to check for tampering. Furthermore, the charging / discharging steps, test data, comparison results, test time, and hash values are encrypted using national cryptographic algorithms to prevent the data from being intercepted in plaintext, thus greatly enhancing the security of the test report. By storing the test report locally and distributing backups to a cloud server, the report can be recovered from the cloud server if the locally stored report is lost, further improving its security.
[0066] Based on the same inventive concept, this application provides an electronic device embodiment corresponding to Embodiment 1, as detailed in Embodiment 3.
[0067] Example 3
[0068] This embodiment provides an automated charging and discharging process device, such as... Figure 3 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can implement any of the embodiments in Example 1.
[0069] Since the electronic device described in this embodiment is the device used to implement the method in Embodiment 1 of this application, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this embodiment based on the method described in Embodiment 1 of this application. Therefore, how the electronic device implements the method in the embodiment of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiment of this application falls within the scope of protection of this application.
[0070] Based on the same inventive concept, this application provides a storage medium corresponding to Embodiment 1, as detailed in Embodiment 4.
[0071] Example 4
[0072] This embodiment provides a medium for automatic operation of charging and discharging steps, such as... Figure 4 As shown, a computer program is stored thereon, which, when executed by a processor, can implement any of the embodiments in Example 1.
[0073] Since the storage medium described in this embodiment is the same storage medium used to implement the method in Embodiment 1 of this application, those skilled in the art can understand the specific implementation methods and various variations of the storage medium in this embodiment based on the method described in Embodiment 1 of this application. Therefore, how the storage medium implements the method in this application embodiment will not be described in detail here. Any storage medium used by those skilled in the art to implement the method in this application embodiment falls within the scope of protection of this application.
[0074] The technical solutions provided in this application embodiment have at least the following technical effects or advantages:
[0075] 1. A process file is created using a host computer based on several charge / discharge steps. A test channel for lithium battery testing is configured using Ranorex. Ranorex then automatically reads the process file and executes each charge / discharge step sequentially through the test channel. During the execution of each charge / discharge step, test data is acquired in real time and compared with the actual charge / discharge steps to obtain comparison results. Finally, a test report is generated and archived based on the charge / discharge steps, test data, and comparison results. In other words, the process file is automatically executed using Ranorex without manual intervention. The archived test report facilitates later traceability, ultimately greatly improving the convenience, efficiency, and traceability of lithium battery testing.
[0076] 2. By performing hash calculations on the charging and discharging steps, test data, comparison results, and test time, a hash value is obtained. This hash value can then be used to verify the integrity of the charging and discharging steps, test data, comparison results, and test time, and to check for tampering. Furthermore, the charging and discharging steps, test data, comparison results, test time, and hash value are encrypted using national cryptographic algorithms to prevent the relevant data from being stolen in plaintext, thereby greatly improving the security of the test report.
[0077] 3. By storing test reports locally and distributing them to cloud servers, test reports can be recovered from local storage if they are lost, further enhancing the security of test reports.
[0078] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0079] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0080] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0081] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0082] While specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and not intended to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for automatically operating a charge and discharge process, characterized by: Includes the following steps: Step S1: The host computer creates a step file based on several charging and discharging steps, and configures the test channel for lithium battery testing through Ranorex; the charging and discharging steps include at least the charging start time, charging current, charging end time, discharging start time, discharging current, discharging end time, test channel number, number of test cycles, voltage limit, current limit, and expected data; the step file is an XML file; Step S2: The host computer automatically reads the process file through Ranorex and automatically executes each charge and discharge process in the process file sequentially through the test channel; Step S3: The host computer acquires test data in real time during the execution of each charging and discharging step, and Ranorex monitors the channel status of the test channel in real time. Step S4: Ranorex automatically reads the test data and compares the test data with the expected data carried in the charge and discharge process in real time to obtain the comparison results. Step S5: The host computer performs hash calculation on the charging and discharging steps, test data, comparison results, and test time to obtain a hash value. The host computer then uses the national cryptographic algorithm to encrypt the charging and discharging steps, test data, comparison results, test time, and hash value to generate a test report. The test report is stored locally and then backed up in a distributed manner to a cloud server.
2. A charge and discharge operation step automatic operation system characterized by comprising: Includes the following modules: The step file creation module is used by the host computer to create a step file based on several charge and discharge steps, and to configure the test channels for lithium battery testing through Ranorex; the charge and discharge steps include at least the charging start time, charging current, charging end time, discharging start time, discharging current, discharging end time, test channel number, number of test cycles, voltage limit, current limit, and expected data; the step file is an XML file; The charge / discharge step execution module is used by the host computer to automatically read the step file through Ranorex and execute each charge / discharge step in the step file sequentially through the test channel. The test data acquisition module is used by the host computer to acquire test data in real time during the execution of each charging and discharging step, and Ranorex monitors the channel status of the test channel in real time. The data comparison module is used by Ranorex to automatically read the test data and compare the test data with the expected data carried in the charge and discharge process in real time to obtain the comparison results. The test report generation module is used by the host computer to perform hash calculations on the charging and discharging steps, test data, comparison results, and test time to obtain hash values. The module then uses the national cryptographic algorithm to encrypt the charging and discharging steps, test data, comparison results, test time, and hash values to generate a test report. The test report is stored locally and then backed up to a cloud server in a distributed manner.
3. A charge-discharge operation procedure automatic operation device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized by, When the processor executes the program, it implements the method as described in claim 1.
4. A charge / discharge work step automatic operation medium on which a computer program is stored, characterized by When the program is executed by the processor, it implements the method as described in claim 1.
Citation Information
Patent Citations
Battery testing method and device
CN106896331A
Power battery detection method and device based on mathematical model
CN109103528A
Battery detection data processing method
CN113702849A
Cell DCIR test method, system, device and medium
CN115774209A