Battery charging and discharging pulse frequency detection method and system
By performing time-domain positioning calibration and temperature disturbance characteristic analysis of the pulse current signal of the battery during charging and discharging, and combining time-domain positioning error and disturbance characteristics for pulse identification, the problem of insufficient accuracy and robustness of pulse frequency detection in the prior art is solved, and high-precision pulse frequency detection during dynamic charging and discharging is achieved.
Patent Information
- Application Number
- CN202510560694.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2045-04-30
AI Technical Summary
The prior art is difficult to accurately extract the battery pulse frequency during dynamic charging and discharging, and is not robust enough, and is disturbed by factors such as temperature drift and circuit noise.
By collecting the pulse current signal of the battery during charging and discharging, dividing it into multiple pulse signal segments, determining the static offset of the current, and performing time-domain positioning calibration through the static offset and pulse width, monitoring the disturbance characteristics of the temperature to the current, and combining the time-domain positioning error and disturbance characteristics for pulse identification, obtaining the effective pulse time mark sequence and calculating the pulse frequency.
It effectively reduces the impact of current signal drift on pulse frequency detection, improves the accuracy and robustness of detection, and can accurately extract the battery charge and discharge pulse frequency in a highly noise environment.
Smart Images

Figure CN120085199A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of pulse frequency detection, and more specifically, to a method and system for detecting the pulse frequency of battery charging and discharging. Background Art
[0002] Pulse frequency detection refers to the technology of analyzing the current or voltage pulse signals during the battery charging and discharging process, extracting their periodic characteristics (such as pulse interval, duty cycle, rise / fall time, etc.), and then calculating the pulse repetition frequency. This technology is widely used in fields such as battery management systems (BMS), power electronics control, and energy recovery systems.
[0003] With the wide application of new energy batteries (such as lithium-ion batteries, solid-state batteries) in fields such as electric vehicles and energy storage systems, accurately monitoring the charging and discharging status of batteries is crucial for improving battery life and ensuring safety. Currently, battery management systems usually rely on parameters such as voltage, current, and temperature for state estimation. However, during dynamic charging and discharging processes, current signals often contain high-frequency pulse components (such as pulse-width modulation charging and discharging, current fluctuations during fast charging). These pulse signals may be affected by factors such as temperature drift and circuit noise, making it difficult for traditional methods to accurately extract the effective pulse frequency. Existing technologies (such as fast Fourier transform analysis, moving average filtering) are prone to frequency misjudgment in a strong noise environment and do not fully consider the dynamic impact of temperature on the current signal, resulting in insufficient robustness of pulse frequency detection. Therefore, how to reduce the impact of current signal drift on pulse frequency detection during battery charging and discharging has become a problem faced by the industry. Summary of the Invention
[0004] The present application provides a method and system for detecting the pulse frequency of battery charging and discharging, which can reduce the impact of current signal drift on pulse frequency detection during battery charging and discharging.
[0005] In a first aspect, the present application provides a method for detecting the pulse frequency of battery charging and discharging, including the following steps: Collect the pulse current signal of the target battery during charging and discharging; Divide the pulse current signal into multiple pulse signal segments according to a preset time window, and determine the static offset of the current during charging and discharging of the target battery based on the local current characteristics of each pulse signal segment; Perform time-domain positioning calibration on the time interval between adjacent rising edges in the pulse current signal through the static offset and the pulse width of the pulse current signal to obtain the time-domain positioning error of the time interval; Monitor the surface temperature of the target battery during charging and discharging, perform correlation analysis on all the monitored temperatures and the pulse current signal, and then obtain the disturbance characteristics of temperature on current during charging and discharging of the target battery; Perform pulse identification on the pulsed current signal according to all the time-domain positioning errors and the disturbance characteristics, obtain the effective pulse time scale sequence of the target battery during charge and discharge, and determine the effective pulse frequency of the target battery during charge and discharge based on the effective pulse time scale sequence.
[0006] In some embodiments, dividing the pulsed current signal into multiple pulsed signal segments according to a preset time window specifically includes: Determine the preset time window; Divide the pulsed current signal according to the preset time window to obtain multiple pulsed signal segments.
[0007] In some embodiments, determining the static offset of the current of the target battery during charge and discharge based on the local current characteristics of each pulsed signal segment specifically includes: Determine the local current characteristics of each pulsed signal segment; Determine multiple DC component values of the pulsed current signal according to all the local current characteristics; Take all the DC component values as the static offset of the current of the target battery during charge and discharge.
[0008] In some embodiments, perform time-domain positioning calibration on the time interval between adjacent rising edges in the pulsed current signal through the static offset and the pulse width of the pulsed current signal to obtain the time-domain positioning error of the time interval, specifically including: Determine the pulse width of the pulsed current signal; Determine the time interval between adjacent rising edges in the pulsed current signal; Perform positioning correction on the time interval according to the static offset and the pulse width to obtain multiple correction amounts of the time interval; Determine the time-domain positioning error of the time interval according to all the correction amounts.
[0009] In some embodiments, perform correlation analysis on all the monitored temperatures and the pulsed current signal, and further obtain the disturbance characteristics of the temperature on the current of the target battery during charge and discharge, specifically including: Correlate all the monitored temperatures with the pulsed current signal to obtain temperature-pulse correlation information; Determine the correlation coefficient sequence between the temperature and the current of the target battery during charge and discharge according to the temperature-pulse correlation information; Determine the disturbance characteristics of the temperature on the current of the target battery during charge and discharge through the correlation coefficient sequence.
[0010] In some embodiments, perform pulse identification on the pulsed current signal according to all the time-domain positioning errors and the disturbance characteristics to obtain the effective pulse time scale sequence of the target battery during charge and discharge, specifically including: Determine the dynamic adjustment information of the pulsed current signal according to all the time-domain positioning errors and the disturbance characteristics; Dynamically adjust the pulsed current signal according to the dynamic adjustment information to obtain an effective pulse time scale sequence when the target battery is charging and discharging.
[0011] In some embodiments, determining the effective pulse frequency when the target battery is charging and discharging based on the effective pulse time scale sequence specifically includes: Determine each reliable rising edge in the effective pulse time scale sequence; Determine the effective pulse frequency when the target battery is charging and discharging according to all the reliable rising edges.
[0012] In some embodiments, collect the pulsed current signal of the target battery when it is charging and discharging through a current sensor.
[0013] In some embodiments, monitor the surface temperature of the target battery when it is charging and discharging through a temperature sensor.
[0014] In a second aspect, the present application provides a battery charging and discharging pulse frequency detection system, including: An acquisition module for acquiring the pulsed current signal of the target battery when it is charging and discharging; A processing module for dividing the pulsed current signal into multiple pulse signal segments according to a preset time window, and determining the static offset of the current when the target battery is charging and discharging based on the local current characteristics of each pulse signal segment; The processing module is further configured to perform time-domain positioning calibration on the time interval between adjacent rising edges in the pulsed current signal through the static offset and the pulse width of the pulsed current signal to obtain the time-domain positioning error of the time interval; The processing module is further configured to monitor the surface temperature of the target battery when it is charging and discharging, perform correlation analysis on all the monitored temperatures and the pulsed current signal, and further obtain the disturbance characteristics of the temperature on the current when the target battery is charging and discharging; An execution module for performing pulse identification on the pulsed current signal according to all the time-domain positioning errors and the disturbance characteristics to obtain an effective pulse time scale sequence when the target battery is charging and discharging, and determining the effective pulse frequency when the target battery is charging and discharging based on the effective pulse time scale sequence.
[0015] The technical solutions provided by the disclosed embodiments of the present application have the following beneficial effects: In the battery charge and discharge pulse frequency detection method and system provided by the present application, first, a pulse current signal of a target battery during charge and discharge is collected; according to a preset time window, the pulse current signal is divided into multiple pulse signal segments, and a static offset of the current during charge and discharge of the target battery is determined based on the local current characteristics of each pulse signal segment; through the static offset and the pulse width of the pulse current signal, time-domain positioning calibration is performed on the time interval between adjacent rising edges in the pulse current signal to obtain a time-domain positioning error of the time interval; the surface temperature of the target battery during charge and discharge is monitored, and all monitored temperatures are subjected to correlation analysis with the pulse current signal, and then a disturbance characteristic of the current caused by the temperature during charge and discharge of the target battery is obtained; according to all the time-domain positioning errors and the disturbance characteristics, pulse identification is performed on the pulse current signal to obtain an effective pulse time scale sequence of the target battery during charge and discharge, and an effective pulse frequency during charge and discharge of the target battery is determined based on the effective pulse time scale sequence.
[0016] It can be seen that in the process of detecting the battery charge and discharge pulse frequency in the present application, first, the pulse signal segment is divided by a preset time window, and the current static offset is determined based on the local current characteristics. The segmented processing method is used to refine the change of the current signal, effectively capture the signal drift trend, avoid masking the local offset details due to overall analysis, and provide accurate basic data for subsequent time-domain positioning calibration, reducing the error caused by signal drift from the source; then, the time-domain positioning calibration is performed on the time interval between adjacent rising edges by combining the static offset and the pulse width, and the time-domain positioning error is introduced to quantify the offset influence. It not only considers the static characteristics of signal drift, but also combines the key parameter of pulse width. The accuracy of the time interval is evaluated through the time-domain positioning error, and the time positioning deviation caused by signal drift is constrained and corrected, improving the detection accuracy of the pulse time interval; then, the surface temperature of the battery is monitored in real time and correlated with the pulse current signal for analysis to obtain the disturbance characteristic of the current caused by the temperature. Since the temperature change is one of the important factors causing signal drift of the current signal, incorporating the temperature disturbance into the analysis system can dynamically compensate for the signal fluctuation caused by the temperature change, avoid misjudging the pulse frequency due to temperature influence, and make the detection result more conform to the actual charge and discharge state of the battery; thus, the pulse current signal is identified by comprehensively considering the time-domain positioning error and the disturbance characteristic, forming a double-check mechanism. The time-domain positioning error ensures the accuracy of pulse time positioning, and the disturbance characteristic excludes the interference signal caused by factors such as temperature. The two work together to accurately screen the effective pulse time scale sequence, effectively removing the false pulses generated by signal drift, providing reliable data support for pulse frequency calculation; finally, the effective pulse frequency during charge and discharge of the target battery is determined based on the effective pulse time scale sequence. By adopting the above scheme, the influence of current signal drift on the detection of pulse frequency during the battery charge and discharge process can be reduced. Description of the Drawings
[0017] Figure 1is an exemplary flowchart of a method for detecting the charge and discharge pulse frequency of a battery according to some embodiments of the present application; Figure 2 is an exemplary flowchart of determining a static offset according to some embodiments of the present application; Figure 3 is a partial diagram of a pulse current signal according to some embodiments of the present application; Figure 4 is a schematic structural diagram of a battery charge and discharge pulse frequency detection system according to some embodiments of the present application; Figure 5 is a schematic structural diagram of a computer device for implementing a method for detecting the charge and discharge pulse frequency of a battery according to some embodiments of the present application. Detailed implementation manners
[0018] To better understand the technical solutions of the present application, the technical solutions of the present application will be described in detail below in conjunction with the accompanying drawings of the specification and specific implementation manners.
[0019] Refer to Figure 1 , this figure is an exemplary flowchart of a method for detecting the charge and discharge pulse frequency of a battery according to some embodiments of the present application. The method 100 for detecting the charge and discharge pulse frequency of a battery mainly includes the following steps: In step 101, a pulse current signal of a target battery during charge and discharge is collected.
[0020] Specifically, when implemented, the current path of the current sensor is connected in series with the charge and discharge circuit of the target battery, and the target battery is charged and discharged. The pulse current signal of the target battery during charge and discharge is collected through the series-connected current sensor. In other embodiments, other methods may also be used for collection, which will not be elaborated here.
[0021] In step 102, according to a preset time window, the pulse current signal is divided into multiple pulse signal segments, and a static offset of the current of the target battery during charge and discharge is determined based on the local current characteristics of each pulse signal segment.
[0022] In some embodiments, dividing the pulse current signal into multiple pulse signal segments according to a preset time window can be implemented by the following steps: Determine a preset time window; Divide the pulse current signal according to the preset time window to obtain multiple pulse signal segments.
[0023] In specific implementation, first, based on the historical pulse current signal of the target battery, an integer multiple of the pulse period of the historical pulse current signal is used as a preset time window to ensure that multiple pulse periods are included in the divided signal segments. Then, the pulse current signal is preprocessed by the median filtering method in the prior art to remove the noise in the pulse current signal (such as removing isolated noise points and retaining the true change trend of the signal). Finally, a sliding step size is set, and this sliding step size is less than the preset time window. Starting from the starting position of the pulse current signal, the preset time window is gradually slid according to the sliding step size. Each time it slides, the signal segment within the current time period is intercepted, and each intercepted signal segment is used as a pulse signal segment. For example, the first window is from 0 milliseconds to 120 milliseconds, the second window is from 60 milliseconds to 180 milliseconds, the third window is from 120 milliseconds to 240 milliseconds, and so on until the window slides past the end position of the entire signal; in other embodiments, other methods can also be used for division, which is not limited here.
[0024] It should be noted that the pulse signal segment in this application represents a signal segment in the pulse current signal and can be used to analyze the characteristics of the pulse current signal.
[0025] In some embodiments, as shown in Figure 2 the figure, which is an exemplary flowchart for determining the static offset in some embodiments of this application. In this embodiment, the static offset of the current of the target battery during charge and discharge can be determined based on the local current characteristics of each pulse signal segment by the following steps: First, in step 1021, the local current characteristics of each pulse signal segment are determined. Furthermore, in step 1022, multiple DC component values of the pulse current signal are determined according to all the local current characteristics. Finally, in step 1023, all the DC component values are used as the static offset of the current of the target battery during charge and discharge.
[0026] It should be noted that the static offset changes slowly and exists in the entire signal, while the true pulse has transient characteristics. Therefore, the dynamic estimation and compensation of the offset can be achieved by separating the local current characteristics in the time domain or frequency domain.
[0027] In specific implementation, first, select a pulse signal segment as the selected pulse signal segment, calculate the mean value of the amplitudes within each pulse period in the selected pulse signal segment, and use all the mean values as the local current features of the selected pulse signal segment. Then continue to determine the local current features of the remaining pulse signal segments, where the local current features represent the local current features in the signal segment. Then, for each local current feature, use the least squares method to perform linear fitting on all the mean values in the local current feature to obtain a fitting straight line, and use the intercept of this fitting straight line as the DC component value, thereby obtaining multiple DC component values, where the DC component value represents the parameter value of the average level of the current in the pulse signal segment. In other embodiments, other methods may also be used for implementation, which are not limited herein.
[0028] It should be noted that the static offset in this application represents the low-frequency component that slowly drifts in the current signal during the charge and discharge of the target battery, and can be used to correct the pulsed current signal to facilitate ensuring the accurate measurement of the charge and discharge current.
[0029] In step 103, perform time-domain positioning calibration on the time interval between adjacent rising edges in the pulsed current signal through the static offset and the pulse width of the pulsed current signal to obtain the time-domain positioning error of the time interval.
[0030] In some embodiments, performing time-domain positioning calibration on the time interval between adjacent rising edges in the pulsed current signal through the static offset and the pulse width of the pulsed current signal to obtain the time-domain positioning error of the time interval can be implemented by the following steps: Determine the pulse width of the pulsed current signal; Determine the time interval between adjacent rising edges in the pulsed current signal; Perform positioning correction on the time interval according to the static offset and the pulse width to obtain multiple correction amounts for the time interval; Determine the time-domain positioning error of the time interval according to all the correction amounts.
[0031] It should be noted that since the static offset will change the time when the signal exceeds or is lower than the threshold, thus affecting the accurate measurement of the rising edge time interval, removing the static offset in the pulsed current signal makes the signal return to a relatively real dynamic change state. And the difference in pulse width will cause changes in the slope and shape of the rising edge, thereby affecting the accurate identification of the rising edge and the measurement of the time interval. Therefore, by combining the pulsed current signal compensated by the static offset and the known pulse width characteristics, the time interval between adjacent pulse rising edges can be accurately identified, and the timing stability of the signal can be evaluated by statistically analyzing the volatility of these intervals (time-domain positioning error). And the collaborative analysis of the static offset and the pulse width can significantly improve the anti-interference ability of time-domain positioning.
[0032] In specific implementation, the pulse width of the pulse current signal can be determined in the following manner: that is, by using the threshold comparison method in the prior art, each rising edge and falling edge are extracted from the pulse current signal, and the rising edges and falling edges are arranged in chronological order. The arranged sequence is used as the rising-falling edge sequence. Calculate the time difference between adjacent rising edges and falling edges in the rising-falling edge sequence, and take the average value of all time differences as the pulse width. In this embodiment, the threshold comparison method can be: set a current amplitude threshold (such as 50% of the peak value in the pulse current signal). When the amplitude of the pulse current signal changes from lower than the current amplitude threshold to higher than the current amplitude threshold, it is determined as a rising edge. Conversely, when the amplitude of the pulse current signal changes from higher than the current amplitude threshold to lower than the current amplitude threshold, it is determined as a falling edge. In other embodiments, other methods can be used to determine it, which is not limited here.
[0033] In specific implementation, the time interval between adjacent rising edges in the pulse current signal can be determined in the following manner: that is, by using the threshold comparison method in the prior art to determine each rising edge in the pulse current signal, and calculate the time interval between adjacent rising edges. All the intervals are used as the time interval between adjacent rising edges in the pulse current signal, where the time interval represents the time interval between adjacent rising edges in the pulse current signal. In other embodiments, other methods can also be used to determine it, which is not limited here.
[0034] In specific implementation, the time interval can be position-corrected according to the static offset and the pulse width to obtain multiple correction amounts of the time interval in the following manner: obtain the ideal pulse width from the battery corresponding database, and determine the ideal pulse width based on the statistical analysis method in the prior art combined with historical pulse current signals. For example, take the average value of all pulse widths in the historical pulse current signals as the ideal pulse width, and take the difference between the pulse width and the ideal pulse width as the width correction amount. Select one interval in the time interval as the selected interval, extract the signal segment corresponding to the selected interval in the pulse current signal, extract the DC component value corresponding to the selected interval in the static offset, subtract the extracted DC component value from the signal segment to obtain the debiased signal segment, re-detect the rising edges and falling edges of the debiased signal segment, and calculate the interval between adjacent rising edges. Take the difference between the selected interval and this interval as a time correction amount, and take the sum of the time correction amount and the width correction amount as the correction amount of the selected interval. Continue to determine the correction amounts of the remaining intervals in the time interval, where the correction amount represents the parameter value of the correction degree of the time between rising edges in the pulse current. In other embodiments, other methods can also be used to determine it, which is not limited here.
[0035] In specific implementation, the time-domain positioning error of the time interval determined according to all calibration amounts can be implemented in the following manner, that is: calculate the root mean square error of all calibration amounts according to the mean and standard deviation of all calibration amounts, and characterize the time-domain positioning error of the time interval through this root mean square error. If the mean square error is larger, it indicates that the positioning error is more dispersed, and the time-domain positioning error is larger; otherwise, it indicates that the time-domain positioning error is smaller. In other embodiments, other methods can also be used to determine it, which is not limited here.
[0036] It should be noted that the time-domain positioning error in this application represents the error degree of positioning the time interval between adjacent rising edges in the current signal during battery charging and discharging, and can be used to judge the current situation during battery charging and discharging, facilitating the identification of the pulse frequency of the current during battery charging and discharging.
[0037] In step 104, monitor the surface temperature of the target battery during charging and discharging, and perform correlation analysis on all the monitored temperatures and the pulse current signal, so as to obtain the perturbation characteristics of the temperature on the current during charging and discharging of the target battery.
[0038] In specific implementation, monitoring the surface temperature of the target battery during charging and discharging can be implemented in the following manner, that is: place the sensing node of the temperature sensor on the surface of the target battery, and monitor the surface temperature of the target battery during charging and discharging through the temperature sensor. Among them, the surface temperature represents the temperature on the battery surface during charging and discharging of the target battery. In other embodiments, other methods can also be used to determine it, which is not limited here.
[0039] In some embodiments, performing correlation analysis on all the monitored temperatures and the pulse current signal, and then obtaining the perturbation characteristics of the temperature on the current during charging and discharging of the target battery can be implemented by the following steps: Correlate all the monitored temperatures with the pulse current signal to obtain temperature-pulse correlation information; Determine the correlation coefficient sequence between the temperature and the current during charging and discharging of the target battery according to the temperature-pulse correlation information; Determine the perturbation characteristics of the temperature on the current during charging and discharging of the target battery through the correlation coefficient sequence.
[0040] It should be noted that during the battery charging and discharging process, chemical reactions inside the battery will generate heat, resulting in temperature changes, and the temperature changes will in turn affect the internal resistance, electrode reaction rate, etc. of the battery, thereby affecting the current. By monitoring the temperature and the pulse current signal and performing correlation analysis on the two, the internal relationship between the temperature and the current can be revealed.
[0041] In addition, in this embodiment, a synchronous clock is used to trigger the temperature and current sensors to ensure consistent data acquisition time. When specifically implemented, all the monitored temperatures are associated with the pulse current signal to obtain temperature-pulse association information, which can be achieved in the following manner: By performing time-shift cross-correlation analysis on all the monitored temperatures and the pulse current signal to determine the optimal lag time between the temperature and the current signal, and then performing time-shift compensation on the acquisition times of all the monitored temperatures and the pulse current signal based on the optimal lag time. After that, timestamp alignment is performed on all the monitored temperatures and the pulse current signal after time-shift compensation, and the aligned dataset is used as the temperature-pulse association information. For example, the temperature and the corresponding amplitude in the pulse current signal with the same timestamp are combined into a vector. For example, vector = (temperature, amplitude), and all the combined vectors are used as the temperature-pulse association information. In other embodiments, other methods can also be used to determine it, which is not limited here.
[0042] When specifically implemented, the correlation coefficient sequence between the temperature and the current during the charge and discharge of the target battery can be determined according to the temperature-pulse association information in the following manner: Obtain each pulse signal segment in the pulse current signal, select one pulse signal segment as the selected pulse signal segment, extract each vector corresponding to the selected pulse signal segment from the temperature-pulse association information, and calculate the correlation coefficient of each extracted vector through a non-linear correlation index (such as mutual information) in the prior art. The correlation coefficient is used as the correlation coefficient of the selected pulse signal segment. Then continue to determine the correlation coefficients of the remaining pulse signal segments, sort all the correlation coefficients in ascending order, and the sorted sequence is used as the correlation coefficient sequence between the temperature and the current during the charge and discharge of the target battery. Among them, the correlation coefficient in the correlation coefficient sequence represents a parameter of the correlation degree between the temperature and the current during the charge and discharge of the target battery. In other embodiments, other methods can also be used to determine it, which is not limited here.
[0043] In specific implementation, to determine the perturbation characteristics of the temperature on the current during charge and discharge of the target battery through the correlation coefficient sequence, the following method can be adopted, that is: set a dynamic correlation threshold, which can be set according to the actual correlation coefficients according to the threshold setting method (such as the normal distribution method). Define each correlation coefficient greater than the dynamic correlation threshold in the correlation coefficient sequence as a perturbation correlation coefficient, where the perturbation correlation coefficient represents the parameter value of the correlation degree of the temperature on the current. Extract all vectors corresponding to each perturbation correlation coefficient from the temperature-pulse correlation information, and calculate the standard deviation and mean of the temperature and the standard deviation and mean of the amplitude in each vector. The standard deviation and mean of the temperature, the standard deviation and mean of the amplitude, the optimal lag time, and the set of the first correlation coefficient segment are used as the perturbation characteristics of the temperature on the current during charge and discharge of the target battery; in other embodiments, other methods can also be used to determine, which are not limited here.
[0044] It should be noted that the perturbation characteristics in this application represent the characteristics of the perturbation degree of the temperature on the current during charge and discharge of the target battery, and can be used to analyze the interference situation of the temperature on the current during charge and discharge of the target battery.
[0045] In step 105, pulse identification is performed on the pulse current signal according to all the time-domain positioning errors and the perturbation characteristics to obtain an effective pulse time stamp sequence during charge and discharge of the target battery, and an effective pulse frequency during charge and discharge of the target battery is determined based on the effective pulse time stamp sequence.
[0046] In some embodiments, to perform pulse identification on the pulse current signal according to all the time-domain positioning errors and the perturbation characteristics to obtain an effective pulse time stamp sequence during charge and discharge of the target battery, the following steps can be adopted: Determine the dynamic adjustment information of the pulse current signal according to all the time-domain positioning errors and the perturbation characteristics; Dynamically adjust the pulse current signal through the dynamic adjustment information to obtain an effective pulse time stamp sequence during charge and discharge of the target battery.
[0047] It should be noted that the time-domain positioning error reflects the stability of the pulse time interval and can eliminate signals with disordered time sequences caused by noise or hardware failures. The perturbation characteristics characterize the quality reliability of the signal and can eliminate signals with amplitude / waveform distortion caused by temperature interference. Therefore, high-precision pulse screening can be achieved through double constraints.
[0048] In specific implementation, the dynamic adjustment information of the pulse current signal can be determined according to all the time-domain positioning errors and the disturbance characteristics in the following manner, that is: initialize a dynamic adjustment information model based on machine learning algorithms (such as linear regression, decision tree regression), train this dynamic adjustment information model with historical pulse current signals, use the time-domain positioning errors and disturbance characteristics as the input features of this dynamic adjustment information model, use the pulse amplitude correction coefficient, width adjustment amount, and time offset compensation value as the output features of this dynamic adjustment information model, and use the cross-validation method to optimize this dynamic adjustment information model, update the input features of this dynamic adjustment information model with all the time-domain positioning errors and disturbance characteristics, so as to calculate the updated pulse amplitude correction coefficient, width adjustment amount, and time offset compensation value through this dynamic adjustment information model, and use the pulse amplitude correction coefficient, width adjustment amount, and time offset compensation value as the dynamic adjustment information of the pulse current signal, where the dynamic adjustment information represents the information on the degree of dynamic adjustment of the pulse current signal; in other embodiments, it can also be determined in other ways, which are not limited here.
[0049] In specific implementation, the pulse current signal can be dynamically adjusted through the dynamic adjustment information to obtain the effective pulse time scale sequence during the charge and discharge of the target battery in the following manner, that is: use digital signal processing technology to dynamically adjust the pulse current signal, and use the adjusted signal as the effective pulse time scale sequence during the charge and discharge of the target battery. For example, when adjusting the amplitude, multiply the original signal by the amplitude correction coefficient output by the model using the numpy library in Python; when adjusting the pulse width, rely on the resampling function of the scipy.signal library in Python to interpolate or decimate the signal according to the width adjustment amount; for the time offset, calibrate the pulse position by modifying the time stamp of the signal. In other embodiments, it can also be adjusted in other ways, which are not limited here.
[0050] It should be noted that the effective pulse time scale sequence in this application represents the effective pulse signal during the charge and discharge of the target battery, and can be used to determine the pulse frequency of the target battery during charge and discharge.
[0051] In some embodiments, the effective pulse frequency during the charge and discharge of the target battery can be determined based on the effective pulse time scale sequence through the following steps: Determine each credible rising edge in the effective pulse time scale sequence; Determine the effective pulse frequency during the charge and discharge of the target battery according to all the credible rising edges.
[0052] In specific implementation, first, each rising edge identified from the valid pulse time scale sequence through the threshold comparison method in the prior art is used as a credible rising edge; then, the time interval between each adjacent credible rising edge is calculated, and the reciprocal of each time interval is used as the frequency of a single pulse, and the average value of all the frequencies of single pulses is used as the effective pulse frequency during the charge and discharge of the target battery; in other embodiments, other implementation manners may also be adopted, which are not limited herein.
[0053] In some embodiments, referring to Figure 3 as shown, this figure is a partial view of the pulse current signal in some embodiments of the present application. As Figure 3 described, the lines in the figure represent the numerical changes of the pulse current signal at different moments. The rising edge and the falling edge are relatively obvious, and information such as the magnitude and change trend of the pulse current can be intuitively presented through the trend of the lines.
[0054] In addition, on the other hand of the present application, in some embodiments, the present application provides a battery charge and discharge pulse frequency detection system. The battery charge and discharge pulse frequency detection system includes a battery charge and discharge pulse frequency detection system. Referring to Figure 4 , this figure is a schematic structural diagram of the battery charge and discharge pulse frequency detection system according to some embodiments of the present application. The battery charge and discharge pulse frequency detection system 400 includes: an acquisition module 401, a processing module 402, and an execution module 403, which are described as follows: Acquisition module 401. In the present application, the acquisition module 401 is mainly used to acquire the pulse current signal of the target battery during charge and discharge; Processing module 402. In the present application, the processing module 402 is used to divide the pulse current signal into multiple pulse signal segments according to a preset time window, and determine the static offset of the current during the charge and discharge of the target battery based on the local current characteristics of each pulse signal segment; It should be noted that in the present application, the processing module 402 is further used to perform time-domain positioning calibration on the time interval between adjacent rising edges in the pulse current signal through the static offset and the pulse width of the pulse current signal, and obtain the time-domain positioning error of the time interval; In addition, it should be noted that in the present application, the processing module 402 is further used to monitor the surface temperature of the target battery during charge and discharge, perform correlation analysis on all the monitored temperatures and the pulse current signal, and further obtain the disturbance characteristics of the temperature on the current during the charge and discharge of the target battery; Execution module 403. In the present application, the execution module 403 is mainly used to perform pulse identification on the pulse current signal according to all the time-domain positioning errors and the disturbance characteristics, obtain the valid pulse time scale sequence of the target battery during charge and discharge, and determine the effective pulse frequency of the target battery during charge and discharge based on the valid pulse time scale sequence.
[0055] In addition, the present application further provides a computer device, which includes a memory and a processor. The memory stores code, and the processor is configured to obtain the code and execute the above-mentioned battery charge and discharge pulse frequency detection method.
[0056] In some embodiments, referring to Figure 5 , this figure is a schematic structural diagram of a computer device for implementing the battery charge and discharge pulse frequency detection method according to some embodiments of the present application. The battery charge and discharge pulse frequency detection method in the above embodiments can be implemented by Figure 5 the computer device shown in the figure. The computer device 500 includes at least one processor 501, a communication bus 502, a memory 503, and at least one communication interface 504.
[0057] The processor 501 can be a general-purpose central processing unit (CPU) or an application-specific integrated circuit (ASIC).
[0058] The communication bus 502 can be used to transfer information between the above components.
[0059] The memory 503 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disks or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 503 can exist independently and be connected to the processor 501 through the communication bus 502. The memory 503 can also be integrated with the processor 501.
[0060] Among them, the memory 503 is used to store the program code for executing the solution of this application, and is controlled by the processor 501 to execute. The processor 501 is used to execute the program code stored in the memory 503. The program code may include one or more software modules. The methods used in the above embodiments can be implemented by one or more software modules in the program code of the processor 501 and the memory 503.
[0061] The communication interface 504 uses any device such as a transceiver to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0062] In a specific implementation, as an embodiment, the computer device may include multiple processors, and each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0063] The above computer device may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device may be a desktop computer, a laptop computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. The embodiments of this application do not limit the type of the computer device.
[0064] In addition, this application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above battery charge and discharge pulse frequency detection method is implemented.
[0065] Although the preferred embodiments of this application have been described, those skilled in the art can make additional changes and modifications once they know the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications falling within the scope of this application.
[0066] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these changes and modifications.
Claims
1. A method for detecting a battery charge and discharge pulse frequency, characterized in that: The steps include: Collect pulse current signals of the target battery during charging and discharging; Dividing the pulse current signal into a plurality of pulse signal segments according to a preset time window, and determining a static offset of the current of the target battery during charging and discharging based on the local current characteristics of each pulse signal segment; Performing time domain positioning calibration on the time interval between adjacent rising edges in the pulse current signal by using the static offset and the pulse width of the pulse current signal to obtain the time domain positioning error of the time interval; Monitoring the surface temperature of the target battery during charging and discharging, and correlating all the monitored temperatures with the pulse current signal to obtain the disturbance characteristics of the target battery's temperature on the current during charging and discharging; The pulse current signal is pulse identified according to all time domain positioning errors and the disturbance characteristics to obtain an effective pulse time-stamp sequence of the target battery during charging and discharging, and the effective pulse frequency of the target battery during charging and discharging is determined based on the effective pulse time-stamp sequence.
2. The method according to claim 1, characterized in that Dividing the pulse current signal into a plurality of pulse signal segments according to a preset time window specifically includes: Determine the preset time window; The pulse current signal is divided according to the preset time window to obtain a plurality of pulse signal segments.
3. The method according to claim 1, characterized in that Determining the static current offset of the target battery during charging and discharging based on the local current characteristics of each pulse signal segment specifically includes: Determine the local current characteristics of each pulse signal segment; Determining multiple DC component values of the pulse current signal according to all local current characteristics; All DC component values are taken as static offsets of the target battery current during charging and discharging.
4. The method according to claim 1, characterized in that The time domain positioning error of the time interval obtained by performing time domain positioning calibration on the time interval between adjacent rising edges in the pulse current signal through the static offset and the pulse width of the pulse current signal specifically includes: determining a pulse width of the pulse current signal; Determining the time interval between adjacent rising edges in the pulse current signal; Performing positioning correction on the time interval according to the static offset and the pulse width to obtain multiple correction values of the time interval; The time domain positioning error of the time interval is determined based on all corrections.
5. The method according to claim 1, characterized in that All monitored temperatures are correlated with the pulse current signal to obtain the disturbance characteristics of the target battery's temperature on the current during charging and discharging, including: Correlating all monitored temperatures with the pulse current signal to obtain temperature-pulse correlation information; Determine a correlation coefficient sequence between temperature and current of a target battery during charging and discharging according to the temperature-pulse correlation information; The disturbance characteristics of the temperature on the current of the target battery during charging and discharging are determined by the correlation coefficient sequence.
6. The method according to claim 1, characterized in that According to all the time domain positioning errors and the disturbance characteristics, the pulse current signal is pulse identified to obtain the effective pulse time sequence of the target battery during charging and discharging, specifically including: Determining dynamic adjustment information of the pulse current signal according to all time domain positioning errors and the disturbance characteristics; The pulse current signal is dynamically adjusted according to the dynamic adjustment information to obtain an effective pulse timing sequence of the target battery during charging and discharging.
7. The method according to claim 1, characterized in that Determining the effective pulse frequency when the target battery is charged or discharged based on the effective pulse time-stamp sequence specifically includes: Determining each credible rising edge in the valid pulse time stamp sequence; The effective pulse frequency when charging and discharging the target battery is determined based on all credible rising edges.
8. The method according to claim 1, characterized in that The pulse current signal of the target battery during charging and discharging is collected through the current sensor.
9. The method according to claim 1, characterized in that The surface temperature of the target battery during charging and discharging is monitored by a temperature sensor.
10. A battery charge and discharge pulse frequency detection system, characterized in that: include: An acquisition module is used to acquire pulse current signals of the target battery during charging and discharging; A processing module, used to divide the pulse current signal into a plurality of pulse signal segments according to a preset time window, and determine the static offset of the current of the target battery during charging and discharging based on the local current characteristics of each pulse signal segment; The processing module is further used to perform time domain positioning calibration on the time interval between adjacent rising edges in the pulse current signal through the static offset and the pulse width of the pulse current signal to obtain the time domain positioning error of the time interval; The processing module is further used to monitor the surface temperature of the target battery during charging and discharging, and to correlate and analyze all the monitored temperatures with the pulse current signal, thereby obtaining the disturbance characteristics of the temperature on the current of the target battery during charging and discharging; The execution module is used to perform pulse identification on the pulse current signal according to all time domain positioning errors and the disturbance characteristics, obtain an effective pulse time-mark sequence of the target battery during charging and discharging, and determine the effective pulse frequency of the target battery during charging and discharging based on the effective pulse time-mark sequence.
Citation Information
Patent Citations
Discharge monitoring method, system and equipment based on interference pulse and storage medium
CN115097271A
System and method of obtaining random jitter estimates from measured signal data
US20050286627A1
Jitter measuring apparatus, jitter measuring method and test apparatus
US20070104260A1
Cited By
BMS function on-load aging test system and method
CN120577633A
A BMS function load aging test system and method
CN120577633B