A lithium battery pressure collector automatic calibration method and system

By using pressure simulators and upper computers to automatically calculate calibration factors in the lithium battery pressure collector, the inconvenient and cost-effective traditional calibration methods are solved, and convenient, safe and low-cost automatic calibration is achieved.

CN119738089APending Publication Date: 2025-04-01FUJIAN NEBULA ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411689472.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

Existing lithium battery pressure collector calibration methods require the use of large and expensive presses, resulting in inconvenient calibration and high cost.

Method used

The upper computer sets the first voltage setting value and the second voltage setting value, generates a pressure output command and sends it to the pressure simulator. The pressure simulator performs a voltage output operation, the pressure collector collects the voltage output value and encrypts it into encrypted detection data, and the upper computer decrypts and calculates the calibration factor and writes it to the pressure collector to realize automatic calibration.

Benefits of technology

Improves the convenience and safety of pressure collector calibration, reduces calibration costs, and avoids the limitations of manual wiring and use of presses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119738089A_ABST
    Figure CN119738089A_ABST
Patent Text Reader

Abstract

The present invention provides a lithium battery pressure collector automatic calibration method and system in the field of lithium battery detection technology, the method comprising: step S1, the host computer generates a pressure output instruction based on the first voltage setting value and the second voltage setting value to send a pressure simulator; step S2, the pressure simulator performs a voltage output operation based on the first voltage setting value and the second voltage setting value respectively; step S3, the pressure collector collects the first voltage output value and the second voltage output value of the pressure simulator twice and sends them to the host computer; step S4, the host computer calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value; step S5, the host computer writes the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector. The advantages of the present invention are: greatly improving the convenience of pressure collector calibration and greatly reducing the cost of pressure collector calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lithium battery detection, and in particular to an automatic calibration method and system for a lithium battery pressure collector. Background Art

[0002] As a core component of electric vehicles, the performance and safety of lithium batteries are crucial. During the charging and discharging process of lithium batteries, expansion may occur due to internal chemical reactions. If this expansion is too large or uneven, it may lead to a decline in battery performance and even cause safety problems. Therefore, it is necessary to test the expansion force of lithium batteries. As an important indicator of battery performance status, the expansion force can promptly detect abnormal conditions of lithium batteries, such as internal short circuits, electrolyte leakage, etc.

[0003] The detection of lithium battery expansion force requires the use of a pressure collector, that is, the pressure signal is sensed by the pressure collector, and the pressure signal is converted into a usable electrical signal according to a certain rule, and then the electrical signal is converted into pressure data. The pressure collector will inevitably have deviations in the process of collecting signals, so the pressure collector needs to be calibrated to more accurately collect the expansion force of the lithium battery.

[0004] For the calibration of pressure collectors, a press is traditionally used to accurately output a pressure value on the pressure collector, and this accurate pressure value is used to calibrate the pressure value collected by the pressure collector. However, the press is large in size, inconvenient to carry around for calibration, and is also expensive, which not only increases production costs, but is also time-consuming and labor-intensive to operate.

[0005] Therefore, how to provide a lithium battery pressure collector automatic calibration method and system to improve the convenience of pressure collector calibration and reduce the cost of pressure collector calibration has become a technical problem that needs to be solved urgently. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide a method and system for automatically calibrating a lithium battery pressure collector, so as to improve the convenience of pressure collector calibration and reduce the cost of pressure collector calibration.

[0007] In a first aspect, the present invention provides a method for automatically calibrating a lithium battery pressure collector, comprising the following steps:

[0008] Step S1, the host computer sets a first voltage setting value and a second voltage setting value, generates a pressure output instruction based on the first voltage setting value and the second voltage setting value, and sends the pressure output instruction to the pressure simulator through the RS232 interface;

[0009] Step S2, after the pressure simulator verifies the received pressure output instruction, it performs voltage output operations based on the first voltage setting value and the second voltage setting value respectively;

[0010] Step S3, the pressure collector for lithium battery detection collects the first voltage output value and the second voltage output value of the pressure simulator twice in real time, encrypts the first voltage output value and the second voltage output value into encrypted detection data, and sends the encrypted detection data to the host computer;

[0011] Step S4, the host computer decrypts the received encrypted detection data to obtain a first voltage output value and a second voltage output value, and calculates a calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value, and the second voltage output value;

