Python-based automatic battery system parameter detection system and method
Through the Python-based automated battery detection system, the automated detection of battery system parameters is realized, and the data loss problem caused by complex operations and incorrect operations in the existing technology is solved, the testing efficiency and data accuracy are improved, and the risk of equipment damage is reduced.
Patent Information
- Application Number
- CN202510580051.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-08-08
AI Technical Summary
The existing battery detection system is complex in operation, which can easily lead to data loss or overwrite, incorrect operation may damage samples, and manual operation is difficult to ensure the accuracy and consistency of the test.
Using a Python-based automated battery system parameter detection system, the memory unit, signal conversion unit and sample battery unit are controlled, and a scanning gun, a programmable power supply and a graphical user interface are used to automatically identify the battery system number, automatically collect, store and analyze data, simplifying the operation process.
It improves testing efficiency, reduces the risk of operational errors, ensures data accuracy and consistency, reduces the risk of equipment damage, simplifies operational steps and reduces development difficulty and cost.
Smart Images

Figure CN120446761A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of batteries, and in particular to a Python-based automated battery system parameter detection system and method. Background Art
[0002] In the field of battery testing, in order to detect the voltage, temperature and other parameters of the battery components of large-scale smart devices, such as new energy vehicle batteries, smart outdoor cabinet backup batteries, integrated cabinet backup batteries and other smart devices that require removable backup batteries, the voltage, temperature and other parameters of the battery components.
[0003] At present, the battery system parameter inspection is to display data such as voltage, temperature, SOC and SOH on the host computer. At the same time, the data can be displayed and stored by manual operation of the host computer; when the parameter inspection process requires changing the power supply voltage and pre-charging, manual switching is required; in addition to recording data, some tests also require screenshots and saving of the host interface. The existing solution is to manually take screenshots and then save them. This method is complicated to operate. Generally, the host computer has many buttons built in, which need to be clicked in sequence and correctly to display and save data. Operation errors may cause data loss or overwriting. In addition, battery systems that require changing the power supply voltage and pre-charging may also be misoperated, resulting in damage to the sample. Summary of the Invention
[0004] Purpose of the invention: The purpose of the present invention is to solve the technical problems in the prior art and provide a Python-based automated battery system parameter detection system and method.
[0005] Technical solution:
[0006] In the first aspect, the present application proposes a Python-based automated battery system parameter detection system, comprising:
[0007] Control storage unit, signal conversion unit and sample battery unit;
[0008] The control storage unit is connected to the sample unit via the conversion unit;
[0009] The sample unit includes a battery BMS system and a sample battery, and detection signal data of the sample battery is obtained through the battery BMS system;
[0010] The signal conversion unit is used to obtain the number of the sample battery cell and obtain the detection signal data of the sample battery;
[0011] The control storage unit is used to obtain and store the serial number of the sample battery cell and the detection signal data of the sample battery through the signal conversion unit.
[0012] The control storage unit includes a control unit and a storage unit;
[0013] When the control unit obtains the number of the battery cell, it creates a folder corresponding to the number of the battery cell in the storage unit;
[0014] The control unit acquires the detection signal data of the sample battery and stores the data in a corresponding folder.
[0015] Preferably, the signal conversion unit obtains the serial number of the sample battery cell by scanning the sample battery cell with a barcode scanner, manually inputting the serial number, or selecting a pre-stored serial number.
[0016] Preferably, the control storage unit is used to create a graphical interface by adopting the pyserial+tkinter module of python, by selecting any one of manual input and pre-stored number selection.
[0017] Preferably, the control storage unit is connected to the barcode scanner via RS232 / 485 to USB, and is connected to the barcode scanner via the serial port driver through the serial.Serial() function of pyserial.
[0018] Preferably, the control storage unit realizes folder and file creation, movement, deletion and data organization by adopting Python's os module.
[0019] Preferably, the detection signal data includes battery system voltage, temperature, SOC, SOH, whether the relay is normally opened and closed, and CSV data.
[0020] Preferably, the signal conversion unit further includes a programmable power supply, and the programmable power supply is used to electrically connect the control storage unit and the signal conversion unit.
[0021] Preferably, the control storage unit processes the detection signal data by using python's pandas and matplotlib tools.
[0022] Preferably, the control storage unit simulates mouse and keyboard operations by adopting the pyautogui module of python;
[0023] The control storage unit uses Python's PIL to perform screenshot operations and store them in the corresponding folder.
[0024] In the second part, in some embodiments, the present application also proposes a Python-based automated battery system parameter detection method, including:
[0025] Obtaining the serial number of the sample battery through the signal conversion unit;
[0026] The control storage unit obtains the serial number of the sample battery through the signal conversion unit;
[0027] The control storage unit determines whether the input sample battery number is incorrect and prompts the test to be canceled;
[0028] If everything is correct, create a folder corresponding to the battery unit number;
[0029] The control unit stores the data of the detection signal data of the sample battery into a corresponding folder;
[0030] Determine whether the data of the detection signal does not meet the threshold requirements. If not, an abnormality is prompted.
[0031] Beneficial effects:
[0032] Through the one-click automatic detection solution based on Python scripts, only the battery system number needs to be entered to automatically complete parameter detection, data recording and analysis, greatly improving test efficiency;
[0033] The automated data collection and storage process effectively avoids errors and data omissions caused by manual operations, ensuring the accuracy and consistency of test data;
[0034] This system simplifies complex operating steps into a single input, lowering the skill requirements for operators and reducing the frequency and difficulty of personnel training;
[0035] The modular design facilitates rapid adjustment and addition of new test functions based on actual needs, reducing development difficulty and cost;
[0036] It reduces manual involvement in complex operations, greatly reduces the risk of equipment damage caused by misoperation, and protects the safety of samples and test equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 Provide a schematic diagram of the system framework structure for the present invention;
[0038] Figure 2 Provide a schematic flow chart of the method of the present invention;
[0039] Figure 3 Provides a Python automation framework and technical details schematic diagram for the present invention;
[0040] Figure 4 A schematic diagram of an embodiment of the present invention is provided.
[0041] Reference numerals:
[0042] 1. Control storage unit; 11. Storage unit; 12. Control unit; 2. Signal conversion unit; 21. Barcode scanner; 22. CAN communication device; 23. Programmable power supply; 3. Sample unit; 31. BMS system; 32. Sample battery. DETAILED DESCRIPTION
[0043] In order to make the technical solution of the present invention clearer, the present invention is further described in detail below with reference to the specific embodiments of the drawings.
[0044] Example 1
[0045] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meanings understood by people with ordinary skills in the field to which the present invention belongs. The words "including" and similar words used in this article mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0046] This application provides a Python-based automated battery system parameter detection system, combined with Figure 1-3 ,include:
[0047] Control storage unit 1, signal conversion unit 2 and sample battery 32 unit;
[0048] The control storage unit 1 is connected to the sample unit 3 via the conversion unit;
[0049] The sample unit 3 includes a battery BMS system 31 and a sample battery 32 , and the detection signal data of the sample battery 32 is obtained through the battery BMS system 31 ;
[0050] The signal conversion unit 2 is used to obtain the unit number of the sample battery 32 and obtain the detection signal data of the sample battery 32;
[0051] The control storage unit 1 is used to obtain the unit number of the sample battery 32 and the detection signal data of the sample battery 32 through the signal conversion unit 2 and store them.
[0052] Wherein, the control storage unit 1 includes a control unit 12 and a storage unit 11;
[0053] When the control unit 12 obtains the number of the battery cell, it creates a folder corresponding to the number of the battery cell in the storage unit 11;
[0054] The control unit 12 obtains the detection signal data of the sample battery 32 and stores the data in a corresponding folder.
[0055] Specifically, the control storage unit 1 is a PC that uses executable python scripts and runs the host computer. It needs to install python and test related modules, RS232 / 485 drivers, CAN communication module drivers and host computers, etc., mainly to realize data collection, storage, organization and analysis;
[0056] The signal conversion module mainly calls the device driver file through Python to process and convert the signal, realize the control of the device and the conversion of parameters;
[0057] The signal receiving and output module mainly uses CAN communication equipment to communicate with the BMS of the battery system to realize the control and information collection of the battery system;
[0058] In response to the samples and various parameter inspection requirements of different projects in the sample area, it is only necessary to add control modules to the Python script in the control storage area and add equipment to the signal conversion area. Most of the developed Python programs and equipment can be reused, reducing development difficulty and cost. Moreover, no matter how the requirements change, the parameter inspection automation can be achieved based on the power and flexibility of Python.
[0059] In some specific embodiments, the signal conversion unit 2 obtains the serial number of the sample battery 32 by scanning the sample battery 32 with a barcode scanner 21, manually inputting the serial number, or selecting a pre-stored serial number.
[0060] (1) Scanning with a barcode scanner 21: Connect the barcode scanner 21 to a PC running a Python script via an RS232 or 485 interface to USB. Use the pyserial module in the Python language to establish a serial port connection, call the serial.Serial() function to initialize the port, and use the read() function to read the barcode content. The barcode is affixed to the surface of the battery system to uniquely identify the battery sample. After scanning, the system displays the read number in real time in the graphical user interface for the operator to confirm and continue subsequent operations.
[0061] (2) Manual input: The system uses Python's tkinter module to build a graphical user interface. Label and Entry controls are set in the interface to display prompt information and input boxes. The user can directly enter the sample battery 32 serial number through the keyboard. After the input is completed, click the "Confirm" button (created by the Button control) to submit the information. The system uses this number to create a corresponding test data storage folder and start the parameter detection process.
[0062] (3) Pre-stored number selection: In scenarios where there are many samples or sample information has been pre-entered into the system, the user can open the file selection window using the "Browse" button and enter the preset battery sample data storage path (the default path is D:\data). The user selects a folder named by number, and the system automatically recognizes the selected folder name as the sample number and creates data records and testing processes based on it, ensuring consistency and convenience in data management.
[0063] In some specific embodiments, the control storage unit 1 is used to create a graphical interface by adopting the pyserial+tkinter module of python, by selecting any one of manual input and pre-stored number selection.
[0064] The control and storage unit 1 is developed in Python and primarily implements the battery system number input and subsequent data management operations through the pyserial and tkinter modules. This unit features a graphical user interface (GUI) that allows testers to select different number input methods, including manual entry and selection from pre-stored numbers. The specific implementation is as follows:
[0065] Graphical interface creation: Use Python's built-in GUI module tkinter to build a battery system number input interface. Set a Label tag in the interface to display input prompts, an Entry input box to receive manually entered numbers, and a Button to trigger confirmation operations. The overall interface is simple and intuitive, and users can operate it without any programming knowledge.
[0066] Manual input method: The tester directly enters the battery system number in the input box through the keyboard. After receiving the input, the system automatically creates a data folder corresponding to the number in the specified storage path (such as D:\data) for subsequent storage of data files and image information generated by parameter testing.
[0067] Pre-stored ID selection: The system provides a "Browse" button. Clicking it will bring up a local file selection window, allowing testers to select from pre-created folders based on sample IDs. The system automatically extracts the selected folder name as the battery sample ID and uses it in the data storage and analysis process, achieving a standardized and automated test organization structure.
[0068] In some specific embodiments, the control storage unit 1 is connected to the barcode scanner 21 via RS232 / 485 to USB, and is connected to the barcode scanner 21 through the serial port driver via the serial.Serial() function of pyserial.
[0069] The control storage unit 1 is connected to the barcode scanner 21 via RS232 or 485 to USB to automatically identify the battery system sample number. This function is written in Python and uses the serial.Serial() function in the pyserial module to establish a serial communication channel. The serial driver is used to connect the barcode scanner 21 to the control storage unit 1. The specific steps are as follows:
[0070] The barcode scanner 21 is connected to the PC running the Python script via the RS232 / 485 to USB interface;
[0071] The Python program calls the serial.Serial(port, baudrate, timeout) function in the pyserial module to configure the serial port parameters and establish a communication connection with the barcode scanner 21;
[0072] Start the serial port monitoring function and use the read() or readline() function to receive the input signal from the barcode scanner 21 in real time (usually the barcode information attached to the battery system sample);
[0073] The read number information will be displayed in real time in the graphical interface built by the tkinter module. After the tester confirms that it is correct, click the "Confirm" button to enter the parameter detection and data storage process;
[0074] The system will automatically create a corresponding data folder named with the number in the local specified path (such as D:\data) as the basis for test data archiving and subsequent analysis.
[0075] In this way, the control storage unit 1 can realize the rapid and accurate collection of battery sample numbers, effectively avoid errors that may be caused by manual input, and improve the overall operating efficiency and automation level of the system.
[0076] In some specific embodiments, the control storage unit 1 implements folder and file creation, movement, deletion, and data organization by using Python's os module.
[0077] The control storage unit 1 uses the os module in the Python language to implement the creation, movement, and deletion of folders and files involved in the automated detection process, as well as the classification, organization, and storage of detection data. The specific implementation method is as follows:
[0078] After obtaining the battery system number, the control storage unit 1 automatically creates a sample data storage folder named with the number in the local specified path (such as D:\data) through the os.makedirs() function;
[0079] Before testing, to prevent temporary files from interfering with the results, the program uses the os.remove() function to clear the intermediate process files with the same name generated in historical tests.
[0080] After the test data is generated, the system can use functions such as os.rename() or shutil.move() to classify and archive CSV data files, screenshots, etc. into corresponding sample number folders according to preset rules;
[0081] The creation, naming, and hierarchical structure of all files are automatically controlled by the program to ensure that data files between different samples do not conflict or misplace;
[0082] In the subsequent data aggregation stage, the control storage unit 1 can traverse the existing data folder according to task requirements, and call functions such as os.listdir() and os.path.exists() to implement batch reading, screening and processing operations to ensure the consistency, integrity and traceability of the test data.
[0083] Through the above method, the control storage unit 1 realizes the unified naming and efficient management of data files in the whole process of sample detection, which greatly improves the informationization and standardization level of the detection process.
[0084] In some specific embodiments, the detection signal data includes battery system voltage, temperature, SOC, SOH, whether the relay is normally opened or closed, and CSV data.
[0085] The detection signal data includes various core information collected and generated by the battery system during the parameter detection process, specifically including:
[0086] Battery system voltage: including total voltage and single cell voltage, used to judge the working status and consistency of the battery system;
[0087] Battery system temperature: includes the temperature values of multiple temperature sampling points within the system, used to evaluate thermal management performance and operational safety;
[0088] SOC (State of Charge): The remaining battery charge state is a key parameter for evaluating the battery's available capacity;
[0089] SOH (State of Health): Battery health status, used to determine battery aging and remaining life;
[0090] Whether the relay opens and closes normally: used to judge whether the relay action in the control circuit meets expectations and ensure the power supply and signal on-off status are correct;
[0091] CSV data file: Contains the raw data records of the above test parameters, which are automatically saved by the system in .csv format for subsequent viewing, archiving and analysis.
[0092] All of the above signal data are automatically collected, saved, and organized by Python scripts during the detection process to ensure the comprehensiveness, accuracy, and traceability of the data.
[0093] In some specific embodiments, the signal conversion unit 2 further includes a programmable power supply 23 , and the programmable power supply 23 is used to electrically connect the control storage unit 1 and the signal conversion unit 2 .
[0094] The signal conversion unit 2 also includes a programmable power supply 23, which is electrically connected to the PC running the Python script via an RS232 or 485 interface to USB, forming a power supply and control link for the control storage unit 1 and the signal conversion unit 2. Its main functions include:
[0095] Electrical connection: The programmable power supply 23 is a prerequisite for system startup and parameter detection. It provides a stable and adjustable DC power supply voltage and is connected to the control storage unit 1 and the signal conversion unit 2 to ensure the normal operation of each unit module.
[0096] Automatic control: The serial.Serial() function in the pyserial module is called in Python to communicate with the power supply. The system can automatically adjust the output voltage, current, and start / stop status through the write() instruction to meet the various voltage excitation requirements (such as 8V, 13.5V, 16V, etc.) required for battery system testing.
[0097] Supports pre-charge and power pulse control: For some battery system samples that require pre-charge closure or low-voltage wake-up, the programmable power supply 23 can automatically change the supply voltage or output a specific voltage waveform according to the detection process (by combining the sleep() function to achieve square wave output), ensuring that the battery management system (BMS) is in a communicative state, thereby improving the compatibility and automation of detection.
[0098] As an important component of the signal conversion unit 2, the programmable power supply 23 not only realizes the automation of power supply control, but also ensures the flexible adaptation and stable operation of the entire system in different detection scenarios.
[0099] In some specific embodiments, the control storage unit 1 processes the detection signal data by using python's pandas and matplotlib tools.
[0100] The control storage unit 1 uses the pandas and matplotlib tools in the Python language to process and analyze the detection signal data. Its main functions include:
[0101] Data reading and processing: Use functions such as read_csv(), loc[], iloc[], groupby(), and mean() in the pandas module to read the CSV data files generated during the automated testing process, and classify, filter, and aggregate them based on fields such as sample number, test time, and measurement items to extract the characteristic values of core parameters such as voltage, temperature, SOC, and SOH;
[0102] Logical judgment and abnormality screening: By writing for loops and if conditional statements, logical judgment is performed on the collected signal data. For example, it can determine whether the total voltage is within the normal range after the relay is closed, whether the battery cell voltage difference exceeds the standard, whether the temperature difference is abnormal, whether the SOC and SOH are lower than the preset thresholds, etc. If there is abnormal data, the system will automatically mark it and prompt;
[0103] Data visualization: Call functions such as plot(), scatter(), and hist() in the matplotlib module to generate trend charts, scatter plots, or histograms for the test results, making it easier for testers to intuitively analyze sample performance.
[0104] Analysis result output: The analysis results can be displayed through a graphical interface pop-up window (combined with the tkinter module), or saved as report content in the data folder to support subsequent comparison and archiving.
[0105] Through the above processing method, the control storage unit 1 realizes an integrated automated process from data acquisition, processing to result display, which greatly improves the detection efficiency and the intelligent level of data analysis.
[0106] In some specific embodiments, the control storage unit 1 simulates mouse and keyboard operations by using the pyautogui module of python;
[0107] The control storage unit 1 performs a screenshot operation by using Python's PIL and stores the screenshot in a corresponding folder.
[0108] The control storage unit 1 also uses Python's pyautogui module and PIL module to realize the interface screenshot function during the host computer operation automation and detection process, as follows:
[0109] Automated host computer operation: By introducing the pyautogui module, the control storage unit 1 can simulate manual operation procedures on the host computer interface, including mouse movement and clicking (moveTo(), click()), keyboard input (write(), press()), and other functions. The program presets the operation procedures according to different battery system detection projects, and gradually executes actions such as interface button clicking, data refreshing, and command issuance to achieve fully automatic control of the host computer, replacing manual operation and improving operational consistency and execution efficiency.
[0110] Graphical Interface Screenshot Saving: During parameter testing, to preserve the graphical data records of the host computer, control storage unit 1 calls the ImageGrab module in the Python Imaging Library (PIL) to implement a screenshot function. The program uses the ImageGrab.grab() function to grab the current screen display and uses the save() function to save the screenshot image to the folder corresponding to the sample number. File naming can combine the sample number and timestamp to ensure complete and orderly data archiving.
[0111] Through the combination of pyautogui and PIL modules, the control storage unit 1 realizes the interface operation automation and image information archiving function of the detection process, providing the system with more comprehensive detection data support and visual recording means.
[0112] In some specific embodiments, combined Figure 4 , implementation case:
[0113] In response to the testing requirements of the XXX project, the system needs to perform a complete parameter check on the sample battery 32 system before and after each test. The specific requirements and execution steps of the testing process are as follows:
[0114] Multi-voltage excitation test: During the test, three different voltages, 8V, 13.5V, and 16V, are applied to the low-voltage power supply end of the battery system in sequence to simulate the startup and operation status of the battery system in different working scenarios;
[0115] Automatic power-on operation: The host computer automatically executes the battery system power-on process by simulating mouse and keyboard operations, and monitors the relay closing status to ensure that the system enters the communication detection state;
[0116] Data acquisition and image recording: After the relay is closed, the system automatically collects the current voltage, temperature, SOC, SOH and other parameters of the battery system, generates and saves the data.csv data file, and calls the screenshot function to capture the image of the host computer interface and save it as a picture file;
[0117] Cyclic execution mechanism: The above test process will be executed three times in a cycle, each time corresponding to a different power supply voltage condition, to ensure that the performance data of the battery system under different stimulation conditions are fully recorded;
[0118] Data archiving management: All test data (CSV files and screenshots) will be stored in a folder named after the battery sample number. The naming convention is unified to facilitate subsequent query, comparison and analysis.
[0119] In some embodiments, a Python-based automated battery system parameter detection method is proposed, including:
[0120] Obtaining the serial number of the sample battery 32 through the signal conversion unit 2;
[0121] The control storage unit 1 obtains the serial number of the sample battery 32 through the signal conversion unit 2;
[0122] The control storage unit 1 determines whether the input number of the sample battery 32 is incorrect and prompts the test to be canceled;
[0123] If everything is correct, create a folder corresponding to the battery unit number;
[0124] The control unit 12 stores the data of the detection signal data of the sample battery 32 in a corresponding folder;
[0125] Determine whether the data of the detection signal does not meet the threshold requirements. If not, an abnormality is prompted.
[0126] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0127] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0128] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present invention should be covered by the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A Python-based automated battery system parameter detection system, characterized in that: include: Control storage unit, signal conversion unit and sample battery unit; The control storage unit is connected to the sample unit via the conversion unit; The sample unit includes a battery BMS system and a sample battery, and detection signal data of the sample battery is obtained through the battery BMS system; The signal conversion unit is used to obtain the number of the sample battery cell and obtain the detection signal data of the sample battery; The control storage unit is used to obtain and store the number of the sample battery cell and the detection signal data of the sample battery through the signal conversion unit; The control storage unit includes a control unit and a storage unit; When the control unit obtains the number of the battery cell, it creates a folder corresponding to the number of the battery cell in the storage unit; The control unit obtains the detection signal data of the sample battery through the CAN communication device of the signal conversion unit and stores the data in a corresponding folder.
2. The Python-based automated battery system parameter detection system according to claim 1, characterized in that: The signal conversion unit obtains the serial number of the sample battery cell by scanning the sample battery cell with a barcode scanner, manually inputting the serial number, or selecting a pre-stored serial number.
3. The Python-based automated battery system parameter detection system according to claim 1, characterized in that: The control storage unit is implemented by using Python's pyserial+tkinter modules to create a graphical interface, by selecting either manual input or a pre-stored number selection.
4. The Python-based automated battery system parameter detection system according to claim 3, characterized in that: The control storage unit is connected to the barcode scanner via RS232 / 485 to USB, and is connected to the barcode scanner through the serial port driver using the serial.Serial() function of pyserial.
5. The Python-based automated battery system parameter detection system according to claim 1, characterized in that: The control storage unit uses Python's os module to create, move, delete folders and files, and organize data.
6. The Python-based automated battery system parameter detection system according to claim 1, characterized in that: The detection signal data includes battery system voltage, temperature, SOC, SOH, whether the relay is normally opened and closed, and CSV data.
7. The Python-based automated battery system parameter detection system according to claim 6, characterized in that: The signal conversion unit further includes a programmable power supply, and the programmable power supply is used to electrically connect the control storage unit and the signal conversion unit.
8. The Python-based automated battery system parameter detection system according to claim 6, characterized in that: The control storage unit processes the detection signal data by using python's pandas and matplotlib tools.
9. The Python-based automated battery system parameter detection system according to claim 6, characterized in that: The control storage unit simulates mouse and keyboard operations by using Python's pyautogui module; The control storage unit uses Python's PIL to perform screenshot operations and store them in the corresponding folder.
10. A Python-based automated battery system parameter detection method, characterized in that: include: Obtaining the serial number of the sample battery through the signal conversion unit; The control storage unit obtains the serial number of the sample battery through the signal conversion unit; The control storage unit determines whether the input sample battery number is incorrect and prompts the test to be canceled; If everything is correct, create a folder corresponding to the battery unit number; The control unit stores the data of the detection signal data of the sample battery into a corresponding folder; Determine whether the data of the detection signal does not meet the threshold requirements. If not, an abnormality is prompted.