Active safety pre-warning system for road sections near water and cliff
Through sound-based vehicle detection methods and sound-optical early warning system, the problems of poor night protection measures and high cost in Linshui Linya Road section are solved, and all-weather vehicle detection and early warning are realized, reducing the possibility of traffic accidents and improving the Road safety.
Patent Information
- Application Number
- CN202411012957.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The protective measures of the existing Linshui and Linjia sections are not effective at night, have high costs, serious power supply problems, and the existing technology is difficult to achieve accurate identification and early warning of all-weather and all-weather vehicles.
Using sound-based vehicle detection method, combined with road nails and warning signs, through detection units, data processing units and early warning units, the sound-light warning of vehicles when entering the Linshui and Linshui section at night is realized, ensuring that the driver can clearly see it. Road border.
It has achieved all-weather and all-weather vehicle detection and early warning, reducing the possibility of traffic accidents, reducing the cost of accident losses, and improving road safety level and travel comfort and confidence.
Smart Images

Figure CN118887789A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of road safety warning devices, in particular to an active safety warning system for road sections near water or cliffs. Background Art
[0002] In 2022, about 14,500 people died in road traffic accidents in my country. Rural roads have the characteristics of low safety level and poor timeliness of traffic accident detection. Therefore, rural road traffic safety has become a key issue in the construction of a strong transportation country. As a high-incidence section of rural roads, sections near water and cliffs have naturally become the top priority of safety protection at this stage.
[0004] At present, there are many protective measures for roads near water and cliffs, such as installing guardrails, planting green belts, installing cameras, street lights, etc. Guardrails are not effective on farm roads at night, and they do not provide significant protection for vehicles traveling at high speeds when traffic accidents occur; planting green belts is a widely used method on urban roads, but considering that farm roads are generally 3-5 meters wide, green belts do not have an advantage in terms of floor space; camera data collection is greatly affected by weather and lighting, and it is difficult to accurately identify vehicles at night; street lights, radars, etc. have considerable challenges in terms of cost and power supply. Summary of the invention
[0005] In response to the problems existing in the background technology, the present invention comprehensively considers all-day and all-weather operation, equipment footprint, installation and power supply costs, warning timeliness, etc. This application adopts a sound-based vehicle detection method, combined with road studs and warning signs for sound and light warning, so as to achieve the effect of early warning when vehicles enter sections near water or cliffs at night, and clearly see the road boundaries when driving in dangerous sections, thereby ensuring that hidden dangers are effectively addressed.
[0006] Technical solution:
[0007] An active safety warning system for a road section near water or cliffs, comprising a detection unit, a data processing unit, a communication unit and a warning unit, wherein:
[0008] The detection unit is used for detecting sound signals;
[0009] The data processing unit includes a data preprocessing module and a sound recognition module, wherein: the preprocessing module preprocesses the detected sound signal; the sound recognition module recognizes the preprocessed data and outputs the detection result;
[0010] The communication unit is used for transmission of signal data;
[0011] The early warning unit receives the detection result of the data processing unit and triggers the early warning working state.
[0012] Preferably, the detection unit is composed of a plurality of sound sensors.
[0013] Preferably, the detection unit includes an active noise reduction module, and the active noise reduction module performs the following steps:
[0014] 1) Collect sound signals from the surrounding environment through the microphone array in the detection unit. These signals include the required sound signals of different car models and various noises;
[0015] 2) The collected sound signal is sent to the active noise reduction module processor, which uses an adaptive filter algorithm to generate a signal with the same frequency but opposite phase as the reference noise, ensuring that the generated sound wave can effectively neutralize the noise and achieve noise reduction.
[0016] Preferably, in the active noise reduction process, the adaptive filtering algorithm is implemented by the following basic mathematical expression:
[0017]
[0018] Among them, y(n) represents the output signal, the calculated inverse phase sound wave; x(n) represents the input signal, that is, the original sound signal; w i (n) represents the filter weight at time n; M represents the order of the filter.
[0019] Preferably, the preprocessing module preprocesses the detected sound signal, and the specific steps are:
[0020] 1) In order to facilitate signal processing and ensure sound quality, the acquisition format is set to wav and the sampling frequency is set to 44.1kHz;
[0021] 2) The collected vehicle sound data is pre-processed and applied to the original audio signal through a pre-emphasis filter to achieve the effect of enhancing high-frequency information. The type of filter used for pre-emphasis is a first-order high-pass filter, and its mathematical expression is as follows:
[0022]
[0023] Where p is the pre-emphasis coefficient, n is the time discrete index value, is the audio amplitude after pre-emphasis, x(n) is the audio amplitude before pre-emphasis, and the value of p is set to 0.97;
[0024] 3) Perform frame division and windowing on the sound data. The Hamming window is used for frame division and windowing operations. The frame length is 1024 and the frame shift is 512. The mathematical expression of the Hamming window is as follows:
[0025]
[0026] Among them, N is the total number of data points contained in the window width, n is the index value marking the position of the data point in the window, is the weighting parameter, The value of is set to 0.46;
[0027] 4) Sound data feature extraction:
[0028] The characteristic parameters of the signal are extracted using the MFCC feature extraction function. The pre-processed sound data is subjected to the fast Fourier transform FFT to obtain the amplitude spectrum of the signal. The spectrum signal obtained by the transformation is then passed through a set of Mel filter groups. The energy output by the Mel filter is then logarithmically obtained to obtain the logarithmic energy spectrum. Finally, the logarithmic energy spectrum is subjected to discrete cosine transform DCT to obtain the 12th-order MFCC parameters.
[0029]
[0030] Among them, i is the i-th frame of the sound signal; n is the spectrum line after discrete cosine transform; M is the number of filters in the Mel filter bank; S(i,m) is the logarithmic energy after passing through the Mel filter, and m is the number of filters.
[0031] 5) Obtain 12-dimensional static MFCC parameters as input to the sound recognition module.
[0032] Preferably, the sound recognition module uses a sound model to perform recognition based on the preprocessed sound data and outputs a detection result. The specific steps of constructing the sound model are:
[0033] 1) Construct a three-layer BP neural network, whose network model topology includes an input layer, a hidden layer, and an output layer; normalize the audio feature parameters extracted previously as the input vector of the neural network;
[0034] 2) In the construction of the BP neural network model, it is necessary to select the number of hidden layer nodes in order to improve the algorithm performance and avoid the "overfitting" problem. The number of hidden layer nodes currently uses the following formula:
[0035]
[0036] n in the formula k Represents the number of hidden layer units, n i represents the number of input layer units, n0 represents the number of output layer units, and a is a constant between [0,10];
[0037] 3) In model training, the number of iterations is set to 50, the learning rate is set to 0.05, the momentum coefficient is set to 0.9, the number of training times is set to 100, and the training target is set to 0.001; 80% of the data is used as the training set, and the other 20% is used as the test set. The output label is 0 if a car has passed by, and the output label is 1 if there is no car.
[0038] Preferably, the early warning unit is an LED luminous sign. When the early warning is working, the warning sign is always on and the reminder sign flashes. It is not on normally.
[0039] Preferably, the warning unit is a solar road stud. When the warning is working, the road stud emits red light and multiple road studs flash synchronously.
[0040] Beneficial effects of the present invention
[0041] This application uses multi-category, directional traffic target detection technology based on sound to achieve accurate target recognition of specific sounds such as vehicles, and detect oncoming vehicles in sections near water and cliffs. This method is low-cost, flexible to deploy, and has strong applicability and high reliability in environments near water and cliffs. Sound-based detection technology has broad applications in many scenarios such as sections of rural roads near water and cliffs, sections with poor visibility on curved roads, factory and mining areas, construction areas, border and coastal defense, etc.
[0042] This application can issue warnings to drivers in a timely manner, reduce the possibility of accidents, avoid or reduce casualties and vehicle damage caused by serious traffic accidents, and thus reduce the cost of accident losses.
[0043] In this application, an acoustic detection device is used for vehicle detection. Compared with radars, cameras and other devices used in general early warning systems, the cost is lower, the construction of related supporting facilities is simple and the investment is small, and low-cost all-weather vehicle detection and early warning can be achieved.
[0044] This application can help drivers realize potential dangers, ensure driving safety on special roads, reduce the occurrence of traffic accidents, greatly reduce the number of casualties and deaths in traffic accidents, and protect the lives and property safety of drivers, thereby improving the level of road safety and the comfort and confidence of travel. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic diagram of the structure of the present invention
[0046] Figure 2 The composite control structure diagram based on the FXLMS algorithm in the embodiment
[0047] Figure 3 This is the FxLMS simulation diagram (result) in the embodiment
[0048] Figure 4This is the FxLMS simulation diagram (error) in the embodiment
[0049] Figure 5 Schematic diagram of the generalized cross-correlation delay estimation algorithm in the embodiment
[0050] Figure 6 The spectrum diagram of the acoustic signal in the embodiment
[0051] Figure 7 The resonance peak connection diagram of the acoustic signal in the embodiment
[0052] Figure 8 The envelope diagram of the acoustic signal in the embodiment
[0053] Fig. 9 The acoustic signal in the embodiment includes a schematic diagram of an inverse Fourier transform
[0054] Fig.10 Schematic diagram of original frequency restoration in the embodiment
[0055] Fig.11 The cepstrum calculation process diagram in the embodiment
[0056] Fig.12 Schematic diagram of Mel filter bank characteristics in the embodiment
[0057] Fig.13 MFCC schematic diagram in the embodiment
[0058] Fig.14 This is a flow chart of the early warning recognition algorithm of the present invention. DETAILED DESCRIPTION
[0059] The present invention will be further described below in conjunction with embodiments, but the protection scope of the present invention is not limited thereto:
[0060] Combination Figure 1 and Fig.14 , an active safety warning system and warning method for road sections near water and cliffs, which includes a detection unit, a data processing unit, a communication unit and a warning unit. Among them:
[0061] The detection unit is used for detecting sound signals;
[0062] The data processing unit includes a data preprocessing module and a sound recognition module, wherein: the preprocessing module preprocesses the detected sound signal; the sound recognition module recognizes the preprocessed data and outputs the detection result;
[0063] The communication unit is used for transmission of signal data;
[0064] The early warning unit receives the detection result of the data processing unit and triggers the early warning working state.
[0065] (1) Detection unit (acoustic detection device) layout plan
[0066] There are two layout schemes for the acoustic detection and identification device, namely the 8-element acoustic array layout and the 5-element acoustic array layout. The 8-element acoustic array is divided into two layers, the upper layer is composed of a 4-element acoustic array to form a disk with a diameter of 40mm, and the lower layer is composed of a 4-element acoustic array to form a disk of 80-120mm. The height difference between the upper and lower disks is 40mm-100mm. The upper layer of the 5-element acoustic array has only one acoustic sensor, and the lower layer has 4 acoustic sensors to form a disk with a diameter of 40mm-120mm. The height difference between the upper and lower layers is 40mm-100mm. The acoustic sensors distributed in the upper and lower layers effectively ensure the sound resolution capability in the vertical direction, and the 4-element array form of the lower layer is responsible for orienting the target in the horizontal direction.
[0067] (2) Selection of sound sensor chip
[0068] The sound sensor chip uses the MSM26S4030H0 chip, which is an omnidirectional, bottom-port, I2S digital output MEMS microphone. It has high performance and high reliability. The MSM26S4030H0 has a 4mm × 3mm × 1.0mm metal cap LGA package. It is compatible with SMT and has no sensitivity drop.
[0069] (3) Data preprocessing module (environmental noise processing)
[0070] Through the analysis of sound characteristics, we can know that sounds are composed of corresponding spectra and energy. The basic idea of dealing with noise is to find a sound with the same spectrum and opposite phase as the target noise, and superimpose it with the noise. In practical applications, the technology of "active noise elimination" is used, that is, active noise reduction technology (Active Noise Control, ANC). The schematic diagram is as follows. First, various noises are collected through the microphone carried inside the prototype, and then the noise signal is transmitted to the noise reduction circuit. The noise reduction system is processed by electroacoustics to calculate the inverted wave. The sound waves are amplified and replayed through the built-in audio processing circuit, and the sounds with opposite phases will be superimposed, and the amplitude of the noise will be greatly attenuated, thereby reducing the noise.
[0071] The core algorithm for ANC noise reduction is FxLMS (minimum mean square algorithm). Figure 2The figure shows a typical composite control structure based on the FXLMS algorithm. The transfer function of the primary forward channel is P(z), and the transfer function of the secondary channel is S(z). When active noise reduction is performed, the system input signal source is the reference microphone input x(n) and the error microphone input e(n), and the system output is the expected output y'(n). All algorithm parameters should be determined by the characteristics of these two input signals. As long as the algorithm parameters that are suitable for the input signal characteristics are selected, a better noise reduction effect can be achieved.
[0072] The following simulation is performed on the ANC algorithm using FxLMS. The simulation process is as follows:
[0073] Generate a sine wave signal as the original signal
[0074] Generate a random white noise signal
[0075] Using FxLMS algorithm filtering, the output error and filtering results are as follows Figure 3 and Figure 4 Shown
[0076] The input signal is a mixed signal of a sinusoidal signal and noise. It can be seen that the sinusoidal signal is greatly distorted by the noise. The experimental output signal has less distortion and the noise signal is already very small, which verifies the noise reduction capability of the ANC algorithm based on FxLMS.
[0077] (4) Microarray multi-band acoustic target direction finding and orientation
[0078] At present, the sound source localization methods based on microphone arrays can be roughly divided into three categories: controllable beamforming technology based on maximum output power, sound source localization technology based on high-resolution spectrogram estimation technology, and sound source localization technology based on time-delay estimation (TDE).
[0079] The core of the TDE-based algorithm is to accurately estimate the propagation delay. Generally, it performs cross-correlation processing on the signals between microphones, and can further obtain the sound source location information through simple delay summation, geometric calculation, or directly use the cross-correlation results to search for controllable power response. This type of algorithm is relatively simple to implement, has a small amount of calculation, and is easy to process in real time. Therefore, it is the most widely used in practice and is more suitable for the miniaturization and low power requirements of this study.
[0080] (4-1) Generalized Delay Algorithm
[0081] The four-element stereo array can improve the accuracy of the estimated azimuth, but it will produce a certain estimation error when estimating the distance. Therefore, the selection of the delay estimation algorithm is very important. The delay estimation algorithm uses delay estimation to complete the joint direction finding and distance measurement of the target, where the delay is the time difference between the sound source reaching each microphone. The delay estimation can be performed according to the generalized cross-correlation delay estimation method.
[0082] The generalized cross-correlation method takes the basic cross-correlation as its theoretical basis. It obtains the cross-power spectrum between the two signals, gives a certain weight in the power spectrum domain, and then inversely transforms to the time domain to obtain the cross-correlation function between the two signals, and finally estimates the time delay between the two signals. Figure 5 shown.
[0083] Perform Fourier transform on the autocorrelation functions of the two acoustic signals to obtain the cross-power spectrum of the acoustic signals received by the two microphones:
[0084]
[0085] Where: φ ss (ω) are the cross-correlation functions R 12 (τ), R ss (τ) The power spectrum corresponding to the weighted inverse Fourier transform of the above equation can be obtained as follows:
[0086]
[0087] Where: 12 (ω) is a generalized weighting function. In practical applications, different Ψ can be selected for different noise and reverberation conditions. 12 (ω).
[0088] Finally, the peak value detection can be performed to determine the delay using the above formula:
[0089]
[0090] (4-2) Combined with Table 1, weighted correlation function
[0091] Table 1 Frequency domain weighting function table
[0092]
[0093]
[0094] The cross-power spectrum weighted by PHAT is close to the expression of unit impulse response, which highlights the delay peak, can effectively suppress reverberation noise, and improve the precision and accuracy of delay estimation.
[0095] (5) Learning and training of sound recognition module (sound model)
[0096] In order to realize the feature learning and recognition of weak target one-dimensional sound and seismic signals by deep neural network, it is necessary to convert the one-dimensional sound and seismic signal vector features into two-dimensional image features. The image features are extracted by using the time-frequency feature vector of one-dimensional sound and seismic signals combined with the Mel cepstrum algorithm. These cepstrum image features are then used as the input of the deep neural network to realize the classification and recognition of one-dimensional sound and seismic signals by the deep neural network.
[0097] (5-1) Cepstrum calculation
[0098] The acoustic signal feature extraction method based on the Mel-Cepstrum model, such as Figure 6 The figure shows a spectrum diagram of a sound signal. The peaks represent the main frequency components of the sound. These peaks are called formants. Formants carry the recognition properties of sound and can be used to identify different sounds. Figure 7 What is extracted is the spectral envelope, which is a smooth curve connecting these resonance peaks.
[0099] It can be seen that the spectrum consists of two parts: the envelope and the details of the spectrum. By separating these two parts, we can get the envelope as follows: Figure 8 shown.
[0100] Performing a Fourier transform on a spectrum is equivalent to an inverse Fourier transform (IFFT). Performing an IFFT on a logarithmic spectrum is equivalent to describing the signal on a pseudo-frequency axis.
[0101] Depend on Fig. 9 As shown, the envelope mainly includes low-frequency components, which can be regarded as a sine signal with 4 cycles per second. A peak is set at 4Hz on the pseudo-coordinate axis. The detailed part of the spectrum is mainly high frequency. It can be regarded as a sine signal with 100 cycles per second. A peak is set at 100Hz on the pseudo-coordinate axis. The initial spectrum signal is obtained by superimposing the two signals as shown in Fig.10 shown.
[0102] To summarize the cepstrum analysis, the process is as follows:
[0103] The original speech signal is transformed by Fourier to obtain the spectrum: X[k] = H[k]E[k], and only considering the amplitude is:
[0104] |X[k]|=|H[k]||E[k]|;
[0105] Take the logarithm: log||X[k]||=log||H[k]||+log||E[k]||;
[0106] Taking the inverse Fourier transform yields: x[k]=h[k]+e[k].
[0107] The above steps are also called homomorphic signal processing. Its purpose is to transform nonlinear problems into linear problems. The first step is to convert the sound signal into a multiplicative signal through convolution (convolution in the time domain is equivalent to multiplication in the frequency domain). The second step is to convert the multiplicative signal into an additive signal by taking the logarithm, and the third step is to perform an inverse transform to restore it to a convolution signal. At this time, although both the before and after are time domain sequences, the discrete time domains they are in are obviously different, so the latter is called the cepstrum frequency domain. Therefore, the cepstrum is a spectrum obtained by performing a logarithmic operation on the Fourier transform of a signal and then performing an inverse Fourier transform. Its calculation process is as follows: Fig.11 As shown:
[0108] (5-2) Frequency analysis
[0109] Mel-Frequency Analysis is a frequency analysis based on human auditory perception. Experimental observations have found that the human ear is like a filter bank, which only focuses on certain frequency components and only allows signals of certain frequencies to pass. These filters are not uniformly distributed on the frequency coordinate axis. There are many densely distributed filters in the low-frequency area, and the filters in the high-frequency area are sparsely distributed.
[0110] The human auditory system is a special nonlinear system, and its sensitivity to different frequency signals is different. Therefore, in terms of speech feature extraction, the human auditory system does a very good job. It can not only extract semantic information, but also extract the speaker's personal characteristics, which are beyond the reach of existing speech recognition systems. If the human auditory perception and processing characteristics can be simulated in the speech recognition system, the recognition rate of sound can be improved.
[0111] (5-3) Mel Cepstrum Algorithm
[0112] Mel Frequency Cepstrum Coefficient (MFCC) takes into account the human auditory characteristics, first mapping the linear spectrum to the Mel nonlinear spectrum based on auditory perception, and then converting it to the cepstrum. Fig.12 As shown, the non-uniform frequencies are converted into uniform frequencies, that is, a unified filter bank.
[0113] In the Mel frequency domain, people's perception of pitch is linear. For example, if the Mel frequencies of two voices differ by two times, the pitch of the two voices will also differ by two times to the human ear. The spectrum is passed through a set of Mel filters to obtain the Mel spectrum. The cepstral coefficients h[k] obtained on the Mel spectrum are called Mel frequency cepstral coefficients, or MFCCs for short. Fig.13 shown.
[0114] (6) Construction of sample set
[0115] Data has become an important bottleneck that limits the improvement of algorithm capabilities. Sufficient sample data is an important guarantee for deep learning models to achieve ideal results. In terms of daily life scenarios, the introduction of large data sets such as ImageNet and COCO has greatly improved the accuracy of target detection in this scenario. In terms of near-ground target sound and vibration signals, there is currently no large-scale annotated database for this field. Therefore, the lack of annotated data is one of the urgent problems to be solved in the near-ground target detection task. To address this issue, in order to verify the effectiveness of the proposed method in many aspects, the experiment will use two public data sets: ESC50 and UrbanSound8K.
[0116] The ESC50 dataset consists of 2,000 labeled environmental sounds, which are balanced and divided into 50 categories (40 audio clips per category, each audio clip is 5 seconds long). Overall, they are divided into 5 simply defined categories (each category is divided into 10 subcategories): animal sounds, natural scene sounds, human (non-speech) sounds, indoor / home sounds, and outdoor / urban noises.
[0117] UrbanSound8K contains 8732 short audio clips (each audio is no longer than 4 seconds). The dataset divides the audio signals into 10 categories of unbalanced environmental sound events: air conditioning, car horns, playing children, dog barking, drilling, engine idling, shooting, jackhammers, police sirens, and street music. In order to obtain more accurate results, the dataset has been pre-organized into 10 folds, so this solution uses a 10-fold cross-validation method on this data. The audio duration in this dataset is inconsistent. In order to ensure the consistency of the network input, we padded the audio that is less than 4 seconds with the original audio signal.
[0118] Active safety warning system for roads near water and cliffs
[0119] The present application discloses an active safety warning system for roads near water. First, a detection unit acquires acoustic targets, compares them with a self-created acoustic database, and then performs vehicle detection in combination with a deep network. The detection results are transmitted to a warning module through a communication unit. The warning module is composed of an LED active luminous signboard, luminous road studs, a vehicle detector, and a control box as shown in the figure below. After receiving the signal, an acoustic and light warning is performed, so that the driver can receive a warning sign before entering a dangerous road section near water or cliffs, and can always see the "last line of defense" composed of road studs during driving on the road section.
[0120] The embodiment selected several water-side sections of agricultural roads in Lianyungang as experimental sections, installed various equipment required for the experiment at various locations on the water-side sections, carried out point selection, sensor selection, sensor layout and installation, and data collection requirements to verify the feasibility of the system, and compared the test data with the actual situation to facilitate the adjustment of the calculation model and calibration parameters at any time.
[0121] Combination Figure 1 In the embodiment, the system is composed of a sound-based traffic detection unit 1, an early warning unit (solar road studs 2 or LED light-emitting signs 3), a power supply unit 4, and a communication unit. The above units are integrated to realize a multi-in-one early warning device. The system application principle is: the vehicle detector pre-sets the sound library, sets the detection distance, and distinguishes whether the sound within the detection range is emitted by a vehicle. If it is determined to be a vehicle, the detector line main control system sends a signal, the control system controls the LED light-emitting sign to light up, and sends a signal to the road studs through wireless communication. The road studs flash synchronously, which plays a kind of early warning role.
[0122] Detection Unit: A sound-based traffic detection device that detects the arrival of a target vehicle by sound.
[0123] Warning unit: It is composed of LED luminous signs and road studs, which serve to warn target vehicles.
[0124] Power supply unit: The 80W solar panel is used to power the detection unit, early warning unit and communication unit.
[0125] Communication unit: sends the signal of the detection unit to the early warning unit via wireless transmission.
[0126] Control box: main control system, solar control system, battery integration and control line.
[0127] LED luminous sign: It is composed of LED full-transparent triangle warning sign and dot formal text reminder luminous sign. When the warning is working, the warning sign is always on, the reminder sign flashes, and it is not on normally. The working voltage is 12V, and the power consumption is not less than 20W.
[0128] Vehicle detector (sound-based): sound detection distance <30m, false detection rate <5%, missed detection rate <5%, power consumption 0.3W.
[0129] Solar road studs: Each road stud has an independent power supply system, emits red light when a car approaches, multiple road studs flash synchronously, and are set at a distance of 2m. The design size is 1200 in diameter and 25 in thickness.
[0130] Power supply system: designed to work 6 hours a day and 7 consecutive days of rainy and cloudy days, with 80W solar panels and 100AH batteries.
[0131] Economic benefit evaluation
[0132] The active safety warning system on roads near water or cliffs can issue warnings to drivers in a timely manner, reducing the possibility of accidents. It can avoid or mitigate casualties and vehicle damage caused by serious traffic accidents, thereby reducing the cost of accident losses.
[0133] In this embodiment, an acoustic detection device is used for vehicle detection. Compared with radars, cameras and other devices used in general early warning systems, the cost is lower, the construction of related supporting facilities is simple and the investment is small, and low-cost all-weather vehicle detection and early warning can be achieved.
[0134] Social Benefit Evaluation
[0135] The active safety warning system for roads near water or cliffs can help drivers realize potential dangers, ensure driving safety on special roads, reduce the occurrence of traffic accidents, greatly reduce the number of casualties and deaths in traffic accidents, and protect the lives and property safety of drivers, thereby improving the level of road safety and the comfort and confidence of travel.
[0136] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
Claims
1. An active safety warning system for roads near water and cliffs, characterized in that It includes a detection unit, a data processing unit, a communication unit and an early warning unit, among which: The detection unit is used for detecting sound signals; The data processing unit includes a data preprocessing module and a sound recognition module, wherein: the preprocessing module preprocesses the detected sound signal; the sound recognition module recognizes the preprocessed data and outputs the detection result; The communication unit is used for transmission of signal data; The early warning unit receives the detection result of the data processing unit and triggers the early warning working state.
2. The system according to claim 1, characterized in that The detection unit is composed of a plurality of sound sensors.
3. The system according to claim 1, characterized in that The detection unit includes an active noise reduction module, which performs the following steps: 1) Collect sound signals from the surrounding environment through the microphone array in the detection unit. These signals include the required sound signals of different car models and various noises; 2) The collected sound signal is sent to the active noise reduction module processor, which uses an adaptive filter algorithm to generate a signal with the same frequency but opposite phase as the reference noise, ensuring that the generated sound wave can effectively neutralize the noise and achieve noise reduction.
4. The system according to claim 3, characterized in that In the process of active noise reduction, the adaptive filtering algorithm is implemented through the following basic mathematical expression: Among them, y(n) represents the output signal, the calculated inverse phase sound wave; x(n) represents the input signal, that is, the original sound signal; w i (n) represents the filter weight at time n; M represents the order of the filter.
5. The system according to claim 1, characterized in that The preprocessing module preprocesses the detected sound signal, and the specific steps are as follows: 1) In order to facilitate signal processing and ensure sound quality, the acquisition format is set to wav and the sampling frequency is set to 44.1kHz; 2) The collected vehicle sound data is pre-processed and applied to the original audio signal through a pre-emphasis filter to achieve the effect of enhancing high-frequency information. The type of filter used for pre-emphasis is a first-order high-pass filter, and its mathematical expression is as follows: Where p is the pre-emphasis coefficient, n is the time discrete index value, is the audio amplitude after pre-emphasis, x(n) is the audio amplitude before pre-emphasis, and the value of p is set to 0.97; 3) Perform frame division and windowing on the sound data. The Hamming window is used for frame division and windowing operations. The frame length is 1024 and the frame shift is 512. The mathematical expression of the Hamming window is as follows: Among them, N is the total number of data points contained in the window width, n is the index value marking the position of the data point in the window, is the weighting parameter, The value of is set to 0.46; 4) Sound data feature extraction: The characteristic parameters of the signal are extracted using the MFCC feature extraction function. The pre-processed sound data is subjected to the fast Fourier transform FFT to obtain the amplitude spectrum of the signal. The spectrum signal obtained by the transformation is then passed through a set of Mel filter groups. The energy output by the Mel filter is then logarithmically obtained to obtain the logarithmic energy spectrum. Finally, the logarithmic energy spectrum is subjected to discrete cosine transform DCT to obtain the 12th-order MFCC parameters. Among them, i is the i-th frame of the sound signal; n is the spectrum line after discrete cosine transform; M is the number of filters in the Mel filter bank; S(i,m) is the logarithmic energy after passing through the Mel filter, and m is the number of filters. 5) Obtain 12-dimensional static MFCC parameters as input to the sound recognition module.
6. The system according to claim 1, characterized in that The sound recognition module uses the sound model to perform recognition based on the preprocessed sound data and outputs the detection result. The specific steps of constructing the sound model are as follows: 1) Construct a three-layer BP neural network, whose network model topology includes an input layer, a hidden layer, and an output layer; normalize the audio feature parameters extracted previously as the input vector of the neural network; 2) In the construction of the BP neural network model, it is necessary to select the number of hidden layer nodes in order to improve the algorithm performance and avoid the "overfitting" problem. The number of hidden layer nodes currently uses the following formula: n in the formula k Represents the number of hidden layer units, n i represents the number of input layer units, n0 represents the number of output layer units, and a is a constant between [0,10]; 3) In model training, the number of iterations is set to 50, the learning rate is set to 0.05, the momentum coefficient is set to 0.9, the number of training times is set to 100, and the training target is set to 0.001; 80% of the data is used as the training set, and the other 20% is used as the test set. The output label is 0 if a car has passed by, and the output label is 1 if there is no car.
7. The system according to claim 1, characterized in that The early warning unit is an LED luminous sign. When the early warning is working, the warning sign is always on and the reminder sign flashes. It is not on normally.
8. The system according to claim 1, characterized in that The warning unit is a solar road stud. When the warning is working, the road stud emits red light and multiple road studs flash synchronously.
Citation Information
Patent Citations
Traffic incident detection device and method based on audio
CN106846803A
Expressway dangerous road section and construction region early-warning control system and method
CN110853357A
Expressway foggy area induction method
CN110942670A
Multi-person voice recognition method, device and equipment and readable storage medium
CN110970049A
Vehicle perception and danger early warning method and system based on environmental sound analysis
CN114067612A