[0012] Step S5: The host computer writes the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector.

[0013] Furthermore, the step S1 is specifically as follows:

[0014] The host computer sets a first voltage setting value and a second voltage setting value, obtains the current timestamp and the device serial number of the local computer, performs hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, generates a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, and sends the pressure output instruction to the pressure simulator in real time through the RS232 interface.

[0015] Furthermore, the step S2 is specifically as follows:

[0016] The pressure simulator receives the pressure output instruction in real time through the RS232 interface, parses the pressure output instruction to obtain the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, performs integrity check on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number through the hash value, performs timeliness check through the timestamp, performs legitimacy check on the device serial number through the preset device management table, and then executes voltage output operation to the pressure collector based on the first voltage setting value and the second voltage setting value respectively.

[0017] Furthermore, the step S3 is specifically as follows:

[0018] A pressure collector for lithium battery testing collects in real time a first voltage output value and a second voltage output value of two voltage outputs of a pressure simulator;

[0019] The pressure collector encrypts the first voltage output value and the second voltage output value into first-level encrypted data through the SM4 algorithm, shifts each character of the first-level encrypted data to the right by 5 bits to obtain second-level encrypted data, encrypts the second-level encrypted data into encrypted detection data through the RC6 algorithm, and sends the encrypted detection data to the host computer in real time through the UDP protocol.

[0020] Furthermore, the step S4 is specifically as follows:

[0021] The host computer receives the encrypted detection data in real time through the UDP protocol, decrypts the encrypted detection data into secondary encrypted data through the RC6 algorithm, shifts each character of the secondary encrypted data to the left by 5 bits to obtain primary encrypted data, decrypts the primary encrypted data through the SM4 algorithm to obtain the first voltage output value and the second voltage output value, and calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value using a linear equation:

[0022] Vb1=Va1*k+b;

[0023] Vb2=Va2*k+b;

[0024] Wherein, Vb1 represents the first voltage output value; Vb2 represents the second voltage output value; Va1 represents the first voltage setting value; Va2 represents the second voltage setting value; k and b are calibration factors.

[0025] In a second aspect, the present invention provides a lithium battery pressure collector automatic calibration system, comprising the following modules:

[0026] A voltage setting value sending module is used for the host computer to set a first voltage setting value and a second voltage setting value, generate a pressure output instruction based on the first voltage setting value and the second voltage setting value, and send the pressure output instruction to the pressure simulator through the RS232 interface;

[0027] A voltage output module, configured to perform voltage output operations based on the first voltage setting value and the second voltage setting value respectively after the pressure simulator verifies the received pressure output instruction;

[0028] A voltage output value acquisition module, which is used for the pressure collector for lithium battery detection to collect the first voltage output value and the second voltage output value of the pressure simulator twice in real time, encrypt the first voltage output value and the second voltage output value into encrypted detection data, and send the encrypted detection data to the host computer;

[0029] A calibration factor calculation module, used for the host computer to decrypt the received encrypted detection data to obtain a first voltage output value and a second voltage output value, and calculate a calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value;

[0030] The automatic calibration module is used for the upper computer to write the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector.

[0031] Furthermore, the voltage setting value sending module is specifically used for:

[0032] The host computer sets a first voltage setting value and a second voltage setting value, obtains the current timestamp and the device serial number of the local computer, performs hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, generates a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, and sends the pressure output instruction to the pressure simulator in real time through the RS232 interface.

[0033] Furthermore, the voltage output module is specifically used for:

[0034] The pressure simulator receives the pressure output instruction in real time through the RS232 interface, parses the pressure output instruction to obtain the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, performs integrity check on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number through the hash value, performs timeliness check through the timestamp, performs legitimacy check on the device serial number through the preset device management table, and then executes voltage output operation to the pressure collector based on the first voltage setting value and the second voltage setting value respectively.

[0035] Furthermore, the voltage output value acquisition module is specifically used for:

[0036] A pressure collector for lithium battery testing collects in real time a first voltage output value and a second voltage output value of two voltage outputs of a pressure simulator;

[0037] The pressure collector encrypts the first voltage output value and the second voltage output value into first-level encrypted data through the SM4 algorithm, shifts each character of the first-level encrypted data to the right by 5 bits to obtain second-level encrypted data, encrypts the second-level encrypted data into encrypted detection data through the RC6 algorithm, and sends the encrypted detection data to the host computer in real time through the UDP protocol.

