Battery type identification method and device based on charging power curve
By collecting and analyzing current and voltage waveform data in real time, calculating charging power curves and using pattern recognition algorithms, the inaccuracy and flexibility of battery type recognition methods in the prior art are solved, and the rapid and accurate identification of battery type is achieved and the optimization of battery type is achieved. Battery management and maintenance.
Patent Information
- Application Number
- CN202411034096.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-12
AI Technical Summary
Existing battery type identification methods cannot monitor the charging process in real time and dynamically, and the recognition accuracy depends on pre-set parameters and models, lacks flexibility and adaptability, making it difficult to capture subtle changes in the battery during charging.
By collecting the current and voltage waveform data during the charging process in real time, calculate the charging power curve, extract characteristic parameters such as power peak, rise time, fall time and slope changes, and use pattern recognition algorithms such as neural networks and support vector machines and pre-established features Database comparison to achieve fast and accurate identification of battery types.
Improves the accuracy and efficiency of battery type identification, optimizes charging strategies and maintenance plans, extends battery life, enhances safety, and provides reliable data support for battery maintenance and recycling.
Smart Images

Figure CN118940092A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management systems, and more specifically, to a method and device for identifying a battery type based on a charging power curve. Background Art
[0002] With the rapid development of battery technology, battery type identification plays a vital role in battery management systems. Correct identification of battery types not only helps optimize battery charging strategies and improve battery life and safety, but also provides important reference information for battery maintenance and recycling. Existing battery type identification methods mainly rely on the physical parameters of the battery, such as battery capacity, internal resistance, and cycle life. Although these methods can identify battery types to a certain extent, they have certain limitations. For example, the measurement of physical parameters often requires complex equipment and a long time, and these parameters may change during the use of the battery, resulting in inaccurate identification results.
[0003] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems or defects in the prior art: the traditional identification method cannot monitor the battery charging process in real time and dynamically, and it is difficult to capture the subtle changes of the battery during the charging process. In addition, the accuracy of battery type identification is highly dependent on pre-set parameters and models, lacking flexibility and adaptability. Summary of the invention
[0004] The invention provides a battery type identification method and device based on a charging power curve.
[0005] In a first aspect of the present invention, a method for identifying a battery type based on a charging power curve is provided, comprising:
[0006] Use sensors to collect current and voltage waveform data in real time during the charging process;
[0007] The collected data is transmitted to the model system wirelessly or wiredly;
[0008] Analyze and process the data and calculate the charging power curve;
[0009] By fitting the instantaneous power value, the characteristic parameters of the charging power curve are extracted;
[0010] The characteristic parameters are accurately compared with the pre-established characteristic database of different battery types to successfully identify the battery type.
[0011] Furthermore, the characteristic parameters include power peak value, power rise time, power fall time, and slope change and fluctuation frequency of the charging power curve.
[0012] Furthermore, the characteristic parameters of the charging power curve are extracted including:
[0013] Determine the linear relationship between charging power and charging time, as shown in calculation formula (1);
[0014] P(t)=a·t b +c (1)
[0015] Where a, b, c are constants;
[0016] By taking the derivative of formula (1), we can obtain the rate of change of power over time, as shown in formula (2);
[0017] P′(y)=a·b·t b-1 (2)
[0018] Based on the rate of change of power over time, the power peak, power rise time, power fall time, slope change of the charging power curve, and fluctuation frequency are calculated.
[0019] Furthermore, the power peak value is calculated by: obtaining the power peak value by finding the extreme value of P(t), including:
[0020] Let P′(t) = 0 and solve for the corresponding peak time t p ;
[0021] The peak time t p Substituting into the calculation formula (1), we get the peak power p p .
[0022] Furthermore, the power rise time is the time from the start of charging to the peak power, which can be calculated by p The power drop time is the time from the peak power to the end of charging, which is calculated by comparing the charging end time with the peak time t p The time interval is obtained.
[0023] Further, calculating the charging power curve includes calculating the instantaneous power P(t) by using formula (3) according to the collected current and voltage waveform data;
[0024] P(t)=V(t)×I(t) (3)
[0026] Among them, the calculation formulas for current and voltage waveform data are as follows;
[0027]
[0028]
[0029] Where A and B are the amplitudes of current and voltage respectively; ω is the angular frequency, The initial phase.
[0030] Furthermore, the current and voltage waveform data are substituted into the calculation formula (3), and the instantaneous power P(t) is shown in the calculation formula (4);
[0031]
[0032] The multiple instantaneous power values obtained are fitted, and the fitting function is shown in calculation formula (5);
[0033] P(t)=a0+a1t+a2t 2 +…+a n t n (5)
[0034] Among them, a0, a1, …, a n is the fitting parameter; n is the number of instantaneous power values;
[0035] The fitting parameters are obtained by the least square method, as shown in formula (6);
[0036]
[0037] Among them, S is the residual sum of squares;
[0038] The residual sum of squares S is respectively about the fitting parameters a0, a1, ..., a n Find the partial derivative and set it to 0, as shown in formula (7);
[0039]
[0040] Solving equation (7) yields a continuous charging power curve function P(t)=f(t).
[0041] Furthermore, the establishment of the characteristic database includes analyzing charging power curves of different types of batteries, including the capacity, internal resistance and cycle life of the batteries.
[0042] Furthermore, the pattern recognition algorithm includes neural network, support vector machine, decision tree and cluster analysis.
[0043] In a second aspect of the present invention, a battery type identification device is provided, comprising:
[0044] A data acquisition unit, used for real-time acquisition of current and voltage waveform data during the charging process;
[0045] A data analysis unit, used to calculate the charging power curve and extract characteristic parameters;
[0046] A feature comparison unit, used to compare the extracted feature parameters with the feature database to identify the battery type;
[0047] The result output unit is used to output the recognition results to the user interface or other related systems and provide feedback when necessary.
[0048] According to the above-mentioned embodiment of the present invention, at least the following beneficial effects are achieved: the present invention collects the current and voltage waveform data in the charging process in real time, calculates the charging power curve, and extracts key characteristic parameters, such as power peak value, power rise time, power fall time, and slope change and fluctuation frequency of the charging power curve. The extraction of these characteristic parameters makes the battery type identification more accurate, which can effectively improve the performance of the battery management system. By comparing these characteristic parameters with the pre-established characteristic database of different battery types, it is possible to quickly and accurately identify the battery type, thereby optimizing the battery charging strategy and maintenance plan. In addition, the present invention adopts advanced pattern recognition algorithms such as neural networks, support vector machines, decision trees, and cluster analysis, which can further enhance the robustness and accuracy of the recognition system. This method can not only improve the efficiency of battery type identification, but also provide more reliable data support for battery maintenance and recycling. Through this intelligent recognition technology, battery damage or performance degradation caused by misjudgment of battery type can be effectively reduced, the battery life can be extended, and the safety of the battery during use can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:
[0050] Figure 1 A schematic diagram of a flow chart of a battery type identification method based on a charging power curve provided by an embodiment of the present invention;
[0051] Figure 2 A schematic diagram of the structure of a battery type identification device provided in one embodiment of the present invention.
[0052] Figure 3 A schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0054] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0055] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0056] Reference below Figure 1 , Figure 1 A battery type identification method based on a charging power curve provided in an embodiment of the present invention includes the following steps:
[0057] Step 101, using sensors to collect current and voltage waveform data during charging in real time;
[0058] Step 102, transmitting the collected data to the model system via wireless or wired means;
[0059] Step 103, analyzing and processing the data to calculate a charging power curve;
[0060] Step 104, extracting characteristic parameters of the charging power curve by fitting the instantaneous power value;
[0061] Step 105 , accurately compare the characteristic parameters with a pre-established characteristic database of different battery types to successfully identify the battery type.
[0062] In some embodiments, it is first necessary to collect the current and voltage waveform data during the charging process in real time. These data are the key to identifying the battery type because they reflect the dynamic characteristics of the battery during the charging process. Real-time collection can be achieved through a high-precision analog-to-digital converter (ADC) to ensure the accuracy and reliability of the data.
[0063] Specifically, real-time acquisition can be performed through sensors connected to the battery charging port, which can measure the real-time values of current and voltage. The frequency of data acquisition should be high enough to capture all important changes in the charging process. For example, the sampling frequency can be set to thousands of samples per second to ensure that rapidly changing current and voltage values can be detected. In addition, wireless or wired transmission can be achieved through communication protocols such as Wi-Fi, Bluetooth or USB to transmit data to a central processing unit or a cloud server.
[0064] Preferably, the data acquisition process can include noise filtering and signal conditioning to improve data quality. For example, a low-pass filter can be used to remove high-frequency noise, and an amplifier can be used to adjust the signal amplitude to fit the input range of the ADC. In addition, data transmission can use an encryption protocol to ensure the security of data during transmission.
[0065] In some embodiments, the collected data is transmitted to the model system by wireless or wired means. This step is to upload the data collected on site to a system that can perform further analysis and processing. The model system can be a local computing device or a cloud-based server, depending on the required processing power and the size of the data.
[0066] Specifically, data transmission can be achieved by establishing a stable communication link that is resistant to electromagnetic interference and ensures data integrity. For example, communication protocols with high reliability and strong error detection capabilities, such as MQTT or CoAP, can be selected for data transmission in the Internet of Things (IoT) environment. Data can be packaged into data packets and sent to the model system through these protocols.
[0067] Preferably, the data transmission process may include data compression and energy efficiency optimization. For example, lossless data compression techniques may be used to reduce the size of the transmitted data, thereby reducing energy consumption and increasing the transmission speed. In addition, an energy-aware scheduling algorithm may be used to dynamically adjust the data transmission frequency according to the battery power and communication conditions.
[0068] In some embodiments, the method further includes analyzing and processing the data to calculate a charging power curve. This step is to combine the collected current and voltage data to calculate the instantaneous power during the charging process, and then construct the charging power curve through these instantaneous power values.
[0069] Specifically, the analysis and processing may use digital signal processing (DSP) technology, including fast Fourier transform (FFT) to analyze the signal frequency components, or use wavelet transform to process non-stationary signals. The charging power curve may be calculated by smoothing the instantaneous power value, such as using a moving average or exponential smoothing method.
[0070] Preferably, the process of calculating the charging power curve may include adaptive sampling rate adjustment. For example, when a slow change in charging power is detected, the sampling rate may be reduced to reduce the use of computing resources; conversely, when a rapid change is detected, the sampling rate may be increased to capture more details. In addition, a machine learning algorithm may be used to predict the trend of the power curve and assist in the extraction of characteristic parameters.
[0071] In some embodiments, the characteristic parameters include power peak, power rise time, power fall time, and slope change and fluctuation frequency of the charging power curve.
[0072] In some embodiments, the characteristic parameters include power peak value, power rise time, power fall time, and slope change and fluctuation frequency of the charging power curve. These parameters can reveal the specific behavior mode of the battery during the charging process.
[0073] Specifically, the characteristic parameters can be determined and calculated in the following manner:
[0074] Power peak: refers to the maximum value reached by instantaneous power during the charging process, which can be determined by analyzing the extreme points of the power curve.
[0075] Power Rise Time: The time from the start of charging to the time the power reaches its peak value, which can be calculated by monitoring the rising phase of the power curve.
[0076] Power Fall Time: The time required from peak power to end of charging, usually measured during the falling phase of the power curve.
[0077] Slope change: The change in the slope of the charging power curve over time reflects the change in the battery charging rate and can be calculated by the derivative of the power curve.
[0078] Fluctuation frequency: The number of fluctuations in the power curve during the charging process can be determined by frequency domain analysis methods such as fast Fourier transform (FFT).
[0079] Preferably, the extraction of characteristic parameters may further include:
[0080] The power peak can be determined by setting a threshold. When the instantaneous power exceeds the threshold, it is considered that the peak has been reached.
[0081] The calculation of power rise and fall times can be achieved by monitoring the inflection points of the power curve, which can be identified by numerical methods or machine learning algorithms.
[0082] The slope change can be calculated using numerical differentiation or analytical differentiation methods, and the specific choice depends on the accuracy and noise level of the data.
[0083] The fluctuation frequency can be determined by setting a filter to exclude noise and then using frequency domain analysis tools such as FFT to identify the main frequency components.
[0084] In some embodiments, the extraction of characteristic parameters can be combined with the physical and chemical characteristics of the battery to improve the accuracy of identification. For example, information such as the capacity, internal resistance and cycle life of the battery can be used as auxiliary parameters together with the characteristic parameters to identify the battery type.
[0085] Specifically, the feature parameters can be extracted by the following steps:
[0086] 1. Use sensors to collect current and voltage data during charging;
[0087] 2. Analyze the frequency components of current and voltage signals through digital signal processing techniques, such as fast Fourier transform;
[0088] 3. Calculate the instantaneous power and use numerical or analytical methods to fit the power curve;
[0089] 4. Extract characteristic parameters from the fitted power curve, including power peak, rise time and fall time;
[0090] 5. Analyze the slope change and fluctuation frequency of the power curve to obtain a comprehensive description of the battery charging behavior.
[0091] Preferably, the feature parameter extraction process can adopt an automated and intelligent method to improve efficiency and accuracy:
[0092] Use machine learning algorithms, such as support vector machines (SVM) or neural networks, to automatically identify key features of the power curve.
[0093] Use pattern recognition techniques, such as cluster analysis, to distinguish the charging behavior patterns of different battery types.
[0094] Through big data analysis, combined with a large amount of battery charging data, the recognition model is trained and optimized to improve the accuracy and robustness of recognition.
[0095] In some embodiments, the extraction and analysis of characteristic parameters can be integrated into a user-friendly software interface, so that non-professional users can easily identify battery types. The interface can provide real-time data visualization, characteristic parameter lists and identification results, and possible battery type recommendations.
[0096] Specifically, the user interface may include the following functions:
[0097] Real-time chart display shows the current, voltage and power curves during the charging process.
[0098] Automatic extraction and display of characteristic parameters, including power peak, rise time, fall time, etc.
[0099] Display of battery type identification results, including the most likely battery type and confidence level.
[0100] User input and settings options allow the user to adjust parameters and settings as needed.
[0101] In some embodiments, extracting characteristic parameters of the charging power curve includes:
[0102] Determine the linear relationship between charging power and charging time, as shown in calculation formula (1);
[0103] P(t)=a·t b +c (1)
[0104] Where a, b, c are constants;
[0105] By taking the derivative of formula (1), we can obtain the rate of change of power over time, as shown in formula (2);
[0106] P′(y)=a·b·t b-1 (2)
[0107] Based on the rate of change of power over time, the power peak, power rise time, power fall time, slope change of the charging power curve, and fluctuation frequency are calculated.
[0108] In some embodiments, the power peak value is calculated by: obtaining the power peak value by finding the extreme value of P(y), including:
[0109] Let P′(y) = 0 and solve for the corresponding peak time t p ;
[0110] The peak time t p Substituting into the calculation formula (1), we get the peak power p p .
[0111] In some embodiments, the power rise time is the time from the start of charging to the time when the power reaches the peak value, which is calculated by the peak time t p The power drop time is the time from the peak power to the end of charging, which is calculated by comparing the charging end time with the peak time t p The time interval is obtained.
[0112] In some embodiments, calculating the charging power curve includes calculating the instantaneous power P(t) by using equation (3) according to the collected current and voltage waveform data;
[0113] p(t)=V(t)×I(t) (3)
[0115] Among them, the calculation formulas for current and voltage waveform data are as follows;
[0116]
[0117] Where A and B are the amplitudes of current and voltage respectively; ω is the angular frequency, The initial phase.
[0118] In some embodiments, the current and voltage waveform data are substituted into the calculation formula (3), and the instantaneous power P(t) is as shown in the calculation formula (4);
[0119]
[0120] The multiple instantaneous power values obtained are fitted, and the fitting function is shown in calculation formula (5);
[0121] P(t)=a0+a1t+a2t 2 +…+a n t n (5)
[0122] Among them, a0, a1, ..., a n is the fitting parameter; n is the number of instantaneous power values;
[0123] The fitting parameters are obtained by the least square method, as shown in formula (6);
[0124]
[0125] Among them, S is the residual sum of squares;
[0126] The residual sum of squares S is respectively about the fitting parameters a0, a1…, a n Find the partial derivative and set it to 0, as shown in formula (7);
[0127]
[0128] Solving equation (7) yields a continuous charging power curve function P(t)=f(t).
[0129] During the fitting process, the appropriate fitting order n is selected according to the characteristics of the actual data and the accuracy requirements. For example, for relatively smooth data, a low-order polynomial fitting can be selected; for complex data, a high-order polynomial fitting can be selected.
[0130] At the same time, in order to improve the accuracy of fitting, other methods such as spline curve fitting can be used. For spline curve fitting, the common one is cubic spline curve fitting. Assume that the time interval [t1,t m ] is divided into k subintervals [t1,t1],[t2,t2],…,[t k-1 ,t k ],[t k ,t m ], in each subinterval, the spline curve function can be expressed as a cubic polynomial as shown in formula (8);
[0131] S i (t) = a i0 +a i1 (tt i )+a i2 (tt i ) 2 +a i3 (tt i ) 3 , t∈[t i , t i+1 ](8)
[0132] By giving boundary conditions and continuity conditions, solve for the coefficient a i0 ,a i1 ,a i2 ,a i3 , thus obtaining the charging power curve fitted by the spline curve.
[0133] In addition, when calculating the charging power curve, data filtering and noise reduction processing must also be considered. For example, using the median filtering method, for a sliding window of a given length N, the new filtered value P′(t) is the median of the number in the window, as shown in calculation formula (9).
[0134]
[0135] Through the calculation, derivation and processing process, the charging power curve can be calculated more accurately, providing an accurate data basis for subsequent battery type identification.
[0136] In some embodiments, the establishment of the feature database includes analyzing charging power curves of different types of batteries, including the capacity, internal resistance, and cycle life of the batteries.
[0137] In some embodiments, the pattern recognition algorithm includes a neural network, a support vector machine, a decision tree, and cluster analysis.
[0138] In some embodiments, the establishment of the feature database includes an in-depth analysis of charging power curves of different types of batteries, and comprehensively considers multiple factors such as battery capacity, internal resistance, and cycle life.
[0139] In some embodiments, the establishment of the feature database described in claim 8 is a comprehensive process, which involves in-depth analysis of charging power curves of different types of batteries and comprehensively considers multiple factors such as battery capacity, internal resistance, and cycle life. This process ensures the richness and diversity of the database and provides a solid foundation for battery type identification.
[0140] Specifically, the establishment of the feature database includes the following steps:
[0141] Data collection: Collect charging data of different types of batteries under standard test conditions, including but not limited to lithium batteries, nickel-cadmium batteries, etc.
[0142] Feature extraction: Extract characteristic parameters from the collected charging data, such as power peak, power rise and fall time, etc.
[0143] Comprehensive analysis of multiple factors: Not only the charging power curve needs to be analyzed, but also parameters such as battery capacity, internal resistance and cycle life need to be considered. These parameters can be obtained from the battery specification or through specialized testing equipment.
[0144] Preferably, the establishment of the feature database can be further refined or provide alternatives:
[0145] Parameter weight setting: Set weights for different feature parameters in the database to reflect their importance in battery type identification.
[0146] Dynamic update mechanism: Establish a dynamic update mechanism to continuously update the database content as new technologies and new battery types emerge.
[0147] Data analysis tools: Use statistical analysis and machine learning algorithms to analyze data and improve the accuracy and efficiency of feature extraction.
[0148] More specifically, the establishment of the feature database may include the following steps:
[0149] Standardized test conditions: Ensure that all battery charging tests are performed under the same conditions, such as fixed current, voltage, and ambient temperature.
[0150] Detailed classification of characteristic parameters: The characteristic parameters are divided into multiple subcategories, such as subdividing the power peak into the initial peak and the secondary peak, so as to describe the battery charging characteristics in more detail.
[0151] Data validation and cleaning: Before incorporating data into the database, data validation and cleaning are performed to remove outliers and noise to ensure data quality.
[0152] User-defined fields: Allows users to add custom fields based on specific needs to store additional relevant information that may be required for a specific type of battery.
[0153] In some embodiments, a variety of pattern recognition algorithms can be used to enhance the accuracy and adaptability of the battery type identification process. These algorithms include but are not limited to neural networks, support vector machines, decision trees, and cluster analysis.
[0154] Specifically, the application of each algorithm in the feature database comparison process is as follows:
[0155] Neural Networks: Can be designed as deep learning models to automatically learn complex nonlinear relationships from large amounts of battery charging data.
[0156] Support Vector Machine: Uses kernel techniques to process high-dimensional data and distinguish different battery types by finding the optimal boundaries between data points.
[0157] Decision tree: Build a tree model to identify battery types through a series of decision rules based on feature parameters.
[0158] Cluster analysis: Group battery charging characteristic parameters to discover natural clusters and patterns in the data.
[0159] Preferably, the application of the pattern recognition algorithm may further include:
[0160] Algorithm selection: Select the most appropriate algorithm or algorithm combination based on the characteristics of the battery charging data and the requirements of the recognition task.
[0161] Parameter Tuning: Tune the parameters of the selected algorithm to obtain the best recognition performance and accuracy.
[0162] Ensemble learning: Use ensemble learning methods, such as random forests or gradient boosting machines, to combine multiple decision trees to improve recognition accuracy and robustness.
[0163] More specifically, the application of the pattern recognition algorithm in the battery type identification method may include the following steps:
[0164] Data preprocessing: Before the algorithm is applied, the battery charging data is standardized, normalized or denoised to improve the efficiency of the algorithm.
[0165] Feature selection: Select the feature parameters that are most helpful for distinguishing battery types from the feature database to reduce computational complexity and improve recognition accuracy.
[0166] Cross-validation: Use cross-validation techniques to evaluate the performance of the algorithm and ensure the generalization ability of the model.
[0167] Performance evaluation: Define clear performance evaluation criteria, such as precision, recall, and F1 score, to measure the effectiveness of different algorithms.
[0168] In addition, the application of pattern recognition algorithms can also adopt the following alternatives:
[0169] Transfer learning: Use a pre-trained model as a starting point and fine-tune it on a specific type of battery data to speed up the learning process and improve recognition accuracy.
[0170] Online learning: Realize the online update capability of the algorithm so that the model can be adjusted in real time when new data arrives to maintain the timeliness of the recognition system.
[0171] The above-mentioned embodiments of the present invention have the following beneficial effects: the present invention realizes accurate identification of different battery types by real-time acquisition of current and voltage waveform data during charging, and uses advanced data analysis technology to calculate and analyze the charging power curve. The high accuracy and real-time performance of this method can provide key battery status information for the battery management system, which helps to optimize the use and maintenance strategy of the battery. In addition, by transmitting data to the model system wirelessly or wired, the method also has flexibility and convenience, and can adapt to different application scenarios and needs. Furthermore, in the extraction process and identification mechanism of characteristic parameters, the calculation of key parameters such as power peak value, power rise time, power fall time, and slope change and fluctuation frequency of the charging power curve, and the accurate extraction and analysis of these parameters can provide a more accurate basis for battery type identification. By fitting data through mathematical methods such as least squares method, and using pattern recognition algorithms such as neural networks and support vector machines for feature comparison, this method can not only improve the accuracy of identification, but also enhance the robustness and adaptability of the system. This method of comprehensive use of multiple technical means can improve the efficiency and reliability of battery type identification, and has important practical application value for battery health management and performance optimization.
[0172] like Figure 2 As shown, a battery type identification device 200 of some embodiments includes:
[0173] The data acquisition unit 201 is used to collect the current and voltage waveform data in the charging process in real time;
[0174] A data analysis unit 202, used to calculate a charging power curve and extract characteristic parameters;
[0175] A feature comparison unit 203 is used to compare the extracted feature parameters with the feature database to identify the battery type;
[0176] The result output unit 204 is used to output the recognition result to the user interface or other related systems, and provide feedback when necessary.
[0177] It is understandable that the modules described in the battery type identification device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the battery type identification method based on the charging power curve are also applicable to the battery type identification device 200 and the modules contained therein, and will not be repeated here.
[0178] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0179] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0180] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0181] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0182] It should be noted that some embodiments of the present disclosure may also include a computer-readable medium, and the computer-readable storage medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0183] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0184] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0185] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0186] The units described in some embodiments of the present disclosure may be implemented in software or in hardware. The units described may also be provided in a processor, and the functions described above herein may be performed at least in part by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0187] The above description is only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution. The above description is only some preferred embodiments of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present invention (but not limited to) to form a technical solution.
Claims
1. A battery type identification method based on charging power curve, characterized in that: The following steps are involved: Use sensors to collect current and voltage waveform data in real time during the charging process; The collected data is transmitted to the model system wirelessly or wiredly; Analyze and process the data and calculate the charging power curve; By fitting the instantaneous power value, the characteristic parameters of the charging power curve are extracted; The characteristic parameters are accurately compared with the pre-established characteristic database of different battery types to successfully identify the battery type.
2. The method according to claim 1, characterized in that The characteristic parameters include power peak value, power rise time, power fall time, and slope change and fluctuation frequency of the charging power curve.
3. The method according to claim 1, characterized in that The characteristic parameters of the charging power curve are: Determine the linear relationship between charging power and charging time, as shown in calculation formula (1); P(t)=a·t b +c (1) Where a, b, c are constants; By taking the derivative of formula (1), we can obtain the rate of change of power over time, as shown in formula (2); P′(t)=a·b·t b-1 (2) Based on the rate of change of power over time, the power peak, power rise time, power fall time, slope change of the charging power curve, and fluctuation frequency are calculated.
4. The method according to claim 3, characterized in that The power peak value is calculated by finding the extreme value of P(t) to obtain the power peak value, including: Let P′(t) = 0 and solve for the corresponding peak time t p ; The peak time t p Substituting into the calculation formula (1), we get the peak power p p .
5. The method according to claim 4, characterized in that The power rise time is the time from the start of charging to the power reaching the peak value. The peak time t p The power drop time is the time from the peak power to the end of charging, which is calculated by comparing the charging end time with the peak time t p The time interval is obtained.
6. The method according to claim 1, characterized in that Calculating the charging power curve includes calculating the instantaneous power P(t) by using formula (3) according to the collected current and voltage waveform data; p(t)=V(t)×I(t) (3) Among them, the calculation formulas for current and voltage waveform data are as follows; Where A and B are the amplitudes of current and voltage respectively; ω is the angular frequency, The initial phase.
7. The method according to claim 6, characterized in that Substituting the current and voltage waveform data into equation (3), the instantaneous power P(t) is shown in equation (4); The multiple instantaneous power values obtained are fitted, and the fitting function is shown in calculation formula (5); P(t)=a0+a1t+a2t 2 +…+a n t n (5) Among them, a0, a1, ..., a n is the fitting parameter; n is the number of instantaneous power values; The fitting parameters are obtained by the least square method, as shown in formula (6); Among them, S is the residual sum of squares; The residual sum of squares S is respectively about the fitting parameters a0, a1, ..., a n Find the partial derivative and set it to 0, as shown in formula (7); Solving equation (7) yields a continuous charging power curve function P(t)=f(t).
8. The method according to claim 1, characterized in that The establishment of the characteristic database includes analyzing the charging power curves of different types of batteries, including the capacity, internal resistance and cycle life of the batteries.
9. The method according to claim 8, characterized in that The pattern recognition algorithms include neural networks, support vector machines, decision trees, and cluster analysis.
10. A battery type identification device, characterized in that: include: A data acquisition unit, used for real-time acquisition of current and voltage waveform data during the charging process; A data analysis unit, used to calculate the charging power curve and extract characteristic parameters; A feature comparison unit, used to compare the extracted feature parameters with the feature database to identify the battery type; The result output unit is used to output the recognition results to the user interface or other related systems and provide feedback when necessary.
Citation Information
Cited By
Battery type identification and detection method and system based on charging and discharging characteristics
CN119986415A
A battery type identification and detection method and system based on charge and discharge characteristics
CN119986415B
