Battery cell winding system and winding parameter collection method
By independently setting up trigger signal monitoring and data acquisition threads in the cell winding system, and using different time intervals to read winding signals and acquire parameters, the problem of excessive equipment resource consumption is solved, and more efficient parameter acquisition and storage are achieved.
Patent Information
- Application Number
- PCT/CN2024/113357
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-07
- Filing Date
- 2024-08-20
- Publication Date
- 2025-08-14
AI Technical Summary
Existing cell winding methods consume significant computing and communication resources during the winding process, impacting parameter acquisition rates.
By setting up independent trigger signal monitoring threads and data acquisition threads in the host computer, the winding start signal and winding parameters are read at different time intervals, reducing the occupation of equipment resources.
It effectively reduces the communication and computing resources required by the host computer and control device, and improves the acquisition rate and storage reliability of winding parameters.
Smart Images

Figure CN2024113357_14082025_PF_FP_ABST
Abstract
Description
Winding system of battery cell and method for collecting winding parameters
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on a Chinese patent application with application number 202410175584.X, application date February 7, 2024, and invention name “Winding system of battery cell and method for collecting winding parameters”, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into the present disclosure as a reference. Technical Field
[0003] The present disclosure relates to the field of battery technology, and in particular to a winding system for a battery cell and a method for collecting winding parameters. Background Art
[0004] Battery cell winding refers to the process of forming a battery cell by winding the positive and negative electrode materials, separators and other components of the battery cell. In the current battery cell winding related methods, usually after the winding starts, each time the battery cell winding parameters are read, the end signal is read again to determine whether the winding is completed. That is, the frequency of reading the winding start or end signal is the same as the frequency of parameter collection. This method is likely to occupy more device computing resources and communication resources, and the acquisition frequency required for parameter acquisition is relatively high, which will affect the acquisition rate of parameter acquisition.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a winding system for a battery cell and a method for collecting winding parameters, which can reduce the occupation of equipment resources and improve the winding parameter collection rate.
[0007] The technical solution of the embodiment of the present disclosure is implemented as follows:
[0008] In a first aspect, an embodiment of the present disclosure provides a winding system for a battery cell, comprising a host computer and a control device;
[0009] A control device for controlling the winding process and obtaining winding parameters;
[0010] The upper computer is used to obtain a first indication signal indicating whether winding has started from the control device at a first time interval, and when the first indication signal indicates that winding has started, obtain winding parameters from the control device at a second time interval and store them in a database until the winding is completed; wherein the first time interval is greater than the second time interval.
[0011] In this embodiment, the upper computer obtains a first indication signal from the control device at every first time interval to determine whether the control device has started to control the winding. If the first indication signal indicates the start of winding, the upper computer will start to obtain the winding parameters from the control device and store them in the database, that is, the thread that triggers the upper computer to start obtaining the winding parameters and the thread that obtains the winding parameters are independent of each other; and the time interval for obtaining the winding parameters is the second time interval, and the first time interval is greater than the second time interval, so that the frequency of the upper computer collecting the winding parameters is less than the frequency of the upper computer reading the first indication signal, thereby effectively reducing the occupation of communication resources and computing resources of the upper computer and the control device, thereby ensuring the collection rate of the winding parameters.
[0012] In some embodiments of the present disclosure, the host computer is further configured to determine that winding has started when the first indication signal is read as a first value.
[0013] In this embodiment, the host computer can determine whether the current control device starts controlling the winding by reading the value of the first indication signal, and can accurately determine whether the winding starts.
[0014] In some embodiments of the present disclosure, the host computer is also used to present the host computer main interface; wherein the host computer main interface includes a parameter configuration control; the host computer is also used to display the winding parameters in the parameter configuration data box in response to the triggering of the parameter configuration control.
[0015] In this embodiment, the host computer can present the host computer main interface and the parameter configuration control in the main interface, so that when the parameter configuration control is triggered, the winding parameters can be visualized.
[0016] In some embodiments of the present disclosure, the control device is also used to control the coding equipment to engrave the barcode into the battery cell and generate a virtual code for the battery cell after the winding is completed; and to record the barcode and the virtual code, as well as the mapping relationship between the barcode and the virtual code; wherein both the barcode and the virtual code can be associated with the battery cell.
[0017] In this embodiment, after the control device controls the winding machine's winding needle to complete winding the electrode and diaphragm, a battery cell will be obtained. The control device can then control the engraving device to engrave the barcode into the battery cell, generate the corresponding virtual code, and record the barcode and virtual code of the battery cell and the mapping relationship between the two, so that the battery cell can be associated with the barcode or virtual code to accurately identify the identity of the battery cell.
[0018] In some embodiments of the present disclosure, the host computer is also used to determine whether there are winding parameters in the database when the winding is completed; and when it is determined that there are winding parameters in the database, obtain the winding parameters from the database; and convert the winding parameters into a first comma-delimited file, store the first comma-delimited file in the database, and delete the winding parameters in the database.
[0019] In this embodiment, when the first indication signal read by the upper computer from the control device indicates that the winding is completed, the upper computer will determine whether the winding parameters currently exist in the database. If it is determined that the winding parameters exist, the upper computer will obtain the winding parameters from the database and convert them into a first comma-delimited file for storage. At the same time, the winding parameters in the database will be deleted so that the winding parameters will not be read from the database again and saved later, thereby avoiding repeated saving and improving the reliability of winding parameter saving.
[0020] In some embodiments of the present disclosure, the winding system also includes a conveyor belt and a barcode scanner; the host computer is further used to receive the barcode obtained by scanning the battery cell sent by the barcode scanner after the control device records the barcode and virtual code of the battery cell and the mapping relationship between the barcode and the virtual code, when the battery cell is unloaded onto the conveyor belt and the conveyor belt transports the battery cell to the barcode scanner; and when it is determined that the format of the barcode is correct, send the barcode to the control device.
[0021] In this embodiment, after the winding is completed and the battery cell is obtained, the battery cell will be unloaded onto a conveyor belt, and then the conveyor belt will transport the battery cell to a barcode scanner. The barcode scanner will scan the barcode on the battery cell and send the scanned barcode to the host computer. The host computer verifies whether the barcode format is correct. Only after confirming that the barcode format is correct will it be sent to the control device, effectively improving the accuracy of the subsequent control device in searching for the corresponding virtual code based on the battery cell barcode to achieve file storage.
[0022] In some embodiments of the present disclosure, the control device is further used to determine the virtual code corresponding to the barcode based on the mapping relationship after the host computer sends the barcode to the control device after determining that the format of the barcode is correct; and send the virtual code to the host computer; the host computer is also used to store the first comma-delimited file based on the virtual code.
[0023] In this embodiment, after receiving the barcode sent by the host computer, the control device can determine the virtual code corresponding to the barcode based on the mapping relationship between the barcode and the previously recorded barcode and virtual code, and send the virtual code to the host computer, so that the host computer stores the first comma-delimited file according to the virtual code, thereby improving the accuracy of file storage.
[0024] In some embodiments of the present disclosure, the host computer is further used to obtain a first comma-delimited file from a database and determine a file path of the first comma-delimited file; and to name the first comma-delimited file according to a virtual code and store the first comma-delimited file in the form of a dictionary; wherein the virtual code is a key corresponding to the dictionary and the file path is a value corresponding to the dictionary; the file path representation is used to find the file path of the first comma-delimited file.
[0025] In this embodiment, the host computer can first find the first comma-delimited file from the database and determine the file path to be found, and then use the virtual code to name the first comma-delimited file, and use the virtual code as the key of the dictionary and the file path as the corresponding value of the dictionary, thereby storing the first comma-delimited file in the form of a dictionary, thereby improving the reliability of the storage of the first comma-delimited file.
[0026] In some embodiments of the present disclosure, the host computer is further configured to search for a first comma-delimited file based on a file path; and change the name of the first comma-delimited file into a barcode.
[0027] In this embodiment, the host computer also needs to name the first comma-delimited file according to the barcode to achieve the binding of the winding parameters of the battery cell and the battery cell barcode.
[0028] In some embodiments of the present disclosure, the host computer is also used to fill the winding parameters into the data queue after obtaining the winding parameters; and perform a dequeue operation on the data queue to obtain a feedback result of the dequeue operation; and when the feedback result is not empty, save the winding parameters in the data queue to the database.
[0029] In this embodiment, after obtaining the winding parameters, the upper computer does not directly store the winding parameters in the database, but first fills the winding parameters into the data queue. Then, when performing a dequeue operation on the data queue, the winding parameters obtained after the dequeue operation will be saved to the database only if the feedback result of the dequeue operation is not empty. In this way, when the upper computer saves the data to the database, it only needs to perform an enqueue operation on the winding parameters first, and then save them in sequence according to the arrangement order of the data in the data queue, which greatly reduces the resource consumption of the upper computer and thus improves the efficiency of the upper computer in obtaining the winding parameters.
[0030] In some embodiments of the present disclosure, the host computer is further configured to, after performing a dequeue operation on the data queue and obtaining a feedback result of the dequeue operation, perform a dequeue operation on the data queue after waiting for a third time interval if the feedback result is empty.
[0031] In this embodiment, if the feedback result of the dequeue operation is empty, indicating that there is no data in the data queue, the host computer will wait for the third time interval before performing the dequeue operation, thereby reducing the occupation of host computer resources.
[0032] In a second aspect, an embodiment of the present disclosure provides a method for collecting winding parameters of a battery cell, which is applied to a winding system of a battery cell, wherein the winding system of the battery cell includes a host computer, a control device, and a winding machine; the method includes:
[0033] The host computer obtains a first indication signal from the control device at a first time interval; wherein the first indication signal is used to indicate whether winding has started;
[0034] When the first indication signal indicates that winding has started, the host computer obtains the winding parameters from the control device at every second time interval and stores them in the database until the winding is completed;
[0035] The first time interval is greater than the second time interval; and the winding parameters are obtained by the control device when controlling the winding process.
[0036] In this embodiment, the upper computer obtains a first indication signal from the control device at every first time interval to determine whether the control device has started to control the winding. If the first indication signal indicates the start of winding, the upper computer will start to obtain the winding parameters from the control device, that is, the thread that triggers the upper computer to start obtaining the winding parameters and the thread that obtains the winding parameters are independent of each other; and the time interval for obtaining the winding parameters is the second time interval, and the first time interval is greater than the second time interval, so that the frequency of the upper computer collecting the winding parameters is less than the frequency of the upper computer reading the first indication signal, thereby effectively reducing the occupancy of the communication resources and computing resources of the upper computer and the control device, thereby ensuring the acquisition rate of the winding parameters.
[0037] In some embodiments of the present disclosure, the method further includes:
[0038] The host computer presents the host computer main interface; wherein the host computer main interface includes parameter configuration controls;
[0039] The host computer responds to the triggering of the parameter configuration control and displays the winding parameters in the parameter configuration data frame.
[0040] In this embodiment, the host computer can present the host computer main interface, thereby responding to the triggering of the parameter configuration control in the host computer main interface to realize the visualization of the winding parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiments below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present disclosure. The same reference numerals are used throughout the accompanying drawings to represent the same components.
[0042] FIG1 is a schematic diagram of the first structure of a winding system for a battery cell according to an embodiment of the present disclosure;
[0043] FIG2 is a second schematic diagram of the structure of the winding system of the battery cell proposed in an embodiment of the present disclosure;
[0044] FIG3 is a third schematic diagram of the structure of the winding system of the battery cell proposed in an embodiment of the present disclosure;
[0045] FIG4 is a schematic diagram of winding according to an embodiment of the present disclosure;
[0046] FIG5 is a schematic diagram of the host computer main interface proposed in an embodiment of the present disclosure;
[0047] FIG6 is a schematic diagram of a first implementation flow of a method for collecting winding parameters of a battery cell according to an embodiment of the present disclosure;
[0048] FIG7 is a second schematic diagram of the implementation process of the method for collecting winding parameters of a battery cell proposed in an embodiment of the present disclosure;
[0049] FIG8 is a third schematic diagram of the implementation process of the method for collecting winding parameters of a battery cell proposed in an embodiment of the present disclosure;
[0050] FIG9 is a fourth schematic diagram of the implementation flow of the method for collecting winding parameters of a battery cell proposed in an embodiment of the present disclosure;
[0051] FIG10 is a fifth schematic diagram of the implementation flow of the method for collecting winding parameters of a battery cell proposed in an embodiment of the present disclosure;
[0052] FIG11 is a sixth schematic diagram of the implementation flow of the method for collecting winding parameters of a battery cell proposed in an embodiment of the present disclosure;
[0053] FIG12 is a seventh schematic diagram of the implementation flow of the method for collecting winding parameters of a battery cell proposed in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0054] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. It should be understood that the specific embodiments described herein are only used to explain the relevant applications and are not intended to limit such applications. It should also be noted that for ease of description, only the portions relevant to the relevant applications are shown in the drawings.
[0055] New energy batteries are increasingly being used in everyday life and industry. For example, battery-powered new energy vehicles are already widely used. Furthermore, batteries are increasingly being used in energy storage applications. New energy batteries are not only used in energy storage power systems such as hydropower, thermal, wind, and solar power stations, but are also widely used in electric vehicles such as electric bicycles, electric motorcycles, and electric vehicles, as well as in aerospace and other fields. As the application areas of power batteries continue to expand, their market demand is also growing. To address the problems existing in current methods for collecting winding parameters, the present disclosure provides a winding system and winding parameter collection method for a battery cell. A host computer can obtain a first indication signal from a control device at a first time interval to determine whether the control device has started controlling winding. If winding has been determined to have started, the host computer will then obtain winding parameters from the control device at a second time interval. Because the first time interval is greater than the second time interval, the frequency at which the host computer collects winding parameters is less than the frequency at which the host computer reads the first indication signal. This effectively reduces the use of communication and computing resources between the host computer and the control device, thereby improving the winding parameter collection rate.
[0056] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present disclosure.
[0057] The description of the system in the embodiment of the present disclosure is similar to the description of the method embodiment below, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the method embodiment, please refer to the description of the system embodiment of the present disclosure for understanding.
[0058] An embodiment of the present disclosure provides a winding system for a battery cell; as shown in Figure 1, the winding system 0 for the battery cell may include a host computer 1 and a control device 2; the host computer 1 can be used to obtain a first indication signal from the control device 2 at a first time interval; wherein the first indication signal is used to indicate whether winding has started; when the first indication signal indicates that winding has started, the host computer 1 obtains winding parameters from the control device 2 at a second time interval and stores them in a database until the winding is completed; wherein the first time interval is greater than the second time interval.
[0059] The host computer 1 is a computer system used to monitor and control industrial processes. It can monitor the status and parameters of industrial equipment in real time and remotely control the operation of the equipment through control commands. The host computer 1 can be a personal computer (PC) or a host computer, etc.
[0060] The control device 2 may be a programmable logic controller (PLC), which is a digital computer system used for industrial automation control and can control the operating status of industrial equipment according to pre-written programs and logic rules.
[0061] It should be noted that in the embodiments of the present disclosure, a battery cell may be the core component of a battery, and a battery may be assembled from one or more battery cells; a battery may be referred to as a battery cell; a battery cell refers to a basic unit that can realize the mutual conversion of chemical energy and electrical energy, and can be used to make a battery module or battery pack, thereby being used to supply power to an electrical device. A battery cell may be a secondary battery, which refers to a battery cell that can be recharged to activate the active material after the battery cell is discharged and can continue to be used. A battery cell may be a lithium-ion battery, a sodium-ion battery, a sodium-lithium-ion battery, a lithium metal battery, a sodium metal battery, a lithium-sulfur battery, a magnesium-ion battery, a nickel-metal hydride battery, a nickel-cadmium battery, a lead-acid battery, etc., and the embodiments of the present disclosure do not limit this.
[0062] In the embodiments of the present disclosure, the battery may also be a single physical module including one or more battery cells to provide higher voltage and capacity. When there are multiple battery cells, the multiple battery cells are connected in series, in parallel or in hybrid via a busbar.
[0063] It should be noted that, in the embodiment of the present disclosure, the winding process refers to the process in which the control device 2 controls the winding to wind the battery cell winding material to obtain the battery cell; the winding parameters represent the state parameters of the battery cell winding material during the winding process.
[0064] It should be noted that in the embodiments of the present disclosure, the battery cell winding material may include pole pieces and separators, and the pole pieces may include positive pole pieces and negative pole pieces; wherein the separator is used to separate the positive pole piece and the negative pole piece, while allowing the transmission of ions and playing the role of isolating the electrolyte.
[0065] It should be noted that in the embodiment of the present disclosure, a data acquisition thread and a trigger signal monitoring thread can be deployed in the upper computer 1; the data acquisition thread and the trigger signal monitoring thread run independently; wherein, the data acquisition thread can be used to read the winding parameters from the control device 2 when the winding starts; the trigger signal monitoring thread can be used to read the indication signal of whether the winding starts or ends from the control device 2.
[0066] In an embodiment of the present disclosure, when the host computer 1 runs the trigger signal monitoring thread, it can read the first indication signal from the control device 2 once every first time interval to determine whether winding has started.
[0067] It should be noted that, in the embodiments of the present disclosure, the specific value of the first time interval is not limited in the present disclosure; for example, the first time interval may be 20 ms.
[0068] In some embodiments of the present disclosure, the host computer 1 may also be configured to determine that winding has started when the first indication signal is read as a first value.
[0069] In some embodiments of the present disclosure, the first indication signal may be a winding start flag, and the winding start flag may be a Boolean variable (bool); wherein the flag is generally used to indicate whether a certain state or condition is satisfied, and correspondingly, the winding start flag may be used to indicate whether the state or condition for winding start is satisfied; for example, when the value of the winding start flag is true (true), it indicates that winding has started, and when the value of the winding start flag is false (false), it indicates that winding has not started.
[0070] It should be noted that, in the embodiment of the present disclosure, the first value may be true.
[0071] In some embodiments of the present disclosure, the host computer 1 may also be configured to determine that winding has not started when the first indication signal read is the second value.
[0072] It should be noted that, in the embodiment of the present disclosure, the second value may be false.
[0073] For example, when the winding start flag of the control device 2 is true, the host computer 1 can determine that winding has started after reading the value of the winding start flag from the control device 2. If the winding start flag is not true, for example, false, the host computer 1 can determine that winding has not started after reading the value of the winding start flag from the control device 2.
[0074] It should be noted that, in the embodiment of the present disclosure, the first time interval is greater than the second time interval.
[0075] In the embodiment of the present disclosure, the specific value of the second time interval is not limited in the present disclosure; for example, the second time interval may be 1 ms.
[0076] It should be noted that, in the embodiment of the present disclosure, when the host computer 1 runs the data acquisition thread, it can obtain the winding parameters from the control device 2 at every second time interval when the first indication signal indicates the start of winding.
[0077] In some embodiments of the present disclosure, the winding parameters may include tension parameters and deviation parameters; wherein the tension parameters may include the tension value of the battery cell winding material during the winding process; the deviation parameters may include the distance value of the battery cell winding material deviating from the reference position during the winding process.
[0078] It should be noted that, in the embodiment of the present disclosure, the deviation parameter may include distance values of multiple positions on the battery cell winding material deviating from respective corresponding reference positions during the winding process.
[0079] Exemplarily, the deviation parameter may include the distance value of each of the 7 positions on the battery core winding material deviating from the 7 reference positions corresponding to the 7 positions during the winding process; for example, the 7 positions on the diaphragm are preset as A, B, C, D, E, F, and G, and the reference positions corresponding to A, B, C, D, E, F, and G are represented as A1, B1, C1, D1, E1, F1, and G1 respectively; the deviation parameters of the diaphragm at a certain moment are: 0.3mm, 0.31mm, 0.29mm, 0.29mm, 0.3mm, 0.3mm, and 0mm; that is, It means that at this moment, the distance value of deviation between position A and reference position A1 is 0.3mm, the distance value of deviation between position B and reference position B1 is 0.31mm, the distance value of deviation between position C and reference position C1 is 0.29mm, the distance value of deviation between position D and reference position D1 is 0.29mm, the distance value of deviation between position E and reference position E1 is 0.3mm, the distance value of deviation between position F and reference position F1 is 0.3mm, and the distance value of deviation between position G and reference position G1 is 0mm, indicating that there is no deviation at position G.
[0080] For example, the winding parameters obtained by the upper computer 1 from the control device 2 at time t1 include the tension values of the pole piece and the diaphragm at time t1, and the distance values of the pole piece and the diaphragm deviating from the reference position at time t1; wherein, the tension value of the pole piece is 0.0726N, and the tension value of the diaphragm is 0.035N; the deviation parameters of the pole piece are 0.05mm, 0.05mm, 0.04mm, 0mm, 0.02mm, 0.02mm, 0.02mm; the deviation parameters of the diaphragm are 0mm, 0mm, 0.01mm, 0mm, 0.01mm, 0mm, 0mm.
[0081] In some embodiments of the present disclosure, the control device 2 can record the tension parameters and deviation parameters in real time during the winding process, and synchronize the tension parameters and deviation parameters into the tension parameter array and the deviation parameter array for the host computer 1 to read.
[0082] It should be noted that in the embodiment of the present disclosure, when the control device 2 starts to control the winding machine to perform winding, the winding start flag position will be set to true, and then the winding parameters will be updated in real time. When the winding is finished, the winding end flag position will be set to true, thereby ending the winding.
[0083] For example, the host computer 1 can read the winding start flag in the control device 2 every 20 ms, that is, obtain the first indication signal; when the winding start flag position is true, that is, when the first indication signal is the first value, the host computer 1 can set the internal data collection parameter to true; the data acquisition thread running on the host computer 1 can start to obtain the winding parameters in the control device 2 when it reads that the data collection parameter is true.
[0084] In some embodiments of the present disclosure, the data collection parameter can be a parameter shared between the trigger signal monitoring thread and the data acquisition thread. For example, the data collection parameter can be a flag, a sign or an identifier, or a Boolean type variable. When it is set to true, it indicates that the start condition is met and the data acquisition thread can start execution.
[0085] It can be understood that in the embodiment of the present disclosure, since the upper computer 1 obtains the winding parameters once every second time interval, the upper computer 1 will pause the second time interval after obtaining the winding parameters once; for example, when the second time interval is 1ms, the upper computer 1 determines that the winding starts according to the first indication signal, first obtains the winding parameters once, then waits for 1ms, and then obtains the winding parameters, and repeats this process until the winding is completed.
[0086] In an embodiment of the present disclosure, when the first indication signal indicates the start of winding, the host computer 1 can also be used to obtain a second indication signal from the control device 2 at every first time interval, wherein the second indication signal is used to indicate whether the winding is completed.
[0087] In some embodiments of the present disclosure, the second indication signal can be a winding end flag in the control device 2; when the second indication signal is the third value, the upper computer 1 can determine that the winding is ended; when the second indication signal is the fourth value, the upper computer 1 can determine that the winding is not ended.
[0088] It should be noted that, in the embodiment of the present disclosure, the third value may be true, and the fourth value may be false.
[0089] In some embodiments of the present disclosure, for the trigger signal monitoring thread, assuming that the first indication signal obtained by the upper computer 1 at a certain moment indicates the start of winding, the upper computer 1 can wait for the first time interval and then obtain the second indication signal from the control device 2 to determine whether the winding is completed.
[0090] For example, assuming that the winding start flag read by the upper computer 1 at a certain moment is true, that is, after determining that the winding has started, you can wait for 20ms (the first time interval) and then read the winding end flag of the control device 2. If the winding end flag is true, it can be determined that the winding is completed; if the winding end flag is false, it means that the winding has not ended and is still in progress. The upper computer 1 can continue to wait for 20ms and then read the value of the winding end flag from the control device 2.
[0091] In an embodiment of the present disclosure, the host computer 1 is deployed with a trigger signal monitoring thread and a data acquisition thread; when the host computer 1 runs the trigger signal monitoring thread, it can obtain a first indication signal from the control device 2 at every first time interval to determine whether the control device 2 has started to control the winding. If the first indication signal indicates the start of winding, the host computer will start to obtain the winding parameters from the control device to complete data acquisition, that is, the data acquisition thread and the trigger signal monitoring thread are independent of each other; and the time interval for obtaining the winding parameters is the second time interval, and the first time interval is greater than the second time interval, so that the frequency of the host computer 1 collecting the winding parameters is less than the frequency of the host computer 1 reading the first indication signal, thereby effectively reducing the occupancy of the communication resources and computing resources of the host computer 1 and the control device 2, thereby ensuring the acquisition rate of the winding parameters.
[0092] In an embodiment of the present disclosure, the upper computer 1 is also deployed with a database saving thread, which can be used to save the winding parameters to the database; when the upper computer 1 stores the winding parameters to the database, it can run the database saving thread. In this thread, the data storage operation is not directly executed, but the storage is completed based on the data queue.
[0093] In some embodiments of the present disclosure, after executing the data acquisition thread and obtaining the winding parameters, the host computer 1 may first enter the winding parameters into the data queue. For the database storage thread, the host computer 1 may perform a dequeue operation on the data queue and obtain feedback from the dequeue operation. If the feedback result is not empty, the winding parameters in the data queue are saved to the database.
[0094] It should be noted that, in the embodiment of the present disclosure, the database may be a memory database of the host computer 1 ; as shown in FIG2 , the host computer 1 may include a database 3 .
[0095] It should be noted that, in the embodiments of the present disclosure, a data queue is a data structure, and the data queue can adopt the first-in-first-out principle, that is, the element that first enters the queue is operated or popped out first; the data queue can include two basic operations, enqueue and dequeue; wherein, enqueue refers to inserting an element into the tail of the data queue, and dequeue refers to popping an element from the head of the queue and returning it, while moving the element position in the data queue forward.
[0096] In some embodiments of the present disclosure, the host computer 1 performs a dequeue operation on the data queue. After obtaining the feedback result of the dequeue operation, if the feedback result is empty, it can also be used to perform a dequeue operation on the data queue after waiting for a third time interval.
[0097] It should be noted that, in the embodiment of the present disclosure, the specific value of the third time interval is not limited in the present disclosure; for example, the third time interval may be 1 ms.
[0098] For example, when the upper computer 1 is running the data acquisition thread, each time the winding parameters are obtained and filled into the data queue, the next winding parameter acquisition can be executed; at the same time, the upper computer 1 runs the database saving thread and monitors the data queue in real time. Each time a dequeue operation is performed, it is determined whether the feedback result is empty. If it is empty, it means that there is no data in the data queue, and the next dequeue operation is performed after a pause of 1ms. If the feedback result is not empty, the winding parameters are saved to the database.
[0099] In the embodiment of the present disclosure, each time the upper computer 1 obtains the winding parameters, it can fill the winding parameters into the data queue, and thus store the winding parameters in the database through the data queue. This not only reduces the resource occupation of the upper computer 1, but also realizes the real-time storage of the winding parameters. Even if the device is powered off or other equipment is abnormal, the data in the database will not be lost. This can prevent the problem of winding parameter data being lost due to software or hardware abnormalities before the winding parameters are written to the comma-delimited file, thereby effectively improving the reliability and security of data storage.
[0100] In an embodiment of the present disclosure, as shown in FIG3 , the winding system further includes a coding device 4 , a conveyor belt 5 and a code scanning gun 6 .
[0101] In some embodiments of the present disclosure, a battery cell is obtained after winding is completed; when a battery cell is obtained, the control device 2 can be used to control the coding device 4 to engrave a barcode into the battery cell and generate a virtual code for the battery cell; then the control device 2 records the barcode and the virtual code, as well as the mapping relationship between the barcode and the virtual code; wherein both the barcode and the virtual code can be associated with the battery cell.
[0102] It should be noted that, in the embodiments of the present disclosure, the length of the barcode is not limited in the present disclosure, for example, the length of the barcode may be 24 bits; the virtual code may be an 8-bit string randomly generated by the control device 2 .
[0103] For example, the barcode of cell a may be 2309201937027w5, and the virtual code of cell a randomly generated by the control device 22 is p3437635; the barcode of cell b may be 010123456789012345678901, and the virtual code of cell b randomly generated by the control device 22 is abc12345.
[0104] It should be noted that in the embodiment of the present disclosure, the host computer 1 is also deployed with a data binding thread and a data saving thread. Similarly, the data binding thread and the data saving thread run independently; the data saving thread is used to store the winding parameters in a certain format, and the data binding thread is used to change the file name corresponding to the winding parameters into a barcode.
[0105] In some embodiments of the present disclosure, for the data saving thread, when the winding is completed, the upper computer 11 can be used to determine whether there are winding parameters in the database; when the upper computer 1 determines that there are winding parameters in the database, it obtains the winding parameters from the database; the upper computer 1 converts the winding parameters into a first comma-delimited file, stores the first comma-delimited file in the database, and deletes the winding parameters in the database.
[0106] It can be understood that, in the embodiment of the present disclosure, the situation in which winding is completed is the situation in which the second indication signal indicates the end of winding; for example, it may be the situation in which the second indication signal is the third value.
[0107] In an embodiment of the present disclosure, the host computer 1 may convert the winding parameters into a comma-separated document (CSV), that is, obtain a first comma-separated file.
[0108] It should be noted that, in the embodiment of the present disclosure, each time the upper computer 1 takes the winding parameters from the database and converts them into a comma-delimited file for storage, the original winding parameters in the database will be deleted; at the same time, the upper computer 1 will first determine whether there are winding parameters in the database each time, so when it is determined that there are no winding parameters, it means that the winding parameters have been stored in the form of a comma-delimited file, thereby avoiding the situation where the winding parameters are saved repeatedly and reducing the occupation of the resources of the upper computer 1.
[0109] In some embodiments of the present disclosure, after the control device 2 records the barcode and virtual code of the battery cell, as well as the mapping relationship between the barcode and the virtual code, the battery cell is unloaded onto a conveyor belt, and the conveyor belt conveys the battery cell to a barcode scanner; for the data binding code thread, the host computer 1 can receive the barcode obtained by scanning the battery cell sent by the barcode scanner; when the host computer 1 determines that the format of the barcode is correct, the barcode is sent to the control device 2.
[0110] For example, as shown in FIG4 , the control device can control the winding needle 31 to wind the pole pieces 711 and 712 and the diaphragms 721 and 722 to obtain battery cells, and then unload the battery cells to the placement position 51 in the conveyor belt 5, and then convey them by the conveyor belt 5 to the position of the barcode scanning gun 6 to realize barcode scanning.
[0111] In some embodiments of the present disclosure, after the host computer 1 determines that the format of the barcode is correct, it sends the barcode to the control device 2. The control device 2 can determine the virtual code corresponding to the barcode based on the mapping relationship; and send the virtual code to the host computer 1; so that the host computer 1 can store the first comma-delimited file based on the virtual code.
[0112] In some embodiments of the present disclosure, for a data binding thread, when the upper computer 1 stores the first comma-delimited file based on the virtual code, it can obtain the first comma-delimited file from the database and determine the file path of the first comma-delimited file; wherein the file path representation is used to find the file path of the first comma-delimited file; the upper computer 1 names the first comma-delimited file according to the virtual code, and stores the first comma-delimited file in the form of a dictionary; wherein the virtual code is the key corresponding to the dictionary, and the file path is the value corresponding to the dictionary.
[0113] It should be noted that, in the embodiments of the present disclosure, the key and value of the dictionary are the two basic elements that make up the dictionary; the key is a unique identifier in the dictionary, similar to the index of the dictionary, which plays a role in searching in the dictionary; the value is the information associated with each key. In the dictionary, by pairing the key and the value, fast search and data storage can be achieved.
[0114] In some embodiments of the present disclosure, the host computer 1 may be configured to obtain a first comma-delimited file based on a file path search; and change the name of the first comma-delimited file to a barcode, thereby terminating the data binding thread.
[0115] It should be noted that in the current relevant winding process, the parameter file of the battery cell is named by the current time, and then the file is searched according to the winding time of the battery cell, which increases the difficulty of tracing the winding parameters and the query time. In addition, if there is a problem with the software or equipment before the winding parameters are saved to the local file, the winding parameters of the battery cell will be lost, and the method of saving the winding parameters to the file every time they are read will result in the situation where the file writing efficiency is lower than the data acquisition efficiency; in the embodiment of the present disclosure, through the setting of barcodes and virtual codes, the control device 2 can accurately identify the identity of the battery cell according to the barcode or virtual code; and then after the control device 2 receives the barcode sent by the host computer 1, it can determine the virtual code corresponding to the barcode according to the barcode, and send the virtual code to the host computer 1, so that the host computer 1 can determine the virtual code corresponding to the barcode according to the virtual code. The code stores the first comma-delimited file, which can improve the accuracy of file storage; and, when the upper computer 1 stores the first comma-delimited file corresponding to the winding parameters, it stores the first comma-delimited file in the form of a dictionary, which can improve the reliability of the winding parameter storage, and subsequently can realize fast data search based on the key and value of the dictionary; furthermore, the present disclosure realizes real-time storage of the winding parameters in the database based on the data queue, and realizes persistent storage of the winding parameters in the database. Even if there is a problem with the software or equipment, the winding parameters in the database will not be lost, which effectively improves the reliability of the winding parameter storage.
[0116] In some embodiments of the present disclosure, the host computer 1 can also be used to present the host computer main interface; wherein the host computer main interface includes a parameter configuration control; the host computer 1 can also be used to display the winding parameters in the parameter configuration data box in response to the triggering of the parameter configuration control.
[0117] Exemplarily, as shown in Figure 5, the host computer 1 can be used to present the host computer main interface 111; the host computer main interface 111 may include a parameter configuration control 1111, and the host computer 1 can display the winding parameters in the parameter configuration data box 1112 in response to the triggering of the parameter configuration control 1111; for example, the parameter configuration data box 1112 includes a parameter name data box 11121 and a parameter information data box 11122, wherein the parameter name data box 11121 can be used to display the parameter name, such as the tension parameter of the positive electrode sheet, the tension parameter of the negative electrode sheet, the tension parameter of the diaphragm, the deviation parameter of the positive electrode sheet, the deviation parameter of the negative electrode sheet, and the deviation parameter of the diaphragm; the parameter information data box 11122 can be used to display parameter information corresponding to the parameter name, for example, corresponding to the tension parameter of the positive electrode sheet, the parameter information data box 11122 can display the tension value of the positive electrode sheet.
[0118] It can be seen that in the embodiment of the present disclosure, the upper computer 1 presents the main interface of the upper computer 1 and the parameter configuration controls in the main interface, so that when the parameter configuration controls are triggered, the winding parameters can be visualized, thereby improving the intelligence of the winding system of the battery cell.
[0119] Based on the above embodiment, in another embodiment of the present disclosure, a method for collecting winding parameters of a battery cell is provided, which is applied to a winding system of a battery cell. As shown in FIG6 , the method for collecting winding parameters of a battery cell performed by the winding system of the battery cell may include the following steps:
[0120] Step 101: The host computer obtains a first indication signal from the control device at every first time interval.
[0121] In an embodiment of the present disclosure, the host computer may obtain the first indication signal from the control device at every first time interval.
[0122] It should be noted that, in the embodiment of the present disclosure, the first indication signal is used to indicate whether winding has started.
[0123] It should be noted that, in the embodiments of the present disclosure, the specific value of the first time interval is not limited in the present disclosure; for example, the first time interval may be 20 ms.
[0124] It should be noted that, in the embodiment of the present disclosure, the first indication signal may be a winding start flag.
[0125] Step 102 : When the first indication signal indicates that winding has started, the host computer obtains winding parameters from the control device at second time intervals and stores the parameters in the database until the winding is completed.
[0126] In an embodiment of the present disclosure, after the upper computer obtains the first indication signal from the control device at every first time interval, it can obtain the winding parameters of the winding machine from the control device at every second time interval and store them in the database until the winding is completed when the first indication signal indicates the start of winding.
[0127] It should be noted that, in the embodiment of the present disclosure, the first time interval is greater than the second time interval; the specific value of the second time interval is not limited in the present disclosure; for example, the second time interval may be 1 ms.
[0128] It should be noted that, in the embodiment of the present disclosure, the winding parameters are obtained by the control device when controlling the winding process.
[0129] In some embodiments of the present disclosure, the host computer determines that winding starts when reading that the first indication signal is a first value.
[0130] In some embodiments of the present disclosure, the winding parameters include tension parameters and deviation parameters; wherein the tension parameters include the tension value of the battery cell winding material during the winding process; the deviation parameters include the distance value of the battery cell winding material deviating from the reference position during the winding process.
[0131] In some embodiments of the present disclosure, the host computer may present a host computer main interface, wherein the host computer main interface includes a parameter configuration control; the host computer may display the winding parameters in the parameter configuration data box in response to triggering of the parameter configuration control.
[0132] In some embodiments of the present disclosure, the control device can control the coding equipment to engrave the barcode into the battery cell and generate a virtual code for the battery cell after the winding is completed; and record the mapping relationship between the barcode, the virtual code, and the barcode and the virtual code; wherein both the barcode and the virtual code can be associated with the battery cell.
[0133] The upper computer can also determine whether there are winding parameters in the database when the winding is completed; and when it is determined that there are winding parameters in the database, obtain the winding parameters from the database; and convert the winding parameters into a first comma-delimited file, store the first comma-delimited file in the database, and delete the winding parameters in the database.
[0134] The host computer can also receive the barcode obtained by scanning the battery cell sent by the barcode scanner after the control device records the barcode and virtual code of the battery cell and the mapping relationship between the barcode and the virtual code, when the battery cell is unloaded onto the conveyor belt and the conveyor belt conveys the battery cell to the barcode scanner; and when it is determined that the format of the barcode is correct, send the barcode to the control device.
[0135] The control device may also determine a virtual code corresponding to the barcode based on the mapping relationship after the host computer determines that the format of the barcode is correct and sends the barcode to the control device; and send the virtual code to the host computer;
[0136] The host computer may store the first comma-delimited file based on the virtual code.
[0137] The host computer can obtain the first comma-delimited file from the database and determine the file path of the first comma-delimited file; and name the first comma-delimited file according to the virtual code, and store the first comma-delimited file in the form of a dictionary; wherein the virtual code is the key corresponding to the dictionary, and the file path is the value corresponding to the dictionary; the file path representation is used to find the file path of the first comma-delimited file.
[0138] The host computer can search for the first comma-delimited file based on the file path, and change the name of the first comma-delimited file to a barcode.
[0139] After obtaining the winding parameters, the host computer can fill the winding parameters into the data queue; perform a dequeue operation on the data queue to obtain a feedback result of the dequeue operation; and save the winding parameters in the data queue to the database when the feedback result is not empty.
[0140] The host computer may perform a dequeue operation on the data queue, obtain a feedback result of the dequeue operation, and then, if the feedback result is empty, perform a dequeue operation on the data queue after waiting for a third time interval.
[0141] In this embodiment, a method for collecting winding parameters of a battery cell is proposed, whereby the host computer can obtain a first indication signal from the control device at every first time interval to determine whether the control device has started controlling the winding. If the first indication signal indicates the start of winding, the host computer will start to obtain the winding parameters from the control device, that is, the thread that triggers the host computer to start obtaining the winding parameters and the thread that obtains the winding parameters are independent of each other; and the time interval for obtaining the winding parameters is a second time interval, and the first time interval is greater than the second time interval, so that the frequency of the host computer collecting the winding parameters is less than the frequency of the upper computer reading the first indication signal, thereby effectively reducing the occupation of communication resources and computing resources of the host computer and the control device, thereby ensuring the collection rate of the winding parameters.
[0142] Based on the above embodiment, in another embodiment of the present disclosure, illustratively, the first indication signal is a winding start flag, the second indication signal is a winding end flag, the first time interval is 20ms, and the second time interval is 1ms; as shown in FIG7 , the process of the host computer running the trigger signal monitoring thread may include the following steps:
[0143] Step 201: Read the winding start flag in the control device.
[0144] In this embodiment, for the trigger signal monitoring thread, the host computer may read the winding start flag every 20 ms (first time interval).
[0145] Step 202: Determine whether the winding start flag is true.
[0146] In this embodiment, if the winding start flag is true, it is determined that the winding has started, and step 203 can be executed; if the winding start flag is not true, it means that the winding has not started, and step 204 can be executed.
[0147] Step 203: Set the data collection parameter to true.
[0148] In this embodiment, the data collection parameter is set to true, so that the data acquisition thread reads that the data collection parameter is true and can start to obtain the winding parameters in the control device.
[0149] Step 204: Sleep for 20ms.
[0150] Step 205: Read the winding end flag in the control device.
[0151] In this embodiment, after the host computer determines that the winding start flag is true, it can wait for 20ms and then read the winding end flag in the control device.
[0152] Step 206: Determine whether the winding end flag is true.
[0153] In this embodiment, if the winding end flag is true, step 207 is executed, and after waiting for 20ms, step 201 is executed again; if the winding end flag is not true, the sleep time continues to be 20ms.
[0154] Step 207: Set the data collection parameter to false.
[0155] For example, as shown in FIG8 , the process of the host computer running the data acquisition thread may include the following steps:
[0156] Step 211: Obtain data collection parameters.
[0157] Step 212: Determine whether the receiving parameter is true.
[0158] In this embodiment, for the data acquisition thread, the host computer can read the data collection parameters in real time to determine whether the data collection parameters are true; if the determination is true, step 213 is executed; otherwise, step 214 is executed.
[0159] Step 213: Obtain winding parameters.
[0160] In this embodiment, after obtaining the winding parameters, the host computer may fill the winding parameters into a data queue, thereby storing the winding parameters in a database based on the data queue.
[0161] Step 214: Sleep for 1ms.
[0162] In the embodiments of the present disclosure, the reading frequency required for reading the winding start flag and the winding end flag is different from the collection frequency for obtaining the winding parameters. This is because the reading frequency required for reading the winding start flag and the winding end flag does not need to be too high, while the collection frequency for obtaining the winding parameters needs to be as high as possible to meet the needs; therefore, the present disclosure does not read the winding start flag and the winding end flag after each winding parameter collection. The trigger signal monitoring thread runs in a loop at an interval of 20ms, and the data collection thread runs in a loop at an interval of 1ms. The collection frequency of the tension parameters and the deviation parameters is increased to more than 100 groups per second, which can ensure the real-time nature of the tension parameters and the deviation parameters, reduce data errors, make the data more complete, and facilitate traceability; it can also improve the efficiency of winding parameter collection while reducing equipment resource usage.
[0163] For example, as shown in FIG9 , the host computer is deployed with a data acquisition thread 11 and a trigger signal monitoring thread 12. The host computer and the control device jointly execute a method for collecting winding parameters, which may include the following steps:
[0164] Step 221: The control device starts winding and sets the winding start flag position to true.
[0165] Step 222: The host computer reads the winding start flag.
[0166] In this embodiment, the host computer reads the winding start flag bit, which means that the host computer obtains the first indication signal.
[0167] Step 223: The host computer determines whether the winding start flag is true.
[0168] In this embodiment, when the host computer determines that the winding start flag is true, it executes step 224; when it determines that the winding start flag is not true, it executes step 225.
[0169] Step 224: Set the receive parameter to true.
[0170] In this embodiment, when the host computer determines that the winding start flag is true, the collection parameter can be set to true.
[0171] Step 225: Pause for 20ms.
[0172] Step 226: The control device updates the winding parameters in real time.
[0173] In this embodiment, the control device executes step 226 after step 221 .
[0174] Step 227: Winding is completed, and the control device sets the winding end flag position to true.
[0175] Step 228: The thread is paused for 20ms.
[0176] In this embodiment, after step 224 , the host computer may execute step 228 .
[0177] Step 229: The host computer reads the winding end flag.
[0178] Step 230: Determine whether the winding end flag is true.
[0179] In this embodiment, the host computer executes step 231 when it is determined that the winding end flag is true, and executes step 232 when it is determined that the winding end flag is not true.
[0180] Step 231: Set the data collection parameter to false.
[0181] Step 232: Pause for 20ms.
[0182] In this embodiment, after determining that the winding end flag is not true, the host computer may wait for another 20 ms and then continue to execute step 229 .
[0183] Step 233: Store the collection parameters.
[0184] In this embodiment, the host computer may execute step 233 after step 224 and step 231 to obtain the stored data collection parameters for reading by the data collection thread.
[0185] Step 234: Read the data collection parameters.
[0186] In this embodiment, when the host computer runs the data acquisition thread, it can read the data collection parameters from the data collection parameters stored in the memory.
[0187] Step 235: Determine whether the receiving parameter is true.
[0188] In this embodiment, if the number collection parameter is true, the host computer can obtain the winding parameters updated in real time by the control device, that is, execute step 236; if the number collection parameter is not true, execute step 237, and read the number collection parameter in the memory again after a pause of 1ms.
[0189] Step 236: Obtain winding parameters.
[0190] Step 237: The thread pauses for 1ms.
[0191] Thus, in this embodiment, after the trigger signal monitoring thread begins execution, it reads the winding start flag from the control device every 20ms (first time interval) to determine whether winding has started. When winding has started, the collection parameter is set to true. It then begins reading the winding end flag from the control device every 20ms to determine whether winding has ended. When the winding end flag is true, the collection parameter is set to false, and the winding start flag is read again, repeating this cycle. After the data acquisition thread begins execution, it retrieves the collection parameter from the memory and determines whether it is true. If the collection parameter is true, the winding parameter is retrieved from the control device. If the collection parameter is false, the winding parameter is not retrieved. To prevent excessive CPU usage due to unreleasable resources, a thread sleep duration of 1ms (second time interval) is set, causing the data acquisition thread to pause for 1ms before continuing to acquire the winding parameter. The control device can control the rotation of the winding needle of the winding machine, and at the same time set the winding start flag position to true, and then synchronize the real-time updated winding parameters, such as deviation parameters and tension parameters, to the tension parameter array and deviation parameter array for the host computer to obtain; when the control device controls the winding needle to stop rotating, the winding end flag position is set to true, and the tension parameter and deviation parameter can be set to the default value.
[0192] For example, as shown in FIG10 , the process of the host computer running the data saving thread and the data binding thread may include the following steps:
[0193] Step 301: Start the program.
[0194] Step 302: The host computer determines whether the data collection parameter is false.
[0195] In this embodiment, the host computer may start the data saving thread and execute step 303 when determining that the data collection parameter is false, and not execute the subsequent process when determining that the data collection parameter is not false.
[0196] Step 303: Determine whether there are winding parameters in the memory.
[0197] In this embodiment, the winding parameters may be stored in an in-memory database.
[0198] Step 304: Store the winding parameters in a CSV file and delete the winding parameters from the memory.
[0199] In this embodiment, if step 303 determines that there are winding parameters in the memory, step 304 is executed.
[0200] In this embodiment, the CSV file may be named according to the virtual code.
[0201] Step 305: Determine whether a barcode exists and whether the barcode format is correct.
[0202] In this embodiment, when the barcode scanner scans a barcode, a data binding thread is started. In the data binding thread, the host computer can determine whether a barcode exists and whether the barcode format is correct. If a barcode exists and the barcode format is correct, step 306 is executed. If a barcode does not exist or the barcode format is incorrect, the data binding thread is exited.
[0203] Step 306: Read the virtual code.
[0204] In this embodiment, the host computer can read the virtual code from the control device.
[0205] Step 307: Determine whether there is a file named with a virtual code in the CSV file.
[0206] In this embodiment, if there is a CSV file named with a virtual code, step 308 is executed; otherwise, the barcode is received again to execute step 305.
[0207] Step 308: Change the name of the CSV file to barcode.
[0208] In the embodiment of the present disclosure, for the data saving thread, when the number collection parameter is set to false, it indicates that the winding is completed. At this time, it can be determined whether there is a winding parameter in the memory. If so, the winding parameter is written into the CSV file for storage. At the same time, the virtual code is read, the virtual code is placed in the memory collection, and the CSV file is named with the virtual code; for the data binding code thread, it can be determined whether there is a barcode first. After the barcode is sent by the barcode scanner, it can be determined whether the barcode format is correct, and then the virtual code flag in the control device can be read to obtain the virtual code, the CSV file named with the virtual code can be found, and the CSV file can be renamed to the barcode.
[0209] In an embodiment of the present disclosure, as shown in FIG11 , a host computer is deployed with a data saving thread 13 and a data binding thread 14. The host computer and the control device jointly execute a winding parameter collection method that may include the following steps:
[0210] Step 311: The host computer determines whether there are winding parameters in the memory.
[0211] In this embodiment, the host computer can determine whether there are winding parameters in the database in the memory; if there are winding parameters, step 312 is executed; if not, the data saving thread is exited.
[0212] Step 312: Write the winding parameters into a CSV file.
[0213] Step 313: Obtain a virtual code from the control device.
[0214] Step 314: Name the CSV file with a virtual code.
[0215] Step 315: Store the CSV file in dictionary form.
[0216] In this embodiment, the virtual code and the file path may be stored in a dictionary, wherein the virtual code serves as a key and the file path serves as a value.
[0217] Step 316: Determine whether a barcode exists and whether the barcode format is correct.
[0218] In this embodiment, if the barcode exists and the barcode format is correct, step 317 is executed, otherwise the data binding thread is exited.
[0219] In this embodiment, the barcode is obtained by a barcode scanner through scanning the battery cell and then transmitted to the host computer.
[0220] Step 317: Write the barcode into the control device.
[0221] Step 318: Read the virtual code from the control device.
[0222] Step 319: Determine the file path from the dictionary, find the CSV file through the file path, and change the CSV file name to a barcode.
[0223] Step 320: The control device generates a virtual code.
[0224] In this embodiment, after the winding is completed to obtain the battery cell, when the program starts, the control device can generate a unique virtual code corresponding to the battery cell.
[0225] Step 321: Control the coding device to engrave the barcode on the battery cell and record the mapping relationship between the barcode and the virtual code.
[0226] In this embodiment, after the control device completes the code engraving and the recording of the mapping relationship between the barcode and the virtual code, the process may end.
[0227] Step 322: Receive the barcode sent by the host computer.
[0228] In this embodiment, the control device can receive a barcode sent by the host computer.
[0229] Step 323: Find the virtual barcode corresponding to the barcode and assign a virtual barcode feedback flag.
[0230] In this embodiment, after receiving the barcode, the control device can find the virtual barcode corresponding to the barcode and assign a virtual barcode feedback flag, so that the host computer can obtain the virtual barcode based on the virtual barcode feedback flag when executing the data binding thread.
[0231] It should be noted that in the disclosed embodiments, after the control device controls the winding needle to complete winding, it unloads the battery cell onto the conveyor belt. The conveyor belt then transports the battery cell to the barcode scanner, where it is scanned, completing the winding process. During this process, there may be several battery cells between the time the winding needle completes winding and the time the battery cell reaches the barcode scanner, which could cause interference, such as when the battery cell is taken out or put in. Therefore, a virtual code is required as a unique identifier for the battery cell during this process.
[0232] In the embodiment of the present disclosure, the host computer may also be deployed with a database saving thread.
[0233] For example, as shown in FIG12 , the data acquisition thread 11 and the database storage thread 15 of the host computer may include the following steps:
[0234] Step 401: The host computer obtains winding parameters.
[0235] Step 402: Fill the winding parameters into the data queue.
[0236] Step 403: The host computer performs a dequeue operation on the data queue.
[0237] Step 404: Determine whether the feedback result of the dequeue operation is empty.
[0238] In this embodiment, if the feedback result is not empty, that is, the data queue has data, step 405 is executed, for example, the winding parameters are stored in the database; if the feedback result is empty, step 403 is executed again.
[0239] Step 405: Store the data in the database.
[0240] It should be noted that in the embodiment of the present disclosure, when the upper computer is running the data acquisition thread, each time after obtaining the winding parameters, the winding parameters are first filled into the data queue without performing any other operations. At the same time, the upper computer runs the database saving thread to save the data in the order in which the data is filled into the data queue.
[0241] For example, the host computer performs the queuing operation by running the data acquisition thread while also running the database preservation thread to perform the dequeuing operation on the data queue, thereby storing the data in the data queue in sequence. This method consumes very little resources of the host computer and also improves the rate at which the data acquisition thread obtains winding parameters.
[0242] In this embodiment, the upper computer obtains a first indication signal from the control device at every first time interval to determine whether the control device has started to control the winding, that is, to perform winding. If the first indication signal indicates the start of winding, the upper computer will start to obtain the winding parameters from the control device, that is, the thread that triggers the upper computer to start obtaining the winding parameters and the thread that obtains the winding parameters are independent of each other; and the time interval for obtaining the winding parameters is the second time interval, and the first time interval is greater than the second time interval, so that the frequency of the upper computer collecting the winding parameters is less than the frequency of the upper computer reading the first indication signal, thereby effectively reducing the occupation of communication resources and computing resources of the upper computer and the control device, thereby ensuring the acquisition rate of the winding parameters.
[0243] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware.
[0244] The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the scope of protection of the present disclosure.
Claims
1. A battery cell winding system, comprising a host computer and a control device; The control device is used to control the winding process and obtain winding parameters; The host computer is configured to obtain a first indication signal from the control device at a first time interval indicating whether winding has started, and, when the first indication signal indicates that winding has started, obtain the winding parameters from the control device at a second time interval and store them in a database until winding is completed; wherein, The first time interval is greater than the second time interval.
2. The winding system of the battery cell according to claim 1, wherein: The host computer is further configured to determine that the winding starts when the first indication signal is read as a first value.
3. The winding system of the battery cell according to claim 1 or 2, wherein: The winding parameters include a tension parameter and a deviation parameter.
4. The winding system of the battery cell according to claim 3, wherein: The tension parameter includes the tension value of the battery core winding material during the winding process; The deviation parameter includes a distance value of the battery core winding material deviating from a reference position during the winding process.
5. The winding system of the battery cell according to any one of claims 1 to 4, wherein: The host computer is further used to present the host computer main interface; wherein the host computer main interface includes parameter configuration controls; The host computer is further configured to display the winding parameters in a parameter configuration data frame in response to triggering of the parameter configuration control.
6. The winding system of the battery cell according to any one of claims 1 to 5, wherein: The winding system also includes a coding device; The control device is also used to control the coding equipment to engrave the barcode into the battery cell and generate a virtual code for the battery cell after the winding is completed; and record the barcode, the virtual code, and the mapping relationship between the barcode and the virtual code; wherein the barcode and the virtual code can both be associated with the battery cell.
7. The winding system of the battery cell according to claim 6, wherein: The host computer is also used to determine whether the winding parameters exist in the database when the winding is completed; and when it is determined that the winding parameters exist in the database, obtain the winding parameters from the database; and convert the winding parameters into a first comma-delimited file, store the first comma-delimited file in the database, and delete the winding parameters in the database.
8. The winding system of the battery cell according to claim 6, wherein: The winding system also includes a conveyor belt and a barcode scanning gun; The host computer is further configured to receive the barcode obtained by scanning the battery cell from the barcode scanner, after the control device records the barcode and the virtual code of the battery cell, as well as the mapping relationship between the barcode and the virtual code, when the battery cell is unloaded onto a conveyor belt and the conveyor belt conveys the battery cell to the barcode scanner; and when it is determined that the format of the barcode is correct, send the barcode to the control device.
9. The winding system of the battery cell according to claim 8, wherein: The control device is further configured to determine a virtual code corresponding to the barcode based on the mapping relationship after the host computer sends the barcode to the control device when determining that the format of the barcode is correct; and sending the virtual code to the host computer; The host computer is further configured to store the first comma-separated file based on the virtual code.
10. The winding system of the battery cell according to claim 9, wherein: The host computer is further used to obtain the first comma-delimited file from the database and determine the file path of the first comma-delimited file; and to name the first comma-delimited file according to the virtual code and store the first comma-delimited file in the form of a dictionary; wherein the virtual code is a key corresponding to the dictionary, and the file path is a value corresponding to the dictionary; the file path representation is used to find the file path of the first comma-delimited file.
11. The winding system of the battery cell according to claim 10, wherein: The host computer is further configured to search for the first comma-delimited file based on the file path; and change the name of the first comma-delimited file to the barcode.
12. The winding system of the battery cell according to any one of claims 1 to 7, wherein: The host computer is also used to fill the winding parameters into the data queue after obtaining the winding parameters; and perform a dequeue operation on the data queue to obtain a feedback result of the dequeue operation; and when the feedback result is not empty, save the winding parameters in the data queue to the database.
13. The winding system of the battery cell according to claim 12, wherein: The host computer is further configured to, after executing a dequeue operation on the data queue and obtaining a feedback result of the dequeue operation, execute a dequeue operation on the data queue after waiting for a third time interval if the feedback result is empty.
14. A method for collecting winding parameters of a battery cell, the method being applied to the battery cell winding system according to any one of claims 1 to 13, the battery cell winding system comprising a host computer and a control device; the method comprising: The host computer obtains a first indication signal from the control device at a first time interval; wherein the first indication signal is used to indicate whether winding has started; When the first indication signal indicates that winding has started, the host computer obtains winding parameters from the control device at second time intervals and stores them in a database until winding is completed; The first time interval is greater than the second time interval; and the winding parameters are obtained by the control device when controlling the winding process.
15. The method for collecting winding parameters of a battery cell according to claim 14, wherein: The method further comprises: The host computer presents a host computer main interface; wherein the host computer main interface includes parameter configuration controls; The host computer displays the winding parameters in the parameter configuration data frame in response to the triggering of the parameter configuration control.
16. The method for collecting winding parameters of a battery cell according to claim 14, wherein: The method further comprises: When the host computer reads that the first indication signal is a first value, it determines that the winding starts.
17. The method for collecting winding parameters of a battery cell according to any one of claims 14 to 16, wherein: The method further comprises: When the winding is completed and the battery cell is obtained, the control device controls the coding device to engrave a barcode on the battery cell and generate a virtual code for the battery cell; The control device records the barcode, the virtual code, and a mapping relationship between the barcode and the virtual code; wherein both the barcode and the virtual code can be associated with the battery cell.
18. The method for collecting winding parameters of a battery cell according to claim 17, wherein: The method further comprises: When the winding is completed, the host computer determines whether the winding parameters exist in the database; When the host computer determines that the winding parameters are present in the database, the host computer obtains the winding parameters from the database; The host computer converts the winding parameters into a first comma-delimited file, stores the first comma-delimited file in the database, and deletes the winding parameters in the database.
19. The method for collecting winding parameters of a battery cell according to claim 17 or 18, wherein: The method further comprises: When the battery cell is unloaded onto a conveyor belt and the conveyor belt conveys the battery cell to a barcode scanner, the host computer receives a barcode obtained by scanning the battery cell and sent by the barcode scanner; When the host computer determines that the format of the barcode is correct, the host computer sends the barcode to the control device.
20. The method for collecting winding parameters of a battery cell according to claim 19, wherein: The method further comprises: The control device determines a virtual code corresponding to the barcode based on the mapping relationship; The control device sends the virtual code to the host computer.
Citation Information
Patent Citations
Wound electrode assembly measuring method and device
CN116670885A
Cylindrical power laser winding machine integrated with mandrel feeding and winding functions
CN117276688A
Battery cell winding system and winding parameter acquisition method
CN117832648A
Cylindrical electrochemical cells and method of manufacture
US20160351966A1