[0038] Furthermore, the calibration factor calculation module is specifically used for:

[0039] The host computer receives the encrypted detection data in real time through the UDP protocol, decrypts the encrypted detection data into secondary encrypted data through the RC6 algorithm, shifts each character of the secondary encrypted data to the left by 5 bits to obtain primary encrypted data, decrypts the primary encrypted data through the SM4 algorithm to obtain the first voltage output value and the second voltage output value, and calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value using a linear equation:

[0040] Vb1=Va1*k+b;

[0041] Vb2=Va2*k+b;

[0042] Wherein, Vb1 represents the first voltage output value; Vb2 represents the second voltage output value; Va1 represents the first voltage setting value; Va2 represents the second voltage setting value; k and b are calibration factors.

[0043] The advantages of the present invention are:

[0044] 1. The host computer sets a first voltage setting value and a second voltage setting value, generates a pressure output instruction based on the first voltage setting value and the second voltage setting value and sends it to the pressure simulator; after the pressure simulator verifies the pressure output instruction, it performs a voltage output operation based on the first voltage setting value and the second voltage setting value respectively; the pressure collector used for lithium battery detection collects the first voltage output value and the second voltage output value of the two voltage outputs of the pressure simulator in real time, encrypts the first voltage output value and the second voltage output value into encrypted detection data and sends it to the host computer; then the host computer decrypts the encrypted detection data to obtain the first voltage output value and the second voltage output value Output value, calculate the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value, and write the calibration factor into the pressure collector to complete the automatic calibration of the pressure collector; that is, output two different voltage setting values ​​to the pressure collector through the pressure simulator, collect the actual voltage output value through the pressure collector, and then use a linear equation to solve the two calibration factors and write them into the pressure collector. Subsequently, the pressure collector can output the correct voltage value based on the calibration factor, without the need to use a press as traditionally, thereby greatly improving the convenience of pressure collector calibration and greatly reducing the cost of pressure collector calibration.

[0045] 2. By setting the first voltage setting value and the second voltage setting value, the current timestamp and the device serial number of the local machine are obtained, and the first voltage setting value, the second voltage setting value, the timestamp and the device serial number are hashed to obtain a hash value. Based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, a pressure output instruction is generated. Subsequently, the hash value can be used for integrity verification, the timestamp can be used for timeliness verification, and the device serial number can be used for legality verification. Three security measures are taken before and after to avoid output based on illegal pressure output instructions, thereby greatly improving the security of automatic calibration of the pressure collector.

[0046] 3. The first voltage output value and the second voltage output value are encrypted into first-level encrypted data through the SM4 algorithm, and each character of the first-level encrypted data is shifted 5 bits to the right to obtain second-level encrypted data. The second-level encrypted data is encrypted into encrypted detection data through the RC6 algorithm. If the corresponding encryption algorithm or data transformation rule is unknown, the encrypted detection data cannot be cracked. At least 4 security measures (SM4 algorithm, displacement direction, number of displacement bits, RC6 algorithm) are taken before and after, which greatly improves the security of the transmission of the first voltage output value and the second voltage output value, thereby greatly improving the security of the automatic calibration of the pressure collector. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0048] Figure 1 The present invention is a flowchart of a method for automatically calibrating a lithium battery pressure collector.

[0049] Figure 2 It is a structural schematic diagram of an automatic calibration system for a lithium battery pressure collector of the present invention. DETAILED DESCRIPTION

[0050] The technical solution in the embodiment of the present application has the following overall idea: two different voltage setting values ​​are output to the pressure collector through the pressure simulator, the actual voltage output value is collected by the pressure collector, and then the two calibration factors are solved by a linear equation and written into the pressure collector. The subsequent pressure collector can output the correct voltage value based on the calibration factor without the need to use a press as traditionally, thereby improving the convenience of pressure collector calibration and reducing the cost of pressure collector calibration.

[0051] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a method for automatically calibrating a lithium battery pressure collector of the present invention comprises the following steps:

[0052] Step S1, the host computer sets a first voltage setting value and a second voltage setting value, generates a pressure output instruction based on the first voltage setting value and the second voltage setting value, and sends the pressure output instruction to the pressure simulator through the RS232 interface;

