A road spectrum information data processing method, device, electronic device and storage medium
By using the function fitting method and the derivative method in road spectrum information data processing to determine the peak area and peak value of the vehicle vibration signal, and dividing the signal to obtain the power spectral density, the inaccuracy problem caused by blind parameter setting in the existing technology is solved. It achieves an accurate reflection of the vehicle operating environment and improves the safety and reliability of vehicle driving.
Patent Information
- Application Number
- CN202210329615.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-03-31
AI Technical Summary
The road spectrum information data processing method in the existing technology is blind in parameter settings, resulting in inaccurate calculation of power spectral density and inability to accurately reflect the vehicle operating environment.
By acquiring the vibration signal of the vehicle, the peak area and peak value are determined using the preset function fitting method and derivative method, the signal is divided into different spectral segments, and the power spectrum density is obtained using the second function fitting method to reduce the blindness of parameter setting.
It improves the accuracy of road spectrum information data processing, can more truly reflect the vibration environment of vehicles on the road, and provides guarantee for improving vehicle driving safety and reliability.
Smart Images

Figure CN114674935B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information data processing technology, and in particular to a road spectrum information data processing method, device, electronic device and storage medium. Background Art
[0002] In the traditional existing technology, the vehicle development process requires vehicle road simulation tests to feedback the actual dynamic performance of the vehicle on the road. Before the simulation test, road spectrum information data needs to be collected. Road spectrum refers to the power spectrum density curve of road surface roughness. In order to solve the difficult problems of evaluating the damage of the road surface by the longitudinal shear force of the vehicle and describing the longitudinal vibration smoothness of the vehicle, it is also necessary to collect and process the road spectrum information data.
[0003] At present, the commonly used method for processing road spectrum information data is generally to obtain power spectrum density through filtering algorithm. However, in conventional filtering algorithms, the parameter settings are blind (generally set by technicians based on experience). This blind parameter setting will lead to inaccurate power spectrum density calculation and cannot reflect the actual vehicle operating environment and road spectrum information. Summary of the invention
[0004] The purpose of the present invention is to overcome the above-mentioned technical deficiencies and provide a road spectrum information data processing method, device, electronic device and storage medium to solve the technical problem in the prior art that the road spectrum information processed by the filtering algorithm is not accurate enough due to the blindness of parameter setting.
[0005] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:
[0006] In a first aspect, the present invention provides a method for processing road spectrum information data, comprising the following steps:
[0007] Acquiring road spectrum information of the vehicle, wherein the road spectrum information includes a vibration signal;
[0008] Determine the peak area of the vibration signal according to a preset first function fitting method, and determine the peak value of the vibration signal according to a preset derivative method;
[0009] According to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments, and based on the signals of the multiple different spectral segments, a preset second function fitting method is used to obtain the power spectral density of the vibration signal.
[0010] In some embodiments, after obtaining the vibration signal of the vehicle, the vibration signal is preprocessed, including:
[0011] Decomposing the vibration signal into a low-frequency vibration signal and a high-frequency vibration signal;
[0012] The low-frequency vibration signal and the high-frequency vibration signal are subjected to Fourier transformation to obtain a plurality of spectrum signals with different frequencies;
[0013] Performing low-pass filtering on the multiple spectrum signals of different frequencies to obtain a low-frequency signal;
[0014] The low-frequency signal is subjected to inverse Fourier transform to obtain a preprocessed vibration signal.
[0015] In some embodiments, the preset first function fitting method is a peak shape function fitting method; determining the peak area of the vibration signal according to the preset first function fitting method includes fitting the vibration signal using a peak shape function to obtain a fitting function;
[0016] The peak areas of the fitting functions were determined using the least squares method.
[0017] In some embodiments, it also includes:
[0018] The peak height, peak position and half width of the fitting function are determined according to the least square method.
[0019] In some embodiments, determining the peak value of the vibration signal according to a preset derivative method includes:
[0020] Obtaining the maximum amplitude of the vibration signal;
[0021] According to the maximum amplitude, determining a zero-crossing position of a first-order derivative of the vibration signal near the maximum amplitude;
[0022] The peak value of the vibration signal is determined according to the zero-crossing point position.
[0023] In some embodiments, the peak area includes a pure peak area, a total peak area, and a half width; after determining the peak value of the vibration signal according to the zero-crossing point position, screening and removing false peaks in the peak value includes:
[0024] Determine the value range of the constant sensitivity factor k according to the pure peak area, total peak area and half width;
[0025] The current peak value is judged to be a true peak or a false peak by the value range of the constant sensitivity factor k. Then the current peak is the true peak, if Determine that the peak is a false peak and remove it;
[0026] Here, Sc represents the pure peak area, C represents the half width, and Sz represents the total peak area.
[0027] In some embodiments, the repeated peaks are determined to be false peaks and then eliminated, including:
[0028] According to the zero-crossing point position, the repeated peaks are detected and eliminated using the third-order difference method.
[0029] In a second aspect, the present invention further provides a road spectrum information data processing device, comprising:
[0030] A road spectrum information acquisition module is used to acquire road spectrum information during vehicle driving, including vibration signals during vehicle driving;
[0031] A peak area determination module, used to determine the peak area of the vibration signal according to a preset first function fitting method;
[0032] A peak value determination module, used to determine the peak value of the vibration signal according to a preset derivative method;
[0033] A power spectrum density acquisition module is used to divide the vibration signal into multiple signals of different spectrum segments according to the peak value and the peak area, and based on the multiple signals of different spectrum segments, a preset second function fitting method is used to acquire the power spectrum density of the vibration signal.
[0034] In a third aspect, the present invention further provides an electronic device, comprising: a processor and a memory;
[0035] The memory stores a computer-readable program executable by the processor;
[0036] When the processor executes the computer-readable program, the steps in the road spectrum information data processing method described above are implemented.
[0037] In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the road spectrum information data processing method as described above.
[0038] Compared with the prior art, the road spectrum information data processing method, device, electronic device and storage medium provided by the present invention first obtain the vibration signal in the road spectrum information of the vehicle, and then determine the peak area of the vibration signal and the peak value of the vibration signal according to a preset first function fitting method and a preset derivative method respectively. Thereafter, according to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments. Based on the signals of the multiple different spectral segments, a preset second function fitting method is used to obtain the power spectrum density of the vibration signal. By processing the signal and using the function method to give the power spectrum density of the vibration signal, fewer parameters need to be set, which can reduce the blindness in the vibration signal processing process. In addition, the power spectrum density can reflect the vibration environment data under the actual movement of the vehicle, thereby providing a guarantee for further improving the safety and reliability of vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of an embodiment of a method for processing road spectrum information data provided by the present invention;
[0040] Figure 2 It is a flowchart of an embodiment of preprocessing in the road spectrum information data processing method provided by the present invention;
[0041] Figure 3 It is a flowchart of an embodiment of step S102 in the road spectrum information data processing method provided by the present invention;
[0042] Figure 4 is a flowchart of another embodiment of step S102 in the road spectrum information data processing method provided by the present invention;
[0043] Figure 5 is a schematic diagram of an embodiment of a road spectrum information data processing device provided by the present invention;
[0044] Figure 6 It is a schematic diagram of the operating environment of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0046] The method, device, electronic device or computer-readable storage medium for processing road information data involved in the present invention can be used in a road information data processing device. The method, device, electronic device or computer-readable storage medium involved in the present invention can be integrated with the above-mentioned system or can be relatively independent.
[0047] This embodiment provides a method for processing road spectrum information data, which can be executed by a data processing device, specifically, by one or more processors of the device. Figure 1 is a flowchart of the method for processing road spectrum information data provided by an embodiment of the present invention. Figure 1 , the road spectrum information data processing method includes the following steps:
[0048] S101, obtaining road spectrum information of a vehicle, where the road spectrum information includes a vibration signal;
[0049] S102, determining the peak area of the vibration signal according to a preset first function fitting method, and determining the peak value of the vibration signal according to a preset derivative method;
[0050] S300. Divide the vibration signal into signals of a plurality of different spectral segments according to the peak value and the peak area, and acquire the power spectral density of the vibration signal by using a preset second function fitting method based on the signals of the plurality of different spectral segments.
[0051] It should be noted that in step S101, the motion measurement of the vehicle vibration environment spectrum is carried out, and the relevant information of the vehicle driving is continuously extracted and recorded from the engine CAN bus, which generally includes the date, time, ECU mileage, throttle opening percentage, load percentage, instantaneous fuel consumption, vehicle speed, engine speed, torque percentage, longitude and latitude, altitude and other information at that moment, so as to obtain the vehicle driving information data during the entire collection time period, including vibration signals, acceleration and other data information, and finally obtain the most representative vibration data of the vehicle suspension, part of the vehicle structure, etc. as the characteristic information data for analyzing the vehicle driving status.
[0052] In this embodiment, the vibration signal in the road spectrum information of the vehicle is first obtained, and then the peak area of the vibration signal and the peak value of the vibration signal are determined according to a preset first function fitting method and a preset derivative method respectively. Then, according to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments. Based on the signals of the multiple different spectral segments, a preset second function fitting method is used to obtain the power spectrum density of the vibration signal. By processing the signal and using the function method to give the power spectrum density of the vibration signal, fewer parameters need to be set, which can reduce blindness in the vibration signal processing process. In addition, the power spectrum density can reflect the vibration environment data under the actual movement of the vehicle, thereby providing a guarantee for further improving the safety and reliability of vehicle driving.
[0053] In some embodiments, step S102 is to obtain the peak value and peak area of the vibration signal, wherein the process of obtaining the peak value and peak area has no order restriction, and both can be performed simultaneously or any one step can be performed first, and the embodiment of the present invention does not limit this.
[0054] In some embodiments, step S103 is to analyze the processed vibration signal through a preset second function fitting method. When the vibration signal is divided into different signals with different spectral segments, the number of spectral segments is not limited. Usually, in order to obtain data that can more truly reflect the driving status of the vehicle, the interference signal is set in the same spectral segment.
[0055] In some embodiments, see Figure 2 , after obtaining the vibration signal, the vibration signal is also preprocessed, including:
[0056] S201, decomposing the vibration signal into a low-frequency vibration signal and a high-frequency vibration signal;
[0057] S202, performing Fourier transformation on the low-frequency vibration signal and the high-frequency vibration signal to obtain a plurality of spectrum signals with different frequencies;
[0058] S203, performing low-pass filtering on the multiple spectrum signals of different frequencies to obtain a low-frequency signal;
[0059] S204: Perform inverse Fourier transform on the low-frequency signal to obtain a preprocessed vibration signal.
[0060] In this embodiment, by preprocessing the vibration signal, the noise signal or interference signal in the vibration signal can be eliminated, so that the subsequent analysis of the vibration signal is more accurate and reliable. Specifically, by smoothing the vibration signal, the noise signal in the vibration signal can be eliminated, making the vibration signal smoother.
[0061] In this embodiment, Fourier transform can not only process the signal to reduce noise, but also serve as a means of changing the resolution of the vibration signal to facilitate subsequent decomposition of repeated peaks.
[0062] In this embodiment, a low-pass filter function is used to multiply spectrum signals of different frequencies, so as to filter out high-frequency signals and obtain low-frequency signals.
[0063] In some embodiments, see Figure 3 , step S102 specifically includes:
[0064] S301, performing fitting according to the vibration signal using a peak shape function to obtain a fitting function;
[0065] S302, determining the peak area of the fitting function using the least squares method.
[0066] In this embodiment, a fitting function is obtained by fitting with a function of known peak shape, wherein the peak shape function is y0 is the peak height, x p is the peak position, and σ is the RMS deviation, where the RMS deviation is a parameter describing the shape of the peak distribution.
[0067] In some embodiments, the method further includes determining the peak height, peak position and half width of the fitting function according to the least squares method.
[0068] In this embodiment, the peak height, peak position and half-width parameters are determined by the least square method, which can increase the means of analyzing the vehicle driving conditions.
[0069] In some embodiments, see Figure 4 , step S102 further includes:
[0070] S401, obtaining the maximum amplitude of the vibration signal;
[0071] S402, determining, based on the maximum amplitude, a zero-crossing position of a first-order derivative of the vibration signal located near the maximum amplitude;
[0072] S403: Determine the peak value of the vibration signal according to the zero-crossing point position.
[0073] In this embodiment, by It is the count of the ith track smoothed s times, finding the zero crossing position of the vibration signal and determining the peak value of the vibration signal.
[0074] Specifically, by moving from left to right near the maximum amplitude, the first-order derivative changes from positive to negative; the second-order derivative is the maximum negative value at the peak and is symmetrical around the peak; the second-order derivative changes from negative to positive, thereby determining the peak at the zero crossing point of the first-order derivative of the smoothed data.
[0075] In some embodiments, the peak area includes a pure peak area, a total peak area, and a half width; after determining the peak value of the vibration signal according to the zero-crossing position in step S403, screening and removing false peaks in the peak value includes:
[0076] Determine the value range of the constant sensitivity factor k according to the pure peak area, total peak area and half width;
[0077] The current peak value is judged to be a true peak or a false peak by the value range of the constant sensitivity factor k. Then the current peak is the true peak, if Determine that the peak is a false peak and remove it;
[0078] Here, Sc represents the pure peak area, C represents the half width, and Sz represents the total peak area.
[0079] In this embodiment, since the existence of false peaks will affect the accuracy of subsequent analysis results of the vibration signal, it is necessary to remove the false peak information in the peak value.
[0080] In some embodiments, the repeated peaks are determined to be false peaks and then eliminated, including:
[0081] According to the zero-crossing point position, the repeated peaks are detected and eliminated using the third-order difference method.
[0082] In this embodiment, when it is determined that the peak value is a true peak but is a repeated peak, the repeated peak needs to be removed to avoid affecting the accuracy and precision of the subsequent vibration signal analysis.
[0083] Based on the above-mentioned road spectrum information data processing method, the embodiment of the present invention also provides a road spectrum information data processing device 500. Figure 5The road spectrum information data processing device 500 includes a road spectrum information acquisition module 510, a peak area determination module 520, a peak value determination module 530 and a power spectrum density acquisition module 540.
[0084] A road spectrum information acquisition module 510 is used to acquire road spectrum information during vehicle driving, including vibration signals during vehicle driving;
[0085] A peak area determination module 520, configured to determine the peak area of the vibration signal according to a preset first function fitting method;
[0086] A peak value determination module 530, configured to determine the peak value of the vibration signal according to a preset derivative method;
[0087] The power spectrum density acquisition module 540 is used to divide the vibration signal into multiple signals of different spectrum segments according to the peak value and the peak area, and obtain the power spectrum density of the vibration signal based on the signals of the multiple different spectrum segments by using a preset second function fitting method.
[0088] In this embodiment, the vibration signal of the vehicle is first obtained, and the peak area of the vibration signal is determined according to a preset first function fitting method, and the peak value of the vibration signal is determined according to a preset derivative method; according to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments, and based on the signals of the multiple different spectral segments, a preset second function fitting method is used to obtain the power spectral density of the vibration signal, and by obtaining the power spectral density parameters of the vibration signal, the vibration environment data of the actual operation of the vehicle is reflected.
[0089] like Figure 6 As shown, based on the above-mentioned road spectrum information data processing method, the present invention also provides an electronic device, which can be a computing device such as a mobile terminal, a desktop computer, a notebook, a palm computer, and a server. The electronic device includes a processor 610, a memory 620, and a display 630. Figure 6 Only some components of the electronic device are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0090] In some embodiments, the memory 620 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device. In other embodiments, the memory 620 may also be an external storage device of the electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Furthermore, the memory 620 may also include both an internal storage unit of the electronic device and an external storage device. The memory 620 is used to store application software and various types of data installed in the electronic device, such as program codes installed in the electronic device. The memory 620 can also be used to temporarily store data that has been output or is to be output. In one embodiment, a road spectrum information data processing program 640 is stored on the memory 620, and the road spectrum information data processing program 640 can be executed by the processor 610, thereby realizing the road spectrum information data processing method of each embodiment of the present application.
[0091] In some embodiments, the processor 610 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 620, such as a road spectrum information data processing method.
[0092] In some embodiments, the display 630 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 630 is used to display information on the road spectrum information data processing device and to display a visual user interface. The components 610-630 of the electronic device communicate with each other via a system bus.
[0093] In one embodiment, when the processor 610 executes the path spectrum information data processing program 640 in the memory 620, the following steps are implemented:
[0094] Acquiring road spectrum information of the vehicle, wherein the road spectrum information includes a vibration signal;
[0095] Determine the peak area of the vibration signal according to a preset first function fitting method, and determine the peak value of the vibration signal according to a preset derivative method;
[0096] According to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments, and based on the signals of the multiple different spectral segments, a preset second function fitting method is used to obtain the power spectral density of the vibration signal.
[0097] In summary, the road spectrum information data processing method, device, electronic device and storage medium provided by the present invention first obtain the vibration signal in the road spectrum information of the vehicle, and then determine the peak area of the vibration signal and the peak value of the vibration signal according to the function fitting method and the derivative method respectively. Then, according to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments. Based on the signals of the multiple different spectral segments, the function fitting method is used to obtain the power spectrum density of the vibration signal. By processing the signal and using the function method to give the power spectrum density of the vibration signal, fewer parameters need to be set, which can reduce the blindness in the vibration signal processing process. In addition, the power spectrum density can reflect the vibration environment data under the actual movement of the vehicle, which provides a guarantee for further improving the safety and reliability of vehicle driving.
[0098] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium, and the program can include the processes of the above-mentioned method embodiments when executed. The storage medium can be a memory, a disk, an optical disk, etc.
[0099] The specific implementation of the present invention described above does not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and modifications made based on the technical concept of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for processing road spectrum information data, characterized in that: The steps include: Acquiring road spectrum information of the vehicle, wherein the road spectrum information includes a vibration signal; According to the vibration signal, a peak shape function is used for fitting to obtain a fitting function; the peak area of the fitting function is determined by the least square method; the maximum amplitude of the vibration signal is obtained; according to the maximum amplitude, the zero-crossing position of the first-order derivative of the vibration signal near the maximum amplitude is determined; according to the zero-crossing position, the peak value of the vibration signal is determined; the peak area includes the pure peak area, the total peak area and the half width; the false peaks in the peak are screened and removed, and the value range of the constant sensitivity factor k is determined according to the pure peak area, the total peak area and the half width; the current peak is judged to be a true peak or a false peak by the value range of the constant sensitivity factor k, if , then the current peak is the true peak, if , determine that the peak is a false peak and remove it; wherein Sc represents the pure peak area, C represents the half width, and Sz represents the total peak area; According to the peak value and the peak area, the vibration signal is divided into signals of multiple different spectral segments, and based on the signals of the multiple different spectral segments, a preset second function fitting method is used to obtain the power spectral density of the vibration signal.
2. The method for processing road information data according to claim 1, characterized in that: After obtaining the vibration signal of the vehicle, the vibration signal is preprocessed, including: Decomposing the vibration signal into a low-frequency vibration signal and a high-frequency vibration signal; The low-frequency vibration signal and the high-frequency vibration signal are subjected to Fourier transformation to obtain a plurality of spectrum signals with different frequencies; Performing low-pass filtering on the multiple spectrum signals of different frequencies to obtain a low-frequency signal; The low-frequency signal is subjected to inverse Fourier transform to obtain a preprocessed vibration signal.
3. The method for processing road information data according to claim 1, characterized in that: Also includes: The peak height, peak position and half width of the fitting function are determined according to the least square method.
4. The method for processing road spectrum information data according to claim 1, characterized in that: After removing the false peaks, it also includes: According to the zero-crossing point position, the repeated peaks are detected and eliminated using the third-order difference method.
5. A road spectrum information data processing device, characterized in that: include: A road spectrum information acquisition module is used to acquire road spectrum information during vehicle driving, including vibration signals during vehicle driving; The peak area and peak value determination module is used to fit the vibration signal using a peak shape function to obtain a fitting function; determine the peak area of the fitting function using the least squares method; obtain the maximum amplitude of the vibration signal; determine the zero-crossing point position of the first-order derivative of the vibration signal near the maximum amplitude according to the maximum amplitude; determine the peak value of the vibration signal according to the zero-crossing point position; the peak area includes the pure peak area, the total peak area and the half width; screen and eliminate the false peaks in the peak, and determine the value range of the constant sensitivity factor k according to the pure peak area, the total peak area and the half width; judge whether the current peak is a true peak or a false peak through the value range of the constant sensitivity factor k, if , then the current peak is the true peak, if , determine that the peak is a false peak and remove it; wherein Sc represents the pure peak area, C represents the half width, and Sz represents the total peak area; A power spectrum density acquisition module is used to divide the vibration signal into multiple signals of different spectrum segments according to the peak value and the peak area, and based on the multiple signals of different spectrum segments, a preset second function fitting method is used to acquire the power spectrum density of the vibration signal.
6. An electronic device, characterized in that: include: Processor and memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, the steps in the road spectrum information data processing method as described in any one of claims 1-4 are implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the road spectrum information data processing method as described in any one of claims 1-4.
