CN108519149B - A tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis - Google Patents
A tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis Download PDFInfo
- Publication number
- CN108519149B CN108519149B CN201810267017.1A CN201810267017A CN108519149B CN 108519149 B CN108519149 B CN 108519149B CN 201810267017 A CN201810267017 A CN 201810267017A CN 108519149 B CN108519149 B CN 108519149B
- Authority
- CN
- China
- Prior art keywords
- sound
- tunnel
- module
- neural network
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H17/00—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B25/00—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
- G08B25/01—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
- G08B25/10—Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Emergency Alarm Devices (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
本发明公开了一种基于声音时频域分析的隧道事故监测报警系统及方法,包括声音采集处理模块、DSP储存分析模块和控制模块,其中:声音采集处理模块包括数值转换器和声音传感器;DSP储存分析模块包括ROM闪存模块、SRAM数据存储模块和DSP核心处理模块;本发明通过声音信号感知隧道内事故状态,更好地适应隧道运营模式并提高运作效率,本发明通过小波分析与改进后神经网络对事故产生的声音信号进行时频域分析,极大提高了对于事故信号的识别精准度、覆盖范围、抗干扰度与信噪比;本发明更全面和直接的获取隧道事故信息,达到对隧道的整体监控,及时预警,减少人员丧亡与财产损失,能够满足快速救援并减少事故影响范围。
The invention discloses a tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis, comprising a sound collection and processing module, a DSP storage analysis module and a control module, wherein: the sound collection and processing module includes a numerical converter and a sound sensor; The storage analysis module includes a ROM flash memory module, a SRAM data storage module and a DSP core processing module; the present invention senses the accident state in the tunnel through sound signals, better adapts to the tunnel operation mode and improves the operation efficiency. The network analyzes the sound signal generated by the accident in the time-frequency domain, which greatly improves the identification accuracy, coverage, anti-interference and signal-to-noise ratio of the accident signal. The overall monitoring of the tunnel, timely early warning, reduce casualties and property losses, can meet the needs of rapid rescue and reduce the scope of the accident.
Description
技术领域technical field
本发明属于隧道内事故监测及无线通信领域,涉及一种基于声音时频域分析的隧道事故监测报警系统及方法。The invention belongs to the field of accident monitoring and wireless communication in a tunnel, and relates to a tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis.
背景技术Background technique
近年来大量特长公路隧道陆续建成并投入运营,公路隧道已逐渐由建设高峰期转向运营高峰期,隧道属于国家重要基础设施,维护其安全是十分重要与必要的,为此,隧道应严格实行事故监控监测管理。但受人工检测难度和技术操作等多方面影响,使其成为运营期间面临的首要问题,给隧道运营管理带来难题。In recent years, a large number of super-long highway tunnels have been built and put into operation one after another. Highway tunnels have gradually shifted from the construction peak period to the operation peak period. Tunnels are important national infrastructure, and it is very important and necessary to maintain their safety. Monitoring monitoring management. However, due to the difficulty of manual detection and technical operation, it has become the primary problem during operation, which brings difficulties to the operation and management of tunnels.
目前,隧道内事故监测报警存在以下问题:a.监控系统网络智能化较低,大多采用定点或人工巡检,要得到隧道内某点实时状态信息并不现实;b.针对长大隧道,其发生事故后的救援安排与效率更备受考验,隧道过长,事故地点与外界沟通困难,较难开展应急救援活动;c.现有隧道事故监测手段主要是烟雾与视频监测,但视频监控距离与范围覆盖有限,受光线和内部交通因素影响较大,运营成本较高,而烟雾监测距离与范围覆盖更低,及时性较差,容易错过事故救援的黄金时间。At present, there are the following problems in the accident monitoring and alarming in the tunnel: a. The monitoring system network is relatively low in intelligence, and most of them use fixed-point or manual inspections. It is unrealistic to obtain real-time status information of a certain point in the tunnel; b. The rescue arrangements and efficiency after the accident have been more tested. The tunnel is too long, and it is difficult to communicate with the outside world at the accident site, making it difficult to carry out emergency rescue activities; c. The existing tunnel accident monitoring methods are mainly smoke and video monitoring, but the distance of video monitoring is limited And the scope coverage is limited, it is greatly affected by light and internal traffic factors, and the operating cost is high, while the smoke monitoring distance and scope coverage are lower, the timeliness is poor, and it is easy to miss the golden time for accident rescue.
如发明CN 104880245 A提出一种基于车辆撞击噪声定位报警系统,得出 并进行特征值计算,该算法精准度较差,对撞击信号的识别度较低且误报率较高;又如发明CN 106887105 A与CN 103077609 A,分别提出一种基于受灾人特征和多传感器感知的隧道监控系统,其可行性、造价以及施工技术要求较高,对于传感器和硬件设施依赖性较强,将实际施工环境与人机协调理想化,脱离于现实。For example, the invention CN 104880245 A proposes a localization alarm system based on vehicle impact noise, and obtains And perform eigenvalue calculation, the algorithm has poor accuracy, low recognition of impact signals and high false alarm rate; another example is the inventions CN 106887105 A and CN 103077609 A, which respectively propose a method based on the characteristics of victims and multi-sensor The perceptual tunnel monitoring system has high requirements for feasibility, cost and construction technology, and is highly dependent on sensors and hardware facilities. It idealizes the actual construction environment and human-machine coordination, and is separated from reality.
发明内容SUMMARY OF THE INVENTION
为克服现有技术中的问题,本发明的目的在于提供一种基于声音时频域分析的隧道事故监测报警系统及方法。In order to overcome the problems in the prior art, the purpose of the present invention is to provide a tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis.
为解决现有技术存在的问题,本发明的技术方案是:For solving the problems existing in the prior art, the technical scheme of the present invention is:
本发明提供了一种基于声音时频域分析的隧道事故监测报警方法,包括以下步骤:The invention provides a tunnel accident monitoring and alarm method based on sound time-frequency domain analysis, comprising the following steps:
步骤1):收集隧道内实时声音信号,筛选出有效声音信号作为有效帧;Step 1): collect real-time sound signals in the tunnel, and filter out valid sound signals as valid frames;
步骤2):有效帧与模板库数字信号进行傅立叶变换并筛选;Step 2): Fourier transform and filter the valid frame and template library digital signal;
步骤3):有效帧与模板库数字信号进行功率谱转换并筛选;Step 3): the effective frame and the template library digital signal are subjected to power spectrum conversion and screening;
步骤4):有效帧进行小波分解并筛选作为特征信号;Step 4): the valid frame is decomposed by wavelet and screened as a feature signal;
步骤5):将步骤4中的特征信号带入到神经网络中进行最终判断。Step 5): Bring the characteristic signal in
具体步骤如下:Specific steps are as follows:
步骤1):筛选声音有效帧:Step 1): Filter sound valid frames:
将采用的声音信号频率设置为8000HZ,采取每帧过50点其阈值为600的数据帧为有效帧,对非有效帧进行舍弃;The frequency of the sound signal used is set to 8000HZ, and the data frame whose threshold is 600 after each frame passes 50 points is taken as the valid frame, and the non-valid frame is discarded;
步骤2):将步骤1)中采取的有效帧与模板库中的特征信号做傅立叶变换并筛选:Step 2): Fourier transform and filter the valid frame taken in step 1) and the feature signal in the template library:
将产生隧道撞击事故时对应发出的声音特征信号与汽车鸣笛声音、汽车发动机声音特征信号转换为数字特征信号并保存至模板库中,对有效帧和模板库中的数字特征信号做傅立叶变换,将其时间域上的特征信号转换为频率域上的特征信号,对上述两个傅立叶积分变换后的函数计算其相关系数,将相关系数大于阈值的数据进行保留,否则进行舍弃,相关系数的求解根据下式计算:Convert the sound characteristic signal corresponding to the tunnel collision accident, the car whistle sound, and the car engine sound characteristic signal into digital characteristic signals and save them in the template library, and perform Fourier transform on the digital characteristic signals in the effective frame and template library, Convert the characteristic signal in the time domain to the characteristic signal in the frequency domain, calculate the correlation coefficient of the above two Fourier integral transformed functions, and keep the data whose correlation coefficient is greater than the threshold value, otherwise discard it, and solve the correlation coefficient Calculate according to the following formula:
式(1)中:Cov(X,Y)表示协方差公式,D(x)D(y)分别表示X与Y的方差;In formula (1): Cov(X, Y) represents the covariance formula, D(x)D(y) represents the variance of X and Y respectively;
步骤3):将步骤1)中采取的有效帧与模板库中的特征信号做功率谱转换并筛选:Step 3): Power spectrum conversion and screening are performed between the valid frame taken in step 1) and the feature signal in the template library:
处理长度为1024字节的离散式傅立叶积分变换,频率采用8000Hz,将有效帧与模板库中的数字特征信号转换为功率谱,对上述两个功率谱转换后的函数计算其相关系数,对相关系数超过阈值的有效帧信号进行进一步的计算,功率谱根据下式计算:The discrete Fourier integral transform with a length of 1024 bytes is processed, and the frequency is 8000 Hz. The digital feature signal in the effective frame and the template library is converted into a power spectrum. The valid frame signal whose coefficient exceeds the threshold is further calculated, and the power spectrum is calculated according to the following formula:
式(2)中:S(ω)表示有效帧的功率谱,X(T)表示时域信号,P表示为功率谱密度;In formula (2): S(ω) represents the power spectrum of the effective frame, X(T) represents the time domain signal, and P represents the power spectral density;
步骤4):有效帧信号小波分解,保留特征信号:Step 4): Wavelet decomposition of the valid frame signal, retaining the characteristic signal:
对步骤3)中超过阈值的有效帧全部对应转换至一个固定的合理区间内,即归一化,将超过阈值的有效帧信号进行小波分解,分解出不同时间域与频域的数值信号,剔除高频率信号,保留分解后的低频率信号,通过Mallat算法,将保留的低频率信号逐步分解并将其作为特征信号,小波分解公式如下式表示:All the valid frames exceeding the threshold in step 3) are correspondingly converted into a fixed reasonable interval, that is, normalized, and the valid frame signals exceeding the threshold are subjected to wavelet decomposition, and the numerical signals in different time domains and frequency domains are decomposed and eliminated. For high-frequency signals, the decomposed low-frequency signals are retained. Through the Mallat algorithm, the retained low-frequency signals are gradually decomposed and used as characteristic signals. The wavelet decomposition formula is expressed as follows:
式(4)中:h表示滤波器系数,Cjn表示长度空间的尺度系数;In formula (4): h represents the filter coefficient, C jn represents the scale coefficient of the length space;
步骤5):用基于小波分解进行特征提取的数据训练三层神经网络,将步骤4)保留的特征信号投入到神经网络中进行最终判断;具体训练神经网络过程:将汽车鸣笛和汽车发动机声音与隧道撞击声一起训练,隧道撞击声、汽车鸣笛和汽车发动机声音通过小波分解后作为训练样本备用;用交叉验证的方式提取百分之七十五的样本作为训练数据,其余为测试数据;采用三层神经网络,其中,输入层为样本特征值,隐藏层的个数大于输入层的个数,输出层为识别结果;将神经网络的权值与阈值θ(W,b)初始化,将训练样本投入神经网络中进行迭代计算,调整权值W与阈值b,在训练完成的神经网络中将测试数据带入到神经网络中进行分类,将表现最好的神经网络的权值与阈值作为最终的神经网络分类器;Step 5): train a three-layer neural network with the data for feature extraction based on wavelet decomposition, and put the feature signal retained in step 4) into the neural network for final judgment; the specific training process of the neural network: car whistle and car engine sound Training together with the tunnel impact sound, the tunnel impact sound, car whistle and car engine sound are used as training samples after wavelet decomposition; 75% of the samples are extracted by cross-validation as training data, and the rest are test data; A three-layer neural network is used, in which the input layer is the sample feature value, the number of hidden layers is greater than the number of input layers, and the output layer is the recognition result; the weights of the neural network and the threshold θ(W, b) are initialized, and the The training samples are put into the neural network for iterative calculation, the weights W and the thresholds b are adjusted, and the test data is brought into the neural network for classification in the trained neural network, and the weights and thresholds of the best performing neural network are used as The final neural network classifier;
步骤6):输入实时特征信号进行神经网络判断输出状态结果:Step 6): input the real-time characteristic signal to judge the output state result of the neural network:
将隧道内声音传感器2收集到的实时声音信号按照步骤1至4顺序运行,并将运行后得到的特征信号代入步骤5中构建的神经网络模型进行计算,判断实时隧道状态分类。Run the real-time sound signals collected by the
步骤5中,对权值W与阈值b进行微调参照如下公式进行:In
式(10)中:Wij表示对应权值,α表示收敛速率,表示误差函数对权值求偏导数;In formula (10): W ij represents the corresponding weight, α represents the convergence rate, Represents the partial derivative of the error function with respect to the weight;
式(11)中:表示对应阈值,表示误差函数对阈值求偏导数;In formula (11): represents the corresponding threshold, Represents the partial derivative of the error function with respect to the threshold;
步骤5中,对权值W与阈值b进行微调参照如下公式进行:In
式(13)中:xi表示神经网络该层的神经元个数个数。In formula (13): x i represents the number of neurons in this layer of the neural network.
所述三层神经网络中,输入层为11个神经元,隐藏层为15个神经元,输出层为3个神经元。In the three-layer neural network, the input layer has 11 neurons, the hidden layer has 15 neurons, and the output layer has 3 neurons.
本发明还提供一种基于声音时频域分析的隧道事故监测报警系统,包括声音采集处理模块、DSP储存分析模块和控制模块,其中:The present invention also provides a tunnel accident monitoring and alarm system based on sound time-frequency domain analysis, comprising a sound acquisition and processing module, a DSP storage analysis module and a control module, wherein:
声音采集处理模块包括数值转换器和声音传感器;The sound acquisition and processing module includes a numerical converter and a sound sensor;
DSP储存分析模块包括ROM闪存模块、SRAM数据存储模块和DSP核心处理模块;DSP storage analysis module includes ROM flash memory module, SRAM data storage module and DSP core processing module;
控制模块包括报警模块、通讯模块和定位模块,其中,通讯模块包括通讯控制装置与通讯传输装置,定位模块用于确定事故车辆的位置信息,报警模块包括报警信号装置、报警控制系统和报警通讯装置;The control module includes an alarm module, a communication module and a positioning module, wherein the communication module includes a communication control device and a communication transmission device, the positioning module is used to determine the position information of the accident vehicle, and the alarm module includes an alarm signal device, an alarm control system and an alarm communication device. ;
数值转换器与声音传感器和DSP储存分析模块连接;DSP储存分析模块与数值转换器和控制模块连接;控制模块与DSP核心处理模块和隧道监控中心连接,通讯模块与隧道监控中心的通讯系统连接,报警模块通过继电器接口与急救火灾报警系统连接,定位模块与声音传感器连接,且安置于声音传感器内部;The numerical converter is connected with the sound sensor and the DSP storage analysis module; the DSP storage analysis module is connected with the numerical converter and the control module; the control module is connected with the DSP core processing module and the tunnel monitoring center, and the communication module is connected with the communication system of the tunnel monitoring center. The alarm module is connected with the emergency fire alarm system through the relay interface, and the positioning module is connected with the sound sensor, and is arranged inside the sound sensor;
声音传感器用于收集隧道内的声音,采集到的声音经过数值转换器转换为数字信号后传输给SRAM数据存储模块;DSP核心处理模块用于加载ROM闪存中的代码执行并读取SRAM数据存储模块中的数据,并将运算后得到的指令发送给通讯传输装置。The sound sensor is used to collect the sound in the tunnel. The collected sound is converted into a digital signal by a numerical converter and then transmitted to the SRAM data storage module; the DSP core processing module is used to load the code in the ROM flash memory for execution and read the SRAM data storage module and send the command obtained after the operation to the communication transmission device.
DSP储存分析模块和控制模块均安置于隧道监控中心,声音采集处理模块中,数值转换器安置于隧道监控中心,声音传感器布置于隧道内壁。The DSP storage and analysis module and the control module are placed in the tunnel monitoring center. In the sound acquisition and processing module, the numerical converter is placed in the tunnel monitoring center, and the sound sensor is placed on the inner wall of the tunnel.
声音传感器布置于隧道两侧的边墙高度为2~2.5m处,并沿其延伸方向间隔预定距离设定多组。The sound sensors are arranged on the side walls on both sides of the tunnel at a height of 2 to 2.5 m, and multiple groups are set at predetermined distances along the extending direction.
声音传感器采用ARM9声音感知器,数值转换器采用ads5422转换芯片,DSP核心处理模块采用TMS320C54 DSP板,ROM闪存模块采用SST39LF/VF160,为1M16bit的CMOS多功能FlashMPF器件。The sound sensor adopts ARM9 sound sensor, the numerical converter adopts ads5422 conversion chip, the DSP core processing module adopts TMS320C54 DSP board, and the ROM flash memory module adopts SST39LF/VF160, which is a 1M16bit CMOS multi-function FlashMPF device.
与现有技术相比,本发明的优点如下:本发明通过声音信号感知隧道内事故状态,更好地适应隧道运营模式并提高运作效率,也为隧道事故监测报警方向提供了一种新的模式;本发明通过小波分析与改进后神经网络对事故产生的声音信号进行时频域分析,极大提高了对于事故信号的识别精准度、覆盖范围、抗干扰度与信噪比;本发明更全面和直接的获取隧道事故信息,达到对隧道的整体监控,及时预警,减少人员丧亡与财产损失,能够满足快速救援并减少事故影响范围;用基于小波分解进行特征提取的数据训练三层神经网络,将特征信号投入到神经网络中进行最终判断,将汽车鸣笛和汽车发动机声音与隧道撞击声一起训练,隧道撞击声、汽车鸣笛和汽车发动机声音通过小波分解后作为训练样本备用,小波分析是时间(空间)频率的局部化分析,时域分析是指控制系统根据输出量的时域表达式,直接在时间域中对系统进行分析的方法,频域分析是将时间历程波形经过傅立叶变换分解为若干单一的谐波分量,以获得信号的频率结构以及各谐波和相位信息,提高算法的准确率与识别速度;Compared with the prior art, the advantages of the present invention are as follows: the present invention senses the accident state in the tunnel through the sound signal, better adapts to the tunnel operation mode and improves the operation efficiency, and also provides a new mode for the direction of tunnel accident monitoring and alarm. The present invention performs time-frequency domain analysis on the sound signal generated by the accident through wavelet analysis and improved neural network, which greatly improves the identification accuracy, coverage, anti-interference and signal-to-noise ratio of the accident signal; the present invention is more comprehensive And directly obtain tunnel accident information to achieve overall monitoring of the tunnel, timely early warning, reduce casualties and property losses, meet rapid rescue and reduce the scope of accident impact; use the data based on wavelet decomposition for feature extraction to train three-layer neural network, The characteristic signal is put into the neural network for final judgment, and the car whistle and the car engine sound are trained together with the tunnel impact sound. The tunnel impact sound, the car whistle and the car engine sound are used as training samples after wavelet decomposition. The wavelet analysis is Localized analysis of time (space) frequency, time domain analysis refers to the method that the control system directly analyzes the system in the time domain according to the time domain expression of the output quantity, and frequency domain analysis is to decompose the time history waveform through Fourier transform It is a number of single harmonic components to obtain the frequency structure of the signal and the information of each harmonic and phase to improve the accuracy and recognition speed of the algorithm;
另外,本发明通过合理的公式设计,将公式(10)与(11)右侧增加一个风险系数Rc,从而降低神经网络过拟合的概率,声音传感器的合理位置布置,在有效收集信号的同时避免容易遭到破坏的风险。In addition, the present invention adds a risk coefficient Rc to the right side of formulas (10) and (11) through a reasonable formula design, thereby reducing the probability of neural network overfitting. The sound sensor is arranged in a reasonable position, while effectively collecting signals. Avoid the risk of being vulnerable to damage.
附图说明Description of drawings
图1为本发明的系统结构示意图;Fig. 1 is the system structure schematic diagram of the present invention;
图2为本发明实施例的事故监测报警硬件连接示意图;2 is a schematic diagram of an accident monitoring and alarm hardware connection according to an embodiment of the present invention;
图3为本发明实施例的改进算法流程图。FIG. 3 is a flowchart of an improved algorithm according to an embodiment of the present invention.
图中,1-隧道,2-声音传感器,3-数值转换器,4-ROM闪存模块,5-SRAM数据存储模块,6-报警信号装置,7-报警控制系统,8-报警通讯装置,9-通讯控制装置,10-通讯传输装置,11-DSP核心处理模块。In the figure, 1-tunnel, 2-sound sensor, 3-value converter, 4-ROM flash memory module, 5-SRAM data storage module, 6-alarm signal device, 7-alarm control system, 8-alarm communication device, 9- -Communication control device, 10-communication transmission device, 11-DSP core processing module.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
参见图1与图2,本发明的一种基于声音时频域分析的隧道事故报警系统,包括声音采集处理模块、DSP储存分析模块,控制模块;所述声音采集处理模块包括声音传感器2与数值转换器3,声音传感器2用于收集隧道1内声音信号,数值转换器3通过数模转换将电信号放大并转换为数字信号;所述DSP储存分析模块包括ROM闪存模块4、SRAM数据存储模块5、DSP核心处理模块11,SRAM数据存储模块5将所有数字信号存储并等待DSP核心处理模块11处理,ROM闪存模块4存放识别库与可执行文件,DSP核心处理模块11通过SRAM数据存储模块5与ROM闪存模块4中存放的文件进行识别对比与分析;所述控制模块包括报警模块、通讯模块、定位模块,通讯模块包括通讯控制装置9与通讯传输装置10,用于管控中心接收事故信息与监控报警之间的协调,定位模块用于确定事故车辆的位置信息,报警模块包括报警信号装置6、报警控制系统7和报警通讯装置8,用于发出事故警示信息通知监控中心与防灾救援部门联动。1 and 2, a tunnel accident alarm system based on sound time-frequency domain analysis of the present invention includes a sound acquisition and processing module, a DSP storage analysis module, and a control module; the sound acquisition and processing module includes a
进一步地,所述声音传感器2分布于隧道1整体路段或重要路段,布置于隧道1两侧的边墙上且与汽车高度大致相等位置处,并沿其延伸方向间隔预定距离设定多组,参考折叠式覆盖使相邻声音传感器2之间的监听范围重叠,从而实现其无障碍、无盲区收集,也可根据声音传感器2的感测性质进行实地调整,声音传感器2采用ARM9声音感知器。Further, the
进一步地,所述数值转换器3安置于隧道监控中心,与声音传感器2和DSP储存分析模块连接,将从声音传感器2接受到的电信号转换至数据信号并传输给DSP储存分析模块,数值转换器3采用ads5422转换芯片。Further, the numerical converter 3 is placed in the tunnel monitoring center, is connected with the
进一步地,所述DSP储存分析模块与数值转换器3和控制模块连接,安置于隧道监控中心,接收数值转换器3传递的数字信号并做对比分析,将处理结果发送至相对应的控制模块;所述DSP核心处理模块11采用TMS320C54 DSP板,ROM闪存模块4采用SST39LF/VF160,为1M16bit的CMOS多功能FlashMPF器件。Further, the DSP storage analysis module is connected with the numerical converter 3 and the control module, is placed in the tunnel monitoring center, receives the digital signal transmitted by the numerical converter 3 and makes a comparative analysis, and the processing result is sent to the corresponding control module; The DSP core processing module 11 adopts TMS320C54 DSP board, and the ROM
进一步地,所述控制模块安置于隧道监控中心,与DSP核心处理模块11和相关交通主管与救援部门连接,通过传达的事故状态信息开展应急措施。通讯模块与隧道监控中心的通讯系统连接,报警模块通过继电器接口与相关急救火灾报警系统连接,定位模块与声音传感器2连接,安置于声音传感器2内部,通过音频数字信息识别事故地点对应的声音传感器2,进而通过定位模块确定事故地点信息,定位模块采用Mtk或Mstar GPS芯片。Further, the control module is placed in the tunnel monitoring center, connected with the DSP core processing module 11 and the relevant traffic supervisor and rescue department, and carries out emergency measures through the conveyed accident status information. The communication module is connected with the communication system of the tunnel monitoring center, the alarm module is connected with the relevant emergency fire alarm system through the relay interface, and the positioning module is connected with the
进一步地,当DSP核心处理模块11接收到声音采集模块传递的声音信号时,首先通过时域特征初步分析,通过算法对声音信号进行消噪处理,使其达到60%以上的识别率;然后通过小波分析与改进后神经网络在时域和频域上特征提取,使其在能被时域识别的基础上继续提高对撞击信号的识别度,使其达到90%以上的识别率;当噪音信号高于阈值,DSP核心处理模块11随即与控制模块联动,进行报警救援。Further, when the DSP core processing module 11 receives the sound signal transmitted by the sound acquisition module, it first conducts a preliminary analysis of the time domain characteristics, and performs denoising processing on the sound signal through an algorithm to make it reach a recognition rate of more than 60%; After wavelet analysis and improvement, the neural network extracts features in the time domain and frequency domain, so that it can continue to improve the recognition of the impact signal on the basis of being able to be recognized in the time domain, so that the recognition rate can reach more than 90%; when the noise signal Above the threshold, the DSP core processing module 11 immediately links with the control module to alarm and rescue.
DSP核心处理模块11是整个隧道事故监测报警系统的核心,它完成音频信号的采集、控制、存储、处理以及与外界通讯等功能,本发明主要在于DSP核心处理模块11中针对声音信号处理算法上的改进:The DSP core processing module 11 is the core of the entire tunnel accident monitoring and alarm system, and it completes the functions of audio signal acquisition, control, storage, processing, and communication with the outside world. improvement of:
步骤1):将本改进算法中采用的声音信号频率设置为8000HZ,由于在隧道内收集到的声音信号数量巨大,为减少其计算量并提高精准度,本改进算法对声音信号进行时间域上的筛选,采取每帧过50点其阈值为600的数据帧为有效帧,对非有效帧进行舍弃。Step 1): Set the frequency of the sound signal used in this improved algorithm to 8000HZ. Due to the huge number of sound signals collected in the tunnel, in order to reduce the amount of calculation and improve the accuracy, the improved algorithm performs a time domain on the sound signal. For the screening, the data frame with a threshold of 600 after each frame passes 50 points is taken as the valid frame, and the non-valid frame is discarded.
步骤2):将产生隧道撞击事故时对应发出的声音特征信号与汽车鸣笛声音特征信号、汽车发动机声音特征信号转换为数字特征信号并保存至模板库中,对有效帧和模板库中的数字特征信号做傅立叶变换,将其时间域上的特征信号转换为频率域上的特征信号,对上述两个傅立叶积分变换后的函数计算其相关系数,将相关系数大于阈值的数据进行保留,否则进行舍弃。相关系数的求解根据下式计算:Step 2): Convert the sound characteristic signal, the car whistle sound characteristic signal and the car engine sound characteristic signal corresponding to the occurrence of the tunnel collision accident into digital characteristic signals and save them in the template library. The characteristic signal is Fourier transformed, and the characteristic signal in the time domain is converted into the characteristic signal in the frequency domain. give up. The solution of the correlation coefficient is calculated according to the following formula:
式(1)中:Cov(X,Y)表示协方差公式,D(x)D(y)分别表示X与Y的方差。In formula (1): Cov(X, Y) represents the covariance formula, D(x) D(y) represents the variance of X and Y respectively.
步骤3):处理长度为1024字节的离散式傅立叶积分变换,频率采用8000Hz,将有效帧与模板库中的数字特征信号转换为功率谱,对上述两个功率谱转换后的函数计算其相关系数,对互相关系数超过阈值的有效帧信号进行进一步的计算,功率谱根据下式计算:Step 3): process the discrete Fourier integral transform with a length of 1024 bytes, the frequency adopts 8000Hz, convert the digital feature signal in the effective frame and the template library into a power spectrum, and calculate the correlation of the above-mentioned two power spectrum converted functions. coefficient, further calculation is performed for the effective frame signal whose cross-correlation coefficient exceeds the threshold, and the power spectrum is calculated according to the following formula:
式(2)中:S(ω)表示有效帧的功率谱,X(T)表示时域信号,P表示为功率谱密度。In formula (2): S(ω) represents the power spectrum of the effective frame, X(T) represents the time domain signal, and P represents the power spectral density.
步骤4):对超过阈值的有效帧全部对应转换至一个固定的合理区间内,即归一化,将超过阈值的有效帧信号进行小波分解,分解出不同时间域与频域的数值信号,剔除高频率信号,保留分解后的低频率信号,通过Mallat算法,将保留的低频率信号逐步分解并将其作为特征信号,小波分解公式如下式表示:Step 4): Convert all valid frames that exceed the threshold into a fixed and reasonable interval, that is, normalize, perform wavelet decomposition on the valid frame signals that exceed the threshold, decompose numerical signals in different time domains and frequency domains, and remove them. For high-frequency signals, the decomposed low-frequency signals are retained. Through the Mallat algorithm, the retained low-frequency signals are gradually decomposed and used as characteristic signals. The wavelet decomposition formula is expressed as follows:
式(4)中:h表示滤波器系数,Cjn表示长度空间的尺度系数。In formula (4): h represents the filter coefficient, and C jn represents the scale coefficient of the length space.
步骤5):将模板库中的隧道撞击、汽车鸣笛、汽车发动机声音特征信号按照步骤4进行小波分解,将分解到不同频率空间的数字特征信号做为样本,将样本的75%作为训练样本构建神经网络,其余25%做为测试样本检测神经网络的误差。本改进算法采用三层神经网络,输入层为样本特征值,隐藏层的个数大于输入层的个数,输出层为W与b的识别结果。将神经网络的权值与阈值θ(W,b)初始化,将训练样本投入神经网络中进行迭代计算,调整权值W与阈值b,如下式表示:Step 5): Perform wavelet decomposition on the characteristic signals of tunnel impact, car whistle, and car engine sound in the template library according to
z(2)=W(1)x+b(1) (5)z(2)=W(1)x+b(1) (5)
a(2)=f(z(2)) (6)a(2)=f(z(2)) (6)
z(3)=W(2)a(2)+b(2) (7)z(3)=W(2)a(2)+b(2) (7)
D=f(z(3)) (8)D=f(z(3)) (8)
式(5)与(7)中:W(1)与W(2)表示权值,b(1)与b(2)表示阈值。In formulas (5) and (7): W(1) and W(2) represent weights, and b(1) and b(2) represent thresholds.
式(6)与(8)中:a(2)表示训练样本通过神经网络阈值计算得到的数值,D表示一次神经网络迭代的阶段值。In formulas (6) and (8): a(2) represents the value calculated by the training sample through the neural network threshold, and D represents the stage value of one neural network iteration.
进一步地,本改进算法基于传统反向传播误差的神经网络分析,对权值W与阈值b进行微调,公式如下:Further, the improved algorithm is based on the traditional back-propagation error neural network analysis, and fine-tunes the weight W and the threshold b, the formula is as follows:
式(10)中:Wij表示对应权值,α表示收敛速率,表示误差函数对权值求偏导。In formula (10): W ij represents the corresponding weight, α represents the convergence rate, Represents the partial derivative of the error function with respect to the weights.
式(11)中:表示对应阈值,表示误差函数对阈值求偏导。In formula (11): represents the corresponding threshold, Represents the partial derivative of the error function with respect to the threshold.
采用Widrow-Hoff学习规则,误差函数公式如下表示:Using the Widrow-Hoff learning rule, the error function formula is expressed as follows:
式(12)中:dj表示一次迭代输出值,yi表示初始真实值,本改进算法通过误差函数来分析权值W与阈值b的调整范围。In formula (12): d j represents the output value of one iteration, y i represents the initial real value, this improved algorithm analyzes the adjustment range of the weight W and the threshold b through the error function.
进一步地,本改进算法将公式(10)与(11)右侧增加一个风险系数Rc,从而降低神经网络过拟合的概率,Rc如下式表示:Further, this improved algorithm adds a risk coefficient Rc to the right side of formulas (10) and (11), thereby reducing the probability of neural network overfitting. Rc is expressed as follows:
式(13)中:xi表示特征个数。In formula (13): x i represents the number of features.
通过将模板库中的隧道撞击、汽车鸣笛、汽车发动机声音特征信号进行小波分解与权值W和阈值b的优化,构建出能够判断声音信号并进行状态分类的神经网络。Through the wavelet decomposition and optimization of the weights W and the threshold b of the tunnel impact, car whistle and car engine sound characteristic signals in the template library, a neural network that can judge the sound signal and classify the state is constructed.
步骤6):将隧道内声音传感器2收集到的实时声音信号按照步骤1—4运行,代入步骤5中构建的神经网络模型进行计算,判断实时隧道状态分类。Step 6): Run the real-time sound signal collected by the
参见图3,所述算法流程图描述了隧道事故监测报警系统通过声音信号识别隧道是否发生碰撞事故的方法,其步骤如下:Referring to Fig. 3, the algorithm flow chart describes the method for the tunnel accident monitoring and alarm system to identify whether a collision accident occurs in a tunnel through a sound signal, and the steps are as follows:
1.收集隧道内实时声音信号;1. Collect real-time sound signals in the tunnel;
2.筛选出有效声音信号作为有效帧;2. Screen out valid sound signals as valid frames;
3.有效帧与模板库数字信号进行傅立叶变换并筛选;3. Fourier transform and filter the valid frame and template library digital signal;
4.有效帧与模板库数字信号进行功率谱转换并筛选;4. Power spectrum conversion and screening of valid frame and template library digital signals;
5.有效帧进行小波分解并筛选作为特征信号;5. The valid frames are decomposed by wavelet and screened as feature signals;
6.特征信号进行神经网络判断输出状态结果。6. The feature signal is used to judge the output state result by neural network.
在整个DSP核心处理模块处理过程中,本改进算法通过对数字信号多个域,多特征的分析与识别,通过小波分析与改进后神经网络进行的时频域分析,通过Matlab的仿真提取,可极大提升对事故声音信号的识别效率,提高对于事故声音信号的识别精准度、抗干扰度与信噪比。In the whole processing process of the DSP core processing module, the improved algorithm analyzes and recognizes multiple domains and features of digital signals, analyzes the time-frequency domain through wavelet analysis and the improved neural network, and extracts through the simulation of Matlab. It greatly improves the recognition efficiency of accident sound signals, and improves the recognition accuracy, anti-interference and signal-to-noise ratio of accident sound signals.
以上内容是结合具体实施例对本发明方法所作的进一步详细说明,不能认定本发明方法的具体实施只限于此。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下做出若干等同替代或明显变型,且性能或用途相同,都应当视为属于本发明由所提交的权利要求书确定的专利保护范围。The above content is a further detailed description of the method of the present invention in conjunction with specific embodiments, and it cannot be considered that the specific implementation of the method of the present invention is limited to this. For those of ordinary skill in the technical field to which the present invention pertains, any equivalent substitutions or obvious modifications made without departing from the concept of the present invention, with the same performance or use, shall be regarded as belonging to the claims of the present invention. The scope of patent protection determined by the book.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267017.1A CN108519149B (en) | 2018-03-28 | 2018-03-28 | A tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810267017.1A CN108519149B (en) | 2018-03-28 | 2018-03-28 | A tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108519149A CN108519149A (en) | 2018-09-11 |
CN108519149B true CN108519149B (en) | 2020-09-01 |
Family
ID=63430738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810267017.1A Expired - Fee Related CN108519149B (en) | 2018-03-28 | 2018-03-28 | A tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108519149B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109695475A (en) * | 2018-11-30 | 2019-04-30 | 太原理工大学 | A kind of coal mine roadway exception monitoring device and method based on sound |
CN109616140B (en) * | 2018-12-12 | 2022-08-30 | 浩云科技股份有限公司 | Abnormal sound analysis system |
CN109754581A (en) * | 2019-01-15 | 2019-05-14 | 深圳市宇航智造技术有限公司 | Calculator room equipment method for early warning, device, equipment and storage medium |
CN109597342B (en) * | 2019-01-16 | 2020-10-20 | 郑州轻工业学院 | A sand mining ship monitoring device and method for intelligent identification of dynamic networking |
CN111862519A (en) * | 2020-08-17 | 2020-10-30 | 浙江中辰安全设备有限公司 | Fire early warning fog calculation service gateway |
CN112951271A (en) * | 2020-11-27 | 2021-06-11 | 长沙理工大学 | Tunnel traffic safety warning method and system based on acoustic assistance |
CN112881744B (en) * | 2021-02-08 | 2023-04-07 | 中科(湖南)先进轨道交通研究院有限公司 | Train speed and direction measuring device based on train sound and working method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102741896A (en) * | 2009-12-21 | 2012-10-17 | 电话有限公司 | Portable apparatus and method for detecting and notifying of vehicle accidents |
CN105913663A (en) * | 2016-06-30 | 2016-08-31 | 南京嘉瑞斯电力科技有限公司 | Automobile accident noise detection and positioning system based on sound sensor |
CN105989748A (en) * | 2015-03-20 | 2016-10-05 | 现代自动车株式会社 | Accident information management appratus, vehicle including the same, and accident information management method |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002008189A (en) * | 2000-06-22 | 2002-01-11 | Matsushita Electric Ind Co Ltd | Vehicle detector and vehicle detection method |
CN101710450A (en) * | 2009-12-21 | 2010-05-19 | 金会庆 | Traffic accident automatic sound detection and alarm terminal |
CN101877172B (en) * | 2009-12-21 | 2011-12-14 | 金会庆 | Impact sound-based automatic traffic accident detection method |
CN102568153A (en) * | 2010-12-20 | 2012-07-11 | 淄博高新区联创科技服务中心 | Vehicle collision detection device |
CN102163427B (en) * | 2010-12-20 | 2012-09-12 | 北京邮电大学 | Method for detecting audio exceptional event based on environmental model |
CN102122133B (en) * | 2011-01-21 | 2012-10-10 | 北京工业大学 | Self-adaption wavelet neural network abnormity detection and fault diagnosis classification system and method |
CN202362932U (en) * | 2011-11-28 | 2012-08-01 | 长安大学 | Information monitoring device of traffic accident scene |
CN103622707A (en) * | 2012-08-20 | 2014-03-12 | 王震 | Traffic safety detecting system and method |
CN103077609A (en) * | 2012-12-26 | 2013-05-01 | 上海市城市建设设计研究总院 | Tunnel traffic accident monitoring method and system based on sensing of multiple sensors |
CN104102923A (en) * | 2014-07-16 | 2014-10-15 | 西安建筑科技大学 | Nipponia nippon individual recognition method based on MFCC algorithm |
CN106841403A (en) * | 2017-01-23 | 2017-06-13 | 天津大学 | A kind of acoustics glass defect detection method based on neutral net |
CN107086036A (en) * | 2017-04-19 | 2017-08-22 | 杭州派尼澳电子科技有限公司 | A kind of freeway tunnel method for safety monitoring |
CN207008862U (en) * | 2017-07-11 | 2018-02-13 | 杭州天铂红外光电技术有限公司 | Detect the device of tunnel accident |
CN107545890A (en) * | 2017-08-31 | 2018-01-05 | 桂林电子科技大学 | A kind of sound event recognition method |
CN107705633B (en) * | 2017-11-06 | 2020-07-28 | 张定宇 | A system and method for preventing secondary accidents of automobiles in expressway tunnels |
-
2018
- 2018-03-28 CN CN201810267017.1A patent/CN108519149B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102741896A (en) * | 2009-12-21 | 2012-10-17 | 电话有限公司 | Portable apparatus and method for detecting and notifying of vehicle accidents |
CN105989748A (en) * | 2015-03-20 | 2016-10-05 | 现代自动车株式会社 | Accident information management appratus, vehicle including the same, and accident information management method |
CN105913663A (en) * | 2016-06-30 | 2016-08-31 | 南京嘉瑞斯电力科技有限公司 | Automobile accident noise detection and positioning system based on sound sensor |
Non-Patent Citations (1)
Title |
---|
基于音频检测的交通事故自动报警系统研究;凤鹏飞等;《唐山学院学报》;20170530;第30卷(第3期);第50-54页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108519149A (en) | 2018-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108519149B (en) | A tunnel accident monitoring and alarm system and method based on sound time-frequency domain analysis | |
CN109258509B (en) | Intelligent monitoring system and method for abnormal sound of live pigs | |
CN102682765B (en) | Expressway audio vehicle detection device and method thereof | |
CN107527617A (en) | Monitoring method, apparatus and system based on voice recognition | |
CN107086036A (en) | A kind of freeway tunnel method for safety monitoring | |
CN106898346A (en) | A kind of freeway tunnel safety monitoring system | |
CN112164408A (en) | Pig coughing sound monitoring and early warning system based on deep learning | |
CN206931362U (en) | A kind of freeway tunnel safety monitoring system | |
CN106907697A (en) | A kind of intelligent road-lamp of built-in collision sound detection function | |
CN109816987A (en) | A kind of automobile whistle electronic police enforces the law capturing system and its grasp shoot method | |
CN105023379B (en) | A kind of signal recognition method of airport optical fiber perimeter early warning system | |
CN109473119B (en) | Acoustic target event monitoring method | |
CN103033567A (en) | Pipeline defect signal identification method based on guided wave | |
CN106205606A (en) | A kind of dynamic positioning and monitoring method based on speech recognition and system | |
CN112257533B (en) | A perimeter intrusion detection and identification method | |
CN111223261A (en) | Composite intelligent production security system and security method thereof | |
CN112897262A (en) | Elevator running state evaluation system and method based on sound feature extraction | |
CN111341334A (en) | Noise reduction and abnormal sound detection system and method applied to rail transit | |
Smailov et al. | A novel deep CNN-RNN approach for real-time impulsive sound detection to detect dangerous events | |
CN114707558A (en) | Method and medium for extracting, classifying and identifying ice collapse infrasound characteristic | |
CN117609885A (en) | High-speed rail intrusion monitoring method based on distributed optical fiber sensing and fused neural network | |
CN112382051B (en) | Wisdom house security protection system based on block chain | |
CN102930864A (en) | Sound networking voice information keyword mining system based on child nodes | |
CN105352541B (en) | A kind of transformer station high-voltage side bus auxiliary monitoring system and its monitoring method based on power network disaster prevention disaster reduction system | |
CN118629217A (en) | A highway sound recognition accident detection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200901 |