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
Currently, at the every country in the world, the owning amount of automobile is all a huge numeral, due to
Autonomous driving vehicle is the most universal, and automobile mainly uses manual type to drive, and at this moment, driver is such as
Fruit is excessively tired and does not knows, and still carries out driving task, will easily cause vehicle accident, to him
People and self bring the actual bodily harm being difficult to bear, may also result in huge economic loss simultaneously.
In order to avoid driver tired driving, the vehicle supervision department of various countries all have employed some punishment machines
Make the driver to fatigue driving to punish, but, it practice, driver is in driving procedure,
Causing reason tired out to have multiple, the such as day before yesterday does not has enough sleep, or listens music fascinated, even
Thinking that thing is superb etc., driver is the fatigue state not knowing about self sometimes, thus, depend punishment alone
Mechanism and driver's self-examination are not sufficient to the generation that avoids traffic accident, in addition it is also necessary to some detection of electrons
Means, carry out active detecting in the way of instrument.
Driver's real-time status testing mechanism of the prior art all uses a kind of Cleaning Principle to examine
Survey, such as, detection based on driver's pupil, detection etc. based on driver's brain wave, these mistakes
In single detection pattern, the error of inherence served by inevitable band, have impact on the efficiency of detection.
Accordingly, it would be desirable to a kind of new driver state-detection platform, it is possible to organically combine plural
Detection pattern, it is to avoid detection error occurs.
Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of double mode driver state-detection and put down
Platform, by based on pupil feature detection with two ways based on brain wave feature detection is organic ties
Close, personnel state carried out comprehensive descision, more it is essential that the test data of the science of dependence, it is provided that
The pattern that is embodied as that two ways combines, thus improve the accuracy of detection.
According to an aspect of the present invention, it is provided that a kind of double mode driver state-detection platform,
Described detection platform includes that the brain wave detection helmet, pupil image capture apparatus, pupil diameter identification set
Standby and digital signal processing appts, the described brain wave detection helmet is special for the brain wave detecting driver
Levying, described pupil image capture apparatus and described pupil diameter identification equipment are respectively used to shoot driver
Pupil image and the pupil feature that identifies in described pupil image, described digital signal processing appts with
The described brain wave detection helmet and described pupil diameter identification equipment connect, respectively based on described brain wave
Feature and described pupil feature determine the real-time driving condition of driver.
More specifically, in described double mode driver state-detection platform, also include: wireless
Transceiver, is connected with described digital signal processing appts, and being used for will be with described sleep state signals, institute
State frazzle signal or word prompting message corresponding to described waking state signal is wirelessly transmitted to drive
Shi Yuan unit one belongs to LAN and the mobile terminal of driver unit one belongs to director;Power supply unit, bag
Include solar powered device, accumulator, switching switch and electric pressure converter, described switching switch and institute
State solar powered device and described accumulator connects respectively, decide whether according to accumulator dump energy
Being switched to described solar powered device to be powered by described solar powered device, described voltage is changed
Device is connected with described switching switch, will be converted to 3.3V electricity by the 5V voltage of switching switch input
Pressure;Portable hard drive, is used for prestoring pupil diameter threshold value, β ripple occupies percentage threshold, pupil
Upper limit gray threshold and pupil lower limit gray threshold, under described pupil upper limit gray threshold and described pupil
Limit gray threshold is for by the pupil in image and background separation;The described brain wave detection helmet includes:
Ground electrode, is positioned over the midpoint, head front portion of driver, for exclusive PCR;Reference electrode, as
The electrode of driver's health Relative Zero potential point, uses ears connection of hanging down to be positioned over the ear-lobe of driver
On;Active electrode, is positioned on the scalp of driver;Signal receiver, with described ground electrode,
Described reference electrode and described active electrode connect respectively, are subtracted by the signal that described active electrode receives
Go the signal that described reference electrode receives to export as eeg signal, described eeg signal
Sample frequency is 256Hz;Single-chip microcomputer, is connected with described signal receiver, from described eeg signal
In parse wherein β ripple, the frequency range of described β ripple is 14-30Hz, calculate described brain wave letter
β wave power in number occupies the percentage ratio of described eeg signal general power and occupies percentage as β ripple
Than output;Described pupil image capture apparatus includes: ccd sensor, the pupil position to driver
Carry out shooting to obtain pupil image;Secondary light source, the shooting for described ccd sensor provides photograph
Bright fill-in light, the intensity of described illumination fill-in light becomes with the light luminance of described secondary light source surrounding
Inverse ratio;Described pupil diameter identification equipment includes: wavelet filtering unit, connects described pupil image and claps
Take the photograph equipment, use Harr wavelet filter pupil image to be performed wavelet filtering, to obtain filtering image;
Gray processing processing unit, is connected with described wavelet filtering unit, and described filtering image is performed gray processing
Process, to obtain gray level image;Pupil Segmentation unit, with described gray processing processing unit and described
Portable hard drive connects respectively, by gray value in described gray level image at described pupil upper limit gray threshold
And pixel identification between described pupil lower limit gray threshold form pupil pattern;Pupil diameter detects
Unit, is connected with described Pupil Segmentation unit, determines the pupil in pupil pattern based on described pupil pattern
Bore dia, and export as real-time pupil diameter;Described digital signal processing appts is hard with described movement
Dish, the described brain wave detection helmet and described pupil diameter identification equipment connect, respectively when β ripple occupies
Percentage ratio occupies percentage threshold and real-time pupil diameter more than or equal to pupil diameter threshold more than or equal to β ripple
During value, export waking state signal, when β ripple occupy percentage ratio less than β ripple occupy percentage threshold and
When pupil diameter is less than pupil diameter threshold value in real time, export sleep state signals, export during other situations
Frazzle signal;Wherein, described wavelet filtering unit, described gray processing processing unit, described pupil
Hole cutting unit and described pupil diameter detector unit are respectively adopted fpga chip and realize, described point
The fpga chip not used is the XC3S1000FT256 of XILINX company;By described pupillogram
As capture apparatus, described pupil diameter identification equipment and described digital signal processing appts are integrated in one piece
On surface-mounted integrated circuit.
More specifically, in described double mode driver state-detection platform, described digital signal
Processing equipment is the TMS320F2812 chip of TI company.
More specifically, in described double mode driver state-detection platform, alternatively, by institute
State wavelet filtering unit, described gray processing processing unit, described Pupil Segmentation unit and described pupil straight
Footpath detector unit is integrated in same fpga chip.
More specifically, in described double mode driver state-detection platform, also include: display
Equipment, is connected with described digital signal processing appts, in real time display and described sleep state signals,
Described frazzle signal or prompting word corresponding to described waking state signal.
More specifically, in described double mode driver state-detection platform, also include: audio frequency
Playback equipment, is connected with described digital signal processing appts, for real-time play and described sleep state
The speech play file that signal, described frazzle signal or described waking state signal are corresponding.
Accompanying drawing explanation
Below with reference to accompanying drawing, embodiment of the present invention are described, wherein:
Fig. 1 is according to the double mode driver state-detection platform shown in embodiment of the present invention
Block diagram.
Detailed description of the invention
Enforcement to the double mode driver state-detection platform of the present invention below with reference to accompanying drawings
Scheme is described in detail.
The detection of personnel state is an important branch in detection of electrons.By the inspection to personnel state
Survey, it is possible to judge that the current state of personnel to be measured is clear-headed or tired even sleep state, thus
In time regulatory authorities is reported to the police under tired or sleep state.
Need the high risk industries of artificial manipulation at some, or need, at some, all the period of time that emphasis monitors
Monitoring trade, needs staff to be always maintained at the attention concentration of height, if the most absent-minded,
Easily cause inconceivable consequence, such as, cause huge personal injury and economic loss, or
Person lets slip important suspect etc..These industries are relatively common, driving of the most various vehicles
The person of sailing, or the monitoring personnel in various monitoring place.Avoid being engaged in the staff of dangerous industry because
Duty and the accident that causes occurs, such as, for driving the driver of vehicle, for staring at prison
The monitoring personnel etc. of visual organ, have necessity of testing staff's state.
The technical scheme of personnel state of the prior art detection, although all have employed detection of electrons
Means, substituted for the manual detection means wasted time and energy, but the detection of electrons means used are more single
One, or it is based only on the identification of facial characteristics, or it is based only on the identification etc. of brain wave feature,
Single detection of electrons means will necessarily bring the error of detection, easily cause false alarm or do not have and
The situation of alarm occurs, and both of which to be 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 and has put down
Platform, the double mode testing mechanism using brain wave feature detection and pupil feature detection to combine is combined
Close detection, replace original single testing mechanism, reduce error in judgement, improve the reliability of detection.
Fig. 1 is according to the double mode driver state-detection platform shown in embodiment of the present invention
Block diagram, described detection platform includes brain wave the detection helmet 1, pupil image capture apparatus
2, pupil diameter identification equipment 3 and digital signal processing appts 4, described digital signal processing appts 4
With the described brain wave detection helmet 1, described pupil image capture apparatus 2 and described pupil diameter identification
Equipment 3 connects respectively, and described pupil image capture apparatus 2 and described pupil diameter identification equipment 3 are even
Connect.
Wherein, the described brain wave detection helmet 1 is for detecting the brain wave feature of driver, described pupil
Hole image picking-up apparatus 2 and described pupil diameter identification equipment 3 are respectively used to shoot the pupil of driver
Image and the pupil feature identified in described pupil image, described digital signal processing appts 4 is for base
The real-time driving condition of driver is determined in described brain wave feature and described pupil feature.
Then, continue the concrete structure of the double mode driver state-detection platform of the present invention is entered
Row further instruction.
Described detection platform also includes: wireless transceiver, is connected with described digital signal processing appts 4,
For will be corresponding with described sleep state signals, described frazzle signal or described waking state signal
Word prompting message be wirelessly transmitted to driver unit one belongs to LAN and driver unit one belongs to and bear
The mobile terminal of duty people.
Described detection platform also includes: power supply unit, including solar powered device, accumulator, cuts
Change switch and electric pressure converter, described switching switch and described solar powered device and described accumulator
Connect respectively, according to accumulator dump energy decide whether to be switched to described solar powered device with by
Described solar powered device is powered, and described electric pressure converter is connected with described switching switch, leading to
The 5V voltage crossing switching switch input is converted to 3.3V voltage.
Described detection platform also includes: portable hard drive, is used for prestoring pupil diameter threshold value, β ripple
Occupy percentage threshold, pupil upper limit gray threshold and pupil lower limit gray threshold, the described pupil upper limit
Gray threshold and described pupil lower limit gray threshold are for by the pupil in image and background separation.
The described brain wave detection helmet 1 includes with lower component:
Ground electrode, is positioned over the midpoint, head front portion of driver, for exclusive PCR;
Reference electrode, as the electrode of driver's health Relative Zero potential point, uses ears connection of hanging down to put
It is placed on the ear-lobe of driver;
Active electrode, is positioned on the scalp of driver;
Signal receiver, connects respectively with described ground electrode, described reference electrode and described active electrode
Connect, the signal that described active electrode receives is deducted signal that described reference electrode receives using as
Eeg signal exports, and the sample frequency of described eeg signal is 256Hz;
Single-chip microcomputer, is connected with described signal receiver, parses wherein β from described eeg signal
Ripple, the frequency range of described β ripple is 14-30Hz, calculates the β wave power in described eeg signal
Occupy the percentage ratio of described eeg signal general power and occupy non-standard output signal as β ripple.
Described pupil image capture apparatus 2 includes with lower component:
Ccd sensor, shoots 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 described illumination is auxiliary
The intensity of light is helped to be inversely proportional to the light luminance of described secondary light source surrounding.
Described pupil diameter identification equipment 3 includes with lower component:
Wavelet filtering unit, connects described pupil image capture apparatus 2, uses Harr wavelet filter
Pupil image is performed wavelet filtering, to obtain filtering image;
Gray processing processing unit, is connected with described wavelet filtering unit, described filtering image is performed ash
Degreeization processes, to obtain gray level image;
Pupil Segmentation unit, is connected respectively with described gray processing processing unit and described portable hard drive, will
In described gray level image, gray value is in described pupil upper limit gray threshold and described pupil lower limit gray scale
Pixel identification between threshold value also forms pupil pattern;
Pupil diameter detector unit, is connected with described Pupil Segmentation unit, true based on described pupil pattern
Determine the pupil diameter in pupil pattern, and export as real-time pupil diameter.
Described digital signal processing appts 4 and described portable hard drive, the described brain wave detection helmet 1 and
Described pupil diameter identification equipment 3 connects respectively, occupies more than or equal to β ripple when β ripple occupies percentage ratio
When percentage threshold and real-time pupil diameter are more than or equal to pupil diameter threshold value, output waking state letter
Number, occupy percentage threshold and real-time pupil diameter less than pupil when β ripple occupies percentage ratio less than β ripple
During diameter threshold, export sleep state signals, during other situations, export frazzle signal.
Wherein, described wavelet filtering unit, described gray processing processing unit, described Pupil Segmentation unit
Be respectively adopted fpga chip with described pupil diameter detector unit to realize, described in be respectively adopted
Fpga chip is the XC3S1000FT256 of XILINX company;And, by described pupil image
Capture apparatus 2, described pupil diameter identification equipment 3 and described digital signal processing appts 4 are integrated in
On one piece of surface-mounted integrated circuit.
Alternatively, in described detection platform, described digital signal processing appts 4 is TI company
TMS320F2812 chip;Alternatively, described wavelet filtering unit, described gray processing are processed single
Pupil Segmentation unit first, described and described pupil diameter detector unit are integrated into same fpga chip
In;Described detection platform can also include: display device, with described digital signal processing appts 4 even
Connect, for display in real time and described sleep state signals, described frazzle signal or described clear-headed shape
The prompting word that state signal is corresponding;And, described detection platform can also include: audio-frequence player device,
It is connected with described digital signal processing appts 4, for real-time play and described sleep state signals, institute
State frazzle signal or speech play file corresponding to described waking state signal.
It addition, digital signal processor (DSP, i.e. Digital Signal Processor), it is by greatly
Scale or the process being used for certain signal processing tasks of super large-scale integration lamination composition
Device.He is for adapting to the needs of High speed real-time signal processing task and gradually to grow up.Along with collection
Becoming circuit engineering and the development of digital signal processing algorithm, the implementation method of digital signal processor also exists
It is continually changing, processes function and improve constantly and expand.
Digital signal processor is by the special chip of Digital Signal Processing, is accompanied by microelectronics
, Digital Signal Processing, the development of computer technology and the new device that produces.At digital signal
Reason device be not confined to audio frequency and video aspect, he be widely used in Communication and Information Systems, signal with
Information processing, automatically control, radar, military affairs, Aero-Space, medical treatment, many necks such as household electrical appliance
Territory.Being to use general microprocessor to complete a large amount of Digital Signal Processing computing, speed is relatively slow in the past,
It is difficult to meet and is actually needed;And use bit slice microprocessor and quick paral-lel multiplier, once simultaneously
Being the effective way realizing Digital Signal Processing, but the method device is more, logical design and program set
Meter complexity, power consumption is relatively big, expensive.The appearance of digital signal processor DSP, well solves
The problems referred to above.
DSP can quickly realize the collection to signal, convert, filter, valuation, strengthen, compress,
Identification etc. process, to obtain meeting the signal form of people's needs.Such as, for on-vehicle host,
Digital signal processor DSP is currently mainly to provide specific sound field or effect, such as arenas, jazz
Happy etc., 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, provide more motility and faster design cycle.
Use the double mode driver state-detection platform of the present invention, examine for existing detection platform
Survey pattern brings the technical problem of detection error because of the latent defect of detection pattern, will be based on pupil
Detection pattern and the detection pattern based on brain wave feature of feature organically combine, and rely on effectively
Laboratory data, it is provided that two kinds detection pattern combine concrete modes, be related management effectively
Department and driver provide driver current driving condition, advantageously reduce sending out of vehicle accident
Raw.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-mentioned enforcement
Example is not limited to the present invention.For any those of ordinary skill in the art, without departing from
Under technical solution of the present invention ambit, all may utilize the technology contents of the disclosure above to the technology of the present invention
Scheme makes many possible variations and modification, or is revised as the Equivalent embodiments of equivalent variations.Therefore,
Every content without departing from technical solution of the present invention, the technical spirit of the foundation present invention is to above example
Any simple modification, equivalent variations and the modification done, all still falls within technical solution of the present invention protection
In the range of.