A method for preventing cable damage using sound recognition and perception algorithms
By arranging sound sensors on underground cable lines, using delay estimation algorithms and MFCC feature extraction methods to identify construction machinery and issuing alarms in advance, the problem of insufficient prevention of cable damage during construction in the existing technology is solved, and construction safety is improved. .
Patent Information
- Application Number
- CN202211267984.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-17
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-10-17
AI Technical Summary
It is difficult to prevent damage to buried cables in time during the construction process with the existing technology. It is necessary to wait until the cable is damaged before issuing an alarm, which may result in failure to prevent damage in time.
Using a sound recognition perception algorithm, multiple sound sensors are set up on underground cable lines, and the time delay estimation algorithm is used for target positioning and the MFCC feature extraction method is used for mechanical voiceprint recognition, and an alarm is issued in advance to prevent cable damage.
It is possible to issue an alarm in advance when construction machinery enters the cable area, reminding construction workers and network distribution personnel to take preventive measures, thereby improving the prevention efficiency of cable damage.
Smart Images

Figure CN115762529B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cable protection, and in particular to a method for preventing cable damage by utilizing a sound recognition perception algorithm. Background Art
[0002] Cables for underground distribution network lines are a common form. With the development of the economy, the implementation of regional infrastructure has been driven, and a large number of construction machinery has been used in the construction of specific projects. In this process, due to poor communication between construction personnel and distribution personnel and other reasons, damage to the construction area and damage to buried cables often occur. The losses caused are self-evident. Therefore, both construction personnel and distribution personnel need to work together to do a good job of prevention. In the prior art, one method is that the distribution network personnel install sensing equipment at the location of the buried cable to feed back abnormal information to the distribution network center for corresponding processing. For example, CN213987749U discloses a smoke alarm device for preventing cable damage. A vibration sensor is used to send out an alarm through smoke and sound after sensing vibration, so as to remind construction personnel. Another example is CN112581730A discloses a warning method for preventing cable damage and a sound and light warning device for preventing cable damage. A protective tube with optical fiber inside is laid parallel to the buried cable, and photoelectric switches are set at both ends of the protective tube to sense and alarm when external force is damaged. However, the above technology needs to be sensed only when the location is damaged. There is still a possibility that the buried cable is damaged because the construction machinery is not stopped in time. Summary of the invention
[0003] In view of the defects of the background technology, the present invention provides a method for preventing cable damage by using a sound recognition perception algorithm. When a construction machine enters an underground cable area, an alarm is issued to the construction personnel and / or the network distribution personnel, and the existence of underground cables in the area is warned before construction, thereby preventing the possibility of cable damage in advance. The technical solution adopted by the present invention is:
[0004] A method for preventing cable damage by using a sound recognition and perception algorithm collects data from construction machinery and performs two steps, namely, target positioning and target recognition, to thereby remind construction personnel and / or distribution network personnel to take preventive measures, wherein:
[0005] The target positioning is performed by setting a plurality of sound sensors in the underground cable line and positioning the construction machinery by using a time delay estimation algorithm; the steps include:
[0006] Three sound sensors are set along the buried cable line, namely points A, O and B, and each point is on a straight line, where the distance between two adjacent sound sensors is AO=OB, marked as d; the external force damage source is point S;
[0007] Set the perception range threshold of the sound sensor to SO. When an external force damage source enters the perception range of the sound sensor, the sound sensor outputs an alarm start signal outward;
[0008] Among them, SA, SO, and SB are calculated through Formulas 1 to 3:
[0009] ;
[0010] In the formula: v is the speed of sound; is the time delay difference between A and O receiving the sound sensor; is the time delay difference between B and O receiving the sound source signal;
[0011] The target recognition is to collect various typical mechanical voiceprint data, analyze and extract the signal features of each, and perform model training to obtain a model library. When the sound sensor receives sound data, it identifies the data and compares it with the model library to achieve the voiceprint recognition of different machines; it includes the following steps:
[0012] Collect voiceprint data, including various typical construction machinery types; perform preprocessing through windowing and framing methods to remove the background noise therein; establish a model library through the MFCC feature extraction method; after the sound sensor receives the voiceprint to be measured, perform preprocessing and MFCC feature extraction to obtain the extracted voiceprint, compare it with the model library to make a judgment, and thus obtain the recognition result to output the name of a certain type of machine.
[0013] Furthermore, the MFCC feature extraction method is used for the data processing of voiceprint data and the voiceprint to be measured. It processes the acquired audio signal, that is: first preprocess the collected audio signal, and then obtain the frequency-domain signal (DFT) from the preprocessed time-domain signal through Fourier transform, and then perform processing through the Mel filter bank, logarithmic energy, and discrete cosine transform (DCT). Finally, the audio signal is converted into the Mel cepstrum domain, and then the first-order differential coefficient ΔMFCC and the second-order differential coefficient Δ 2 MFCC are obtained, weighted, and then merged with MFCC to obtain the newMFCC feature data; among them, newMFCC is calculated through Formula 4:
[0014] ;
[0015] In the formula: a and b are weights, and 0 < b < a < 1, a takes 1 / 3, and b takes 1 / 6; MFCC is the static characteristic of the audio; ΔMFCC is the dynamic characteristic; Δ 2 MFCC is the balance factor.
[0016] Furthermore, the sound sensors all adopt the same specifications, and the distance between two adjacent sound sensors is the straight-line distance.
[0017] Furthermore, the sound sensor adopts a capacitive microphone.
[0018] Beneficial effects of implementing the present invention: The present invention determines the distance between the construction machinery and the underground cable line through target positioning, and determines the type of construction machinery through target identification; thus achieving the purpose of reminding construction personnel and distribution network personnel to take corresponding measures to prevent external damage to the cable. In target positioning, three sound sensors are set along the underground cable line, namely points A, O and B, and each point is on a straight line. The perception range threshold of the sound sensor is set to SO. When the external force damage source enters the perception range of the sound sensor, the sound sensor outputs an alarm start signal to the outside; in target identification, the MFCC audio static characteristics are converted into newMFCC feature data, which has the characteristics of dynamically representing audio, thereby improving the accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention 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. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 :flow chart;
[0021] Figure 2 : Schematic diagram of target positioning;
[0022] Figure 3 : Schematic diagram of target recognition;
[0023] Figure 4 : Schematic diagram of MFCC conversion to newMFCC. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] The present invention provides a method for preventing cable damage by using a sound recognition and perception algorithm. Figures 1 to 3 As shown:
[0026] It includes two steps: target positioning and target recognition.
[0027] The target positioning is performed by installing multiple sound sensors in the underground cable line and using a time delay estimation algorithm to locate the construction machinery; the target positioning is:
[0028] Three sound sensors are set along the buried cable line, namely points A, O and B, and each point is on a straight line, where the distance between two adjacent sound sensors is AO=OB, marked as d; the external force damage source is point S;
[0029] The sound sensor's sensing range threshold is set to SO. When the external force damage source enters the sensing range of the sound sensor, the sound sensor outputs an alarm start signal.
[0030] Where SA, SO, and SB are calculated using formulas 1 to 3:
[0031] ;
[0032] In the formula: v is the speed of sound; is the time delay difference between A and O receiving the sound sensor; is the time delay difference between B and O receiving the sound source signal.
[0033] The sound sensors all adopt the same specifications, and the distance between two adjacent sound sensors is a straight-line distance;
[0034] The sound sensor adopts a capacitive microphone; the capacitive microphone has the characteristics of precise process design. Its principle is to make a vibrating film into a capacitor, one plate of the capacitor is fixed, and the other plate is displaced according to the vibration of the sound, so that the capacity of the film capacitor changes, which is more suitable for collecting long-distance sound.
[0035] The target recognition is achieved by collecting various typical mechanical voiceprint data, analyzing and extracting the signal features, and training the model to obtain a model library. When the sound sensor receives the sound data, it recognizes the data and compares it with the model library to achieve voiceprint recognition of different machines; target recognition is:
[0036] Collect voiceprint data, including various typical types of construction machinery; preprocess through windowing and framing methods to remove background noise; establish a model library through MFCC feature extraction method; after receiving the voiceprint to be tested, the sound sensor performs preprocessing and MFCC feature extraction to obtain the extracted voiceprint, compares and judges with the model library to obtain the recognition result, and outputs a certain type of machinery name.
[0037] The MFCC feature extraction method is used for processing voiceprint data and the voiceprint to be measured, and processes the acquired audio signal, that is: first preprocesses the collected audio signal, then obtains the frequency-domain signal (DFT) from the preprocessed time-domain signal through Fourier transform, and then processes it through the Mel filter bank, logarithmic energy, and discrete cosine transform (DCT). Finally, the audio signal is converted into the Mel cepstrum domain, and then the first-order differential coefficient ΔMFCC and the second-order differential coefficient Δ 2 MFCC are weighted and then merged with MFCC to obtain newMFCC feature data; where newMFCC is calculated by formula 4:
[0038] ;
[0039] In the formula: a and b are weights, and 0 < b < a < 1, a takes 1 / 3, and b takes 1 / 6; MFCC is the static characteristic of the audio; ΔMFCC is the dynamic characteristic; Δ 2 MFCC is the balance factor.
[0040] Since MFCC can only represent the static characteristics of audio and cannot dynamically represent the characteristics of audio. Therefore, newMFCC is a weighted dynamic feature parameter based on MFCC, that is, the MFCC parameter and the weighted first-order and second-order difference coefficients are merged into a new vector newMFCC to be used as the feature parameter of the audio signal.
[0041] For the established model library, first use the Expectation-Maximization algorithm EM to train the UBM model, that is, train the Gaussian Mixture Model GMM using a training set containing a large amount of voice signal data; then use the voice signal data of the voiceprint to be measured and re-estimate the mean value using MLE or MAP to obtain a new target GMM model, that is, the GMM-UBM model.
[0042] The present invention collects audio signals generated by a certain construction machinery that enters the sensing range through multiple sound sensors arranged on the underground cable line, outputs an alarm start signal to issue an alarm, and reminds the construction personnel and / or the network distribution personnel; determines the distance of the construction machinery from the underground cable line through target positioning, that is, arranges multiple sound sensors on the underground cable line, uses a time delay estimation algorithm to locate the construction machinery, sets the sensing range threshold of the sound sensor to SO, and when the external force damage source enters the sensing range of the sound sensor, the sound sensor outputs an alarm start signal; determines the type of construction machinery through target recognition, that is, collects various typical mechanical voiceprint data, analyzes and extracts each signal feature, and performs model training to obtain a model library. When the sound sensor receives the sound data, it recognizes the data and compares it with the model library to realize voiceprint recognition of different machines; thus, the purpose of reminding the construction personnel and the network distribution personnel is achieved, so that corresponding measures can be taken to prevent the cable from being damaged.
[0043] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for preventing cable damage by using a sound recognition and perception algorithm, collecting data from construction machinery, and performing two steps, target positioning and target recognition, to thereby remind construction personnel and / or distribution network personnel to take preventive measures; characterized in that: The target positioning is performed by setting a plurality of sound sensors on the buried cable line and using a time delay estimation algorithm to locate the construction machinery, including the following steps: Three sound sensors are set along the buried cable line, namely points A, O and B, and each point is on a straight line, where the distance between two adjacent sound sensors is AO=OB, marked as d; the external force damage source is point S; The sound sensor's sensing range threshold is set to SO. When the external force damage source enters the sensing range of the sound sensor, the sound sensor outputs an alarm start signal. Where SA, SO, and SB are calculated using formulas 1 to 3: ; In the formula: v is the speed of sound; is the time delay difference between A and O receiving the sound sensor; is the time delay difference between B and O receiving the sound source signal; The target recognition collects various typical mechanical voiceprint data, analyzes and extracts each signal feature, performs model training to obtain a model library. When the sound sensor receives the sound data, it recognizes the data and compares it with the model library to realize voiceprint recognition of different machines, including the following steps: Collect voiceprint data, including various typical types of construction machinery; pre-process through windowing and framing methods to remove background noise; establish a model library through MFCC feature extraction method; after receiving the voiceprint to be tested, the sound sensor performs pre-processing and MFCC feature extraction to obtain the extracted voiceprint, compares and judges with the model library to obtain the recognition result, and outputs the name of a certain type of machinery; The MFCC feature extraction method is used for data processing of voiceprint data and voiceprint to be tested, which is to process the acquired audio signal, that is, first preprocess the collected audio signal, then obtain the frequency domain signal DFT by Fourier transform of the preprocessed time domain signal, and then process it by Mel filter bank, logarithmic energy and discrete cosine transform DCT, and finally convert the audio signal into Mel cepstrum domain, and then obtain the first-order differential coefficient ΔMFCC and the second-order differential coefficient Δ 2 MFCC is weighted and then combined with MFCC to obtain newMFCC feature data; where newMFCC is calculated by formula 4: ; In the formula: a and b are weights, and 0 < b < a < 1, where a is taken as 1 / 3 and b is taken as 1 / 6; MFCC is the static feature of the audio; ΔMFCC is the dynamic feature; Δ 2 MFCC is the balance factor.
2. According to claim 1, a method for preventing cable damage by using a sound recognition perception algorithm is characterized in that: The sound sensors all adopt the same specifications, and the distance between two adjacent sound sensors is a straight-line distance.
3. According to claim 2, a method for preventing cable damage by using a sound recognition perception algorithm is characterized in that: The sound sensor adopts a capacitive microphone.
