Battery data acquisition system and acquisition method
By calculating the synchronization messages and timestamps of the data synchronization platform and data acquisition system, the problem of excessively long battery data acquisition time in existing energy storage systems has been solved, achieving efficient and synchronous battery data acquisition and supporting real-time safety detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- IND TECH RES INST
- Filing Date
- 2024-12-11
- Publication Date
- 2026-06-05
Smart Images

Figure CN122159990A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an acquisition technique, and more particularly to a battery data acquisition system and method. Background Technology
[0002] In current battery energy storage system operations, batteries may age or malfunction over time, posing risks such as overheating, fire, and explosion. Therefore, real-time data monitoring of devices such as cells, modules, and battery management systems (BMS) is crucial for preventing potential problems. Currently, energy storage systems typically only make rough assessments of the voltage and current of the entire battery cabinet to determine if it is overloaded. To further enhance the safety of energy storage systems, it is necessary to conduct more in-depth safety testing by continuously observing the current, voltage, and temperature changes of each individual cell.
[0003] Outlier analysis plays a crucial role in energy storage safety inspection when observing a large number of battery cells simultaneously. By establishing outlier analysis, potential anomalies or faults can be detected early, and emergency measures can be taken through early warning mechanisms. This involves calculating the median of data within a given interval, and then considering data points exceeding three standard deviations from the median as outliers or anomalies. Time synchronization of the data ensures the accuracy and consistency of the analysis, supporting timely warnings and rapid responses. For high-frequency data such as voltage and current, data acquisition synchronization is typically required to be within tens of milliseconds, or even milliseconds.
[0004] However, the current EMS system in energy storage projects uses a polling method to retrieve cell data, which takes several to tens of seconds to read all the cell data in the battery cabinet. This results in poor time synchronization between the data and fails to meet the synchronization requirements of battery safety testing data.
[0005] Therefore, the present invention provides a battery data acquisition system and method, which can enable existing energy storage systems to perform battery safety inspections, provide high sampling rate (up to millisecond level) and time-synchronized battery data, enable energy storage battery health inspection systems to perform real-time internal short circuit analysis, and reduce the time for the Energy Storage System (EMS) to read BMS battery data. Summary of the Invention
[0006] This invention provides a battery data acquisition system, including a data synchronization platform and a data acquisition system. The data synchronization platform is coupled to a Battery Management System (BMS) and is used to acquire corresponding battery data from the BMS. The data acquisition system is coupled to the data synchronization platform. The data synchronization platform is one of multiple data synchronization platforms coupled to the data acquisition system, and the battery management system is one of multiple battery management systems coupled to the data synchronization platform. The data acquisition system obtains multiple timestamps corresponding to the data synchronization platform based on the synchronization messages and responses transmitted between the data acquisition system and the data synchronization platform. It calculates the transmission delay and sending delay corresponding to the data synchronization platform based on these timestamps. It then calculates the acquisition delay corresponding to the data synchronization platform based on the transmission delay, sending delay, maximum transmission delay, and maximum sending delay, and sends the transmission delay and acquisition delay to the data synchronization platform. The maximum transmission delay and maximum sending delay are the largest among all transmission delays corresponding to all data synchronization platforms. The data synchronization platform further corrects its local system time based on the transmission delay, calculates the data acquisition time based on the local system time and acquisition delay, acquires battery data based on the data acquisition time, and periodically uploads the battery data to the data acquisition system.
[0007] In one embodiment of the present invention, the multiple timestamps include: a first timestamp when the data acquisition system sends a synchronization message to the data synchronization platform, a second timestamp when the data synchronization platform receives the synchronization message, a third timestamp when the data synchronization platform sends a synchronization message response to the data acquisition system in response to the synchronization message, and a fourth timestamp when the data acquisition system receives the synchronization message response.
[0008] In one embodiment of the present invention, before the data acquisition system sends a synchronization message to the data synchronization platform, the data acquisition system first synchronizes its time using a precise clock source.
[0009] In one embodiment of the present invention, when the local system time of the data synchronization platform is corrected and the battery data is uploaded to the data acquisition system for the first time, the data acquisition system calculates the time synchronization error based on the time when the battery data is received.
[0010] In one embodiment of the present invention, the data acquisition system sends a synchronization message to the data synchronization platform every time synchronization period, wherein the time synchronization period is calculated by the data acquisition system based on the time synchronization error requirement, the first time synchronization error after time synchronization, and the accuracy of the crystal oscillator of the data synchronization platform.
[0011] In one embodiment of the present invention, the data acquisition system includes a server thread and a client thread. The server thread is used to establish a connection with the server of each data synchronization platform, and sequentially send a synchronization message, a transmission delay, and an acquisition delay to the server of each data synchronization platform; the client thread is used to establish a connection with the client of each data synchronization platform, and receive the synchronization message response and battery data sent by the client of each data synchronization platform.
[0012] In one embodiment of the present invention, after the client thread receives the battery data uploaded by the client from each data synchronization platform and retrieved from the battery management system, it stores the battery data retrieved from each data synchronization platform in the database and the server respectively.
[0013] In one embodiment of the present invention, when the server of the data synchronization platform receives the synchronization message, it sends a synchronization message response to the data acquisition system through the client.
[0014] In one embodiment of the present invention, when the server of the data synchronization platform receives the transmission delay and the retrieval delay, it sets the local system time based on the transmission delay, sets the time for the first battery data retrieval based on the local system time and the retrieval delay, and periodically uploads the battery data to the client thread of the data retrieval system through the client.
[0015] In one embodiment of the present invention, each data synchronization platform is coupled to a different battery management system.
[0016] The present invention also provides a method for acquiring battery data, comprising: obtaining multiple timestamps corresponding to a data synchronization platform through a data acquisition system based on the synchronization messages and synchronization message responses transmitted between the data acquisition system and the data synchronization platform, wherein the data synchronization platform is one of multiple data synchronization platforms coupled to the data acquisition system; calculating the transmission delay and the sending delay corresponding to the data synchronization platform through the data acquisition system based on the multiple timestamps; calculating the acquisition delay corresponding to the data synchronization platform through the data acquisition system based on the transmission delay, the sending delay, the maximum transmission delay, and the maximum sending delay, and sending the transmission delay and the acquisition delay to the data synchronization platform, wherein the maximum transmission delay is the largest among the transmission delays corresponding to all data synchronization platforms, and the maximum sending delay is the largest among the sending delays corresponding to all data synchronization platforms; correcting the local system time of the data synchronization platform based on the transmission delay; calculating the data acquisition time through the data synchronization platform based on the local system time and the acquisition delay; and acquiring battery data through the data synchronization platform based on the data acquisition time, and periodically uploading the battery data to the data acquisition system.
[0017] Based on the above, the battery data acquisition system and method provided by this invention can change the original polling data acquisition method of the Energy Storage System (EMS) to automatic push from the battery cabinet to the EMS at the same time, thereby shortening the time gap of cell data acquisition. This provides existing energy storage systems with battery safety inspection applications, high sampling rate (down to millisecond level) and time-synchronized battery data, and allows energy storage battery health inspection systems to perform real-time internal short circuit analysis, reducing the time for the EMS to read BMS battery data. In addition, the technology is easy to implement and does not require changes to the existing EMS and BMS reading methods or the use of expensive hardware. Attached Figure Description
[0018] Figure 1 This is a schematic diagram illustrating a battery data acquisition system according to an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram illustrating data synchronization between a data acquisition system and a data synchronization platform in a battery data acquisition system according to an embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram illustrating transmission delay, transmission delay, maximum transmission delay, and maximum transmission delay according to an embodiment of the present invention;
[0021] Figure 4 This is a flowchart illustrating a method for acquiring battery data according to an embodiment of the present invention.
[0022] [Explanation of Symbols]
[0023] 1: Battery data acquisition system
[0024] 111, 112-116: Data Synchronization Platform
[0025] 111a: Server
[0026] 111b: Client
[0027] 111c: From clock
[0028] 12: Data Acquisition System
[0029] 12a: Server Thread
[0030] 12b: Client Thread
[0031] 12c: Master Clock
[0032] 12d: Database (DB)
[0033] 12e: Server
[0034] 3: Energy Storage Safety Inspection System
[0035] 4: Battery data acquisition methods
[0036] BMS1~BMS6: Battery Management System
[0037] d1, d n : fetching delay
[0038] msg1, msg2: School newspaper articles
[0039] msg1r, msg2r: Campus Times Response
[0040] R1, R n Data retrieval time
[0041] S201~S204, S210~S212, S411~S414, S421~S426: Steps
[0042] T: Time synchronization cycle
[0043] t 10 t 11 t 12 t 13 t 20 t 21 t 22 t 23 t 24 t 25 t 26 Timestamp
[0044] t l Local system time
[0045] δ1, δ2, δ n Transmission delay
[0046] Ω1, Ω2, Ω n Time axis deviation
[0047] δ max Maximum transmission delay
[0048] Sending delay
[0049] Maximum transmission delay Detailed Implementation
[0050] The following description will detail some exemplary embodiments of the present invention with reference to the accompanying drawings. Component symbols used in the following description, when appearing in different drawings, are considered to be the same or similar components. These exemplary embodiments are only a part of the present invention and do not disclose all possible implementations disclosed herein. More precisely, these exemplary embodiments are merely examples of the methods, apparatus, and systems within the scope of the present invention's patent applications.
[0051] Figure 1 This is a schematic diagram illustrating a battery data acquisition system 1 according to an embodiment of the present invention. The battery data acquisition system 1 includes data synchronization platforms 111-116 and a data acquisition system 12.
[0052] Each of the data synchronization platforms 111 to 116 is coupled to a battery management system (BMS) BMS1 to BMS6 to retrieve battery data from the battery management system BMS1 to BMS6 respectively. Figure 1 The data synchronization platforms 111-116 shown in the diagram illustrate that a plurality of data synchronization platforms can be set in the battery data acquisition system 1, and each data synchronization platform is coupled to a battery management system (BMS). In practice, the number of data synchronization platforms is not limited to this and can be configured according to the number of battery management systems (BMS). The data acquisition system 12 is coupled to each of the data synchronization platforms 111-116, and the data acquisition system 12 and each of the data synchronization platforms 111-116 can exchange information. Data synchronization platform 111 is one of the plurality of data synchronization platforms 111-116 coupled to the data acquisition system 12. Since the data transmission steps of each of the plurality of data synchronization platforms 111-116 are the same as those of the data acquisition system 12, for ease of explanation, only data synchronization platform 111 and data acquisition system 12 will be used as examples in the following description.
[0053] Figure 2 This is a schematic diagram illustrating data synchronization between a data acquisition system 12 and a data synchronization platform 111 in a battery data acquisition system 1 according to an embodiment of the present invention. Please also refer to... Figure 1 , 2 The data acquisition system 12 first synchronizes its main clock 12c with a precise clock source. Then, the data acquisition system 12 uses the synchronization message msg1 and the synchronization message response msg1r transmitted between the data acquisition system 12 and the data synchronization platform 111 to obtain multiple timestamps t corresponding to the data synchronization platform 111. 10 t 11 t 12 t 13 .
[0054] In detail, step S201 involves the data acquisition system 12 sending a synchronization message msg1 to the data synchronization platform 111 via a TCP socket. The timestamp when the data acquisition system 12 sends the synchronization message msg1 to the data synchronization platform 111 is timestamp t. 10 The timestamp when the data synchronization platform 111 receives the school time message msg1 is timestamp t. 11 Step S202 involves the data synchronization platform 111 responding to the time synchronization message msg1 by sending a time synchronization message response msg1r to the data acquisition system 12. The timestamp when the data synchronization platform 111 sends the time synchronization message response msg1r to the data acquisition system 12 in response to the time synchronization message msg1 is timestamp t. 12 The timestamp when the data acquisition system 12 receives the school time message response msg1r is timestamp t. 13 .
[0055] When the data acquisition system 12 obtains multiple timestamps t corresponding to the data synchronization platform 111 10 t 11 t 12 t 13 Then, based on multiple timestamps t 10 t 11 t 12 t 13 The transmission delay and sending delay corresponding to the data synchronization platform 111 are calculated. Specifically, the data acquisition system 12 calculates based on the timestamp t. 10 ~t 13 Calculate the transmission delay δ corresponding to data synchronization platform n. n and time axis deviation Ω n , where n is the sequence number of the data synchronization platform (n = 1, 2, 3, ...). For example: Data acquisition system 12, based on timestamp t... 10 ~t 13 The transmission delay δ1 and time axis deviation Ω1 corresponding to data synchronization platform 111, the transmission delay δ2 and time axis deviation Ω2 corresponding to data synchronization platform 112 are calculated, and so on. The following formulas (1)-(3) are the transmission delay δ n Calculation method:
[0056] t 10 +δ n +Ω n =t 11 (1)
[0057] t 12 -Ω n +δ n =t13 (2)
[0058] δ n =(t 11 -t 10 +t 13 -t 12 ) / twenty three)
[0059] As can be seen from formula (3), the data acquisition system 12 can obtain data based solely on the timestamp t. 10 ~t 13 Calculate the transmission delay δ corresponding to each data synchronization platform n. n .
[0060] Next, the data acquisition system 12 calculates the acquisition latency d corresponding to each data synchronization platform n. n To compensate for the transmission delay δ of each data synchronization platform n The maximum transmission delay δ among the transmission delays of all data synchronization platforms 111-116 is the largest. max The gap, and compensation for the sending delay of each data synchronization platform. The maximum transmission delay among the transmission delays of all data synchronization platforms 111-116. The difference. Specifically, the data acquisition system 12 can obtain the transmission delay δ of each of the data synchronization platforms 111-116. n and transmission delay Then, based on the transmission delay δ n Sending delay Maximum transmission delay δ ma and maximum transmission delay Calculate the fetch latency d corresponding to the data synchronization platform. n .
[0061] Figure 3 The transmission delay δ is illustrated according to an embodiment of the present invention. n Sending delay Maximum transmission delay δ max and maximum transmission delay A schematic diagram.
[0062] The following formula (4) is the capture delay d n Calculation method:
[0063]
[0064] When the data acquisition system 12 calculates the acquisition delay d corresponding to each data synchronization platform nAfter (e.g., the retrieval delay d1 of the data synchronization platform 111), the data retrieval system 12 sends the transmission delay δ1 and the retrieval delay d1 to the data synchronization platform 111.
[0065] In detail, step S203 involves the data acquisition system 12 sending a synchronization message msg2, containing the transmission delay δ1 and the acquisition delay d1, to the data synchronization platform 111 via a TCP socket. The timestamp when the data acquisition system 12 sends the synchronization message msg2 to the data synchronization platform 111 is timestamp t. 20 The timestamp when the data synchronization platform 111 receives the school time message msg2 is timestamp t. 21 Step S204 involves the data synchronization platform 111 responding to the school time message msg2 by sending a school time message response msg2r to the data acquisition system 12. The timestamp when the data synchronization platform 111 sends the school time message response msg2r to the data acquisition system 12 in response to the school time message msg2 is timestamp t. 22 The timestamp when the data acquisition system 12 receives the school's time message response msg2r is timestamp t. 23 .
[0066] When the data synchronization platform 111 receives the transmission delay δ1 and the retrieval delay d1 through the synchronization message msg2, the data synchronization platform 111 uses the timestamp t 20 And the local system time t of the data synchronization platform 111 with transmission delay δ1 correction. l , where local system time t l With the timestamp t 21 The local system time t is set to the same time, that is, by adjusting the slave clock 111c of the data synchronization platform 111. l It should be noted here that due to the transmission delay δ of each data synchronization platform... n The local system time of each data synchronization platform is different, therefore the local system time of each data synchronization platform is also different. The local system time t of each data synchronization platform is... l The calculation is shown in formula (5):
[0067] t l =t 21 =t 20 +δ n (5)
[0068] Once the local system time of data synchronization platform 111 is t l After correction, the data synchronization platform 111 uses the timestamp t of the synchronization message msg2. 21 And the data retrieval time R1 is calculated based on the retrieval delay d1. The data retrieval time R for each data synchronization platform... nThe calculation is shown in formula (6):
[0069] R n =t 21 +d n (6)
[0070] The data synchronization platform 111 initially captures battery data from the coupled battery management system (BMS1) based on data capture time R1, and begins uploading the battery data to the data capture system 12 as per step S210. Subsequently, according to the resolution requirements of the data capture, as per steps S211 and S212, it periodically captures battery data from the BMS1 at intervals m and uploads the battery data to the data capture system 12. The timestamp received by the data capture system 12 is t. 24 t 25 t 26 …
[0071] In one embodiment of the present invention, when the local system time of the data synchronization platform 111 is corrected and the battery data is uploaded to the data acquisition system 12 for the first time, the data acquisition system 12 determines the battery data based on the timestamp t received from the data. 24 Calculate the time synchronization error.
[0072] In one embodiment of the present invention, the data acquisition system 12 starts from the timestamp t of the first time it receives battery data. 24 Subsequently, a synchronization message (msg1) is sent to the data synchronization platform 111 every synchronization period T. The synchronization period T is calculated by the data acquisition system 12 based on the time synchronization error requirement (e.g., 30ms), the time synchronization error (e.g., 1ms), and the accuracy of the crystal oscillator of the data synchronization platform 111 (e.g., ±30ppm). The calculation of the synchronization period T is shown in formulas (7) to (8):
[0073] 29ms = (30 / 1,000,000) x T (7)
[0074] T=29 / (30 / 1,000,000)=966(s) (8)
[0075] Once the data acquisition system 12 calculates the synchronization period T, steps S201-S204 and S210-S212 are re-executed every synchronization period T (i.e., 966s) to ensure the data acquisition time R for battery data acquisition between each data synchronization platform 111-116. nWithin the time synchronization error requirement (e.g., 30ms), the data acquisition system 12 can acquire the battery data of each of the battery management systems BMS1 to BMS6 in real time through the data synchronization platforms 111 to 116, thereby achieving more efficient monitoring of each of the battery management systems BMS1 to BMS6.
[0076] Please refer to Figure 1 , 2 In one embodiment of the present invention, the data acquisition system 12 includes a server thread 12a and a client thread 12b. The server thread 12a is used to establish connections with the servers of each data synchronization platform 111-116 respectively (e.g., ...). Figure 1 The server thread 12a establishes a connection with server 111a of data synchronization platform 111, and so on for the other data synchronization platforms 112-116, and sequentially sends a synchronization message msg1 and a transmission delay δ to the server of each data synchronization platform 111-116. n and the capture delay d n Client thread 12b is used to establish connections with the clients of each data synchronization platform 111-116 (e.g., ...). Figure 1 The server thread 12b establishes a connection with the client 111b of the data synchronization platform 111 (and so on for the other data synchronization platforms 112 to 116), and receives the synchronization message response msg1r and battery data sent by the client of each data synchronization platform 111 to 116.
[0077] In detail, the data acquisition system 12 first synchronizes its time using a precise clock source. Then, server thread 12a establishes connections with the servers of each data synchronization platform 111-116, and client thread 12b establishes connections with the clients of each data synchronization platform 111-116. For ease of explanation, the following description will only use data synchronization platform 111 and data acquisition system 12 as examples. Server thread 12a establishes connections with the servers of each data synchronization platform 111-116 and, in step S201, sequentially sends a synchronization message msg1 to the servers of each data synchronization platform 111-116 via TCP Socket. Client thread 12b, in step S202, receives the synchronization message responses msg1r sent by the clients of each data synchronization platform 111-116.
[0078] Server thread 12a is based on timestamp t 10 ~t 13 Calculate the transmission delay δ corresponding to each data synchronization platform 111 to 116. n With the capture delay d n And when sending the synchronization message msg2 through step S203, the transmission delay δ is simultaneously reduced.n and the capture delay d n Send to servers 111-116 of each data synchronization platform.
[0079] Client thread 12b receives battery data uploaded by clients from each data synchronization platform 111 to 116 and captured from each of the battery management systems BMS1 to BMS6 through steps S210 to S212, and stores the battery data captured by each data synchronization platform 111 to 116 in database (DB) 12d and server 12e respectively.
[0080] The energy storage safety inspection system 3 can read battery data corresponding to each data synchronization platform 111-116 in the database 12d for battery safety inspection. On the other hand, the energy storage system (EMS) can directly read the battery data corresponding to each data synchronization platform 111-116 from the server (including but not limited to Modbus server and enhanced Modbus server) 12e, replacing the original method of EMS directly reading battery data from battery management systems BMS1-BMS6, thereby monitoring battery management systems BMS1-BMS6 in more real time.
[0081] Similarly, the server thread 12a of the data acquisition system 12 sends a synchronization message msg1 to the servers of each data synchronization platform 111 to 116 every time synchronization period T to ensure that the time for each data synchronization platform 111 to 116 to acquire battery data is within the time synchronization error requirement.
[0082] Please continue to refer to this. Figure 1 , 2 In one embodiment of the present invention, each data synchronization platform 111-116 includes a server and a client. For ease of explanation, the following description will only use data synchronization platform 111 and data acquisition system 12 as examples.
[0083] The server 111a of the data synchronization platform 111 establishes a connection with the server thread 12a of the data acquisition system 12, and receives the synchronization message msg1 from the server thread 12a of the data acquisition system 12 through step S201. The client 111b of the data synchronization platform 111 establishes a connection with the client thread 12b of the data acquisition system 12, and sends the synchronization message response msg1r to the client thread 12b of the data acquisition system 12 through step S202.
[0084] The server 111a of the data synchronization platform 111 receives the synchronization message msg2, transmission delay δ1 and retrieval delay d1 sent by the server thread 12a of the data retrieval system 12 through step S203. Then, the client 111b of the data synchronization platform 111 sends the synchronization message response msg2r to the client thread 12b of the data retrieval system 12 through step S204.
[0085] After receiving the transmission delay δ1 and the retrieval delay d1 through the synchronization message msg2, the server 111a of the data synchronization platform 111, based on the timestamp t 20 And the local system time t of the data synchronization platform 111 with transmission delay δ1 correction. l That is, by adjusting the slave clock 111c of the data synchronization platform 111 to set the local system time t l Once the data synchronization platform 111's local system time t l After calibration, the local system time t is now... l Equal to timestamp t 21 The data synchronization platform 111 is based on the timestamp t of the school's message msg2. 21 And the data acquisition time R1 is calculated based on the acquisition delay d1.
[0086] According to the first data acquisition time R1, the data synchronization platform 111 acquires battery data from the battery management system BMS1 and stores it in the buffer 111d. Then, the battery data acquired from the battery management system BMS1 is uploaded to the client thread 12b of the data acquisition system 12 via the client 111b.
[0087] Similarly, the data synchronization platform 111 adjusts the subsequent data acquisition time R based on the resolution requirements of the data acquisition. n The system is configured to periodically retrieve battery data from the battery management system BMS1 and upload it to the client thread 12b of the data retrieval system 12. In addition, the data synchronization platform 111 re-executes steps S201 to S204 and S210 to S212 every time interval T (i.e., 966s).
[0088] Figure 4 This is a flowchart illustrating a battery data acquisition method 4 according to an embodiment of the present invention. Battery data acquisition method 4 includes steps S411-S414 and S421-S426. Please also refer to... Figure 1 , 4 .
[0089] In step S411, the data acquisition system 12 synchronizes its main clock 12c with a precision clock source.
[0090] In step S412, the data acquisition system 12 sends a synchronization message msg1 to the data synchronization platform 111-116 and receives a synchronization message response msg1r from the data synchronization platform 111-116 in response to the synchronization message msg1.
[0091] In step S413, when the data acquisition system 12 obtains multiple timestamps t corresponding to each data synchronization platform 111-116 10 t 11 t 12 t 13 Then, based on multiple timestamps t 10 t 11 t 12 t 13 Calculate the transmission delay δ corresponding to each data synchronization platform 111–116. n and the capture delay d n And send data containing transmission delay δ to each data synchronization platform 111-116. n and the capture delay d n The school newspaper article msg2.
[0092] In step S414, the data acquisition system 12 uses the timestamp t of the first sent school time message msg1 to determine the time. 10 Afterwards, the master clock 12c will start timing to confirm whether the synchronization period T has elapsed. If the timestamp t from the first sent synchronization message msg1... 10 If no synchronization period T has elapsed since then, it will continue to wait for and receive battery data uploaded by various data synchronization platforms 111-116. Conversely, if no synchronization period T has elapsed since the first synchronization message msg1 was sent, the battery data will continue to be received. 10 After a synchronization period T has elapsed, return to step S412 to send a synchronization message msg1 to each data synchronization platform 111-116.
[0093] In step S421, before the data synchronization platforms 111-116 have received the transmission delay δ sent from the data acquisition system 12... n and the capture delay d n Previously, data synchronization platforms 111-116 continuously waited for data acquisition system 12 to send data containing transmission delay δ. n and the capture delay d n The school newspaper article msg2.
[0094] Once each data synchronization platform 111-116 receives the data acquisition system 12's data containing the transmission delay δ, n and the capture delay d n After the school's time report msg2, in step S422, each data synchronization platform 111-116 synchronizes the data based on the timestamp t. 20and transmission delay δ n Correct the local system time t of each data synchronization platform 111-116 l .
[0095] Once the local system time of each data synchronization platform 111~116 is t l After correction, in step S423, each data synchronization platform 111-116 uses the timestamp t21 of the synchronization message msg2 and the retrieval delay d. n Calculate the data acquisition time R n .
[0096] In step S424, each data synchronization platform 111-116 synchronizes data based on the data retrieval time R. n The battery data of the coupled battery management systems BMS1 to BMS6 is captured for the first time and uploaded to the data capture system 12.
[0097] In step S425, each data synchronization platform 111 to 116 periodically captures battery data from the battery management systems BMS1 to BMS6 at intervals m according to the resolution requirements of data capture and uploads it to the data capture system 12.
[0098] In summary, the battery data acquisition system and method provided by this invention can enable existing energy storage systems to perform battery safety inspections, providing high sampling rates (down to the millisecond level) and time-synchronized battery data. It also enables energy storage battery health inspection systems to perform real-time internal short-circuit analysis, reducing the time required for the Energy Management System (EMS) to read battery data from the Battery Management System (BMS). Furthermore, the technology is easy to implement and does not require changes to existing EMS and BMS reading methods or the use of expensive hardware.
Claims
1. A battery data acquisition system, characterized in that, include: The data synchronization platform, coupled to the Battery Management System (BMS), is used to retrieve corresponding battery data from the BMS; and The data acquisition system is coupled to the data synchronization platform; The data synchronization platform is one of a plurality of data synchronization platforms coupled to the data acquisition system, and the battery management system is one of a plurality of battery management systems coupled to the data synchronization platform. The data acquisition system is used to obtain multiple timestamps corresponding to the data synchronization platform based on the synchronization messages and synchronization message responses transmitted between the data acquisition system and the data synchronization platform. It calculates the transmission delay and sending delay corresponding to the data synchronization platform based on the multiple timestamps. It calculates the acquisition delay corresponding to the data synchronization platform based on the transmission delay, the sending delay, the maximum transmission delay, and the maximum sending delay, and sends the transmission delay and the acquisition delay to the data synchronization platform. The maximum transmission delay is the largest among the transmission delays of all data synchronization platforms, and the maximum sending delay is the largest among the sending delays of all data synchronization platforms. The data synchronization platform is further used to correct the local system time of the data synchronization platform based on the transmission delay, calculate the data retrieval time based on the local system time and the retrieval delay, retrieve the battery data based on the data retrieval time, and periodically upload the battery data to the data retrieval system.
2. The battery data acquisition system according to claim 1, characterized in that, These multiple timestamps include: The data retrieval system sends the first timestamp of the school's news report to the data synchronization platform; The data synchronization platform received the school's newsletter with a second timestamp. The data synchronization platform responds with the third timestamp when the school's newsletter sends its response to the data acquisition system; and The data extraction system retrieves the fourth timestamp when it receives the school's message response.
3. The battery data acquisition system according to claim 2, characterized in that, Before the data acquisition system sends the school time message to the data synchronization platform, the data acquisition system first synchronizes the time using a precise clock source.
4. The battery data acquisition system according to claim 1, characterized in that, When the local system time of the data synchronization platform is corrected and the battery data is uploaded to the data acquisition system for the first time, the data acquisition system calculates the time synchronization error based on the time when the battery data is received.
5. The battery data acquisition system according to claim 4, characterized in that, The data acquisition system sends a time synchronization message to the data synchronization platform every time synchronization cycle. The time synchronization cycle is calculated by the data acquisition system based on the time synchronization error requirements, the first time synchronization error after time synchronization, and the accuracy of the crystal oscillator of the data synchronization platform.
6. The battery data acquisition system according to claim 1, characterized in that, The data acquisition system includes: A server thread is used to establish connections with the servers of each of the data synchronization platforms, and sequentially send the synchronization message, the transmission delay, and the retrieval delay to the servers of each of the data synchronization platforms; and The client thread is used to establish connections with the clients of each of the data synchronization platforms and to receive the synchronization time message response and battery data sent by the clients of each of the data synchronization platforms.
7. The battery data acquisition system according to claim 6, characterized in that, When the client thread receives the battery data uploaded by the client from each of the data synchronization platforms and retrieved from each of the battery management systems, it stores the battery data retrieved from each of the data synchronization platforms in the database and the server respectively.
8. The battery data acquisition system according to claim 6, characterized in that, When the server of the data synchronization platform receives the school's newsletter, it sends the school's newsletter response to the data acquisition system through the client.
9. The battery data acquisition system according to claim 6, characterized in that, When the server of the data synchronization platform receives the transmission delay and the retrieval delay, it sets the local system time based on the transmission delay, sets the time for the first retrieval of battery data based on the local system time and the retrieval delay, and periodically uploads the battery data to the client thread of the data retrieval system through the client.
10. The battery data acquisition system according to claim 1, characterized in that, Each of these data synchronization platforms is coupled to a different battery management system.
11. A method for acquiring battery data, characterized in that, include: The data acquisition system obtains multiple timestamps corresponding to the data synchronization platform based on the synchronization messages and synchronization message responses transmitted between the data acquisition system and the data synchronization platform, wherein the data synchronization platform is one of a plurality of data synchronization platforms coupled to the data acquisition system. The data acquisition system calculates the transmission delay and sending delay corresponding to the data synchronization platform based on the multiple timestamps. The data acquisition system calculates the acquisition delay corresponding to the data synchronization platform based on the transmission delay, the sending delay, the maximum transmission delay, and the maximum sending delay, and sends the transmission delay and the acquisition delay to the data synchronization platform. The maximum transmission delay is the largest among the transmission delays of all data synchronization platforms, and the maximum sending delay is the largest among the sending delays of all data synchronization platforms. The local system time of the data synchronization platform is corrected based on the transmission delay through the data synchronization platform; The data retrieval time is calculated based on the local system time and the retrieval latency through the data synchronization platform; as well as The battery data is captured based on the data capture time through the data synchronization platform, and the battery data is uploaded to the data capture system on a regular basis.
12. The method for acquiring battery data according to claim 11, characterized in that, These multiple timestamps include: The data retrieval system sends the first timestamp of the school's news report to the data synchronization platform; The data synchronization platform received the school's newsletter with a second timestamp. The data synchronization platform responds with the third timestamp when the school's newsletter sends its response to the data acquisition system; and The data extraction system retrieves the fourth timestamp when it receives the school's message response.
13. The method for acquiring battery data according to claim 12, characterized in that, Including: Before the data acquisition system sends the school time message to the data synchronization platform, the data acquisition system first synchronizes its time using a precise clock source.
14. The method for acquiring battery data according to claim 11, characterized in that, Including: When the local system time of the data synchronization platform is corrected and the battery data is uploaded to the data acquisition system for the first time, the data acquisition system calculates the time synchronization error based on the time when the battery data is received.
15. The method for acquiring battery data according to claim 14, characterized in that, Including: The data acquisition system sends a time synchronization message to the data synchronization platform every time synchronization cycle. The time synchronization cycle is calculated by the data acquisition system based on the time synchronization error requirements, the first time synchronization error after time synchronization, and the accuracy of the crystal oscillator of the data synchronization platform.
16. The method for acquiring battery data according to claim 11, characterized in that, Including: After the data acquisition system receives the battery data uploaded from each of the data synchronization platforms, it stores the battery data corresponding to each of the data synchronization platforms in the database and the server respectively.