A kind of truck vehicle inspection method based on the DTW speech recognition
Technical field
The present invention relates to dynamic time programming (DTW) audio recognition method, particularly relate to a kind of truck vehicle inspection method based on the DTW speech recognition.
Background technology
Along with the raising of the lorry speed of a motor vehicle, lorry safety just shows especially more and more important.Vehicle inspection is mainly checked wheel, axletree, spring, brake block, and wheel is most important carrying and operation parts in all parts of lorry, and its quality is the important indicator of lorry safety.The reason of many lorry accidents after all or wheel occurs due to the crackle.The railway operation safety problem is the key factor that the restriction railway develops towards quick, heavily loaded direction.Along with High-Speed Freight Vehicle more and more puts into operation, the traffic safety problem also more and more obtains the attention of railway interests.
The truck vehicle detection method of prior art mainly contains following several:
1. whether traditional truck vehicle detection method mainly is that the workman impacts each parts of wheel with hammer, has judged whether slight crack by sound and working experience, have dislocation; Perhaps the workman patrols and examines the parts such as wheel of each vehicle that arrives at a station.These manual detection methods take time and effort and can't satisfy at present the needs of logistics fast.
2. freight car rolling bearing initial failure rail limit acoustics diagnose system (TADS) is cooperated by Brunswick company and U.S. TTCI company and develops, and is the important component part of rolling stock safety precaution early warning system.TADS gathers the rattle signal of the vehicle bearing of high-speed cruising train by acoustic sensor array is installed on the rail limit, adopt the modern acoustics diagnostic techniques, time-domain signal is carried out energy spectrum, power spectrumanalysis, adopt fuzzy diagnosis and wavelet analysis scheduling theory, set up complicated mathematical model and more and more perfect expert system, according to different bearing fault signal frequencies, energy, the amplitude and the relevant speed of a motor vehicle, the factor of load, determine various bearing fault type and accident defect degree, thereby realize the rolling bearing initial failure is carried out early warning, take precautions against, guarantee traffic safety.It is expensive but this system is very complicated.
Therefore, need badly the simply truck vehicle inspection method by speech recognition of a kind of discrimination height, operating system will be provided.
Summary of the invention
The objective of the invention is to avoid weak point of the prior art and a kind of truck vehicle inspection method based on the DTW speech recognition is provided, have fault detect discrimination height, the simple advantage of operating system.
Purpose of the present invention realizes by following technical measures:
A kind of truck vehicle inspection method based on the DTW speech recognition is provided, includes: training utterance recognition template and described speech recognition template is used for vehicle inspection;
Wherein, described speech recognition template is used for vehicle inspection, includes following steps:
Steps A 1: sound collection, at lorry during through the test zone track, gathering parts such as wheel has the sound of various damages, and gathers the sound of normal wheel through the test zone, forms speech samples;
Steps A 2: pre-service, the speech samples that collects is done pre-service, extract the MFCC parameter then;
Steps A 3: the MFCC parameter that steps A 2 is extracted is as the input of training module, and training forms template, and preserves template and finish training;
Wherein, described training template is used for vehicle inspection, includes following steps:
Step B1: gather the sound that lorry sends through out-of-date conductor rail road by voice acquisition device;
Step B2: the sound that collects by pre-service, is extracted the MFCC parameter then;
Step B3: the MFCC parameter DTW speech recognition algorithm with step B2 extracts, obtain recognition result, judge which kind of damage whether the parts such as wheel of vehicle damage and belong to, and the record check result;
Step B4: the check result of step B3 is sent to truck vehicle Surveillance center, by truck vehicle Surveillance center lorry is handled then.
Beneficial effect of the present invention:
The truck vehicle inspection method of a kind of speech recognition based on DTW of the present invention, include the training template and will train template to be used for vehicle inspection, its principle is to send the purpose that different sound reaches vehicle detection when utilizing the wheel that crack or damage are arranged to contact with the junction of track.The present invention is based on the truck vehicle inspection method of the speech recognition of DTW technology, the difference that is applied to the truck vehicle inspection with the TADS technology is: the TADS technology is according to different bearing fault signal frequencies, energy, amplitude and the relevant speed of a motor vehicle, the factor of load, determine various bearing fault type and accident defect degree, and the present invention be according to normal wheels with damage phonetic feature that wheel sends different phonetic and differentiate the fault of parts such as wheel; Hardware system required for the present invention on the other hand belongs to the simple embedded system, and TADS system complex costliness.Therefore, compare the TADS technology, the present invention has fault detect discrimination height, the simple advantage of operating system.
Description of drawings
The present invention will be further described to utilize accompanying drawing, but the content in the accompanying drawing does not constitute any limitation of the invention.
Fig. 1 is the system and device schematic diagram of embodiment 1 of the truck vehicle inspection method of a kind of speech recognition based on DTW of the present invention.
The structural representation of the speech recognition vehicle inspection system of the embodiment 1 of the truck vehicle inspection method of Fig. 2 a kind of speech recognition based on DTW of the present invention.
Include among Fig. 1 to Fig. 2:
Sound collection module s1, pretreatment module s2, characteristic parameter extraction module s3,
Identification module s5, the s7 of truck vehicle Surveillance center, training module s8, template s9;
Track 1, voice acquisition device 4.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is described.
DTW is a dynamic time programming, be a kind of pattern match and model training technology early, the thought of its applied dynamic programming has successfully solved the difficult problem that the duration when the phonic signal character argument sequence compares does not wait, and has obtained superperformance in the alone word voice recognition system.Speech recognition based on DTW has isolated word detection discrimination height, and system's characteristic of simple is used very extensive.Based on the advantage of DTW technology, the present invention detects the DTW speech recognition application in truck vehicle.
Use a kind of speech recognition based on DTW of the present invention the truck vehicle inspection method a kind of speech recognition vehicle check system an embodiment as depicted in figs. 1 and 2, include sound collection module s1, pretreatment module s2, characteristic parameter extraction module s3, identification module s5, the s7 of truck vehicle Surveillance center, training module s8 and template s9.
Method of the present invention include the training utterance recognition template and with the speech recognition template applications that trains in the inspection of truck vehicle.
In the present embodiment, the training utterance recognition template is to realize by following steps:
Steps A 1: sound collection, at lorry during through test zone track 1, gathering parts such as wheel has the sound of various damages, and gathers the sound of normal wheel through the test zone, forms speech samples.
Concrete, prepare freight car wheel and some the normal freight car wheel damaged before some.The wheel of the damage of preparing comprises: radial fissure wheel, surface crack wheel, the severe wheel of pit wheel, friction ratio is arranged, free wheel is arranged; The freight car wheel of common parts damages such as axletree, spring, brake block.
Steps A 2: pre-service, the speech samples that collects is done pre-service, extract MFCC parameter (Mel frequency cepstral coefficient) then.
Concrete, allow lorry by the test zone track 1 of voice acquisition device 4 has been installed, all wheels connect the sound that 1 place of connecing sends through track among the acquisition step A1 respectively, and form sample sound, with the sample sound of gathering, extract sound end again by pretreatment module s2.
Steps A 3: the MFCC parameter that steps A 2 is extracted is as the input of training module s8, and training forms template s9, and preserves template s9 and finish training.
Concrete, the efficient voice of the sound end that step s2 is extracted extracts the characteristic parameter of speech samples by characteristic parameter extraction module s3, preserves the characteristic parameter that proposes by training module s8 then, and forms template s9 and finish training process.
In the present embodiment, the speech recognition template applications that trains is realized by following steps in the inspection of truck vehicle:
Step B1: will need the track 1 of lorry that detect, and gather the sound that all wheels of this lorry contact with track 1 by voice acquisition device 4 is installed.
Step B2: all each voice of gathering sound, s2 obtains sound end by pretreatment module, and each voice of the sound end that obtains by characteristic parameter extraction module s3, are extracted the MFCC characteristic parameter of voice.
Step B3: the MFCC characteristic parameter that extracts by identification module s5, is obtained recognition result with the DTW speech recognition algorithm.According to recognition result, can draw wheel and be normally or damage, and can obtain the type that wheel damages.The record check result is parts damages such as wheel damage, axletree, spring, brake block.
Step B4: the result checking, send to the s7 of truck vehicle Surveillance center, allow the s7 of truck vehicle Surveillance center that lorry is processed.