[0053] Step S2, after the pressure simulator verifies the received pressure output instruction, it performs voltage output operations based on the first voltage setting value and the second voltage setting value respectively;

[0054] Step S3, the pressure collector for lithium battery detection collects the first voltage output value and the second voltage output value of the pressure simulator twice in real time, encrypts the first voltage output value and the second voltage output value into encrypted detection data, and sends the encrypted detection data to the host computer;

[0055] Step S4, the host computer decrypts the received encrypted detection data to obtain a first voltage output value and a second voltage output value, and calculates a calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value, and the second voltage output value;

[0056] Step S5: The host computer writes the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector.

[0057] If a press is used to calibrate the pressure collector, it cannot be calibrated at any time on the battery production line due to its large size, and each calibration requires manual wiring. However, the present invention can be calibrated anytime and anywhere, and does not require manual wiring. Automatic calibration can be completed by operating on the host computer.

[0058] The step S1 is specifically as follows:

[0059] The host computer sets a first voltage setting value and a second voltage setting value, obtains the current timestamp and the device serial number of the local computer, performs hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, generates a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, and sends the pressure output instruction to the pressure simulator in real time through the RS232 interface.

[0060] By setting the first voltage setting value and the second voltage setting value, obtaining the current timestamp and the local device serial number, performing hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, and generating a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, the integrity can be checked through the hash value, the timeliness can be checked through the timestamp, and the legitimacy can be checked through the device serial number. Three safety measures are taken before and after to avoid output based on illegal pressure output instructions, thereby greatly improving the security of automatic calibration of the pressure collector.

[0061] The step S2 is specifically as follows:

[0062] The pressure simulator receives the pressure output instruction in real time through the RS232 interface, parses the pressure output instruction to obtain the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, performs integrity check on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number through the hash value, performs timeliness check through the timestamp, performs legitimacy check on the device serial number through the preset device management table, and then executes voltage output operation to the pressure collector based on the first voltage setting value and the second voltage setting value respectively.

[0063] The step S3 is specifically as follows:

[0064] A pressure collector for lithium battery testing collects in real time a first voltage output value and a second voltage output value of two voltage outputs of a pressure simulator;

[0065] The pressure collector encrypts the first voltage output value and the second voltage output value into first-level encrypted data through the SM4 algorithm, shifts each character of the first-level encrypted data to the right by 5 bits to obtain second-level encrypted data, encrypts the second-level encrypted data into encrypted detection data through the RC6 algorithm, and sends the encrypted detection data to the host computer in real time through the UDP protocol.

[0066] The first voltage output value and the second voltage output value are encrypted into first-level encrypted data through the SM4 algorithm, and each character of the first-level encrypted data is shifted 5 bits to the right to obtain second-level encrypted data. The second-level encrypted data is encrypted into encrypted detection data through the RC6 algorithm. If the corresponding encryption algorithm or data transformation rule is unknown, the encrypted detection data cannot be cracked. At least four security measures (SM4 algorithm, displacement direction, number of displacement bits, RC6 algorithm) are taken before and after, which greatly improves the security of the transmission of the first voltage output value and the second voltage output value, thereby greatly improving the security of the automatic calibration of the pressure collector.

[0067] The step S4 is specifically as follows:

[0068] The host computer receives the encrypted detection data in real time through the UDP protocol, decrypts the encrypted detection data into secondary encrypted data through the RC6 algorithm, shifts each character of the secondary encrypted data to the left by 5 bits to obtain primary encrypted data, decrypts the primary encrypted data through the SM4 algorithm to obtain the first voltage output value and the second voltage output value, and calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value using a linear equation:

[0069] Vb1=Va1*k+b;

[0070] Vb2=Va2*k+b;

[0071] Wherein, Vb1 represents the first voltage output value; Vb2 represents the second voltage output value; Va1 represents the first voltage setting value; Va2 represents the second voltage setting value; k and b are calibration factors.

[0072] A preferred embodiment of the automatic calibration system of a lithium battery pressure collector of the present invention includes the following modules:

[0073] A voltage setting value sending module is used for the host computer to set a first voltage setting value and a second voltage setting value, generate a pressure output instruction based on the first voltage setting value and the second voltage setting value, and send the pressure output instruction to the pressure simulator through the RS232 interface;

