The content of the invention
In order to solve the technical problem of prior art presence, detector is supplied the invention provides a kind of blood oxygen, optimization is worked as
The structure of preceding blood oxygen saturation detecting instrument, pulse detection is incorporated in blood oxygen saturation detection, blood oxygen saturation is improved
Accuracy of detection, meanwhile, the colour of skin of tested personnel is identified using targetedly image recognition technology, the colour of skin is regard as blood
One of factor of oxygen saturation detection so that the testing result of blood oxygen saturation is difficult to be disturbed by single factors.
Detector is supplied there is provided a kind of blood oxygen according to an aspect of the present invention, the detector is examined including blee
Measurement equipment, pulse monitoring equipment, blood oxygen saturation monitoring device and digital signal processor, the blee detection device base
The colour of skin grade of tested personnel is determined in the face recognition of tested personnel, the pulse monitoring equipment is to tested personnel's pulse state
It is monitored, the blood oxygen saturation monitoring device determines the blood oxygen saturation grade of tested personnel, the Digital Signal Processing
Device determines that the blood oxygen of tested personnel supplies situation based on the colour of skin grade and the blood oxygen saturation grade.
More specifically, in blood oxygen supply detector, including:Static storage device, has prestored the default colour of skin
Weight, default blood oxygen saturation weight, default balance lower threshold, default balance upper limit threshold, black and white threshold value and pixel count threshold
Value, the black and white threshold value is used to perform binary conversion treatment to image, and the static storage device has also prestored four kinds of colours of skin
Mean value interval and four kinds of blood oxygen saturation intervals, four kinds of colour of skin mean value intervals correspond to four kinds of colour of skin grades, described four respectively
Plant the interval four kinds of blood oxygen saturation grades corresponding respectively of blood oxygen saturation;High-definition camera, for being carried out to tested personnel's face
Shoot, to obtain tested personnel's face-image;Blee detection device includes the sub- equipment of image preprocessing, binary conversion treatment
Equipment, column border detect sub- equipment, the sub- equipment of row rim detection, the sub- equipment of Target Segmentation, the sub- equipment of skin cluster and colour of skin etc.
The sub- equipment of level identification, described image pre-processes sub- equipment and is connected with the high-definition camera, to scheme to tested personnel face
As performing adaptive edge enhancing and wavelet filtering processing successively, to obtain pretreatment face-image;Binary conversion treatment
Equipment pre-processes sub- equipment with described image and the static storage device is connected respectively, by the every of the pretreatment face-image
The brightness of one pixel is respectively compared with the black and white threshold value, and when the brightness of pixel is more than the black and white threshold value, pixel is remembered
For white pixel, when the brightness of pixel is less than the black and white threshold value, pixel is designated as black picture element, so as to obtain binaryzation face
Portion's image;The column border detects that sub- equipment is connected respectively with the sub- equipment of the binary conversion treatment and the static storage device,
For to the binaryzation face-image, calculating the number of each column black picture element, the number of black picture element is more than or equal to described
The row of threshold number of pixels are designated as edge columns;The sub- equipment of row rim detection and the sub- equipment of the binary conversion treatment and the static state
Storage device is connected respectively, for the binaryzation face-image, the number of often row black picture element being calculated, by black picture element
The row that number is more than or equal to the threshold number of pixels is designated as edge lines;The sub- equipment of Target Segmentation detects son with the column border
Equipment and the sub- equipment of row rim detection are connected respectively, and the region that edge columns and edge lines are interweaved has area as target
Domain, and the target domain of the existence is partitioned into using as the output of facial subgraph from the binaryzation face-image, by face
Portion's subgraph is separated at the background of tested personnel's face-image;The sub- equipment of skin cluster and the sub- equipment of the Target Segmentation
Connection, for facial subgraph, by the brightness of its all pixels it is cumulative and divided by its all pixels quantity to obtain target skin
Color average;The colour of skin grade recognizes that sub- equipment is connected respectively with the sub- equipment of the skin cluster and the static storage device,
The target colour of skin average is matched with four kinds of colour of skin mean value intervals, colour of skin corresponding to the colour of skin mean value interval of output matching etc.
Level is exported as target colour of skin grade;First resistor, one end is connected with 5V power supplys, the anode of the other end and infrared receiving diode
Connection;Second resistance, one end is connected with 5V power supplys, one end connection of the other end and 3rd resistor;3rd resistor, another termination
Ground, and have and second resistance identical resistance;First two-way operational amplifier, the reference voltage for producing 2.5V, it is just
End is connected with the other end of second resistance, and negative terminal is connected with one end of the first electric capacity, and output end and infrared-emitting diode are born
End connection, negative terminal is also connected with the negative terminal of infrared-emitting diode;First electric capacity, other end ground connection;4th resistance, one end with it is red
The negative terminal connection of outer emitting diode;Second two-way operational amplifier, anode is connected with the other end of the 4th resistance, negative terminal with it is red
The anode connection of outer reception diode, output end is used as pulse voltage;5th resistance, is connected in parallel on the second two-way operational amplifier and bears
Between end and the second two-way operational amplifier output terminal;Second electric capacity, is connected in parallel on the second two-way operational amplifier negative terminal and second
Between two-way operational amplifier output terminal;Infrared-emitting diode, is arranged on tested personnel ear capillary position, for sending out
Infrared light is penetrated, the negative terminal of infrared-emitting diode and the anode of infrared receiving diode are connected;Infrared receiving diode, is arranged on
Tested personnel ear capillary position, positioned at the relative position of the infrared-emitting diode, for receiving transmission tested person
Infrared light after member ear capillary;Light emitting diode, is arranged on tested personnel's finger fingertip capillary position, with light source
Drive circuit is connected, for the LED control signal sent based on light source driving circuit, alternate emission infrared light and feux rouges;Light source
Drive circuit, built-in timer, for sending LED control signal to the light emitting diode;Optical-electrical converter, be arranged on by
On survey personnel's finger fingertip, positioned at the relative position of the light emitting diode, for receiving transmission tested personnel finger fingertip hair
Infrared light and feux rouges after thin blood vessel, and transmitted infrared light and transmission feux rouges are respectively converted into analog current signal, to obtain
Simulate infrared light electric current and simulation feux rouges electric current;Current-to-voltage converting circuit, is connected with the optical-electrical converter, for simulation
Infrared light electric current and simulation feux rouges electric current carry out Current Voltage conversion respectively, to obtain simulation infrared light voltage respectively and simulate red
Photovoltage;Signal amplifier, is connected with the current-to-voltage converting circuit, for simulation infrared light voltage and simulation feux rouges electricity
Pressure is amplified respectively, to obtain the infrared light amplification voltage of simulation and simulation feux rouges amplification voltage;Signal deteching circuit, it is and described
Signal amplifier is connected, including direct current signal detection sub-circuit and alternating current signal detection sub-circuit, for detecting simulation infrared light
Flip-flop and alternating component in voltage, as the first DC voltage and the output of the first alternating voltage, to be additionally operable to detect mould
Intend the flip-flop and alternating component in red voltages, to be used as the second DC voltage and the output of the second alternating voltage;Modulus turns
Parallel operation, is connected with the signal deteching circuit, for the first DC voltage, the first alternating voltage, the second DC voltage and
Two alternating voltages carry out analog-to-digital conversion respectively, to obtain the first Digital DC voltage, the first Digital AC voltage, the second number
Word DC voltage and the second Digital AC voltage;Digital signal processor, with the analog-digital converter, the static storage
Equipment and the blee detection device are connected respectively, by the second Digital AC voltage and the second Digital DC voltage
The ratio of ratio divided by the first Digital AC voltage and the first Digital DC voltage absorbs the light ratio factor to obtain, and base
Blood oxygen saturation is calculated in absorbing the light ratio factor, wherein, blood oxygen saturation is linear with absorbing the light ratio factor;It is described
Digital signal processor is also connected to obtain the pulse voltage with the output end of the second two-way operational amplifier, and works as institute
Pulse voltage is stated when outside default pulse range, cacosphyxia identification signal is sent;Wherein, the digital signal processor will
Calculate the blood oxygen saturation obtained to be matched with four kinds of blood oxygen saturations interval, by the blood oxygen saturation area that the match is successful
Between corresponding blood oxygen saturation grade be used as target blood oxygen saturation grade;Wherein, the optical-electrical converter is a photoelectricity two
Pole pipe;Wherein, signal filter circuit is also set up between the signal amplifier and the signal deteching circuit, for filtering out mould
Intend the noise contribution in infrared light amplification voltage and simulation feux rouges amplification voltage;Wherein, when infrared-emitting diode and infrared connect
When receiving pulseless between diode, pulse voltage is 2.5V, when existing between infrared-emitting diode and infrared receiving diode
During the pulse of bounce, blood vessels make ear's translucency variation, and pulse voltage is more than 2.5V;Wherein, the digital signal processor will
Target colour of skin grade and default colour of skin multiplied by weight, by target blood oxygen saturation grade and default blood oxygen saturation multiplied by weight,
By two product additions to obtain total trade-off value, when total trade-off value is less than or equal to default balance lower threshold, blood oxygen is sent not
Foot identification signal, when total trade-off value is more than or equal to default balance upper limit threshold, sends blood oxygen excessively identification signal.
More specifically, in blood oxygen supply detector, the detector also includes:Bluetooth communication interface, it is and described
Digital signal processor is connected, for cacosphyxia to be recognized into signal, hypoxemia recognize signal or blood oxygen excessively identification signal
It is sent to the medical monitoring Cloud Server of distal end.
More specifically, in blood oxygen supply detector:The wavelength of the infrared light of light emitting diode transmitting is
940nm, the wavelength of the feux rouges of the light emitting diode transmitting is 660nm.
More specifically, in blood oxygen supply detector:First two-way operational amplifier and the second two-way operation amplifier
Device is all the two-way operational amplifier of TI companies.
More specifically, in blood oxygen supply detector:The sub- equipment of image preprocessing, the sub- equipment of binary conversion treatment, row
The sub- equipment of rim detection, the sub- equipment of row rim detection, the sub- equipment of Target Segmentation, the sub- equipment of skin cluster and colour of skin grade identification
Equipment is respectively adopted different fpga chips to realize.
Embodiment
The embodiment to the blood oxygen supply detector of the present invention is described in detail below with reference to accompanying drawings.
Anoxic is the imbalance that body oxygen supplies to occur between oxygen consumption, i.e. histocyte metabolism is in anoxia state.Body
The need for can the O_2 transport amount and oxygen reserve whether anoxic receives depending on each tissue meet aerobic metabolism.The harm of anoxic with
Degree of oxygen deficiency, generation speed and duration are relevant.Severe hypoxia mass formed by blood stasis is the common cause of anesthetic death, accounts for heart arrest
Or 1/3 to the 2/3 of serious brain cell infringement death.
Anoxic has tremendous influence to body.Such as to CNS, the influence of Liver and kidney function.Occurred that first during hypoxemia
Compensatory heart rate accelerates, heartbeat and cardiac output increase, and the circulatory system is with the deficiency of the compensatory oxygen content of hyperkinetic state.Produce simultaneously
Green blood stream is reallocated, and brain and coronal cardioselective are expanded to ensure enough blood supplies.But in serious hypoxic condition, due to
Lactic acid is accumulated under the internal membrane of heart, ATP synthesis reductions, produces myocardiac inhibition, causes bradycardia, proiosystole, drop in blood pressure and the heart
Blood discharge amount is reduced, and room occurs and quiver etc. arrhythmia cordis or even to stop fighting.
Due to harmfulness of the anoxic to people's body, blood oxygen saturation detecting instrument is always Medical Instruments developer's emphasis
One of problem of research and development.However, current blood oxygen saturation detecting instrument detection object is single, circuit structure redundancy is high and
Detect that mechanism is not comprehensive enough, the effect for causing blood oxygen saturation to detect is not good, it is impossible to meet the current demand of patient and hospital.
Therefore, the present invention has built a kind of blood oxygen supply detector, optimize the knot of current blood oxygen saturation detecting instrument
Structure, pulse detection is incorporated in blood oxygen saturation detection, more it is essential that using high-precision image recognition technology to tested person
The colour of skin of member is identified, and one of factor that the colour of skin is detected as blood oxygen saturation considers the detection of blood oxygen saturation
As a result, so as to improve the reasonability of testing result.
Fig. 1 supplies the block diagram of the first embodiment of detector for the blood oxygen of the present invention, and the detector includes face
Portion's Face Detection equipment, pulse monitoring equipment, blood oxygen saturation monitoring device and digital signal processor, the blee inspection
Face recognition of the measurement equipment based on tested personnel determines the colour of skin grade of tested personnel, and the pulse monitoring equipment is to tested personnel
Pulse state is monitored, and the blood oxygen saturation monitoring device determines the blood oxygen saturation grade of tested personnel, the numeral
Signal processor determines that the blood oxygen of tested personnel supplies situation based on the colour of skin grade and the blood oxygen saturation grade.
Then, the concrete structure for continuing to supply the blood oxygen of the present invention second embodiment of detector is carried out further
It is bright.
The detector includes:Static storage device, has prestored default colour of skin weight, default blood oxygen saturation power
Weight, default balance lower threshold, default balance upper limit threshold, black and white threshold value and threshold number of pixels, the black and white threshold value are used for pair
Image performs binary conversion treatment, and the static storage device has also prestored four kinds of colour of skin mean value intervals and four kinds of blood oxygen saturations
Degree is interval, and four kinds of colour of skin mean value intervals correspond to four kinds of colour of skin grades respectively, and four kinds of blood oxygen saturations are interval right respectively
Answer four kinds of blood oxygen saturation grades.
The detector includes:High-definition camera, for being shot to tested personnel's face, to obtain tested personnel face
Portion's image.
The detector includes:Blee detection device, including the sub- equipment of image preprocessing, binary conversion treatment are set
Standby, column border detects sub- equipment, the sub- equipment of row rim detection, the sub- equipment of Target Segmentation, the sub- equipment of skin cluster and colour of skin grade
Sub- equipment is recognized, described image pre-processes sub- equipment and is connected with the high-definition camera, with to tested personnel's face-image
Adaptive edge enhancing and wavelet filtering processing are performed successively, to obtain pretreatment face-image;Binary conversion treatment is set
It is standby to be connected respectively with the described image sub- equipment of pretreatment and the static storage device, by each of the pretreatment face-image
The brightness of individual pixel is respectively compared with the black and white threshold value, and when the brightness of pixel is more than the black and white threshold value, pixel is designated as
White pixel, when the brightness of pixel is less than the black and white threshold value, black picture element is designated as by pixel, so as to obtain binaryzation face
Image;The column border detects that sub- equipment is connected respectively with the sub- equipment of the binary conversion treatment and the static storage device, uses
In to the binaryzation face-image, the number of each column black picture element is calculated, the number of black picture element is more than or equal to the picture
The row of prime number threshold value are designated as edge columns;The sub- equipment of row rim detection is deposited with the sub- equipment of the binary conversion treatment and the static state
Storage equipment is connected respectively, for the binaryzation face-image, the number of often row black picture element being calculated, by the number of black picture element
The row that mesh is more than or equal to the threshold number of pixels is designated as edge lines;The sub- equipment of Target Segmentation is set with column border detection
The standby and sub- equipment of row rim detection is connected respectively, using the region of edge columns and edge lines intertexture as target domain of the existence,
And the target domain of the existence is partitioned into from the binaryzation face-image using as the output of facial subgraph, by facial son
Image is separated at the background of tested personnel's face-image;The sub- equipment of skin cluster connects with the sub- equipment of the Target Segmentation
Connect, for facial subgraph, by the brightness of its all pixels it is cumulative and divided by its all pixels quantity to obtain the target colour of skin
Average;The colour of skin grade recognizes that sub- equipment is connected respectively with the sub- equipment of the skin cluster and the static storage device, will
The target colour of skin average is matched with four kinds of colour of skin mean value intervals, the colour of skin grade corresponding to the colour of skin mean value interval of output matching
Exported as target colour of skin grade.
The detector includes:First resistor, one end is connected with 5V power supplys, the anode of the other end and infrared receiving diode
Connection;Second resistance, one end is connected with 5V power supplys, one end connection of the other end and 3rd resistor;3rd resistor, another termination
Ground, and have and second resistance identical resistance;First two-way operational amplifier, the reference voltage for producing 2.5V, it is just
End is connected with the other end of second resistance, and negative terminal is connected with one end of the first electric capacity, and output end and infrared-emitting diode are born
End connection, negative terminal is also connected with the negative terminal of infrared-emitting diode.
The detector includes:First electric capacity, other end ground connection;4th resistance, one end and infrared-emitting diode it is negative
End connection;Second two-way operational amplifier, anode is connected with the other end of the 4th resistance, and negative terminal and infrared receiving diode are just
End connection, output end is used as pulse voltage;5th resistance, is connected in parallel on the second two-way operational amplifier negative terminal and the second two-way computing
Between amplifier out;Second electric capacity, is connected in parallel on the second two-way operational amplifier negative terminal and the second two-way operational amplifier is defeated
Go out between end.
The detector includes:Infrared-emitting diode, is arranged on tested personnel ear capillary position, for launching
Infrared light, the negative terminal of infrared-emitting diode and the anode of infrared receiving diode are connected;Infrared receiving diode, be arranged on by
Survey personnel ear's capillary position, positioned at the relative position of the infrared-emitting diode, for receiving transmission tested personnel
Infrared light after ear's capillary;Light emitting diode, is arranged on tested personnel's finger fingertip capillary position, is driven with light source
Dynamic circuit connection, for the LED control signal sent based on light source driving circuit, alternate emission infrared light and feux rouges.
The detector includes:Light source driving circuit, built-in timer, for sending luminous control to the light emitting diode
Signal processed;Optical-electrical converter, is arranged on tested personnel's finger fingertip, positioned at the relative position of the light emitting diode, is used for
The infrared light and feux rouges after transmission tested personnel's finger fingertip capillary are received, and transmitted infrared light and transmission feux rouges are distinguished
Analog current signal is converted to, to obtain simulation infrared light electric current and simulation feux rouges electric current;Current-to-voltage converting circuit, it is and described
Optical-electrical converter is connected, for carrying out Current Voltage conversion respectively to simulation infrared light electric current and simulation feux rouges electric current, with respectively
Obtain simulation infrared light voltage and simulation red voltages.
The detector includes:Signal amplifier, is connected with the current-to-voltage converting circuit, for simulation infrared light
Voltage and simulation red voltages are amplified respectively, to obtain the infrared light amplification voltage of simulation and simulation feux rouges amplification voltage;Letter
Number detection circuit, be connected with the signal amplifier, including direct current signal detection sub-circuit and alternating current signal detection sub-circuit, use
Flip-flop and alternating component in detection simulation infrared light voltage, using defeated as the first DC voltage and the first alternating voltage
Go out, be additionally operable to flip-flop and alternating component in detection simulation red voltages, to be exchanged as the second DC voltage and second
Voltage output.
The detector includes:Analog-digital converter, is connected with the signal deteching circuit, for the first DC voltage,
First alternating voltage, the second DC voltage and the second alternating voltage carry out analog-to-digital conversion respectively, to obtain the first Digital DC
Voltage, the first Digital AC voltage, the second Digital DC voltage and the second Digital AC voltage.
The detector includes:Digital signal processor, with the analog-digital converter, the static storage device and described
Blee detection device is connected respectively, by the second Digital AC voltage and the ratio of the second Digital DC voltage divided by
The ratio of one Digital AC voltage and the first Digital DC voltage absorbs the light ratio factor to obtain, and based on absorption light ratio
It is worth the factor and calculates blood oxygen saturation.
Wherein, blood oxygen saturation is linear with absorbing the light ratio factor;The digital signal processor also with it is described
The output end of second two-way operational amplifier is connected to obtain the pulse voltage, and when the pulse voltage is in default pulse model
When outside enclosing, cacosphyxia identification signal is sent;Wherein, the digital signal processor by calculate obtain blood oxygen saturation with
Four kinds of blood oxygen saturations interval is matched, by the blood oxygen saturation that the match is successful it is interval corresponding to blood oxygen saturation etc.
Level is used as target blood oxygen saturation grade.
Wherein, the optical-electrical converter is a photodiode;Wherein, in the signal amplifier and the signal detection
Signal filter circuit is also set up between circuit, for filtering out making an uproar in the infrared light amplification voltage of simulation and simulation feux rouges amplification voltage
Sound composition;Wherein, when pulseless between infrared-emitting diode and infrared receiving diode, pulse voltage is 2.5V, hot
When there is the pulse of bounce between outer emitting diode and infrared receiving diode, blood vessels make ear's translucency variation, pulse electricity
Pressure is more than 2.5V.
Wherein, the digital signal processor satisfies target blood oxygen target colour of skin grade and default colour of skin multiplied by weight
With degree grade and default blood oxygen saturation multiplied by weight, by two product additions to obtain total trade-off value, when total trade-off value is less than
During equal to default balance lower threshold, hypoxemia identification signal is sent, when total trade-off value is more than or equal to default balance upper limit threshold
During value, blood oxygen excessively identification signal is sent.
Alternatively, in the detector, in addition to:Bluetooth communication interface, is connected with the digital signal processor, uses
In the medical monitoring cloud that cacosphyxia identification signal, hypoxemia identification signal or blood oxygen excess identification signal are sent to distal end
Server;The wavelength of the infrared light of the light emitting diode transmitting is 940nm, the wavelength of the feux rouges of the light emitting diode transmitting
For 660nm;First two-way operational amplifier and the second two-way operational amplifier are all the two-way operational amplifier of TI companies;Image
Pre-process the sub- equipment of sub- equipment, binary conversion treatment, column border and detect that sub- equipment, the sub- equipment of row rim detection, Target Segmentation are set
The sub- equipment of standby, skin cluster and colour of skin grade recognize that sub- equipment is respectively adopted different fpga chips to realize.
In addition, dsp chip, also referred to as digital signal processor, are that one kind is particularly suitable for carrying out Digital Signal Processing computing
Microprocessor, its mainly application be to realize various digital signal processing algorithms real-time.
According to the requirement of Digital Signal Processing, dsp chip typically has following main feature:(1) in an instruction cycle
It is interior to complete a multiplication and a sub-addition;(2) program and data space is separated, can be while access instruction and data;(3) piece
It is interior that there is quick RAM, generally can simultaneously it be accessed in two pieces by independent data/address bus;(4) there is low overhead or without expense
The hardware supported for circulating and redirecting;(5) quickly interrupt processing and Hardware I/O are supported;(6) it is many with what is operated within the monocycle
Individual hardware address generator;(7) multiple operations can be performed parallel;(8) pile line operation is supported, makes fetching, decoding and performs
Can be with Overlapped Execution Deng operation.
Detector is supplied using the blood oxygen of the present invention, fall behind for blood oxygen saturation detecting instrument structure in the prior art,
Detect that object is few and the single technical problem of detection mechanism, refer to high accuracy, targetedly image recognition apparatus is to tested
The colour of skin of personnel is identified, and is dissolved into the detection process of blood oxygen saturation, meanwhile, add pulse detection equipment and optimize
Existing detection structure, so as to improve the performance of blood oxygen saturation detecting instrument comprehensively.
Although it is understood that the present invention is disclosed as above with preferred embodiment, but above-described embodiment and being not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible variations and modification are all made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.