Double mode driver's driving condition detection platform
Technical field
The present invention relates to electronic recognition field, particularly relate to a kind of double mode driver's driving condition detection platform.
Background technology
Current, at the every country in the world, the owning amount of automobile is all a huge numeral, and because autonomous driving vehicle is not yet universal, automobile still mainly adopts manual type to drive, at this moment, if driver is too tired and do not know, still carries out driving task, will be easy to cause vehicle accident, to other people with self bring the actual bodily harm being difficult to bear, also may cause huge economic loss simultaneously.
In order to avoid driver tired driving; the vehicle supervision department of various countries all have employed the driver of some penalty mechanisms to fatigue driving and punishes; but; in fact; driver is in driving procedure; reason tired out is caused to have multiple; the such as day before yesterday does not have enough sleep; or it is fascinated to listen to the music, even think that thing is superb etc., driver is the fatigue state not understanding self sometimes; thus; depend penalty mechanism alone and driver's self-examination is not sufficient to the generation that avoids traffic accident, also need some detection of electrons means, carry out active detecting in the mode of instrument.
Driver's real-time status testing mechanism of the prior art all adopts a kind of Cleaning Principle to detect, such as, based on the detection of driver's pupil, based on the detection etc. of driver's brain wave, these too single detecting patterns, inherent error served by inevitable band, have impact on the efficiency of detection.Therefore, need a kind of new driver state-detection platform, plural detecting pattern can be organically combined, avoid metrical error to occur.
Summary of the invention
In order to solve the problem, the invention provides a kind of double mode driver state-detection platform, to detect based on pupil feature and combine based on two kinds of modes of brain wave feature detection are organic, comprehensive descision is carried out to personnel state, more crucially, the test data of dependence science, provides the concrete Implementation Modes that two kinds of modes combine, thus improves the accuracy detected.
According to an aspect of the present invention, provide a kind of double mode driver state-detection platform, described detection platform comprises brain wave and detects the helmet, pupil image capture apparatus, pupil diameter identification equipment and digital signal processing appts, described brain wave detects the helmet for detecting the brain wave feature of driver, described pupil image capture apparatus and described pupil diameter identification equipment are respectively used to take the pupil image of driver and the pupil feature identified in described pupil image, described digital signal processing appts and described brain wave detect the helmet and described pupil diameter identification equipment is connected respectively, the real-time driving condition of driver is determined based on pupil feature described in described brain wave characteristic sum.
More specifically, in described double mode driver state-detection platform, also comprise: wireless transceiver, be connected with described digital signal processing appts, for the word prompting message corresponding with described sleep state signals, described frazzle signal or described waking state signal being wirelessly transmitted to the mobile terminal of driver unit one belongs to LAN and driver unit one belongs to director; Power supply unit, comprise solar powered device, accumulator, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described accumulator, determine whether be switched to described solar powered device to be powered by described solar powered device according to accumulator dump energy, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage; Portable hard drive, for prestoring pupil diameter threshold value, β ripple occupies percentage threshold, pupil upper limit gray threshold and pupil lower limit gray threshold, and described pupil upper limit gray threshold and described pupil lower limit gray threshold are used for the pupil in image and background separation; Described brain wave detects the helmet and comprises: ground electrode, is positioned over the anterior mid point of head of driver, for exclusive PCR; Reference electrode, as the electrode of driver's health Relative Zero potential point, adopts ears connection of hanging down to be positioned on the ear-lobe of driver; Active electrode, is positioned on the scalp of driver; Signal receiver, be connected respectively with described ground electrode, described reference electrode and described active electrode, the signal that described active electrode receives is deducted signal that described reference electrode receives to export as eeg signal, the sample frequency of described eeg signal is 256Hz; Single-chip microcomputer, be connected with described signal receiver, from described eeg signal, parse wherein β ripple, described β wave frequency scope is 14-30Hz, and the β wave power calculated in described eeg signal occupies the percentage ratio of described eeg signal general power and occupies non-standard output signal as β ripple; Described pupil image capture apparatus comprises: ccd sensor, takes to obtain pupil image to the pupil position of driver; Secondary light source, the shooting for described ccd sensor provides illumination fill-in light, and the intensity of described illumination fill-in light and the light luminance of described secondary light source surrounding are inversely proportional to; Described pupil diameter identification equipment comprises: wavelet filtering unit, connects described pupil image capture apparatus, adopts Harr wavelet filter to perform wavelet filtering to pupil image, to obtain filtering image; Gray processing processing unit, is connected with described wavelet filtering unit, performs gray processing process, to obtain gray level image to described filtering image; Pupil Segmentation unit, is connected respectively with described gray processing processing unit and described portable hard drive, and the pixel identification of gray value in described gray level image between described pupil upper limit gray threshold and described pupil lower limit gray threshold is formed pupil pattern; Pupil diameter detecting unit, is connected with described Pupil Segmentation unit, based on the pupil diameter in described pupil pattern determination pupil pattern, and exports as real-time pupil diameter; Described digital signal processing appts detects the helmet with described portable hard drive, described brain wave and described pupil diameter identification equipment is connected respectively, when β ripple occupy percentage ratio be more than or equal to β ripple occupy percentage threshold and in real time pupil diameter is more than or equal to pupil diameter threshold value time, export waking state signal, when β ripple occupy percentage ratio be less than β ripple occupy percentage threshold and in real time pupil diameter is less than pupil diameter threshold value time, export sleep state signals, during other situations, export frazzle signal; Wherein, described wavelet filtering unit, described gray processing processing unit, described Pupil Segmentation unit and described pupil diameter detecting unit adopt fpga chip to realize respectively, and the described fpga chip adopted respectively is the XC3S1000FT256 of XILINX company; Described pupil image capture apparatus, described pupil diameter identification equipment and described digital signal processing appts are integrated on one piece of surface-mounted integrated circuit.
More specifically, in described double mode driver state-detection platform, described digital signal processing appts is the TMS320F2812 chip of TI company.
More specifically, in described double mode driver state-detection platform, alternatively, described wavelet filtering unit, described gray processing processing unit, described Pupil Segmentation unit and described pupil diameter detecting unit are integrated in same fpga chip.
More specifically, in described double mode driver state-detection platform, also comprise: display device, be connected with described digital signal processing appts, for the prompting word that display is in real time corresponding with described sleep state signals, described frazzle signal or described waking state signal.
More specifically, in described double mode driver state-detection platform, also comprise: audio-frequence player device, be connected with described digital signal processing appts, for the speech play file that real-time play is corresponding with described sleep state signals, described frazzle signal or described waking state signal.
Accompanying drawing explanation
Below with reference to accompanying drawing, embodiment of the present invention are described, wherein:
Fig. 1 is the block diagram of the double mode driver state-detection platform illustrated according to an embodiment of the present invention.
Detailed description of the invention
Below with reference to accompanying drawings the embodiment of double mode driver state-detection platform of the present invention is described in detail.
The detection of personnel state is an important branch in detection of electrons.By the detection to personnel state, can judge that the current state of personnel to be measured is clear-headed or tired or even sleep state, thus in time regulatory authorities be reported to the police under tired or sleep state.
The high risk industries of artificial manipulation is needed at some, or at all the period of time monitoring trade that some need emphasis to monitor, need staff to remain the visual cognitive ability of height always, if slightly absent-minded, be easy to cause inconceivable consequence, such as, cause huge personal injury and economic loss, or let slip important suspect etc.These industries are more common, such as the driver of the various vehicles, or the monitor staff in various monitoring place.The accident avoiding the staff being engaged in dangerous industry to cause because of duty occurs, and such as, for the driver of steering vehicle, for the monitor staff etc. staring at monitor, has necessity of testing staff's state.
The technical scheme that personnel state of the prior art detects, although be all the means that have employed detection of electrons, substituted for the manual detection means wasted time and energy, but the detection of electrons means used are more single, or only based on the identification of facial characteristics, or only based on the identification etc. of brain wave feature, single detection of electrons means will inevitably bring the error of detection, easily cause false alarm or not have and the situation of alarm occurs, and both of these case to be all regulatory authorities be unwilling to see.
In order to overcome above-mentioned deficiency, the present invention has built a kind of double mode driver state-detection platform, adopt brain wave feature detection and pupil feature to detect the double mode testing mechanism combined and carry out comprehensive detection, replace original single testing mechanism, reduce error in judgement, improve the reliability of detection.
Fig. 1 is the block diagram of the double mode driver state-detection platform illustrated according to an embodiment of the present invention, described detection platform includes brain wave and detects the helmet 1, pupil image capture apparatus 2, pupil diameter identification equipment 3 and digital signal processing appts 4, described digital signal processing appts 4 and described brain wave detect the helmet 1, described pupil image capture apparatus 2 and described pupil diameter identification equipment 3 and are connected respectively, and described pupil image capture apparatus 2 is connected with described pupil diameter identification equipment 3.
Wherein, described brain wave detects the helmet 1 for detecting the brain wave feature of driver, described pupil image capture apparatus 2 and described pupil diameter identification equipment 3 are respectively used to take the pupil image of driver and the pupil feature identified in described pupil image, and described digital signal processing appts 4 is for determining the real-time driving condition of driver based on pupil feature described in described brain wave characteristic sum.
Then, continue to be further detailed the concrete structure of double mode driver state-detection platform of the present invention.
Described detection platform also comprises: wireless transceiver, be connected with described digital signal processing appts 4, for the word prompting message corresponding with described sleep state signals, described frazzle signal or described waking state signal being wirelessly transmitted to the mobile terminal of driver unit one belongs to LAN and driver unit one belongs to director.
Described detection platform also comprises: power supply unit, comprise solar powered device, accumulator, change-over switch and electric pressure converter, described change-over switch is connected respectively with described solar powered device and described accumulator, determine whether be switched to described solar powered device to be powered by described solar powered device according to accumulator dump energy, described electric pressure converter is connected with described change-over switch, with the 5V voltage transitions will inputted by change-over switch for 3.3V voltage.
Described detection platform also comprises: portable hard drive, for prestoring pupil diameter threshold value, β ripple occupies percentage threshold, pupil upper limit gray threshold and pupil lower limit gray threshold, and described pupil upper limit gray threshold and described pupil lower limit gray threshold are used for the pupil in image and background separation.
Described brain wave detects the helmet 1 and comprises with lower component:
Ground electrode, is positioned over the anterior mid point of head of driver, for exclusive PCR;
Reference electrode, as the electrode of driver's health Relative Zero potential point, adopts ears connection of hanging down to be positioned on the ear-lobe of driver;
Active electrode, is positioned on the scalp of driver;
Signal receiver, be connected respectively with described ground electrode, described reference electrode and described active electrode, the signal that described active electrode receives is deducted signal that described reference electrode receives to export as eeg signal, the sample frequency of described eeg signal is 256Hz;
Single-chip microcomputer, be connected with described signal receiver, from described eeg signal, parse wherein β ripple, described β wave frequency scope is 14-30Hz, and the β wave power calculated in described eeg signal occupies the percentage ratio of described eeg signal general power and occupies non-standard output signal as β ripple.
Described pupil image capture apparatus 2 comprises with lower component:
Ccd sensor, takes to obtain pupil image to the pupil position of driver;
Secondary light source, the shooting for described ccd sensor provides illumination fill-in light, and the intensity of described illumination fill-in light and the light luminance of described secondary light source surrounding are inversely proportional to.
Described pupil diameter identification equipment 3 comprises with lower component:
Wavelet filtering unit, connects described pupil image capture apparatus 2, adopts Harr wavelet filter to perform wavelet filtering to pupil image, to obtain filtering image;
Gray processing processing unit, is connected with described wavelet filtering unit, performs gray processing process, to obtain gray level image to described filtering image;
Pupil Segmentation unit, is connected respectively with described gray processing processing unit and described portable hard drive, and the pixel identification of gray value in described gray level image between described pupil upper limit gray threshold and described pupil lower limit gray threshold is formed pupil pattern;
Pupil diameter detecting unit, is connected with described Pupil Segmentation unit, based on the pupil diameter in described pupil pattern determination pupil pattern, and exports as real-time pupil diameter.
Described digital signal processing appts 4 detects the helmet 1 with described portable hard drive, described brain wave and described pupil diameter identification equipment 3 is connected respectively, when β ripple occupy percentage ratio be more than or equal to β ripple occupy percentage threshold and in real time pupil diameter is more than or equal to pupil diameter threshold value time, export waking state signal, when β ripple occupy percentage ratio be less than β ripple occupy percentage threshold and in real time pupil diameter is less than pupil diameter threshold value time, export sleep state signals, during other situations, export frazzle signal.
Wherein, described wavelet filtering unit, described gray processing processing unit, described Pupil Segmentation unit and described pupil diameter detecting unit adopt fpga chip to realize respectively, and the described fpga chip adopted respectively is the XC3S1000FT256 of XILINX company; And, described pupil image capture apparatus 2, described pupil diameter identification equipment 3 and described digital signal processing appts 4 are integrated on one piece of surface-mounted integrated circuit.
Alternatively, in described detection platform, described digital signal processing appts 4 is the TMS320F2812 chip of TI company; Alternatively, described wavelet filtering unit, described gray processing processing unit, described Pupil Segmentation unit and described pupil diameter detecting unit are integrated in same fpga chip; Described detection platform can also comprise: display device, is connected with described digital signal processing appts 4, for the prompting word that display is in real time corresponding with described sleep state signals, described frazzle signal or described waking state signal; And described detection platform can also comprise: audio-frequence player device, be connected with described digital signal processing appts 4, for the speech play file that real-time play is corresponding with described sleep state signals, described frazzle signal or described waking state signal.
In addition, digital signal processor (DSP, i.e. Digital Signal Processor), the processor being used for certain signal processing tasks be made up of extensive or super large-scale integration lamination.He is needs for adapting to High speed real-time signal processing task and grows up gradually.Along with the development of integrated circuit technique and digital signal processing algorithm, the implementation method of digital signal processor is also in continuous change, and processing capacity improves constantly and expands.
Digital signal processor is the special chip carrying out Digital Signal Processing, is the new unit produced along with the development of microelectronics, Digital Signal Processing, computer technology.Digital signal processor is not confined to audio frequency and video aspect, and he is widely used in many fields such as Communication and Information Systems, Signal and Information Processing, automatically control, radar, military affairs, Aero-Space, medical treatment, household electrical appliance.Be adopt general microprocessor to complete a large amount of Digital Signal Processing computing, speed is comparatively slow, is difficult to meet actual needs in the past; And use bit slice microprocessor and quick paral-lel multiplier simultaneously, be once the effective way realizing Digital Signal Processing, but the method device is more, logical design and programming complexity, power consumption is comparatively large, expensive.The appearance of digital signal processor DSP, well solves the problems referred to above.
DSP can realize the process such as collection, conversion, filtering, valuation, enhancing, compression, identification to signal fast, to obtain the signal form meeting people's needs.Such as, for on-vehicle host, digital signal processor DSP mainly provides specific sound field or effect at present, such as arenas, jazz etc., and some can also receiving high-definition radio and satelline radio etc., to reach maximum seeing and hearing enjoyment.Digital signal processor DSP enhances performance and the availability of on-vehicle host, improves audio-visual quality, provides more motility and design cycle faster.
Adopt double mode driver state-detection platform of the present invention, bring the technical problem of metrical error because of the latent defect of detecting pattern for existing detection platform detecting pattern, by the detecting pattern based on pupil feature with organically combine based on the detecting pattern of brain wave feature, rely on effective laboratory data, provide the concrete mode that two kinds of detecting patterns combine, be the driving condition that regulatory authorities and driver provide driver current effectively, be conducive to the generation reducing vehicle accident.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.