[0074] A voltage output module, configured to perform voltage output operations based on the first voltage setting value and the second voltage setting value respectively after the pressure simulator verifies the received pressure output instruction;

[0075] A voltage output value acquisition module, which is used for the pressure collector for lithium battery detection to collect the first voltage output value and the second voltage output value of the pressure simulator twice in real time, encrypt the first voltage output value and the second voltage output value into encrypted detection data, and send the encrypted detection data to the host computer;

[0076] A calibration factor calculation module, used for the host computer to decrypt the received encrypted detection data to obtain a first voltage output value and a second voltage output value, and calculate a calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value;

[0077] The automatic calibration module is used for the upper computer to write the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector.

[0078] If a press is used to calibrate the pressure collector, it cannot be calibrated at any time on the battery production line due to its large size, and each calibration requires manual wiring. However, the present invention can be calibrated anytime and anywhere, and does not require manual wiring. Automatic calibration can be completed by operating on the host computer.

[0079] The voltage setting value sending module is specifically used for:

[0080] The host computer sets a first voltage setting value and a second voltage setting value, obtains the current timestamp and the device serial number of the local computer, performs hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, generates a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, and sends the pressure output instruction to the pressure simulator in real time through the RS232 interface.

[0081] By setting the first voltage setting value and the second voltage setting value, obtaining the current timestamp and the local device serial number, performing hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, and generating a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, the integrity can be checked through the hash value, the timeliness can be checked through the timestamp, and the legitimacy can be checked through the device serial number. Three safety measures are taken before and after to avoid output based on illegal pressure output instructions, thereby greatly improving the security of automatic calibration of the pressure collector.

[0082] The voltage output module is specifically used for:

[0083] The pressure simulator receives the pressure output instruction in real time through the RS232 interface, parses the pressure output instruction to obtain the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, performs integrity check on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number through the hash value, performs timeliness check through the timestamp, performs legitimacy check on the device serial number through the preset device management table, and then executes voltage output operation to the pressure collector based on the first voltage setting value and the second voltage setting value respectively.

[0084] The voltage output value acquisition module is specifically used for:

[0085] A pressure collector for lithium battery testing collects in real time a first voltage output value and a second voltage output value of two voltage outputs of a pressure simulator;

[0086] The pressure collector encrypts the first voltage output value and the second voltage output value into first-level encrypted data through the SM4 algorithm, shifts each character of the first-level encrypted data to the right by 5 bits to obtain second-level encrypted data, encrypts the second-level encrypted data into encrypted detection data through the RC6 algorithm, and sends the encrypted detection data to the host computer in real time through the UDP protocol.

[0087] The first voltage output value and the second voltage output value are encrypted into first-level encrypted data through the SM4 algorithm, and each character of the first-level encrypted data is shifted 5 bits to the right to obtain second-level encrypted data. The second-level encrypted data is encrypted into encrypted detection data through the RC6 algorithm. If the corresponding encryption algorithm or data transformation rule is unknown, the encrypted detection data cannot be cracked. At least four security measures (SM4 algorithm, displacement direction, number of displacement bits, RC6 algorithm) are taken before and after, which greatly improves the security of the transmission of the first voltage output value and the second voltage output value, thereby greatly improving the security of the automatic calibration of the pressure collector.

[0088] The calibration factor calculation module is specifically used for:

[0089] The host computer receives the encrypted detection data in real time through the UDP protocol, decrypts the encrypted detection data into secondary encrypted data through the RC6 algorithm, shifts each character of the secondary encrypted data to the left by 5 bits to obtain primary encrypted data, decrypts the primary encrypted data through the SM4 algorithm to obtain the first voltage output value and the second voltage output value, and calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value using a linear equation:

[0090] Vb1=Va1*k+b;

[0091] Vb2=Va2*k+b;

[0092] Wherein, Vb1 represents the first voltage output value; Vb2 represents the second voltage output value; Va1 represents the first voltage setting value; Va2 represents the second voltage setting value; k and b are calibration factors.

[0093] In summary, the advantages of the present invention are:

