Lead-acid battery current acquisition system and method
By using the single dependent variable method and multi-layer perceptron neural network to calculate the current comprehensive characteristic index in the lead-acid battery current acquisition system and dynamically switching the current collector, the current measurement error problem under the influence of environmental factors is solved and high-precision current acquisition is achieved.
Patent Information
- Application Number
- CN202411512455.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2044-10-28
AI Technical Summary
The existing lead-acid battery current acquisition system has insufficient measurement accuracy due to the influence of environmental factors, especially when the current is small and the current fluctuates, the error is large and it is impossible to accurately collect the current.
The detection test module is used to obtain the current collection results under different environments. The comprehensive characteristic index of the current is calculated by the single dependent variable method. The appropriate current collector is selected, and an error calculation model is established through a multi-layer perceptron neural network for error compensation. The current collector is dynamically switched to improve the measurement accuracy.
Ensure that the current collector provides optimal performance under specific conditions, improve the system's anti-interference ability and stability, and achieve accurate current measurement.
Smart Images

Figure CN119375737B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery current collection, and in particular to a lead-acid battery current collection system and method. Background Art
[0002] Lead-acid batteries are a mature energy storage technology that is widely used due to their low cost, mature recycling process, and good technical stability. However, with the development of lithium batteries and intelligent battery management systems for lithium batteries, lead-acid batteries are gradually being replaced. Therefore, intelligent management systems for lead-acid batteries are extremely important, and how to accurately collect current has become the primary issue to be addressed.
[0003] In the prior art, publication number CN 103943901 A discloses a lead-acid battery current acquisition system and method thereof, including a battery, a battery cover, a battery management system, a cover plate, positive and negative terminal poles and a current acquisition component, wherein the positive and negative terminal poles are installed on the battery, the battery cover is installed on one end of the battery provided with the positive and negative terminal poles, the battery management system is installed on the battery cover and connected to the battery, the cover plate is installed on the battery cover and placed above the battery management system, the current acquisition component is installed on the positive and negative terminal poles, the positive and negative terminal poles are provided with terminal cover plates and placed above the current acquisition component, and the data of the current sensor is collected through the cooperation between the induction magnetic ring in the current acquisition component and the positive and negative terminal poles to perform current acquisition through the battery management system. However, in the current measurement technology of lead-acid batteries, the induction magnetic ring often faces the problem of accuracy being affected by environmental factors, which will cause deviations in the measurement results, and is affected by the physical properties of the induction magnetic ring itself, resulting in inaccurate current measurement results when the current is small and the current fluctuation amplitude is small.
[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art. Summary of the Invention
[0005] The object of the present invention is to provide a lead-acid battery current acquisition system and method thereof to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A lead-acid battery current acquisition system, comprising:
[0008] A detection and testing module is used to obtain the current collection results of different characteristics of different current collectors under different environments when collecting lead-acid battery current using a single dependent variable method, and record the environmental data, current characteristics and collection results of different collection results, print each set of data with a timestamp to form an experimental data set, and select the data under the rated environment of the current collector as the benchmark data;
[0009] A data acquisition module is used to calculate the comprehensive characteristic index of the lead-acid battery's current by acquiring historical and real-time data on the current magnitude, current direction, and current duration of the lead-acid battery, and to collect environmental parameters of the current collector;
[0010] A data analysis module, which is used to calculate the current error value between each current collector and the selected benchmark data, and form a training data set with the experimental data set. At the same time, based on the comprehensive characteristic index of the current and the type of current collector, the module selects and switches the appropriate current collector as the current collector for lead-acid battery current collection;
[0011] An error calculation module is used to establish a current acquisition error calculation model, train the error calculation model by using a training data set, and use the collected real-time environmental parameters and current collector type as inputs to the model to output the error value of the current collected by the corresponding current collector;
[0012] The acquisition and output module is used to perform error compensation on the acquisition result of the current collector according to the type of current sensor selected and the error value calculated by the current acquisition error calculation model of the corresponding type, and output accurate measurement results.
[0013] Furthermore, the current collector includes a shunt resistor and a Hall sensor, and the two current collectors are electrically connected via a series switching circuit;
[0014] The different environments include temperature and magnetic field;
[0015] The currents of different characteristics include the magnitude of the current, the direction of the current and the duration of the current;
[0016] The logic of collecting the results of current with different characteristics under different environments through the single dependent variable method is as follows;
[0017] When collecting the current of the lead-acid battery through the current collector, only the duration of the current, the direction of the current, the magnitude of the current, the temperature of the current collector, the magnitude of the magnetic field and the type of the current collector are changed in sequence.
[0018] Furthermore, the logic of the calculation method of the comprehensive characteristic index of the current is as follows: the average value of the current and the average duration of the current are counted in sequence, and the fluctuation of the current is calculated. The specific calculation formula for the comprehensive characteristic index of the current is calculated by weighting the average value of the current, the average duration of the current, and the fluctuation of the current in the comprehensive characteristic index.
[0019]
[0020] Where, Ipj is the average current, I Ict is the current at the historical moment Ict, tα is the time interval for historical current collection, and tn is the number of times the historical current is collected;
[0021]
[0022] Among them, Itp is the average duration of the current, CI cx is the duration of the current at the historical moment cx, cα is the sampling time interval of the historical current duration, and tc is the number of sampling times of the historical current duration;
[0023]
[0024] Among them, Ibd is the fluctuation of current, I Ict is the current at the historical moment Ict, tα is the time interval for historical current collection, and tn is the number of times the historical current is collected;
[0025] Q=Ipj*β1+Itp*β2+Ibd*β3
[0026] Where Q is the comprehensive characteristic index of current, β1, β2, and β3 are the average value, average duration, and weight of the fluctuation of current, respectively. 0<β1<1, 0<β2<1, 0<β3<1, and β1+β2+β3=1.
[0027] Furthermore, the method of selecting a suitable current collector according to the comprehensive characteristic index of the current and the type of the current collector is:
[0028] When Q∈(QH min ,QH max ), select and switch the Hall sensor as the current collector;
[0029] When Q∈(QD min ,QD max ), select and switch the shunt resistor as the current collector;
[0030] When Q∈[(QH min ,QH max )∩(QD min,QD max )], No switching is performed;
[0031] Among them, (QH min ,QH max ) is the comprehensive characteristic index range of the Hall sensor, (QD min ,QD max ) is the comprehensive characteristic index range of the shunt resistor.
[0032] Furthermore, the current error value is calculated as follows:
[0033] ΔI1 γ1,γ2,γ3,γ4,γ5 =I1b-I1 γ1,γ2,γ3,γ4,γ5
[0034] ΔI1 γ1,γ2,γ3,γ4,γ5 is the current error when the duration of the current is γ1, the direction of the current is γ2, the magnitude of the current is γ3, the temperature of the current collector is γ4, and the magnitude of the magnetic field is γ5. I1n is the current value of the Hall sensor reference group, I1 γ1,γ2,γ3,γ4,γ5 The current is a current with a duration of γ1, a direction of γ2, a magnitude of γ3, a temperature of the current collector of γ4, and a magnitude of the magnetic field of γ5.
[0035] Furthermore, the current acquisition error calculation model is based on a calculation model of a multi-layer perceptron neural network, including an input layer, a hidden layer, and an output layer;
[0036] Input layer;
[0037] X i =[Xr1,…,Xr k ,…,Xr q ]
[0038] Among them, X i is the input dataset of the model, Xr k is the kth group of experimental data in the data set, and q is the total number of experimental data groups;
[0039] Hidden layers;
[0040] Z (1) =W (1) *X i +b (1)
[0041] a (1) =f(Z (1) )
[0042] Among them, Z (1) is the intermediate value of the hidden layer linear output, W (1) 、b (1)are the weight matrix and threshold of the hidden layer respectively, and f is the activation function;
[0043] Output layer;
[0044] Z (2) =W (2) *a (1) +b (2)
[0045] Y t+1 =y(Z (2) )
[0046] Among them, Z (2) is the intermediate value of the linear output of the output layer, W (2) 、b (2) are the weight matrix and threshold of the output layer, Y t+1 Risk assessment type, y is the softmax activation function, outputting the error value of the current;
[0047] Among them, the activation function is the ReLU activation function, and the specific formula is:
[0048] f(Z (1) )=max(0,Z (1) )
[0049] The specific formula of the Softmax activation function is:
[0050]
[0051] Among them, i is the i-th input value of the Softmax activation function.
[0052] Furthermore, the calculation formula for performing error compensation on the acquisition result of the current collector and outputting the accurate measurement result is:
[0053] Ichu=Isi+ΔI
[0054] Wherein, Ichu is the output current of the current acquisition system at the current moment, Isi is the current value collected at the current moment, and ΔI is the error value of the current at the current moment.
[0055] The present invention also provides a lead-acid battery current collection method, which is performed by the above-mentioned current collection system. The current collection method comprises the following steps:
[0056] Step 1: Obtain different current collectors respectively, and use the single dependent variable method to collect currents with different characteristics under different environments. Record the environmental data, current characteristics, and collection results of different collection results, and print a timestamp on each set of data to form an experimental data set.
[0057] Step 2: Select the current data collected by different current sensors under standard working environment parameters as the benchmark data of the current sensor, calculate the current error value between each current collector and the benchmark data, and form a training data set with the experimental data set;
[0058] Step 3: Establish a current acquisition error calculation model, train the error calculation model using the training data set, and use the real-time environmental parameters and current collector type as inputs to the model to output the current error value of the corresponding current collector;
[0059] Step 4: By obtaining historical and real-time current magnitude, current direction, and current duration data, and calculating the comprehensive characteristic index of the lead-acid battery current, select and switch the appropriate current collector to collect current based on the comprehensive characteristic index and the type of current collector;
[0060] Step 5: Based on the type of current sensor selected and the error value calculated by the current acquisition error calculation model of the corresponding type, the error compensation is performed on the acquisition result of the current collector to output an accurate measurement result.
[0061] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention obtains the collection results of currents of different characteristics of lead-acid batteries under different environments by using a detection test module, calculates the current error value of each current collector, and obtains the historical and real-time current data of the lead-acid battery and the environmental parameters of the current collector by using a data acquisition module, calculates the comprehensive characteristic index of the current, and then selects and switches a suitable current collector as the current collector for lead current collection, establishes a current collection error calculation model by using an error calculation module, and trains it, outputs the corresponding current collection error value by using the collected real-time environmental parameters and the current collector type as the input of the model, and the collection output module performs error compensation on the collection result of the current collector according to the error value of the current collection, and outputs an accurate measurement result.
[0062] The present invention selects the most suitable current collector based on the comprehensive characteristic index of the current, ensuring that the current collector used provides optimal performance under specific conditions. Different types of current collectors may have their own strengths in accuracy, response time, and anti-interference capability. Correct matching can maximize the advantages of various current collectors. By monitoring current characteristics in real time and dynamically switching current collectors, the system can adapt to changes in battery status or environmental conditions, ensuring that current collection is always carried out in an optimal state, and improving the system's anti-interference capability and stability. A current collection error calculation model is established through a multi-layer perceptron neural network. The multi-layer perceptron can learn and simulate the nonlinear characteristics of the current collection process, accurately calculate the current error, and improve the prediction accuracy of current measurement errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 Schematic diagram of the overall system structure of the present invention;
[0064] Figure 2 A circuit diagram for switching the current collector of the present invention;
[0065] Figure 3 Schematic diagram of the overall method of the present invention. DETAILED DESCRIPTION
[0066] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to specific embodiments.
[0067] It should be noted that, unless otherwise defined, the technical or scientific terms used in the present invention should have the usual meanings understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative position relationships. When the absolute position of the object being described changes, the relative position relationship may also change accordingly.
[0068] Example:
[0069] See also Figure 1-2 , the present invention provides a technical solution:
[0070] A lead-acid battery current acquisition system, comprising:
[0071] A detection and testing module is used to obtain the current collection results of different characteristics of different current collectors under different environments when collecting lead-acid battery current using a single dependent variable method, and record the environmental data, current characteristics and collection results of different collection results, print each set of data with a timestamp to form an experimental data set, and select the data under the rated environment of the current collector as the benchmark data;
[0072] In this embodiment, the current collector includes a shunt resistor and a Hall sensor, and the two current collectors are electrically connected via a series switching circuit.
[0073] The specific circuit of the two current collectors through the series switching circuit includes four switches S1, S2, S3 and S4, a shunt resistor R1 and a Hall ring H1 of the Hall sensor. The switching switch S1, the shunt resistor R1, the switching switch S1 and the Hall ring H1 are connected in series between the input end IN and the output end OUT. The switching switch S2 is connected in parallel with the switching switch S1 and the shunt resistor R1. The switching switch S4 is connected in parallel with the switching switch S3 and the Hall ring H1. When in use, when the switching switch S1 and the switching switch S1 are closed at the same time, the current is collected through the shunt resistor R1. When the switching switch S2 and the switching switch S3 are closed at the same time, the current is collected through the Hall sensor. When the current collector needs to be switched, the switching switch S2 and the switching switch S2 are closed first, and then the switching switch S1 and the switching switch S4 are opened, thereby switching to the Hall ring for detection. The switching switch S2 and the switching switch S4 effectively solve the current interruption problem of the current collector during the switching process.
[0074] Shunt resistors are a simple and inexpensive method for measuring current. The basic principle is that when a resistor is placed in a circuit, current flowing through it generates a voltage drop proportional to the current. By measuring this voltage drop, the current value can be calculated. A Hall effect sensor is a device that uses the Hall effect to measure the magnetic field strength in an electromagnetic field, thereby indirectly inferring the current.
[0075] By combining the advantages of both, the most suitable measurement method can be selected for different application scenarios, such as using a Hall effect sensor in high current applications and a shunt resistor in low current applications requiring high accuracy. This combination ensures the stability and accuracy of current acquisition under varying operating conditions, such as temperature changes or electromagnetic interference.
[0076] The different environments include temperature and magnetic field;
[0077] The currents of different characteristics include the magnitude of the current, the direction of the current, and the duration of the current.
[0078] The logic of collecting the results of current with different characteristics under different environments through the single dependent variable method is as follows;
[0079] When collecting the current of the lead-acid battery through the current collector, only the duration of the current, the direction of the current, the magnitude of the current, the temperature of the current collector, the magnitude of the magnetic field and the type of the current collector are changed in sequence.
[0080] The single dependent variable method is an experimental design method. The core idea of this method is to change only one independent variable at a time when conducting an experiment, while keeping all other variables unchanged. In this way, researchers can observe the specific impact of the change in the independent variable on the dependent variable.
[0081] When collecting current, obtain the charge and discharge duration range of the lead-acid battery, the safe charge and discharge current range, the current direction, the safe temperature range of the collector, and the magnetic field strength range. When using a shunt resistor, first keep the battery current size, current direction, and current duration unchanged, and gradually increase the temperature of the shunt resistor. Each increase is a set of data, and the current size, current direction, current duration, and temperature of the shunt resistor at this time are recorded. When using a Hall sensor, still keep the battery current size, current direction, and current duration unchanged, and gradually increase the magnetic field where the Hall ring is located. Each increase is a set of data, and the current size, current direction, current duration, and magnetic field of the Hall ring at this time are recorded. Record the current size, current direction, current duration, and magnetic field of the Hall ring at this time, and then change the current duration, current direction, and current size.
[0082] This method allows for more direct observation and quantification of the effects of temperature, current, electromagnetic interference, and other factors on current acquisition results. This helps clarify which specific conditions lead to increased acquisition errors. Once the specific impact of a single environmental variable on current measurement results is determined, error compensation can be performed more accurately.
[0083] One of the main issues with shunt resistors is the effect of temperature on their resistance. Resistance changes with temperature, and high temperatures generally increase resistance, leading to measurement errors. The heat generated by high currents flowing through the resistor can heat the resistor itself (self-heating), further affecting its resistance and causing inaccurate current measurements. Hall effect sensors measure current based on the magnetic field generated by the current. Therefore, the presence of an external magnetic field can interfere with the Hall effect sensor's measurement. Extremely high currents can generate a magnetic field strong enough to affect the sensor's linear response or saturate it.
[0084] The data acquisition module is used to calculate the comprehensive characteristic index of the current of the lead-acid battery by acquiring the historical and real-time current size, current direction, and current duration data of the lead-acid battery, and at the same time collect environmental parameters of the current collector.
[0085] The comprehensive characteristic index provides a comprehensive view of various current parameter indicators. Selecting the current collector that best suits the current battery status based on the comprehensive characteristic index, such as a shunt resistor or Hall effect sensor, can improve measurement accuracy and reliability.
[0086] In this embodiment, the logic of the calculation method of the comprehensive characteristic index of the current is as follows: the average value of the current and the average duration of the current are counted in sequence, and the fluctuation of the current is calculated. The specific calculation formula for the comprehensive characteristic index of the current is calculated by weighting the average value of the current, the average duration of the current, and the current fluctuation in the comprehensive characteristic index.
[0087]
[0088] Where, Ipj is the average current, I Ict is the current at the historical moment Ict, tα is the time interval for historical current collection, and tn is the number of times the historical current is collected;
[0089]
[0090] Among them, Itp is the average duration of the current, CI cx is the duration of the current at the historical moment cx, cα is the sampling time interval of the historical current duration, and tc is the number of sampling times of the historical current duration;
[0091]
[0092] Where Ibd is the current fluctuation, IIct is the current at the historical moment Ict, tα is the time interval for historical current collection, and tn is the number of historical current collections;
[0093] Q=Ipj*β1+Itp*β2+Ibd*β3
[0094] Where Q is the comprehensive characteristic index of current, β1, β2, and β3 are the average value, average duration, and weight of the fluctuation of current, respectively. 0<β1<1, 0<β2<1, 0<β3<1, and β1+β2+β3=1.
[0095] A data analysis module, which is used to calculate the current error value between each current collector and the selected benchmark data, and form a training data set with the experimental data set. At the same time, based on the comprehensive characteristic index of the current and the type of current collector, the module selects and switches the appropriate current collector as the current collector for lead-acid battery current collection;
[0096] In this embodiment, the current error value is calculated as follows:
[0097] ΔI1 γ1,γ2,γ3,γ4,γ5 =I1b-I1 γ1,γ2,γ3,γ4,γ5
[0098] ΔI1 γ1,γ2,γ3,γ4,γ5is the current error when the duration of the current is γ1, the direction of the current is γ2, the magnitude of the current is γ3, the temperature of the current collector is γ4, and the magnitude of the magnetic field is γ5. I1b is the current value of the Hall sensor reference group, I1 γ1,γ2,γ3,γ4,γ5 The current is a current with a duration of γ1, a direction of γ2, a magnitude of γ3, a temperature of the current collector of γ4, and a magnitude of the magnetic field of γ5.
[0099] The method of selecting a suitable current collector based on the comprehensive characteristic index of the current and the type of the current collector is:
[0100] When Q∈(QH min ,QH max ), select and switch the Hall sensor as the current collector;
[0101] When Q∈(QD min ,QD max ), select and switch the shunt resistor as the current collector;
[0102] When Q∈[(QH min ,QH max )∩(QD min ,QD max )], No switching is performed;
[0103] Among them, (QH min ,QH max ) is the comprehensive characteristic index range of the Hall sensor, (QD min ,QD max ) is the comprehensive characteristic index range of the shunt resistor.
[0104] The error calculation module is used to establish a current acquisition error calculation model, train the error calculation model by using the training data set, and use the collected real-time environmental parameters and current collector type as the input of the model to output the calculated error value of the current collected by the corresponding current collector.
[0105] A multilayer perceptron is a feedforward artificial neural network consisting of one or more intermediate layers and an output layer. It is a type of deep learning model used to tackle a range of complex pattern recognition and prediction problems. By connecting nodes in each layer through nonlinear activation functions, it can learn complex relationships between input and output data.
[0106] Current measurement may be affected by a variety of factors, such as temperature changes, current changes, and magnetic field interference. These influences on current acquisition are a complex nonlinear relationship. The multilayer perceptron introduces a nonlinear activation function through the hidden layer, which can effectively capture this nonlinear relationship and thus provide accurate prediction of current measurement errors.
[0107] In this embodiment, the current acquisition error calculation model is based on a calculation model of a multi-layer perceptron neural network, including an input layer, a hidden layer, and an output layer;
[0108] Input layer;
[0109] X i =[Xr1,…,Xr k ,…,Xr q ]
[0110] Among them, X i is the input dataset of the model, Xr k is the kth group of experimental data in the data set, and q is the total number of experimental data groups;
[0111] Hidden layers;
[0112] Z (1) =W (1) *X i +b (1)
[0113] a (1) =f(Z (1) )
[0114] Among them, Z (1) is the intermediate value of the hidden layer linear output, W (1) 、b (1) are the weight matrix and threshold of the hidden layer respectively, and f is the activation function;
[0115] Output layer;
[0116] Z (2) =W (2) *a (1) +b (2)
[0117] Y t+1 =y(Z (2) )
[0118] Among them, Z (2) is the intermediate value of the linear output of the output layer, W (2) 、b (2) are the weight matrix and threshold of the output layer, Y t+1 Risk assessment type, y is the softmax activation function, and the calculated error value of the output current;
[0119] Among them, the activation function is the ReLU activation function, and the specific formula is:
[0120] f(Z (1) )=max(0,Z (1) )
[0121] The specific formula of the Softmax activation function is:
[0122]
[0123] Among them, i is the i-th input value of the Softmax activation function.
[0124] The acquisition and output module is used to perform error compensation on the acquisition result of the current collector according to the type of current sensor selected and the error value calculated by the current acquisition error calculation model of the corresponding type, and output accurate measurement results.
[0125] In this embodiment, the calculation formula for performing error compensation on the collected results of the current collector and outputting accurate measurement results is:
[0126] Ichu=Isi+ΔI
[0127] Among them, Ichu is the output current of the current acquisition system at the current moment, Isi is the current value collected at the current moment, and ΔI is the current error value at the current moment.
[0128] See also Figure 3 The present invention also provides a lead-acid battery current collection method, which is performed by the above-mentioned current collection system. The current collection method comprises the following steps:
[0129] Step 1: Obtain different current collectors respectively, and use the single dependent variable method to collect currents with different characteristics under different environments. Record the environmental data, current characteristics, and collection results of different collection results, and print a timestamp on each set of data to form an experimental data set.
[0130] Step 2: Select the current data collected by different current sensors under standard working environment parameters as the benchmark data of the current sensor, calculate the current error value between each current collector and the benchmark data, and form a training data set with the experimental data set;
[0131] Step 3: Establish a current acquisition error calculation model, train the error calculation model using the training data set, and use the real-time environmental parameters and current collector type as inputs to the model to output the current calculation error value of the corresponding current collector;
[0132] Step 4: By obtaining historical and real-time current magnitude, current direction, and current duration data, and calculating the comprehensive characteristic index of the lead-acid battery current, select and switch the appropriate current collector to collect current based on the comprehensive characteristic index and the type of current collector;
[0133] Step 5: According to the type of current sensor selected and the error value calculated by the current acquisition error calculation model of the corresponding type, the error compensation is performed on the acquisition result of the current collector to output the accurate measurement result.
[0134] The above formulas are all dimensionless and numerical calculations. The formulas are obtained by collecting a large amount of data and performing software simulation to obtain the most recent real situation. The preset parameters in the formulas are set by technicians in this field according to actual conditions.
[0135] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software depends on the specific application and design constraints of the technical solution.
[0136] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, and may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment as needed.
[0137] The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the scope of protection of the present application.
Claims
1. A lead-acid battery current acquisition system, characterized in that: include: A detection and testing module is used to obtain the current collection results of different characteristics of different current collectors under different environments when collecting lead-acid battery current using a single dependent variable method, and record the environmental data, current characteristics and collection results of different collection results, print each set of data with a timestamp to form an experimental data set, and select the data under the rated environment of the current collector as the benchmark data; A data acquisition module is used to calculate the comprehensive characteristic index of the lead-acid battery's current by acquiring historical and real-time data on the current magnitude, current direction, and current duration of the lead-acid battery, and to collect environmental parameters of the current collector; A data analysis module, which is used to calculate the current error value between each current collector and the selected benchmark data, and form a training data set with the experimental data set. At the same time, based on the comprehensive characteristic index of the current and the type of current collector, the module selects and switches the appropriate current collector as the current collector for lead-acid battery current collection; An error calculation module is used to establish a current acquisition error calculation model, train the error calculation model by using a training data set, and use the collected real-time environmental parameters and current collector type as inputs to the model to output the error value of the current collected by the corresponding current collector; The acquisition and output module is used to perform error compensation on the acquisition result of the current collector according to the type of current sensor selected and the error value calculated by the current acquisition error calculation model of the corresponding type, and output accurate measurement results.
2. A lead-acid battery current acquisition system according to claim 1, characterized in that: The current collector includes a shunt resistor and a Hall sensor, and the two current collectors are electrically connected through a series switching circuit; The different environments include temperature and magnetic field; The currents of different characteristics include the magnitude of the current, the direction of the current and the duration of the current; The logic of collecting the results of current with different characteristics under different environments through the single dependent variable method is as follows; When collecting the current of the lead-acid battery through the current collector, only the duration of the current, the direction of the current, the magnitude of the current, the temperature of the current collector, the magnitude of the magnetic field and the type of the current collector are changed in sequence.
3. A lead-acid battery current acquisition system according to claim 1, characterized in that: The logic of the calculation method of the comprehensive characteristic index of the current is: the average value of the current and the average duration of the current are counted in sequence, and the fluctuation of the current is calculated. The specific calculation formula for the comprehensive characteristic index of the current is calculated by weighting the average value of the current, the average duration of the current, and the fluctuation of the current in the comprehensive characteristic index. Where, Ipj is the average current, I Ict is the current at the historical moment Ict, tα is the time interval for historical current collection, and tn is the number of times the historical current is collected; Among them, Itp is the average duration of the current, CI cx is the duration of the current at the historical moment cx, cα is the sampling time interval of the historical current duration, and tc is the number of sampling times of the historical current duration; Among them, Ibd is the fluctuation of current, I Ict is the current at the historical moment Ict, tα is the time interval for historical current collection, and tn is the number of times the historical current is collected; Q=Ipj*β1+Itp*β2+Ibd*β3 Where Q is the comprehensive characteristic index of current, β1, β2, and β3 are the average value, average duration, and weight of the fluctuation of current, respectively. 0<β1<1, 0<β2<1, 0<β3<1, and β1+β2+β3=1.
4. A lead-acid battery current acquisition system according to claim 3, characterized in that: The method of selecting a suitable current collector based on the comprehensive characteristic index of the current and the type of the current collector is: When Q∈(QH min ,QH max ), select and switch the Hall sensor as the current collector; When Q∈(QD min ,QD max ), select and switch the shunt resistor as the current collector; When Q∈[(QH min ,QH max )∩(QD min ,QD max )], No switching is performed; Among them, (QH min ,QH max ) is the comprehensive characteristic index range of the Hall sensor, (QD min ,QD max ) is the comprehensive characteristic index range of the shunt resistor.
5. A lead-acid battery current acquisition system according to claim 1, characterized in that: The calculation method of the error value of the current is: ΔI1 γ1,γ2,γ3,γ4,γ5 =I1b-I1 γ1,γ2,γ3,γ4,γ5 ΔI1 γ1,γ2,γ3,γ4,γ5 is the current error when the duration of the current is γ1, the direction of the current is γ2, the magnitude of the current is γ3, the temperature of the current collector is γ4, and the magnitude of the magnetic field is γ5. γ1b is the current value of the Hall sensor reference group, I1 γ1,γ2,γ3,γ4,γ5 The current is a current with a duration of γ1, a direction of γ2, a magnitude of γ3, a temperature of the current collector of γ4, and a magnitude of the magnetic field of γ5.
6. A lead-acid battery current acquisition system according to claim 1, characterized in that: The current acquisition error calculation model is based on a calculation model of a multi-layer perceptron neural network, including an input layer, a hidden layer, and an output layer; Input layer; X i =[Xr1,…,Xr k ,…,Xr q ] Among them, X i is the input dataset of the model, Xr k is the kth group of experimental data in the data set, and q is the total number of experimental data groups; Hidden layers; Z (1) =W (1) *X i +b (1) a (1) =f(Z (1) ) Among them, Z (1) is the intermediate value of the hidden layer linear output, W (1) 、b (1) are the weight matrix and threshold of the hidden layer respectively, and f is the activation function; Output layer; Z (2) =W (2) *a (1) +b (2) AND t+1 =y(Z (2) ) Among them, Z (2) is the intermediate value of the linear output of the output layer, W (2) 、b (2) are the weight matrix and threshold of the output layer, Y t+1 Risk assessment type, y is the softmax activation function, outputting the error value of the current; Among them, the activation function is the ReLU activation function, and the specific formula is: f(Z (1) )=max(0,Z (1) ) The specific formula of the Softmax activation function is: Among them, i is the i-th input value of the Softmax activation function.
7. A lead-acid battery current acquisition system according to claim 1, characterized in that: The calculation formula for performing error compensation on the current collector's collected results and outputting accurate measurement results is: Ichu=Isi+ΔI Wherein, Ichu is the output current of the current acquisition system at the current moment, Isi is the current value collected at the current moment, and ΔI is the error value of the current at the current moment.
8. A lead-acid battery current acquisition method, characterized in that: The current acquisition method is performed by the current acquisition system according to any one of claims 1 to 7, and the current acquisition method steps include: Step 1: Obtain different current collectors respectively, and use the single dependent variable method to collect currents with different characteristics under different environments. Record the environmental data, current characteristics, and collection results of different collection results, and print a timestamp on each set of data to form an experimental data set. Step 2: Select the current data collected by different current sensors under standard working environment parameters as the benchmark data of the current sensor, calculate the current error value between each current collector and the benchmark data, and form a training data set with the experimental data set; Step 3: Establish a current acquisition error calculation model, train the error calculation model using the training data set, and use the real-time environmental parameters and current collector type as inputs to the model to output the current error value of the corresponding current collector; Step 4: By obtaining historical and real-time current magnitude, current direction, and current duration data, and calculating the comprehensive characteristic index of the lead-acid battery current, select and switch the appropriate current collector to collect current based on the comprehensive characteristic index and the type of current collector; Step 5: Based on the type of current sensor selected and the error value calculated by the current acquisition error calculation model of the corresponding type, the error compensation is performed on the acquisition result of the current collector to output an accurate measurement result.
Citation Information
Patent Citations
Lead acid storage battery current collection system and method thereof
CN103943901A
Method for detecting integrated SOC of valve-control lead-acid cell
CN108181589A
Computing method for state of charge of lithium ion battery for electric automobile
CN109143105A