Battery acoustic signal processing method, device and computer equipment
The signal-to-noise ratio of the battery acoustic signal is improved through empirical mode decomposition and wavelet decomposition processing, which solves the problems of poor accuracy and low reliability of traditional battery status detection and achieves more efficient battery status detection.
Patent Information
- Application Number
- CN202410963003.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Traditional battery status detection based on voltage and current has poor accuracy and low reliability, which cannot meet the needs of actual application scenarios. Moreover, the closed shell and porous structure of the battery cause rapid attenuation of acoustic signals and serious electromagnetic signal interference, which affects the quality of detection.
Using empirical mode decomposition and wavelet decomposition processing methods, select the intrinsic mode function with a frequency greater than or equal to the set threshold, fuse high-frequency signals, perform wavelet decomposition and noise reduction processing, and finally use wavelet reconstruction to obtain the representation of battery status. signal.
It effectively improves the signal-to-noise ratio of the battery acoustic signal, retains high-frequency details, enhances the accuracy and reliability of battery status detection, and solves the problems of low signal-to-noise ratio, low quality, and poor reliability.
Smart Images

Figure CN118501722B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery detection technology, and in particular to a method, device and computer equipment for processing battery acoustic signals. Background Art
[0002] Batteries, such as lithium-ion batteries, are widely used in power grid energy storage, new energy vehicles, aerospace, electronic digital products and other fields, and have become the mainstream core components of energy storage media. However, the degradation or drop in its performance often causes users to be anxious and reduces the reliability of equipment operation. Therefore, it is necessary to detect the status of the battery, such as the state of charge (State of Charge), state of health (State of Health), etc. Traditional battery status detection based on voltage and current has problems such as poor accuracy and low reliability, and cannot meet the needs of actual application scenarios. Battery status detection based on acoustic signals has the advantages of high sensitivity and non-destructiveness, which can effectively improve the accuracy and reliability of battery status detection and has been widely used.
[0003] However, the battery has a closed shell, and there is a certain gap between the battery core and the shell. In addition, the materials such as electrodes and diaphragms are all porous structures. When sound waves propagate inside the battery, they decay quickly. In addition, in the battery module, due to the presence of multiple monitoring modules and physical circuits, there is a certain amount of electromagnetic signal interference. The above factors cause the quality of the acoustic signal to be less than expected. Summary of the invention
[0004] The embodiments of the present specification provide a method, an apparatus and a computer device for processing an acoustic signal of a battery, which are used to improve the signal-to-noise ratio of the acoustic signal of the battery, thereby enhancing the accuracy and reliability of battery status detection.
[0005] A method for processing an acoustic signal of a battery, comprising:
[0006] Performing empirical mode decomposition on the collected first acoustic signal of the battery to obtain multiple intrinsic mode functions;
[0007] Selecting a plurality of target eigenmode functions having frequencies greater than or equal to a set threshold value from the plurality of eigenmode functions;
[0008] fusing the multiple target intrinsic mode functions to obtain a high-frequency signal in the first acoustic signal;
[0009] Performing wavelet decomposition on the high frequency signal to obtain a plurality of wavelet decomposition signals;
[0010] Performing noise reduction processing on the multiple wavelet decomposition signals;
[0011] Perform wavelet reconstruction on the denoised wavelet decomposition signal to obtain a reconstructed signal;
[0012] The multiple reconstructed signals are fused to obtain a second acoustic signal, where the second acoustic signal is used to indicate the state of the battery.
[0013] A battery acoustic signal processing device, comprising:
[0014] An empirical mode decomposition unit, used to perform empirical mode decomposition on the collected first acoustic signal of the battery to obtain a plurality of intrinsic mode functions;
[0015] A selection unit, configured to select a plurality of target eigenmode functions having frequencies greater than or equal to a set threshold value from among the plurality of eigenmode functions;
[0016] a first fusion unit, configured to fuse the plurality of target intrinsic mode functions to obtain a high-frequency signal in the first acoustic signal;
[0017] A wavelet decomposition unit, used for performing wavelet decomposition on the high-frequency signal to obtain a plurality of wavelet decomposition signals;
[0018] A noise reduction unit, used for performing noise reduction processing on the plurality of wavelet decomposition signals;
[0019] A wavelet reconstruction unit is used to perform wavelet reconstruction on the denoised wavelet decomposition signal to obtain a reconstructed signal;
[0020] The second fusion unit is used to fuse the multiple reconstructed signals to obtain a second acoustic signal, where the second acoustic signal is used to indicate the state of the battery.
[0021] The embodiment of the present specification also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned sound signal processing method when executing the computer program.
[0022] The embodiments of the present specification also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned acoustic signal processing method is implemented.
[0023] The embodiments of the present specification also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned acoustic signal processing method is implemented.
[0024] The technical solution of the embodiment of this specification can perform empirical mode decomposition on the first acoustic signal of the collected battery to obtain multiple intrinsic mode functions; multiple target intrinsic mode functions with frequencies greater than or equal to a set threshold can be selected from the multiple intrinsic mode functions; the multiple target intrinsic mode functions can be fused to obtain a high-frequency signal in the first acoustic signal. In this way, the low-frequency components and noise are filtered out by the method of characteristic mode extraction, and the high-frequency part of the first acoustic signal is retained. The high-frequency signal can also be decomposed by wavelet to obtain multiple wavelet decomposition signals; the multiple wavelet decomposition signals can be subjected to noise reduction processing; the wavelet decomposition signals after noise reduction can be subjected to wavelet reconstruction to obtain a reconstructed signal; and the multiple reconstructed signals can be fused to obtain a second acoustic signal. In this way, the signal-to-noise ratio of the high-frequency part of the first acoustic signal can be improved by wave reconstruction. The embodiment of this specification can effectively solve the problems of low signal-to-noise ratio, low quality, and poor reliability of existing battery acoustic signal acquisition. By combining wave reconstruction and characteristic mode extraction, the high-frequency details of the battery acoustic signal can be retained, the low-frequency noise signal can be effectively filtered out, and the noise ratio of the battery acoustic signal can be improved. The high-frequency details are highly correlated with the battery status. Thus, the accuracy and reliability of battery status detection can be enhanced. The embodiments of this specification also have the advantages of high efficiency and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. The drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 Schematic diagram of the process of the battery acoustic signal processing method in the embodiment of this specification;
[0027] Figure 2 Schematic diagram of the waveform of the first sound signal in the embodiment of this specification;
[0028] Figure 3 Schematic diagram of the process of empirical mode decomposition in the embodiment of this specification;
[0029] Figure 4a This is a waveform diagram of the target intrinsic mode function IMF1 in the embodiment of this specification;
[0030] Figure 4b Schematic diagram of the waveform of the target intrinsic mode function IMF2 in the embodiment of this specification;
[0031] Figure 4c This is a waveform diagram of the target intrinsic mode function IMF3 in the embodiment of this specification;
[0032] Figure 4d This is a waveform diagram of the target intrinsic mode function IMF4 in the embodiment of this specification;
[0033] Figure 4e This is a waveform diagram of the target intrinsic mode function IMF5 in the embodiment of this specification;
[0034] Figure 4f This is a waveform diagram of the target intrinsic mode function IMF6 in the embodiment of this specification;
[0035] Figure 4g This is a waveform diagram of the target intrinsic mode function IMF7 in the embodiment of this specification;
[0036] Figure 4h This is a waveform diagram of the target intrinsic mode function IMF8 in the embodiment of this specification;
[0037] Figure 4i This is a waveform diagram of the target intrinsic mode function IMF9 in the embodiment of this specification;
[0038] Figure 5 A waveform diagram of a high-frequency signal in an embodiment of this specification;
[0039] Figure 6 A waveform diagram of a wavelet decomposition signal in an embodiment of this specification;
[0040] Figure 7 A waveform diagram of a reconstructed signal in an embodiment of this specification;
[0041] Figure 8 Schematic diagram of the structure of the acoustic signal processing device of the battery in the embodiment of this specification. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, rather than all of the embodiments. The specific embodiments described herein are only used to explain the present disclosure, rather than to limit the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art are within the scope of protection of the present disclosure. In addition, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0043] See also Figure 1The embodiment of this specification provides a method for processing an acoustic signal of a battery. The method can be applied to computer devices such as notebook computers, desktop computers, and servers. The method can include the following steps.
[0044] Step 11: Perform empirical mode decomposition on the collected first acoustic signal of the battery to obtain multiple intrinsic mode functions.
[0045] In some embodiments, the battery refers to a device that can generate electrical energy. For example, the battery may include a lead-acid battery, a lithium battery, or other device that can convert electrical energy into chemical energy. The battery may include a power battery that can provide power for electric vehicles, electric trains, electric bicycles, and the like. As the battery is charged and discharged, its internal structure and material properties will gradually change. Changes in the internal structure and material properties of the battery can be detected by sound waves (such as ultrasound), thereby providing information about the battery status, such as the state of charge (State of Charge), the state of health (State of Health), and the like. The detection method based on acoustic signals has the advantages of high sensitivity and non-destructiveness, and can effectively improve the accuracy and reliability of battery detection.
[0046] In some embodiments, a first acoustic signal of a battery may be collected. The first acoustic signal includes an acoustic wave signal such as an ultrasonic signal. The first acoustic signal may be collected by a signal collection device. For example, an acoustic wave may be emitted to the battery. An acoustic wave signal passing through the battery may be collected by a signal collection device as the first acoustic wave signal. In some examples, an ultrasonic wave may be emitted to the battery by an ultrasonic pulse transmitter, and an ultrasonic wave passing through the battery may be received by an ultrasonic pulse receiver as the first acoustic signal.
[0047] For example, the first acoustic signal f(t) of a square hard-shell lithium-ion battery with a length of 30 mm, a height of 40 mm, and a thickness of 25 mm can be collected. Figure 2 The sampling rate of the first acoustic signal f(t) may be 2.5 MHz, and the center frequency may be between 20 kHz and 200 kHz. For example, the center frequency of the first acoustic signal may be 26500 Hz.
[0048] In some embodiments, the battery has a closed outer shell, and there is a certain gap between the battery coil and the shell. And the materials such as electrodes and diaphragms are all porous structures. When the sound wave propagates inside the battery, it decays quickly. In addition, in the battery module, due to the presence of multiple monitoring modules and physical circuits, there is a certain electromagnetic signal interference. Therefore, the first sound signal collected is often a relatively weak sound signal. And the first sound signal is also a complex, nonlinear, and non-stationary signal.
[0049] In some embodiments, by performing empirical mode decomposition (EMD) on the first acoustic signal, multiple intrinsic mode functions (IMF) of the first acoustic signal can be obtained. The multiple intrinsic mode functions are used to represent the local characteristics of the first acoustic signal in multiple different frequency ranges. Each intrinsic mode function represents the components of the first acoustic signal at different scales. Through multiple intrinsic mode functions, it is helpful to better analyze the structure and noise of the first acoustic signal. Each intrinsic mode function can be understood as a signal, which can be expressed as IMF (t). t represents time.
[0050] See also Figure 3 The empirical mode decomposition of the first sound signal can be performed through the following steps.
[0051] Step 111: Determine an upper envelope and a lower envelope of the first acoustic signal.
[0052] The local extreme value points of the first acoustic signal can be obtained. The local extreme value points include local maximum value points and local minimum value points. The local maximum value point is a data point that is larger than two adjacent data points. The local minimum value point is a data point that is smaller than two adjacent data points. The local extreme value points can be interpolated to obtain the upper envelope and the lower envelope. For example, the local extreme value points can be interpolated by spline interpolation. The spline interpolation method divides the entire interpolation interval into several small intervals. Each small interval is fitted with a polynomial to obtain a smooth curve. Specifically, by interpolating the local maximum value points, the upper envelope can be obtained. By interpolating the local minimum value points, the lower envelope can be obtained.
[0053] Step 112: Calculate the average of the upper envelope and the lower envelope to obtain an average envelope.
[0054] The formula can be Calculate the mean of the upper and lower envelopes.
[0055] in, u ( t ) represents the upper envelope. d ( t ) indicates the lower envelope.
[0056] Step 113: Subtract the average envelope from the first sound signal to obtain an intermediate signal.
[0057] The formula can be Compute the intermediate signal.
[0058] in, f ( t ) indicates the first sound signal, represents the average envelope, C ( t ) represents the intermediate signal.
[0059] Step 114: Determine whether the intermediate signal satisfies the conditions for establishing the intrinsic mode function.
[0060] The establishment condition may include: the number of the intermediate signal extreme value points and the zero-crossing points is equal or differs by at most one. The establishment condition may also include: at any time point, the mean value of the upper envelope and the lower envelope is zero.
[0061] Step 115: If the intermediate signal meets the establishment condition, the intermediate signal is determined as an eigenmode function.
[0062] Step 116: If the intermediate signal does not satisfy the establishment condition, determine the intermediate signal as a new first sound signal.
[0063] If the intermediate signal does not satisfy the establishment condition, the intermediate signal may be determined as a new first acoustic signal, so that steps 111 to 114 may be iteratively performed until the determined intermediate signal satisfies the establishment condition.
[0064] Step 117: subtract the intrinsic mode function from the first acoustic signal to obtain a residual component of the first acoustic signal.
[0065] The formula can be r ( t )= f ( t )- C ( t ) to calculate the residual components.
[0066] in, r ( t ) represents the residual component, f ( t ) represents the first signal, C ( t ) represents the intrinsic mode function.
[0067] Step 118: Determine the residual component as a new first acoustic signal.
[0068] It can be determined whether the residual component meets the termination condition. If the residual component does not meet the termination condition, the residual component can be determined as a new first acoustic signal, so that steps 111-117 can be iteratively performed until the residual component meets the termination condition. If the residual component meets the termination condition, the entire process can be terminated. The termination condition can include that the residual component is monotonic. If the residual component is monotonic, it means that the residual component no longer has significant volatility and periodicity, so the decomposition process can be terminated.
[0069] Through empirical mode decomposition, the first acoustic signal can be expressed as . m represents the number of eigenmode functions, IMF i ( t ) indicates the i The intrinsic mode functions, rn ( t ) represents the final residual component.
[0070] Step 12: Select a plurality of target eigenmode functions having frequencies greater than or equal to a set threshold from the plurality of eigenmode functions.
[0071] In some embodiments, an analytical signal of each intrinsic mode function can be constructed. The analytical signal is a complex signal. The real part of the analytical signal includes the intrinsic mode function, and the imaginary part includes the signal after the intrinsic mode function is Hilbert transformed. The instantaneous frequency of the analytical signal can be calculated as the instantaneous frequency of the intrinsic mode function corresponding to the analytical signal; and multiple target intrinsic mode functions whose instantaneous frequencies are greater than or equal to a set threshold can be selected from the multiple intrinsic mode functions. In some examples, the frequency range of the selected multiple target intrinsic mode functions may include the center frequency of the first acoustic signal.
[0072] The intrinsic mode function can be subjected to a Hilbert transform, and the transformed signal can be used as the imaginary part of the complex signal. The intrinsic mode function can be used as the real part of the complex signal. Thus, the analytical signal of the intrinsic mode function can be constructed. For example, the formula Perform a Hibbert transform. z ( t ) represents the eigenmode function IMF ( t ), F represents the Fourier transform, ω represents the intrinsic mode function IMF ( t ) frequency, sgn ( ω ) represents the sign function of frequency, The Hilbert transform provides additional phase information for the eigenmode function, so that the eigenmode function can be converted into a complex signal through the Hilbert transform.
[0073] The instantaneous frequency of the analytical signal can be extracted by calculating the rate of change of the phase angle over time as the instantaneous frequency of the eigenmode function corresponding to the analytical signal. For example, the formula Calculate the instantaneous frequency. Indicates the phase angle of the analytical signal. The set threshold is used to filter out low-frequency components and noise. The set threshold can be an empirical value, or can also be obtained by machine learning. The set threshold can be 20kHz, for example.
[0074] The instantaneous frequency of the intrinsic mode function can be understood as the instantaneous frequency corresponding to the intrinsic mode function in the first sound signal. A plurality of target intrinsic mode functions whose instantaneous frequencies are greater than or equal to the set threshold are selected from the plurality of intrinsic mode functions. These target intrinsic mode functions may correspond to rapid changes or details in the first sound signal, such as sharp peaks, mutations or high-frequency oscillations. By fusing these high-frequency target intrinsic mode functions, the main fluctuation form of the first sound signal can be reconstructed. Thus, the low-frequency components and noise of the first sound signal are filtered out, and the high-frequency dynamic characteristics in the first sound signal are retained.
[0075] See also Figure 4a-Figure 4i , which shows the waveforms of multiple target intrinsic mode functions. Among them, Figure 4a The waveform of the target intrinsic mode function IMF1 is shown. Figure 4b The waveform of the target intrinsic mode function IMF2 is shown. Figure 4c The waveform of the target intrinsic mode function IMF3 is shown. Figure 4d The waveform of the target intrinsic mode function IMF4 is shown. Figure 4e The waveform of the target intrinsic mode function IMF5 is shown. Figure 4f The waveform of the target intrinsic mode function IMF6 is shown. Figure 4g The waveform of the target intrinsic mode function IMF7 is shown. Figure 4h The waveform of the target intrinsic mode function IMF8 is shown. Figure 4i The waveform of the target intrinsic mode function IMF9 is shown.
[0076] Step 13: Fusing the multiple target intrinsic mode functions to obtain a high-frequency signal in the first acoustic signal.
[0077] In some embodiments, a target intrinsic mode function is selected according to the instantaneous frequency, and then the selected target intrinsic mode function is fused to obtain a high-frequency signal in the first acoustic signal. This allows the high-frequency signal to retain the instantaneous characteristics of the first acoustic signal and not be lost during the fusion process. In addition, the original first acoustic signal may contain a large amount of low-frequency components and noise. By extracting the high-frequency components in the first acoustic signal, the amount of calculation in the subsequent wavelet transform process can be reduced, and low-frequency noise and interference can be suppressed to a certain extent, thereby improving the signal-to-noise ratio of the first acoustic signal.
[0078] In some embodiments, the multiple target intrinsic mode functions may be directly superimposed to obtain the high-frequency signal in the first acoustic signal. Alternatively, the signal-to-noise ratio of each target intrinsic mode function may be calculated, and the multiple target intrinsic mode functions may be fused according to the signal-to-noise ratio to obtain the high-frequency signal in the first acoustic signal.
[0079] For example, the formula Calculate the signal-to-noise ratio of the target intrinsic mode function. The sum of the signal-to-noise ratios of the multiple target intrinsic mode functions can be calculated, and the proportion of the signal-to-noise ratio of each target intrinsic mode function in the sum of the signal-to-noise ratios can be calculated as the weight of the target intrinsic mode function. The multiple target intrinsic mode functions can be weighted and superimposed according to the weights of the multiple target intrinsic mode functions to obtain the high-frequency signal. For example, the formula Multiple target intrinsic mode functions are weightedly superimposed. n represents the number of target intrinsic mode functions, w i Indicates i Target intrinsic mode function IMF i ( t ), , Indicates i Target intrinsic mode function IMF i ( t ) signal-to-noise ratio, express n The sum of the signal-to-noise ratios of the target intrinsic mode functions. By weighted superposition of multiple target intrinsic mode functions through the signal-to-noise ratio, the target intrinsic mode functions with high signal-to-noise ratio can be emphasized, which has a good noise suppression effect, effectively reduces the impact of noise on the results, and improves the accuracy of the results.
[0080] Of course, other methods may also be used to superimpose the multiple target intrinsic mode functions.
[0081] See also Figure 5 , which shows the waveform of the high-frequency signal obtained by fusing multiple target intrinsic mode functions.
[0082] Step 14: Perform wavelet decomposition on the high-frequency signal to obtain multiple wavelet decomposition signals.
[0083] In some embodiments, the wavelet basis function can be determined based on the characteristic parameters of the high-frequency signal. The characteristic parameters may include amplitude, peak value, center frequency, etc. For example, the wavelet basis function can be expressed as .in, A max represents the amplitude of the high-frequency signal,V pp Represents the peak value of high-frequency signal, λ=2π f 0 , f 0 Represents the center frequency of a high-frequency signal, such as f 0 The high frequency signal has obvious amplitude changes on the time axis. This embodiment takes into account the characteristics of the battery sound signal by adding a wavelet basis function containing amplitude A max , Peak V pp , center frequency f 0 Amplitude modulation term with equal characteristic parameters The wavelet basis function can be made to better adapt to the characteristics of the high-frequency signal of the battery, thereby increasing the sensitivity of the wavelet transform to the high-frequency signal, which is beneficial to reducing the influence of noise on the wavelet transform.
[0084] The high frequency signal can be decomposed by wavelet according to the wavelet basis function to obtain multiple wavelet decomposition signals. Perform wavelet decomposition on the high-frequency signal to obtain multiple wavelet decomposition signals. This can realize the logarithmic scale wavelet transform of the high-frequency signal. F ( t ) represents a high frequency signal. t Indicates time. k Represents the scale parameter. k It can be a positive integer greater than 1. For example k Taken from [1,128]. Specifically, for example k It can be 5, 10, 12, etc. b represents a translation parameter. In some examples, b It can be 0.75. b It can be 0.75 signal length, so as to achieve better noise reduction effect. Represents the wavelet basis function Complex conjugate.
[0085] See also Figure 6 , which shows the waveform of a certain wavelet decomposition signal.
[0086] Step 15: Perform noise reduction processing on the multiple wavelet decomposition signals.
[0087] In some embodiments, each wavelet decomposition signal may be subjected to noise reduction processing to further filter out low-frequency components and noise, retain high-frequency details of the first sound signal, improve the noise ratio of the first sound signal, and enhance the accuracy and reliability of battery status detection.
[0088] In some embodiments, for each wavelet decomposition signal, the wavelet decomposition signal can be used as the observation signal to establish an observation equation of the observation signal; a Gaussian process can be introduced according to the type of the battery and the observation signal; the prior distribution of the real signal can be determined through the Gaussian process; the posterior distribution of the real signal can be calculated based on the observation equation and the prior distribution of the real signal; the wavelet decomposition signal after noise reduction can be calculated through the posterior distribution of the real signal.
[0089] The observation equation may include y ( t )= x ( t )+ v ( t ).in, y ( t ) represents the observed signal. x ( t ) represents the real signal. v ( t ) represents noise. v ( t ) obeys a certain distribution, such as a Gaussian distribution. t Indicates time.
[0090] The covariance function can be determined according to the type of the battery and the observed signal; the Gaussian process can be determined according to the covariance function as the prior distribution of the real signal. Specifically, the variance of the observed signal can be calculated; the corresponding scale parameter can be selected from the scale parameter set according to the type of the battery; the covariance function can be constructed according to the variance of the observed signal and the selected scale parameter. . Where σ 2 represents the variance of the observed signal. l represents a scale parameter, which is used to control the smoothness of the covariance function. The Gaussian process can be expressed as f(x(t))~GP(m(x(t)),k(x(t),x'(t))). m ( x ( t )) represents the mean function. For example, 0 can be used as the mean function, that is, m ( x ( t ))=0. k(x(t),x'(t)) represents the covariance function. GP(m(x(t)),k(x(t),x'(t))) represents the mean function. m ( x ( t )) and the covariance function is a Gaussian process k(x(t),x'(t)). f (x ( t )) as the prior distribution of the true signal.
[0091] A scale parameter set may be provided. The scale parameter set may include one or more scale parameters. Each scale parameter may correspond to a battery type. The battery types corresponding to different scale parameters may be the same or different. The battery type may include the material type of the battery. For example, for a soft shell lithium ion battery, l Between 0.1 and 0.6. For hard-shell lithium-ion batteries, l Between 0.5 and 0.8. In the scale parameter set, the scale parameter 0.4 can correspond to a soft-shell lithium-ion battery, and the scale parameter 0.6 can correspond to a hard-shell lithium-ion battery. Therefore, the corresponding scale parameter can be selected in the scale parameter set according to the type of battery. In this way, the scale parameter of the covariance function is related to the battery type, and then the prior distribution of the real signal is related to the battery type. It is beneficial to combine the battery type for noise reduction and improve the noise reduction effect.
[0092] The likelihood distribution of the true signal can be determined by the observation equation p ( y ( t )| x ( t )). The likelihood distribution is used to represent the probability that a given real signal x ( t ) y ( t ) probability. . From the observation equation, we can calculate v ( t )= y ( t )- x ( t ). v ( t ) obeys a certain distribution, such as Gaussian distribution The posterior distribution of the real signal can be calculated using the Bayesian formula through the likelihood distribution and prior distribution of the real signal. For example, the formula Calculate the real signal x ( t ) D ( x ( t )). p ( y ( t )) is the marginal distribution. Marginal distribution p ( y ( t )) is a constant so that D (x ( t )) is 1, so that the observed y ( t ) has a probability of 1. p ( y ( t )| x ( t )) is the likelihood distribution. f ( x ( t )) is the prior distribution.
[0093] It can be understood that due to the characteristics of the Gaussian process, the posterior distribution of the true signal is still a Gaussian process, and its mean and covariance functions can be updated by the observed data.
[0094] For example, suppose there is an observation data set , then the mean function and covariance function of the posterior distribution are updated as follows:
[0095]
[0096]
[0097] Where T represents the set of all observed time points, K(T, T) represents the covariance matrix between the observed time points, and K(t, T) represents the covariance vector between the new time t and all observed time points.
[0098] The Gaussian process can be expressed as x ( t +1)= f ( x ( t ))+ w ( t ).in, f ( x ( t )) can be understood as the system transfer function, which means that given the current state x ( t ) is the predicted state of the system at the next time point t+1, which can represent the complex relationship between states.
[0099] We can collect observations between time t and t+1 and use the pre-trained Gaussian process model to classify the input x ( t ) to make predictions and get x ( t +1). Through this process, the Gaussian process model is trained and the hyperparameters are optimized. σ and I, in order to best fit the observed ultrasound signal data and obtain a more accurate prediction and reconstruction model.
[0100] For example, you can Compute the denoised wavelet decomposition signal.
[0101] This embodiment uses a non-parametric Bayesian method to decompose the wavelet signal W ( t , k ) establishes the observation equation, introduces the prior distribution through the Gaussian process, and uses the Bayesian theorem to combine the prior distribution with the observed data to obtain the denoised wavelet decomposition signal WT(t,k). In this way, there is no need to pre-set the model parameters, and the model can be adaptively adjusted according to the data to adapt to signals of different types and complexities. In addition, the present embodiment can also effectively process signals with complex structures and non-stationary characteristics, and is suitable for denoising multi-scale and multi-component signals. In addition, by introducing the prior distribution, the present embodiment can incorporate specific field knowledge and experience into the denoising process (for example, for battery detection, the distribution of unknown parameters can be estimated based on the existing signal data), which helps to improve the denoising effect. In addition, the present embodiment uses the Bayesian inference method to retain the useful components of the signal to the greatest extent while denoising and reduce signal distortion.
[0102] Step 16: Perform wavelet reconstruction on the denoised wavelet decomposition signal to obtain a reconstructed signal.
[0103] In some embodiments, multiple denoised wavelet decomposition signals can be obtained through step 15. The multiple denoised wavelet decomposition signals correspond to multiple different scales. For example, the denoised wavelet decomposition signal WT(t,k) corresponds to scale k. Wavelet reconstruction can be performed on the wavelet decomposition signal at each scale to obtain a reconstructed signal at that scale. For example, The wavelet decomposition signal WT(t,k) after denoising is reconstructed by wavelet to obtain the scale k The reconstructed signal FT(t,k) under t Indicates time, k represents the scale parameter, τ represents the time shift parameter, WT(t-τ,k) represents the wavelet decomposition signal after denoising, represents the wavelet basis function, and FT(t,k) represents the reconstructed signal.
[0104] See also Figure 7 , which shows the waveform of a certain reconstructed signal.
[0105] Step 17: Fusing the multiple reconstructed signals to obtain a second acoustic signal, where the second acoustic signal is used to indicate the state of the battery.
[0106] In some embodiments, the multiple reconstructed signals are reconstructed signals at multiple scales. By fusing the multiple reconstructed signals, a second acoustic signal can be obtained. Specifically, the signal-to-noise ratio of each reconstructed signal can be calculated, and the multiple reconstructed signals can be fused according to the signal-to-noise ratio to obtain a second acoustic signal. The second acoustic signal is an acoustic wave signal. Compared with the original first acoustic signal, the second acoustic signal filters out low-frequency components and noise, retains the high-frequency part, and the high-frequency part can have a higher signal-to-noise ratio. Characterizing the state of the battery by the second acoustic signal can enhance the accuracy and reliability of battery state detection.
[0107] The formula can be Calculate the signal-to-noise ratio of each reconstructed signal. f ( t ) represents the first acoustic signal, and FT(t,k) represents the reconstructed signal. The sum of the signal-to-noise ratios of the multiple reconstructed signals can be calculated, and the proportion of the signal-to-noise ratio of each reconstructed signal in the sum of the signal-to-noise ratios can be calculated as the weight of the reconstructed signal. The multiple reconstructed signals can be weighted and superimposed according to the weights of the multiple reconstructed signals to obtain the second acoustic signal. For example, The second acoustic signal is obtained by weighted superposition of multiple reconstructed signals. Q ( t ). p Represents the number of reconstructed signals, that is, the number of scales. q i Indicates i The weight of the reconstructed signal FT(t,i) at each scale, , Indicates i The signal-to-noise ratio of the reconstructed signal FT(t,i) at each scale, express p By weighting and superimposing multiple reconstructed signals by signal-to-noise ratio, the reconstructed signal with high signal-to-noise ratio can be emphasized, thereby having a good noise suppression effect, effectively reducing the influence of noise on the result, and improving the accuracy of the second acoustic signal.
[0108] Of course, other methods can also be used to fuse multiple reconstructed signals to obtain the second acoustic signal. For example, the multiple reconstructed signals can be directly superimposed to obtain the second acoustic signal. For another example, the multiple reconstructed signals can be weighted superimposed by a recursive averaging method, a soft threshold method, etc. to obtain the second acoustic signal.
[0109] In some embodiments, the second acoustic signal can detect changes in the internal structure and material properties of the battery, thereby providing information about the battery status, such as the state of charge (State of Charge), the state of health (State of Health), etc. Specifically, for example, an association relationship between the acoustic signal and the battery status can be established. Then, based on the association relationship, the battery status corresponding to the second acoustic signal, such as the state of charge, the state of health, can be obtained. The association relationship may include a function, etc. By substituting the second acoustic signal into the function, the battery status can be obtained. For another example, a battery status detection model can also be established. The battery status detection model can be a machine learning model such as a neural network model. Then, the second acoustic signal can be input into the battery status detection model to obtain the battery status corresponding to the second acoustic signal.
[0110] The technical solution of the embodiment of this specification can perform empirical mode decomposition on the first acoustic signal of the collected battery to obtain multiple intrinsic mode functions; multiple target intrinsic mode functions with frequencies greater than or equal to a set threshold can be selected from the multiple intrinsic mode functions; the multiple target intrinsic mode functions can be fused to obtain a high-frequency signal in the first acoustic signal. In this way, the low-frequency components and noise are filtered out by the method of characteristic mode extraction, and the high-frequency part of the first acoustic signal is retained. The high-frequency signal can also be decomposed by wavelet to obtain multiple wavelet decomposition signals; the multiple wavelet decomposition signals can be subjected to noise reduction processing; the wavelet decomposition signals after noise reduction can be subjected to wavelet reconstruction to obtain a reconstructed signal; and the multiple reconstructed signals can be fused to obtain a second acoustic signal. In this way, the signal-to-noise ratio of the high-frequency part of the first acoustic signal can be improved by wave reconstruction. The embodiment of this specification can effectively solve the problems of low signal-to-noise ratio, low quality, and poor reliability of existing battery acoustic signal acquisition. By combining wave reconstruction and characteristic mode extraction, the high-frequency details of the battery acoustic signal can be retained, the low-frequency noise signal can be effectively filtered out, and the noise ratio of the battery acoustic signal can be improved. The high-frequency details are highly correlated with the battery status. Thus, the accuracy and reliability of battery status detection can be enhanced. The embodiments of this specification also have the advantages of high efficiency and low cost.
[0111] See also Figure 8 The embodiment of this specification also provides a battery acoustic signal processing device, including the following units.
[0112] An empirical mode decomposition unit 21 is used to perform empirical mode decomposition on the collected first acoustic signal of the battery to obtain a plurality of intrinsic mode functions;
[0113] A selection unit 22, configured to select a plurality of target eigenmode functions having a frequency greater than or equal to a set threshold value from among the plurality of eigenmode functions;
[0114] A first fusion unit 23, configured to fuse the plurality of target intrinsic mode functions to obtain a high-frequency signal in the first acoustic signal;
[0115] A wavelet decomposition unit 24, used to perform wavelet decomposition on the high frequency signal to obtain a plurality of wavelet decomposition signals;
[0116] A noise reduction unit 25, configured to perform noise reduction processing on the plurality of wavelet decomposition signals;
[0117] A wavelet reconstruction unit 26 is used to perform wavelet reconstruction on the denoised wavelet decomposition signal to obtain a reconstructed signal;
[0118] The second fusion unit 27 is used to fuse the multiple reconstructed signals to obtain a second acoustic signal, where the second acoustic signal is used to indicate the state of the battery.
[0119] The embodiment of the present specification also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned sound signal processing method when executing the computer program.
[0120] The embodiments of the present specification also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned acoustic signal processing method is implemented.
[0121] The embodiments of the present specification also provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned acoustic signal processing method is implemented.
[0122] Those skilled in the art will appreciate that this specification may be provided as a method, system, or computer program product. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. The computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0124] The various functional units in the embodiments of this specification may be integrated into one processing unit, or each functional unit may exist physically separately, or two or more functional units may be integrated into one processing unit.
[0125] Those skilled in the art will understand that the description of each embodiment in this specification has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. In addition, it is understood that after reading this specification, those skilled in the art can think of any combination of some or all of the embodiments listed in this specification without creative work, and these combinations are also within the scope of disclosure and protection of this specification.
[0126] Although the present specification is described through embodiments, those skilled in the art know that the above embodiments are only used to help understand the core idea of the present specification. Those skilled in the art can understand that there are many variations and changes in the present specification.
Claims
1. A method for processing an acoustic signal of a battery, characterized in that: include: Performing empirical mode decomposition on the collected first acoustic signal of the battery to obtain multiple intrinsic mode functions; Selecting a plurality of target eigenmode functions having frequencies greater than or equal to a set threshold value from the plurality of eigenmode functions; The method includes: constructing an analytical signal of each intrinsic mode function, wherein the real part of the analytical signal includes the intrinsic mode function, and the imaginary part of the analytical signal includes a signal after the intrinsic mode function is Hilbert transformed; calculating the instantaneous frequency of the analytical signal as the instantaneous frequency of the intrinsic mode function corresponding to the analytical signal; selecting a plurality of target intrinsic mode functions whose instantaneous frequencies are greater than or equal to a set threshold value from the plurality of intrinsic mode functions, wherein the frequency range of the selected plurality of target intrinsic mode functions includes the center frequency of the first acoustic signal; fusing the multiple target intrinsic mode functions to obtain a high-frequency signal in the first acoustic signal; Performing wavelet decomposition on the high frequency signal to obtain a plurality of wavelet decomposition signals; Performing noise reduction processing on the multiple wavelet decomposition signals; Perform wavelet reconstruction on the denoised wavelet decomposition signal to obtain a reconstructed signal; The multiple reconstructed signals are fused to obtain a second acoustic signal, where the second acoustic signal is used to indicate the state of the battery.
2. The method according to claim 1, characterized in that The step of performing empirical mode decomposition on the collected first acoustic signal of the battery includes: Determine the upper envelope and the lower envelope of the first sound signal; Calculate the mean of the upper envelope and the lower envelope to obtain the average envelope; Subtract the average envelope from the first sound signal to obtain an intermediate signal; Determine whether the intermediate signal satisfies the conditions for the establishment of the intrinsic mode function; If the intermediate signal meets the establishment condition, the intermediate signal is determined as the intrinsic mode function; if the intermediate signal does not meet the establishment condition, the intermediate signal is determined as a new first sound signal, and the steps of determining the upper envelope and the lower envelope, calculating the average envelope, and determining the intermediate signal are iteratively performed until the intermediate signal meets the establishment condition; Subtracting the intrinsic mode function from the first acoustic signal to obtain a residual component of the first acoustic signal; The residual component is determined as a new first acoustic signal, and the above steps are iteratively performed until the residual component meets the end condition.
3. The method according to claim 1, characterized in that: The fusing of the multiple target intrinsic mode functions includes: Calculate the signal-to-noise ratio of each target intrinsic mode function; The multiple target intrinsic mode functions are fused according to the signal-to-noise ratio to obtain a high-frequency signal in the first acoustic signal.
4. The method according to claim 1, characterized in that The step of performing wavelet decomposition on the high frequency signal comprises: Determine the wavelet basis function based on the characteristic parameters of the high-frequency signal ;in, A max represents the amplitude of the high-frequency signal, V pp Represents the peak value of high-frequency signal, λ=2π f 0 , f 0 Indicates the center frequency of a high-frequency signal; pass Perform wavelet decomposition on high-frequency signals; F ( t ) represents a high frequency signal, t Indicates time, k represents the scale parameter, b represents the translation parameter, represents the wavelet basis function The complex conjugate of .
5. The method according to claim 1, characterized in that The performing noise reduction processing on the plurality of wavelet decomposition signals comprises: The wavelet decomposition signal is used as the observation signal, and an observation equation of the observation signal is established; a Gaussian process is introduced according to the type of battery and the observation signal, and the prior distribution of the real signal is determined through the Gaussian process; the posterior distribution of the real signal is calculated according to the observation equation and the prior distribution of the real signal; and the wavelet decomposition signal after noise reduction is calculated through the posterior distribution of the real signal.
6. The method according to claim 1, characterized in that The wavelet reconstruction of the denoised wavelet decomposition signal comprises: pass Perform wavelet reconstruction on the denoised wavelet decomposition signal; in, t Indicates time, k represents the scale parameter, W(t-τ,k) represents the wavelet decomposition signal after denoising, represents the wavelet basis function, FT ( t , k ) represents the reconstructed signal.
7. The method according to claim 1, characterized in that The fusing of the multiple reconstructed signals comprises: pass Calculate the signal-to-noise ratio of each reconstructed signal, where f ( t ) indicates the first sound signal, FT ( t , k ) represents the reconstructed signal, SNR FT represents the signal-to-noise ratio of the reconstructed signal; The multiple reconstructed signals are fused according to the signal-to-noise ratio to obtain the second acoustic signal.
8. A battery acoustic signal processing device, characterized in that: include: An empirical mode decomposition unit, used to perform empirical mode decomposition on the collected first acoustic signal of the battery to obtain a plurality of intrinsic mode functions; A selection unit, configured to select a plurality of target eigenmode functions having frequencies greater than or equal to a set threshold value from among the plurality of eigenmode functions; The method includes: constructing an analytical signal of each intrinsic mode function, wherein the real part of the analytical signal includes the intrinsic mode function, and the imaginary part of the analytical signal includes a signal after the intrinsic mode function is Hilbert transformed; calculating the instantaneous frequency of the analytical signal as the instantaneous frequency of the intrinsic mode function corresponding to the analytical signal; selecting a plurality of target intrinsic mode functions whose instantaneous frequencies are greater than or equal to a set threshold value from the plurality of intrinsic mode functions, wherein the frequency range of the selected plurality of target intrinsic mode functions includes the center frequency of the first acoustic signal; a first fusion unit, configured to fuse the plurality of target intrinsic mode functions to obtain a high-frequency signal in the first acoustic signal; A wavelet decomposition unit, used for performing wavelet decomposition on the high-frequency signal to obtain a plurality of wavelet decomposition signals; A noise reduction unit, used for performing noise reduction processing on the plurality of wavelet decomposition signals; A wavelet reconstruction unit is used to perform wavelet reconstruction on the denoised wavelet decomposition signal to obtain a reconstructed signal; The second fusion unit is used to fuse the multiple reconstructed signals to obtain a second acoustic signal, where the second acoustic signal is used to indicate the state of the battery.
9. A computer device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 7 by executing the instructions.