[0094] 1. The host computer sets a first voltage setting value and a second voltage setting value, generates a pressure output instruction based on the first voltage setting value and the second voltage setting value and sends it to the pressure simulator; after the pressure simulator verifies the pressure output instruction, it performs a voltage output operation based on the first voltage setting value and the second voltage setting value respectively; the pressure collector used for lithium battery detection collects the first voltage output value and the second voltage output value of the two voltage outputs of the pressure simulator in real time, encrypts the first voltage output value and the second voltage output value into encrypted detection data and sends it to the host computer; then the host computer decrypts the encrypted detection data to obtain the first voltage output value and the second voltage output value Output value, calculate the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value, and write the calibration factor into the pressure collector to complete the automatic calibration of the pressure collector; that is, output two different voltage setting values ​​to the pressure collector through the pressure simulator, collect the actual voltage output value through the pressure collector, and then use a linear equation to solve the two calibration factors and write them into the pressure collector. Subsequently, the pressure collector can output the correct voltage value based on the calibration factor, without the need to use a press as traditionally, thereby greatly improving the convenience of pressure collector calibration and greatly reducing the cost of pressure collector calibration.

[0095] 2. By setting the first voltage setting value and the second voltage setting value, the current timestamp and the device serial number of the local machine are obtained, and the first voltage setting value, the second voltage setting value, the timestamp and the device serial number are hashed to obtain a hash value. Based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, a pressure output instruction is generated. Subsequently, the hash value can be used for integrity verification, the timestamp can be used for timeliness verification, and the device serial number can be used for legality verification. Three security measures are taken before and after to avoid output based on illegal pressure output instructions, thereby greatly improving the security of automatic calibration of the pressure collector.

[0096] 3. The first voltage output value and the second voltage output value are encrypted into first-level encrypted data through the SM4 algorithm, and each character of the first-level encrypted data is shifted 5 bits to the right to obtain second-level encrypted data. The second-level encrypted data is encrypted into encrypted detection data through the RC6 algorithm. If the corresponding encryption algorithm or data transformation rule is unknown, the encrypted detection data cannot be cracked. At least 4 security measures (SM4 algorithm, displacement direction, number of displacement bits, RC6 algorithm) are taken before and after, which greatly improves the security of the transmission of the first voltage output value and the second voltage output value, thereby greatly improving the security of the automatic calibration of the pressure collector.

[0097] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A lithium battery pressure collector automatic calibration method, characterized in that: The steps include: Step S1, the host computer sets a first voltage setting value and a second voltage setting value, generates a pressure output instruction based on the first voltage setting value and the second voltage setting value, and sends the pressure output instruction to the pressure simulator through the RS232 interface; Step S2, after the pressure simulator verifies the received pressure output instruction, it performs voltage output operations based on the first voltage setting value and the second voltage setting value respectively; Step S3, the pressure collector for lithium battery detection collects the first voltage output value and the second voltage output value of the pressure simulator twice in real time, encrypts the first voltage output value and the second voltage output value into encrypted detection data, and sends the encrypted detection data to the host computer; Step S4, the host computer decrypts the received encrypted detection data to obtain a first voltage output value and a second voltage output value, and calculates a calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value, and the second voltage output value; Step S5: The host computer writes the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector.

2. The automatic calibration method for a lithium battery pressure collector according to claim 1, characterized in that: The step S1 is specifically as follows: The host computer sets a first voltage setting value and a second voltage setting value, obtains the current timestamp and the device serial number of the local computer, performs hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, generates a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, and sends the pressure output instruction to the pressure simulator in real time through the RS232 interface.

3. The automatic calibration method for a lithium battery pressure collector according to claim 1, characterized in that: The step S2 is specifically as follows: The pressure simulator receives the pressure output instruction in real time through the RS232 interface, parses the pressure output instruction to obtain the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, performs integrity check on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number through the hash value, performs timeliness check through the timestamp, performs legitimacy check on the device serial number through the preset device management table, and then executes voltage output operation to the pressure collector based on the first voltage setting value and the second voltage setting value respectively.

4. The automatic calibration method for a lithium battery pressure collector according to claim 1, characterized in that: The step S3 is specifically as follows: A pressure collector for lithium battery testing collects in real time a first voltage output value and a second voltage output value of two voltage outputs of a pressure simulator; The pressure collector encrypts the first voltage output value and the second voltage output value into first-level encrypted data through the SM4 algorithm, shifts each character of the first-level encrypted data to the right by 5 bits to obtain second-level encrypted data, encrypts the second-level encrypted data into encrypted detection data through the RC6 algorithm, and sends the encrypted detection data to the host computer in real time through the UDP protocol.

5. The automatic calibration method for a lithium battery pressure collector according to claim 1, characterized in that: The step S4 is specifically as follows: The host computer receives the encrypted detection data in real time through the UDP protocol, decrypts the encrypted detection data into secondary encrypted data through the RC6 algorithm, shifts each character of the secondary encrypted data to the left by 5 bits to obtain primary encrypted data, decrypts the primary encrypted data through the SM4 algorithm to obtain the first voltage output value and the second voltage output value, and calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value using a linear equation: Vb1=Va1*k+b; Vb2=Va2*k+b; Wherein, Vb1 represents the first voltage output value; Vb2 represents the second voltage output value; Va1 represents the first voltage setting value; Va2 represents the second voltage setting value; k and b are calibration factors.

6. A lithium battery pressure collector automatic calibration system, characterized in that: Includes the following modules: A voltage setting value sending module is used for the host computer to set a first voltage setting value and a second voltage setting value, generate a pressure output instruction based on the first voltage setting value and the second voltage setting value, and send the pressure output instruction to the pressure simulator through the RS232 interface; A voltage output module, configured to perform voltage output operations based on the first voltage setting value and the second voltage setting value respectively after the pressure simulator verifies the received pressure output instruction; A voltage output value acquisition module, which is used for the pressure collector for lithium battery detection to collect the first voltage output value and the second voltage output value of the pressure simulator twice in real time, encrypt the first voltage output value and the second voltage output value into encrypted detection data, and send the encrypted detection data to the host computer; A calibration factor calculation module, used for the host computer to decrypt the received encrypted detection data to obtain a first voltage output value and a second voltage output value, and calculate a calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value; The automatic calibration module is used for the upper computer to write the calibration factor into the pressure collector through the UDP protocol to complete the automatic calibration of the pressure collector.

7. The automatic calibration system for a lithium battery pressure collector according to claim 6, characterized in that: The voltage setting value sending module is specifically used for: The host computer sets a first voltage setting value and a second voltage setting value, obtains the current timestamp and the device serial number of the local computer, performs hash calculation on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number to obtain a hash value, generates a pressure output instruction based on the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, and sends the pressure output instruction to the pressure simulator in real time through the RS232 interface.

8. The automatic calibration system for a lithium battery pressure collector according to claim 6, characterized in that: The voltage output module is specifically used for: The pressure simulator receives the pressure output instruction in real time through the RS232 interface, parses the pressure output instruction to obtain the first voltage setting value, the second voltage setting value, the timestamp, the device serial number and the hash value, performs integrity check on the first voltage setting value, the second voltage setting value, the timestamp and the device serial number through the hash value, performs timeliness check through the timestamp, performs legitimacy check on the device serial number through the preset device management table, and then executes voltage output operation to the pressure collector based on the first voltage setting value and the second voltage setting value respectively.

9. The automatic calibration system for a lithium battery pressure collector according to claim 6, characterized in that: The voltage output value acquisition module is specifically used for: A pressure collector for lithium battery testing collects in real time a first voltage output value and a second voltage output value of two voltage outputs of a pressure simulator; The pressure collector encrypts the first voltage output value and the second voltage output value into first-level encrypted data through the SM4 algorithm, shifts each character of the first-level encrypted data to the right by 5 bits to obtain second-level encrypted data, encrypts the second-level encrypted data into encrypted detection data through the RC6 algorithm, and sends the encrypted detection data to the host computer in real time through the UDP protocol.

10. The automatic calibration system for a lithium battery pressure collector according to claim 6, characterized in that: The calibration factor calculation module is specifically used for: The host computer receives the encrypted detection data in real time through the UDP protocol, decrypts the encrypted detection data into secondary encrypted data through the RC6 algorithm, shifts each character of the secondary encrypted data to the left by 5 bits to obtain primary encrypted data, decrypts the primary encrypted data through the SM4 algorithm to obtain the first voltage output value and the second voltage output value, and calculates the calibration factor based on the first voltage setting value, the second voltage setting value, the first voltage output value and the second voltage output value using a linear equation: Vb1=Va1*k+b; Vb2=Va2*k+b; Among them, Vb1 represents the first voltage output value; Vb2 represents the second voltage output value; Va1 represents the first voltage setting value; Va2 represents the second voltage setting value; k and b are calibration factors.