CN104573317A - Photoelectric health parameter detector based on audio port - Google Patents
Photoelectric health parameter detector based on audio port Download PDFInfo
- Publication number
- CN104573317A CN104573317A CN201410718254.7A CN201410718254A CN104573317A CN 104573317 A CN104573317 A CN 104573317A CN 201410718254 A CN201410718254 A CN 201410718254A CN 104573317 A CN104573317 A CN 104573317A
- Authority
- CN
- China
- Prior art keywords
- circuit
- voltage
- resistor
- resonant
- 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.)
- Granted
Links
Landscapes
- Electronic Switches (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
本发明提供了一种基于音频口的光电式健康参数检测仪,包括音频接口、供电谐振电路、接收谐振电路、信号接收电路、储能电路、电子开关电路、单片机、电压调节电路、H桥电路、红外光发光二极管、红光发光二极管、光电二极管以及运放电路;信号接收电路用于将接收谐振电路输出的谐振波形信号转换为单片机识别的方波脉冲信号;电压调节电路用于根据单片机的H桥电源控制信号输出端发送的控制信号改变电压调节电路的可控电压输出端的输出电压值;运放电路用于对光电二极管的信号输出端发送的采集信号进行放大处理。该检测仪的误码率低、普适性较高,且无需自身供电,具有较高的市场应用前景。
The invention provides a photoelectric health parameter detector based on an audio interface, including an audio interface, a power supply resonant circuit, a receiving resonant circuit, a signal receiving circuit, an energy storage circuit, an electronic switch circuit, a single-chip microcomputer, a voltage regulation circuit, and an H-bridge circuit , infrared light-emitting diode, red light-emitting diode, photodiode and operational amplifier circuit; the signal receiving circuit is used to convert the resonant waveform signal output by the receiving resonant circuit into a square wave pulse signal recognized by the single-chip microcomputer; The control signal sent by the H-bridge power supply control signal output terminal changes the output voltage value of the controllable voltage output terminal of the voltage regulation circuit; the operational amplifier circuit is used to amplify the acquisition signal sent by the signal output terminal of the photodiode. The detector has a low bit error rate, high universality, and does not need its own power supply, so it has a high market application prospect.
Description
技术领域technical field
本发明涉及一种光电式健康参数检测仪,尤其是一种基于音频口的光电式健康参数检测仪。The invention relates to a photoelectric health parameter detector, in particular to a photoelectric health parameter detector based on an audio port.
背景技术Background technique
随着经济和科技的进步,智能移动终端设备如手机、PDA设备、平板电脑与人们的生活越来越息息相关。同时,其性能和功能也越来越强大。与之相关的各种外围设备和应用也越来越多。这些外围设备一方面需要与智能移动终端进行通信,另一方面对于一些低功耗设备来说,也希望能将电源供应考虑进来,避免需要外接电池带来的损耗和成本增加。当前的外围设备和移动终端的通信方式主要有以下方式:1)无线通信,主要是使用蓝牙技术、WiFi、二代和三代通信技术,优点是通信技术成熟,适用范围广,缺点是被窃听泄密的可能性大,同时可能增加成本;2)使用手机的USB口通信,但是目前大多数手机仍不支持OTG协议,无法通过手机USB接口进行外围设备的控制;3)使用音频口通信,使用最广泛的是拉卡拉设备,其采用的方式是模拟信号,通信误码率较高,且并不支持所有的手机。无线通信方式不能提供终端电能,而USB因不同手机的接口形式不同,使得外围设备适配所有智能移动终端带来困难,唯一可行的便是使用音频口进行通信和供电。但目前尚未见到完整的使用音频口通信及供电的整套解决方案。With the advancement of economy and technology, smart mobile terminal devices such as mobile phones, PDA devices, and tablet computers are more and more closely related to people's lives. At the same time, its performance and functions are getting stronger and stronger. There are more and more peripheral devices and applications related to it. On the one hand, these peripheral devices need to communicate with smart mobile terminals. On the other hand, for some low-power devices, it is also hoped that the power supply can be taken into account to avoid the loss and cost increase caused by the need for external batteries. The current communication methods of peripheral devices and mobile terminals mainly include the following methods: 1) Wireless communication, mainly using Bluetooth technology, WiFi, second-generation and third-generation communication technologies. The advantage is that the communication technology is mature and the scope of application is wide. 2) Use the USB port of the mobile phone for communication, but at present most mobile phones still do not support the OTG protocol, and cannot control peripheral devices through the USB port of the mobile phone; 3) Use the audio port for communication, using the most Lakala equipment is widely used, which uses analog signals, has a high communication bit error rate, and does not support all mobile phones. Wireless communication cannot provide terminal power, and USB has different interface forms for different mobile phones, making it difficult for peripheral devices to adapt to all smart mobile terminals. The only feasible way is to use the audio port for communication and power supply. However, a complete set of solutions for communication and power supply using the audio port has not yet been seen.
发明内容Contents of the invention
本发明要解决的技术问题是现有技术中采用音频口通信的误码率较高、普适性低,且不能为外围设备供电。The technical problem to be solved by the present invention is that in the prior art, the bit error rate of the audio port communication is high, the universality is low, and the peripheral equipment cannot be powered.
为了解决上述技术问题,本发明提供了一种基于音频口的光电式健康参数检测仪,包括音频接口、供电谐振电路、接收谐振电路、信号接收电路、储能电路、电子开关电路、单片机、电压调节电路、H桥电路、红外光发光二极管、红光发光二极管、光电二极管以及运放电路;音频接口由左声道线路、右声道线路和麦克风线路组成,左声道线路与供电谐振电路的谐振信号输入端相连,右声道线路与接收谐振电路的谐振信号输入端相连,麦克风线路与单片机的数据发送端口相连;供电谐振电路的谐振信号输出端与储能电路的电能输入端相连,接收谐振电路的谐振信号输出端分别与储能电路的电能输入端以及信号接收电路的信号输入端相连;信号接收电路的信号输出端与单片机的信号输入端口相连;储能电路的电能输出端与电子开关电路的输入端以及单片机的电源端与相连,电子开关电路的控制端与单片机的开关控制信号输出端口相连,电子开关电路的输出端分别与电压调节电路的供电端、H桥电路的高压端以及运放电路的供电端相连;电压调节电路的控制信号端与单片机的H桥电源控制信号输出端相连,电压调节电路的可控电压输出端与H桥电路的低压端相连;红外光发光二极管和红光发光二极管串联在H桥电路的中间横梁上,且红外光发光二极管和红光发光二极管的偏置极性相反;H桥电路的桥路导通信号输入端与单片机的桥路导通信号输出端口相连;光电二极管的信号输出端与运放电路的信号输入端相连,运放电路的信号输出端与单片机的信号采集端口相连;In order to solve the above-mentioned technical problems, the present invention provides a photoelectric health parameter detector based on an audio interface, including an audio interface, a power supply resonant circuit, a receiving resonant circuit, a signal receiving circuit, an energy storage circuit, an electronic switch circuit, a single-chip microcomputer, a voltage Adjusting circuit, H bridge circuit, infrared light emitting diode, red light emitting diode, photodiode and operational amplifier circuit; the audio interface is composed of left channel line, right channel line and microphone line, and the left channel line and power supply resonant circuit The resonant signal input end is connected, the right channel line is connected with the resonant signal input end of the receiving resonant circuit, the microphone line is connected with the data sending port of the single chip microcomputer; the resonant signal output end of the power supply resonant circuit is connected with the electric energy input end of the energy storage circuit, and the receiving end The resonant signal output end of the resonant circuit is respectively connected with the electric energy input end of the energy storage circuit and the signal input end of the signal receiving circuit; the signal output end of the signal receiving circuit is connected with the signal input port of the single-chip microcomputer; The input terminal of the switch circuit and the power supply terminal of the single-chip microcomputer are connected with each other, the control terminal of the electronic switch circuit is connected with the switch control signal output port of the single-chip microcomputer, and the output terminal of the electronic switch circuit is respectively connected with the power supply terminal of the voltage regulation circuit and the high-voltage terminal of the H-bridge circuit. And the power supply terminal of the operational amplifier circuit is connected; the control signal terminal of the voltage regulation circuit is connected with the H bridge power supply control signal output terminal of the single chip microcomputer, and the controllable voltage output terminal of the voltage regulation circuit is connected with the low voltage terminal of the H bridge circuit; the infrared light emitting diode It is connected in series with the red light-emitting diode on the middle beam of the H-bridge circuit, and the bias polarity of the infrared light-emitting diode and the red light-emitting diode is opposite; the bridge conduction signal input terminal of the H-bridge circuit is conducted with the bridge circuit of the microcontroller The signal output port is connected; the signal output end of the photodiode is connected with the signal input end of the operational amplifier circuit, and the signal output end of the operational amplifier circuit is connected with the signal acquisition port of the single-chip microcomputer;
信号接收电路用于将接收谐振电路输出的谐振波形信号转换为单片机识别的方波脉冲信号;H桥电路在同一时刻只有一组对角的两个桥路导通;电压调节电路用于根据单片机的H桥电源控制信号输出端发送的控制信号改变电压调节电路的可控电压输出端的输出电压值;光电二极管正对红外光发光二极管和红光发光二极管,用于采集红外光发光二极管和红光发光二极管发出的光信号;运放电路用于对光电二极管的信号输出端发送的采集信号进行放大处理。The signal receiving circuit is used to convert the resonant waveform signal output by the receiving resonant circuit into a square wave pulse signal recognized by the single-chip microcomputer; the H-bridge circuit has only one set of two diagonal bridges conducting at the same time; The control signal sent by the control signal output end of the H-bridge power supply changes the output voltage value of the controllable voltage output end of the voltage regulation circuit; The optical signal sent by the light-emitting diode; the operational amplifier circuit is used to amplify and process the acquisition signal sent by the signal output end of the photodiode.
采用供电谐振电路接收左声道传送的频率信号,能够为储能电路提供电能进行存储,从而进一步为检测仪的其他电路提供足够的电能需求,而检测仪本身不具备电源,有效减小了检测仪的体积和使用成本;采用接收谐振电路接收右声道传送的频率信号,能够在不进行信号接收时还能为储能电路提供电能进行存储,进一步提高了储能电路的充电效率,在有限的检测时间内缩短了充电时间延长了血氧数据的采集时间,增强了检测仪的数据采集成功率,缩短了检测周期;采用单片机控制电子开关电路的通断,能够在数据采集完毕后及时切断主要耗电电路的供电,从而使检测仪进入休眠状态,有效节省了电能的损耗,提高了储能电路的单次充电利用率;采用信号接收电路能够将接收谐振电路输出的谐振波形信号转换为单片机可识别的方波脉冲信号,从而使右声道既具备充电功能又具备信号传输功能,提高了音频口硬件的利用率;采用将红外光发光二极管和红光发光二极管偏置极性相反地串联在H桥电路的中间横梁上,能够确保同一时刻只能有一个发光二极管发光的设计要求,同时也能够从硬件设计上避免两个发光二极管同时亮;采用运放电路能够对光电二极管采集的信号进行放大处理,使单片机的A/D端能够有效采集。The power supply resonant circuit is used to receive the frequency signal transmitted by the left channel, which can provide electric energy for the energy storage circuit for storage, thereby further providing sufficient power demand for other circuits of the detector, and the detector itself does not have a power supply, which effectively reduces the detection The volume and cost of use of the instrument; the receiving resonant circuit is used to receive the frequency signal transmitted by the right channel, and it can also provide electric energy for the energy storage circuit for storage when the signal is not received, which further improves the charging efficiency of the energy storage circuit. The detection time shortens the charging time, prolongs the collection time of blood oxygen data, enhances the data collection success rate of the detector, and shortens the detection cycle; the single-chip microcomputer is used to control the on-off of the electronic switch circuit, which can be cut off in time after the data collection is completed. The power supply of the main power consumption circuit, so that the detector enters the dormant state, effectively saves the loss of electric energy, and improves the single charge utilization rate of the energy storage circuit; the signal receiving circuit can convert the resonant waveform signal output by the receiving resonant circuit into The single-chip microcomputer can recognize the square wave pulse signal, so that the right channel has both the charging function and the signal transmission function, which improves the utilization rate of the audio port hardware; the infrared light-emitting diode and the red light-emitting diode are biased in opposite polarity Connected in series on the middle beam of the H-bridge circuit, it can ensure that only one light-emitting diode can emit light at the same time. At the same time, it can also prevent two light-emitting diodes from being on at the same time from the hardware design; The signal is amplified and processed so that the A/D end of the single-chip microcomputer can be effectively collected.
作为本发明的进一步改进方案,还包括分压检测电路,分压检测电路的高压端与储能电路的电能输出端相连,分压检测电路的分压端与单片机的电压采样端口相连。采用分压检测电路能够实时检测储能电路的电压值,从而由单片机通过麦克风线路向音频口对接的外部移动设备发送频率调节请求,由移动设备根据频率调节请求发送相应频率的音频信号,使供电谐振电路获得最佳的谐振效果,从而进一步使储能电路获得足够电压的电能。As a further improvement of the present invention, a voltage division detection circuit is also included, the high voltage end of the voltage division detection circuit is connected to the electric energy output end of the energy storage circuit, and the voltage division end of the voltage division detection circuit is connected to the voltage sampling port of the single-chip microcomputer. The voltage value of the energy storage circuit can be detected in real time by using the voltage division detection circuit, so that the single-chip microcomputer sends a frequency adjustment request to the external mobile device connected to the audio port through the microphone line, and the mobile device sends an audio signal of the corresponding frequency according to the frequency adjustment request to make the power supply The resonant circuit obtains the best resonance effect, so that the energy storage circuit further obtains electric energy of sufficient voltage.
作为本发明的进一步改进方案,还包括一个报警器,报警器与单片机的报警信号输出端相连。由于外部移动设备的音频口在与检测仪对接检测过程中被占用,常常不具备声音报警功能,尤其像手机一类的移动设备,在音频口被占用时将自动设定外置喇叭静音,所以在检测仪上设置报警器尤为重要。As a further improvement of the present invention, an alarm is also included, and the alarm is connected with the alarm signal output end of the single-chip microcomputer. Because the audio port of the external mobile device is occupied during the docking detection process with the detector, it often does not have the sound alarm function, especially mobile devices such as mobile phones, when the audio port is occupied, the external speaker will be automatically set to mute, so It is especially important to set the alarm on the detector.
作为本发明的进一步限定方案,供电谐振电路包括振荡电容C2、振荡电容C4以及振荡电感L1,振荡电容C2和振荡电容C4串联后与振荡电感L1相并联,供电谐振电路的谐振信号输入端位于振荡电容C2和振荡电容C4连接处;振荡电感L1的一端接地,另一端为供电谐振电路的谐振信号输出端。采用该供电谐振电路能够有效提高左声道接收的频率信号的谐振效果,从而成功地为储能电路进行充电。As a further limiting solution of the present invention, the power supply resonant circuit includes an oscillating capacitor C2, an oscillating capacitor C4, and an oscillating inductance L1. The oscillating capacitor C2 and the oscillating capacitor C4 are connected in parallel with the oscillating inductor L1 after being connected in series. The resonance signal input end of the power supply resonant circuit is located at the oscillation The junction of the capacitor C2 and the oscillating capacitor C4; one end of the oscillating inductor L1 is grounded, and the other end is the resonant signal output end of the power supply resonant circuit. The use of the power supply resonant circuit can effectively improve the resonant effect of the frequency signal received by the left channel, thereby successfully charging the energy storage circuit.
作为本发明的进一步改进方案,供电谐振电路的谐振信号输出端与储能电路的电能输入端之间设有稳压管D1,稳压管D1的正极与供电谐振电路的谐振信号输出端相连,稳压管D1的负极与储能电路的电能输入端相连。采用稳压管D1能够将供电谐振电路的谐振信号输出端输出的谐振信号进行平稳处理,进一步提高了储能电路的充电效果。As a further improvement of the present invention, a voltage regulator tube D1 is provided between the resonance signal output end of the power supply resonance circuit and the energy input end of the energy storage circuit, and the positive pole of the voltage regulator tube D1 is connected to the resonance signal output end of the power supply resonance circuit. The negative electrode of the regulator tube D1 is connected to the electric energy input end of the energy storage circuit. The use of the regulator tube D1 can stabilize the resonant signal output from the resonant signal output end of the power supply resonant circuit, further improving the charging effect of the energy storage circuit.
作为本发明的进一步限定方案,接收谐振电路包括振荡电容C5、振荡电容C6以及振荡电感L2,振荡电容C5和振荡电容C6串联后与振荡电感L2相并联,接收谐振电路的谐振信号输入端位于振荡电容C5和振荡电容C6连接处;振荡电感L2的一端接地,另一端为接收谐振电路的谐振信号输出端。采用该接收谐振电路能够有效提高右声道接收的频率信号的谐振效果,从而成功地为储能电路进行充电。As a further limiting solution of the present invention, the receiving resonant circuit includes an oscillating capacitor C5, an oscillating capacitor C6, and an oscillating inductance L2. The oscillating capacitor C5 and the oscillating capacitor C6 are connected in parallel with the oscillating inductor L2 after being connected in series. The resonant signal input terminal of the receiving resonant circuit is located at the oscillation The junction of the capacitor C5 and the oscillating capacitor C6; one end of the oscillating inductance L2 is grounded, and the other end is the output end of the resonant signal receiving resonant circuit. The use of the receiving resonance circuit can effectively improve the resonance effect of the frequency signal received by the right channel, thereby successfully charging the energy storage circuit.
作为本发明的进一步改进方案,接收谐振电路的谐振信号输入端与储能电路的电能输入端之间设有稳压管D2,稳压管D2的正极与接收谐振电路的谐振信号输出端相连,稳压管D2的负极与储能电路的电能输入端相连。采用稳压管D2能够将接收谐振电路的谐振信号输出端输出的谐振信号进行平稳处理,进一步提高了储能电路的充电效果。As a further improvement of the present invention, a voltage regulator tube D2 is provided between the resonance signal input end of the receiving resonant circuit and the energy input end of the energy storage circuit, and the positive pole of the voltage regulator tube D2 is connected to the resonance signal output end of the receiving resonance circuit. The negative pole of the regulator tube D2 is connected to the electric energy input end of the energy storage circuit. The use of the regulator tube D2 can smoothly process the resonant signal output from the resonant signal output end of the receiving resonant circuit, further improving the charging effect of the energy storage circuit.
作为本发明的进一步限定方案,信号接收电路包括检波二极管D3、电容C7以及电阻R8,检波二极管D3的正极与接收谐振电路的谐振信号输出端相连,检波二极管D3的负极与单片机的信号输入端口相连;电容C7的一端与检波二极管D3的负极相连,另一端接地;电阻R8的一端与检波二极管D3的负极相连,另一端接地。采用检波二极管D3进行检波,实现对接收谐振电路的谐振信号输出端输出的谐振信号的平稳处理,然后再通过电容C7和电阻R8构成的RC电路进行高频部分的滤波。As a further limiting solution of the present invention, the signal receiving circuit includes a detection diode D3, a capacitor C7 and a resistor R8, the positive pole of the detection diode D3 is connected to the output terminal of the resonance signal of the receiving resonant circuit, and the negative pole of the detection diode D3 is connected to the signal input port of the single-chip microcomputer ; One end of the capacitor C7 is connected to the negative pole of the detection diode D3, and the other end is grounded; one end of the resistor R8 is connected to the negative pole of the detection diode D3, and the other end is grounded. The detection diode D3 is used for detection to realize the smooth processing of the resonance signal output from the resonance signal output end of the receiving resonance circuit, and then the high-frequency part is filtered through the RC circuit composed of the capacitor C7 and the resistor R8.
作为本发明的进一步限定方案,麦克风线路与单片机的数据发送端口之间还设有电压适应电路,电压适应电路包括下拉电阻R7、适应电阻R5以及适应电阻R6;适应电阻R5的阻值大于适应电阻R6的阻值;适应电阻R5和适应电阻R6的一端相连后再与麦克风线路相连,适应电阻R5和适应电阻R6的另一端分别连接至单片机不同的数据发送端口;下拉电阻R7的一端连接在适应电阻R5和适应电阻R6的连接处,另一端接地。在麦克风线路与单片机的数据发送端口之间设置适应电阻R5或适应电阻R6,能够使单片机根据对接的外部移动设备电平要求选择合适的发送端口进行信号发送,提高了检测仪的适应能力。As a further limiting scheme of the present invention, a voltage adaptation circuit is also provided between the microphone line and the data transmission port of the microcontroller, and the voltage adaptation circuit includes a pull-down resistor R7, an adaptation resistor R5 and an adaptation resistor R6; the resistance of the adaptation resistor R5 is greater than the adaptation resistor The resistance value of R6; the adaptation resistor R5 is connected to one end of the adaptation resistance R6 and then connected to the microphone line, and the other end of the adaptation resistance R5 and the adaptation resistance R6 are respectively connected to different data sending ports of the MCU; The other end of the junction of the resistor R5 and the adaptive resistor R6 is grounded. An adaptation resistor R5 or an adaptation resistor R6 is set between the microphone line and the data transmission port of the single-chip microcomputer, which can enable the single-chip microcomputer to select a suitable transmission port for signal transmission according to the level requirements of the connected external mobile device, and improve the adaptability of the detector.
作为本发明的进一步限定方案,电压调节电路包括电阻R16、电阻R19、电阻R20、三极管Q6以及三极管Q7;三极管Q6的集电极与H桥电路的低压端相连,三极管Q6的发射极与电阻R19的一端相连,三极管Q6的基极与三极管Q7的集电极相连;三极管Q7的集电极还与电阻R16的一端相连,三极管Q7的发射极接地,三极管Q7的基极与单片机的H桥电源控制信号输出端相连;电阻R16的另一端与电子开关电路的输出端相连;电阻R19的另一端接地;电阻R20的一端与三极管Q7的基极相连,电阻R20的另一端接地;三极管Q6为NPN型三极管,三极管Q7为PNP型三极管。采用单片机发送不同频率的方波信号来控制三极管Q7的通断,使电压调节电路的可控电压输出端输出可控的电压值,从而使H桥电路的高压端与低压端之间呈现出可控的压降,使加载在红外光发光二极管和红光发光二极管上的电压值实现可控,从而应对不同的使用者,提高了检测仪的普适性。As a further limiting solution of the present invention, the voltage regulating circuit includes a resistor R16, a resistor R19, a resistor R20, a transistor Q6, and a transistor Q7; One end is connected, the base of the transistor Q6 is connected with the collector of the transistor Q7; the collector of the transistor Q7 is also connected with one end of the resistor R16, the emitter of the transistor Q7 is grounded, the base of the transistor Q7 is output with the H-bridge power supply control signal of the microcontroller The other end of the resistor R16 is connected to the output end of the electronic switch circuit; the other end of the resistor R19 is grounded; one end of the resistor R20 is connected to the base of the transistor Q7, and the other end of the resistor R20 is grounded; the transistor Q6 is an NPN transistor. The transistor Q7 is a PNP transistor. Using the single-chip microcomputer to send square wave signals of different frequencies to control the on-off of the triode Q7, so that the controllable voltage output terminal of the voltage regulation circuit can output a controllable voltage value, so that there is a controllable voltage between the high-voltage terminal and the low-voltage terminal of the H-bridge circuit. The controlled voltage drop makes the voltage value loaded on the infrared light-emitting diode and the red light-emitting diode controllable, so as to cope with different users and improve the universality of the detector.
本发明的有益效果在于:(1)采用供电谐振电路接收左声道传送的频率信号,能够为储能电路提供电能进行存储,从而进一步为检测仪的其他电路提供足够的电能需求,而检测仪本身不具备电源,有效减小了检测仪的体积和使用成本;(2)采用接收谐振电路接收右声道传送的频率信号,能够在不进行信号接收时还能为储能电路提供电能进行存储,进一步提高了储能电路的充电效率,在有限的检测时间内缩短了充电时间延长了血氧数据的采集时间,增强了检测仪的数据采集成功率,缩短了检测周期;(3)采用单片机控制电子开关电路的通断,能够在数据采集完毕后及时切断主要耗电电路的供电,从而使检测仪进入休眠状态,有效节省了电能的损耗,提高了储能电路的单次充电利用率;(4)采用信号接收电路能够将接收谐振电路输出的谐振波形信号转换为单片机可识别的方波脉冲信号,从而使右声道既具备充电功能又具备信号传输功能,提高了音频口硬件的利用率;(5)采用将红外光发光二极管和红光发光二极管偏置极性相反地串联在H桥电路的中间横梁上,能够确保同一时刻只能有一个发光二极管发光的设计要求,同时也能够从硬件设计上避免两个发光二极管同时亮;(6)采用运放电路能够对光电二极管采集的信号进行放大处理,使单片机的A/D端能够有效采集。The beneficial effects of the present invention are: (1) adopting the power supply resonant circuit to receive the frequency signal transmitted by the left channel can provide electric energy for the energy storage circuit for storage, thereby further providing enough electric energy demand for other circuits of the detector, and the detector It does not have a power source, which effectively reduces the size and cost of the detector; (2) The receiving resonant circuit is used to receive the frequency signal transmitted by the right channel, and it can also provide electric energy for the energy storage circuit for storage when the signal is not receiving , further improving the charging efficiency of the energy storage circuit, shortening the charging time within a limited detection time, prolonging the collection time of blood oxygen data, enhancing the success rate of data collection of the detector, and shortening the detection cycle; (3) using a single-chip microcomputer Controlling the on-off of the electronic switch circuit can cut off the power supply of the main power-consuming circuit in time after the data collection is completed, so that the detector enters a dormant state, which effectively saves the loss of electric energy and improves the single-charge utilization rate of the energy storage circuit; (4) The signal receiving circuit can convert the resonant waveform signal output by the receiving resonant circuit into a square wave pulse signal recognizable by the single-chip microcomputer, so that the right channel has both charging function and signal transmission function, and improves the utilization of audio port hardware (5) The infrared light-emitting diode and the red light-emitting diode are connected in series on the middle beam of the H-bridge circuit with opposite bias polarity, which can ensure that only one light-emitting diode can emit light at the same time. In terms of hardware design, two light-emitting diodes are prevented from being bright at the same time; (6) The signal collected by the photodiode can be amplified by using an operational amplifier circuit, so that the A/D terminal of the single-chip microcomputer can be effectively collected.
附图说明Description of drawings
图1为本发明的结构示意图;Fig. 1 is a structural representation of the present invention;
图2为本发明的音频口电路连接结构示意图;Fig. 2 is a schematic diagram of the connection structure of the audio port circuit of the present invention;
图3为本发明的H桥电路和电压调节电路结构示意图;Fig. 3 is the structural representation of H bridge circuit and voltage regulating circuit of the present invention;
图4为本发明的运放电路结构示意图;Fig. 4 is the operational amplifier circuit structure schematic diagram of the present invention;
图5为本发明的单片机端口示意图;Fig. 5 is a schematic diagram of the port of the single-chip microcomputer of the present invention;
图6为本发明的分压检测电路结构示意图;Fig. 6 is a schematic structural diagram of a voltage division detection circuit of the present invention;
图7为本发明的接收谐振电路输出的谐振信号;Fig. 7 is the resonant signal output by the receiving resonant circuit of the present invention;
图8为本发明的信号接收电路处理后获得的方波脉冲信号。FIG. 8 is a square wave pulse signal obtained after processing by the signal receiving circuit of the present invention.
具体实施方式Detailed ways
如图1所示,本发明提供了一种基于音频口的光电式健康参数检测仪,包括音频接口、供电谐振电路1、接收谐振电路3、信号接收电路5、储能电路2、电子开关电路6、单片机10、电压调节电路8、H桥电路7、红外光发光二极管、红光发光二极管、光电二极管以及运放电路9;音频接口由左声道线路、右声道线路和麦克风线路组成,左声道线路与供电谐振电路1的谐振信号输入端相连,右声道线路与接收谐振电路3的谐振信号输入端相连,麦克风线路与单片机10的数据发送端口相连;供电谐振电路1的谐振信号输出端与储能电路2的电能输入端相连,接收谐振电路3的谐振信号输出端分别与储能电路2的电能输入端以及信号接收电路5的信号输入端相连;信号接收电路5的信号输出端与单片机10的信号输入端口相连;储能电路2的电能输出端与电子开关电路6的输入端以及单片机10的电源端与相连,电子开关电路6的控制端与单片机10的开关控制信号输出端口相连,电子开关电路6的输出端分别与电压调节电路8的供电端、H桥电路7的高压端以及运放电路9的供电端相连;电压调节电路8的控制信号端与单片机10的H桥电源控制信号输出端相连,电压调节电路8的可控电压输出端与H桥电路7的低压端相连;红外光发光二极管和红光发光二极管串联在H桥电路7的中间横梁上,且红外光发光二极管和红光发光二极管的偏置极性相反;H桥电路7的桥路导通信号输入端与单片机10的桥路导通信号输出端口相连;光电二极管的信号输出端与运放电路9的信号输入端相连,运放电路9的信号输出端与单片机10的信号采集端口相连;As shown in Figure 1, the present invention provides a photoelectric health parameter detector based on an audio port, including an audio port, a power supply resonant circuit 1, a receiving resonant circuit 3, a signal receiving circuit 5, an energy storage circuit 2, and an electronic switch circuit 6. Single-chip microcomputer 10, voltage regulation circuit 8, H-bridge circuit 7, infrared light-emitting diode, red light-emitting diode, photodiode and operational amplifier circuit 9; the audio interface is composed of left channel line, right channel line and microphone line, The left channel line is connected with the resonance signal input end of the power supply resonance circuit 1, the right channel line is connected with the resonance signal input end of the receiving resonance circuit 3, and the microphone line is connected with the data sending port of the single-chip microcomputer 10; the resonance signal of the power supply resonance circuit 1 The output end is connected with the power input end of the energy storage circuit 2, and the resonance signal output end of the receiving resonant circuit 3 is respectively connected with the power input end of the energy storage circuit 2 and the signal input end of the signal receiving circuit 5; the signal output of the signal receiving circuit 5 terminal is connected with the signal input port of the single-chip microcomputer 10; the electric energy output terminal of the energy storage circuit 2 is connected with the input terminal of the electronic switch circuit 6 and the power supply terminal of the single-chip microcomputer 10; the control terminal of the electronic switch circuit 6 is connected with the switch control signal output of the single-chip microcomputer 10 Ports are connected, and the output terminal of electronic switch circuit 6 is connected with the power supply terminal of voltage regulating circuit 8, the high voltage terminal of H bridge circuit 7 and the power supply terminal of operational amplifier circuit 9 respectively; The control signal terminal of voltage regulating circuit 8 is connected with the H The control signal output end of the bridge power supply is connected, and the controllable voltage output end of the voltage regulating circuit 8 is connected with the low voltage end of the H bridge circuit 7; The bias polarity of the light emitting diode and the red light emitting diode is opposite; the bridge conduction signal input end of the H bridge circuit 7 is connected with the bridge conduction signal output port of the single chip microcomputer 10; the signal output end of the photodiode is connected with the operational amplifier circuit The signal input end of 9 is connected, and the signal output end of operational amplifier circuit 9 is connected with the signal acquisition port of single-chip microcomputer 10;
信号接收电路5用于将接收谐振电路3输出的谐振波形信号转换为单片机10识别的方波脉冲信号;H桥电路7在同一时刻只有一组对角的两个桥路导通;电压调节电路8用于根据单片机10的H桥电源控制信号输出端发送的控制信号改变电压调节电路8的可控电压输出端的输出电压值;光电二极管正对红外光发光二极管和红光发光二极管,用于采集红外光发光二极管和红光发光二极管发出的光信号;运放电路9用于对光电二极管的信号输出端发送的采集信号进行放大处理。The signal receiving circuit 5 is used to convert the resonant waveform signal output by the receiving resonant circuit 3 into a square wave pulse signal recognized by the single-chip microcomputer 10; the H-bridge circuit 7 has only two bridges of a group of diagonals conducting at the same time; the voltage regulation circuit 8 is used to change the output voltage value of the controllable voltage output terminal of the voltage regulation circuit 8 according to the control signal sent by the H-bridge power supply control signal output terminal of the single-chip microcomputer 10; the photodiode is facing the infrared light emitting diode and the red light emitting diode for collecting The optical signal sent by the infrared light emitting diode and the red light emitting diode; the operational amplifier circuit 9 is used to amplify and process the acquisition signal sent by the signal output end of the photodiode.
为了能够根据实际检测电压来实时调节储能电路2的电压,使储能电路2的电压能够满足检测仪的耗能电路的电能,本发明还包括分压检测电路11,分压检测电路11的高压端与储能电路2的电能输出端相连,分压检测电路11的分压端与单片机10的电压采样端口相连。采用分压检测电路11能够实时检测储能电路2的电压值,从而由单片机10通过麦克风线路向音频口对接的外部移动设备发送频率调节请求,由移动设备根据频率调节请求发送相应频率的音频信号,使供电谐振电路1获得最佳的谐振效果,从而进一步使储能电路2获得足够电压的电能。In order to adjust the voltage of the energy storage circuit 2 in real time according to the actual detection voltage, so that the voltage of the energy storage circuit 2 can meet the electric energy of the energy consumption circuit of the detector, the present invention also includes a voltage division detection circuit 11, and the voltage division detection circuit 11 The high voltage terminal is connected to the electric energy output terminal of the energy storage circuit 2 , and the voltage dividing terminal of the voltage dividing detection circuit 11 is connected to the voltage sampling port of the single chip microcomputer 10 . Using the voltage division detection circuit 11 can detect the voltage value of the energy storage circuit 2 in real time, so that the single-chip microcomputer 10 sends a frequency adjustment request to the external mobile device docked with the audio port through the microphone line, and the mobile device sends an audio signal of a corresponding frequency according to the frequency adjustment request. , so that the power supply resonant circuit 1 can obtain the best resonance effect, so that the energy storage circuit 2 can further obtain electric energy of sufficient voltage.
为了能够使检测仪具备独立的报警功能,本发明还包括一个报警器,报警器与单片机10的报警信号输出端相连。由于外部移动设备的音频口在与检测仪对接检测过程中被占用,常常不具备声音报警功能,尤其像手机一类的移动设备,在音频口被占用时将自动设定外置喇叭静音,所以在检测仪上设置报警器尤为重要。In order to enable the detector to have an independent alarm function, the present invention also includes an alarm, which is connected to the alarm signal output end of the single-chip microcomputer 10 . Because the audio port of the external mobile device is occupied during the docking detection process with the detector, it often does not have the sound alarm function, especially mobile devices such as mobile phones, when the audio port is occupied, the external speaker will be automatically set to mute, so It is especially important to set the alarm on the detector.
本发明的电子开关电路6包括电阻R1、电阻R3以及MOS管Q1,电阻R1的一端与MOS管Q1的栅极相连,电阻R1的另一端与单片机10的开关控制信号输出端口IRC0相连,电阻R3连接在MOS管Q1的栅极和源极之间,MOS管Q1的漏极输出为VAA的电压源。Electronic switch circuit 6 of the present invention comprises resistance R1, resistance R3 and MOS transistor Q1, and one end of resistance R1 is connected with the gate of MOS transistor Q1, and the other end of resistance R1 is connected with the switch control signal output port IRC0 of single-chip microcomputer 10, and resistance R3 Connected between the gate and the source of the MOS transistor Q1, the output of the drain of the MOS transistor Q1 is a voltage source of VAA.
如图2所示,本发明的供电谐振电路1包括振荡电容C2、振荡电容C4以及振荡电感L1,振荡电容C2和振荡电容C4串联后与振荡电感L1相并联,供电谐振电路的谐振信号输入端位于振荡电容C2和振荡电容C4连接处;振荡电感L1的一端接地,另一端为供电谐振电路的谐振信号输出端,供电谐振电路1放大左声道接收的频率信号幅度的倍数为50~200。采用该供电谐振电路1能够有效提高左声道接收的频率信号的谐振效果,从而成功地为储能电路进行充电。As shown in Figure 2, the power supply resonant circuit 1 of the present invention includes an oscillating capacitor C2, an oscillating capacitor C4, and an oscillating inductance L1. It is located at the junction of the oscillation capacitor C2 and the oscillation capacitor C4; one end of the oscillation inductor L1 is grounded, and the other end is the output end of the resonance signal of the power supply resonant circuit. The power supply resonant circuit 1 amplifies the amplitude of the frequency signal received by the left channel by 50 to 200 times. The use of the power supply resonance circuit 1 can effectively improve the resonance effect of the frequency signal received by the left channel, thereby successfully charging the energy storage circuit.
为了进一步提高储能电路2的充电效果,本发明的供电谐振电路1的谐振信号输出端与储能电路的电能输入端之间设有稳压管D1,稳压管D1的正极与供电谐振电路的谐振信号输出端相连,稳压管D1的负极与储能电路的电能输入端相连。采用稳压管D1能够将供电谐振电路1的谐振信号输出端输出的谐振信号进行平稳处理,进一步提高了储能电路2的充电效果。In order to further improve the charging effect of the energy storage circuit 2, a voltage regulator tube D1 is arranged between the resonance signal output end of the power supply resonant circuit 1 of the present invention and the electric energy input end of the energy storage circuit, and the positive pole of the voltage regulator tube D1 is connected to the power supply resonant circuit. The resonant signal output terminal of the voltage regulator tube D1 is connected to the output terminal of the electric energy of the energy storage circuit. The use of the regulator tube D1 can stabilize the resonant signal output from the resonant signal output end of the power supply resonant circuit 1 , further improving the charging effect of the energy storage circuit 2 .
本发明的接收谐振电路3包括振荡电容C5、振荡电容C6以及振荡电感L2,振荡电容C5和振荡电容C6串联后与振荡电感L2相并联,接收谐振电路的谐振信号输入端位于振荡电容C5和振荡电容C6连接处;振荡电感L2的一端接地,另一端为接收谐振电路的谐振信号输出端,接收谐振电路3放大右声道接收的频率信号幅度的倍数为50~200。采用该接收谐振电路3能够有效提高右声道接收的频率信号的谐振效果,从而成功地为储能电路2进行充电。The receiving resonant circuit 3 of the present invention includes an oscillating capacitor C5, an oscillating capacitor C6, and an oscillating inductance L2. The oscillating capacitor C5 and the oscillating capacitor C6 are connected in parallel with the oscillating inductance L2 after being connected in series. The connection of the capacitor C6; one end of the oscillating inductance L2 is grounded, and the other end is the resonant signal output end of the receiving resonant circuit. The receiving resonant circuit 3 amplifies the frequency signal received by the right channel by a multiple of 50-200. The use of the receiving resonance circuit 3 can effectively improve the resonance effect of the frequency signal received by the right channel, thereby successfully charging the energy storage circuit 2 .
为了进一步提高储能电路2的充电效果,本发明的接收谐振电路的谐振信号输入端与储能电路的电能输入端之间设有稳压管D2,稳压管D2的正极与接收谐振电路的谐振信号输出端相连,稳压管D2的负极与储能电路的电能输入端相连。采用稳压管D2能够将接收谐振电路3的谐振信号输出端输出的谐振信号进行平稳处理,进一步提高了储能电路2的充电效果。In order to further improve the charging effect of the energy storage circuit 2, a voltage regulator tube D2 is arranged between the resonance signal input end of the receiving resonant circuit of the present invention and the electric energy input end of the energy storage circuit, and the positive pole of the voltage regulator tube D2 is connected to the receiving resonance circuit. The resonant signal output terminal is connected, and the negative electrode of the regulator tube D2 is connected with the electric energy input terminal of the energy storage circuit. The use of the voltage regulator tube D2 can smoothly process the resonance signal output from the resonance signal output end of the receiving resonance circuit 3 , further improving the charging effect of the energy storage circuit 2 .
如图1、7和8所示,本发明的信号接收电路5包括检波二极管D3、电容C7以及电阻R8,检波二极管D3的正极与接收谐振电路的谐振信号输出端相连,检波二极管D3的负极端与单片机的信号输入端口RXD相连;电容C7的一端与检波二极管D3的负极相连,另一端接地;电阻R8的一端与检波二极管D3的负极相连,另一端接地。采用检波二极管D3对如图6所示的谐振信号进行检波,实现对接收谐振电路5的谐振信号输出端输出的谐振信号的平稳处理,然后再通过电容C7和电阻R8构成的RC电路进行高频部分的滤波,最终获得如图8所示的方波脉冲信号,设RC电路的时间常数为τ,谐振后的音频频率为f1,单片机10接收信号的频率为f2,则需要时间常数τ满足:f1<1/τ<<f2,将RC电路的时间常数τ设定在该范围内能够有效防止出现传输失败或传输误码。As shown in Figures 1, 7 and 8, the signal receiving circuit 5 of the present invention includes a detection diode D3, a capacitor C7 and a resistor R8, the positive pole of the detection diode D3 is connected with the resonant signal output end of the receiving resonant circuit, and the negative terminal of the detection diode D3 It is connected with the signal input port RXD of the single-chip microcomputer; one end of the capacitor C7 is connected with the cathode of the detection diode D3, and the other end is grounded; one end of the resistor R8 is connected with the cathode of the detection diode D3, and the other end is grounded. Use the detection diode D3 to detect the resonance signal as shown in Figure 6, realize the smooth processing of the resonance signal output by the resonance signal output end of the receiving resonance circuit 5, and then perform high frequency through the RC circuit composed of the capacitor C7 and the resistor R8. Partial filtering finally obtains a square wave pulse signal as shown in Figure 8, assuming that the time constant of the RC circuit is τ, the audio frequency after resonance is f 1 , and the frequency of the signal received by the single-chip microcomputer 10 is f 2 , then the time constant τ is required Satisfying: f 1 <1/τ<<f 2 , setting the time constant τ of the RC circuit within this range can effectively prevent transmission failure or transmission error.
为了进一步提高检测仪的普适性,本发明在麦克风线路与单片机10的数据发送端口之间还设有电压适应电路4,电压适应电路4包括下拉电阻R7、适应电阻R5以及适应电阻R6;适应电阻R5的阻值大于适应电阻R6的阻值;适应电阻R5和适应电阻R6的一端相连后再与麦克风线路相连,适应电阻R5和适应电阻R6的另一端P0.1和P0.2分别连接至单片机不同的数据发送端口P0.1和P0.2;下拉电阻R7的一端连接在适应电阻R5和适应电阻R6的连接处,另一端接地。在麦克风线路与单片机的数据发送端口之间设置适应电阻R5或适应电阻R6,能够使单片机根据对接的外部移动设备电平要求选择合适的发送端口进行信号发送,提高了检测仪的适应能力。In order to further improve the universality of the detector, the present invention is also provided with a voltage adaptation circuit 4 between the data transmission port of the microphone circuit and the single-chip microcomputer 10, and the voltage adaptation circuit 4 includes a pull-down resistor R7, an adaptation resistor R5 and an adaptation resistor R6; The resistance value of the resistor R5 is greater than the resistance value of the adaptive resistor R6; one end of the adaptive resistor R5 is connected to the adaptive resistor R6 and then connected to the microphone line, and the other ends P0.1 and P0.2 of the adaptive resistor R5 and the adaptive resistor R6 are respectively connected to Different data sending ports P0.1 and P0.2 of the single-chip microcomputer; one end of the pull-down resistor R7 is connected to the junction of the adaptation resistor R5 and the adaptation resistor R6, and the other end is grounded. An adaptation resistor R5 or an adaptation resistor R6 is set between the microphone line and the data transmission port of the single-chip microcomputer, which can enable the single-chip microcomputer to select a suitable transmission port for signal transmission according to the level requirements of the connected external mobile device, and improve the adaptability of the detector.
如图3所示,本发明的H桥电路为常用的H桥电路,一共包括左右对称的四个桥路,H桥电路的高压端与电子开关电路6的输出端VAA相连,低压端与电阻R16的另一端相连,H桥电路的中间横梁上连接红外光发光二极管的正极LED+和红光发光二极管的正极IR+,左侧的两个桥路的桥路导通信号输入端与单片机10的桥路导通信号输出端口IRO0相连,右侧的两个桥路的桥路导通信号输入端与单片机10的桥路导通信号输出端口IRO1相连。As shown in Figure 3, the H-bridge circuit of the present invention is a commonly used H-bridge circuit, including four symmetrical bridge circuits. The other end of R16 is connected, and the positive pole LED+ of the infrared light-emitting diode and the positive pole IR+ of the red light-emitting diode are connected to the middle crossbeam of the H-bridge circuit. The bridge conduction signal output port IRO0 of the two bridges on the right is connected to the bridge conduction signal output port IRO1 of the single-chip microcomputer 10 .
本发明的电压调节电路8包括电阻R16、电阻R19、电阻R20、三极管Q6以及三极管Q7;三极管Q6的集电极与H桥电路的低压端相连,三极管Q6的发射极与电阻R19的一端相连,三极管Q6的基极与三极管Q7的集电极相连;三极管Q7的集电极还与电阻R16的一端相连,三极管Q7的发射极接地,三极管Q7的基极与单片机的H桥电源控制信号输出端IDA相连;电阻R16的另一端与电子开关电路的输出端VAA相连;电阻R19的另一端接地;电阻R20的一端与三极管Q7的基极相连,电阻R20的另一端接地;三极管Q6为NPN型三极管,三极管Q7为PNP型三极管。采用单片机10发送不同频率的方波信号来控制三极管Q7的通断,使电压调节电路8的可控电压输出端输出可控的电压值,从而使H桥电路7的高压端与低压端之间呈现出可控的压降,使加载在红外光发光二极管和红光发光二极管上的电压值实现可控,从而应对不同的使用者,提高了检测仪的普适性。The voltage regulating circuit 8 of the present invention comprises resistor R16, resistor R19, resistor R20, transistor Q6 and transistor Q7; The base of Q6 is connected to the collector of transistor Q7; the collector of transistor Q7 is also connected to one end of resistor R16, the emitter of transistor Q7 is grounded, and the base of transistor Q7 is connected to the H-bridge power supply control signal output terminal IDA of the single-chip microcomputer; The other end of the resistor R16 is connected to the output terminal VAA of the electronic switch circuit; the other end of the resistor R19 is grounded; one end of the resistor R20 is connected to the base of the transistor Q7, and the other end of the resistor R20 is grounded; the transistor Q6 is an NPN transistor, and the transistor Q7 It is a PNP transistor. The single-chip microcomputer 10 is used to send square wave signals of different frequencies to control the on-off of the triode Q7, so that the controllable voltage output terminal of the voltage regulation circuit 8 outputs a controllable voltage value, thereby making the connection between the high-voltage end and the low-voltage end of the H-bridge circuit 7 Presenting a controllable voltage drop, the voltage value loaded on the infrared light-emitting diode and the red light-emitting diode can be controlled, so as to cope with different users and improve the universality of the detector.
如图4所示,本发明的运放电路9为常见的运放电路,用于将光电二极管的采集信号放大8~10倍,其中,PHO+和PHO-分别与光电二极管的正负极相连接,信号输出端与单片机10的信号采集端口ADC1相连,VAA电压由电子开关电路6的输出端提供,VDD电压与单片机10的DVV端口相连,该运放电路9放大光电二极管采集信号的倍数为50~150。As shown in Figure 4, the operational amplifier circuit 9 of the present invention is a common operational amplifier circuit, which is used to amplify the acquisition signal of the photodiode by 8 to 10 times, wherein PHO+ and PHO- are respectively connected to the positive and negative poles of the photodiode , the signal output end is connected with the signal acquisition port ADC1 of the single-chip microcomputer 10, the VAA voltage is provided by the output end of the electronic switch circuit 6, the VDD voltage is connected with the DVV port of the single-chip microcomputer 10, and the multiple of the photodiode acquisition signal amplified by the operational amplifier circuit 9 is 50 ~150.
如图5所示,本发明的单片机10为具有A/D采样功能的微处理器,在单片机10上设有开关控制信号输出端口IRC0、信号输入端口RXD、数据发送端口P0.1、数据发送端口P0.2、桥路导通信号输出端口IRO0、桥路导通信号输出端口IRO1、H桥电源控制信号输出端IDA、信号采集端口ADC1、电压采样端口ADC0以及DVV端口。As shown in Figure 5, single-chip microcomputer 10 of the present invention is the microprocessor with A/D sampling function, is provided with switch control signal output port IRC0, signal input port RXD, data transmission port P0.1, data transmission on single-chip microcomputer 10 Port P0.2, bridge conduction signal output port IRO0, bridge conduction signal output port IRO1, H-bridge power supply control signal output terminal IDA, signal acquisition port ADC1, voltage sampling port ADC0, and DVV port.
如图6所示,本发明的分压检测电路11的包括串联在储能电路2的电能输出端与地之间的分压电阻R2和电阻R4,单片机的电压采样端口ADC0连接在电阻R2和电阻R4之间的连接处。As shown in Figure 6, the divided voltage detection circuit 11 of the present invention comprises a voltage divided resistor R2 and a resistor R4 connected in series between the electric energy output terminal of the energy storage circuit 2 and the ground, and the voltage sampling port ADC0 of the single-chip microcomputer is connected between the resistor R2 and the resistor R4. connection between resistor R4.
本发明的光电式健康参数检测仪在工作时,首先将外部移动设备通过音频接口与检测仪相对接,并通过右声道向单片机10发送唤醒信号,再由移动设备通过左声道和右声道向供电谐振电路1和接收谐振电路3发送移动频率的音频信号,由供电谐振电路1和接收谐振电路3进行谐振放大,再分别通过稳压管D1和稳压管D2后对储能电路2的储能电容C1充电,同时分压检测电路11实时采集储能电容C1的电压,若储能电容C1的电压还未达到设定的工作电压,则由单片机10通过数据发送端口P0.1发送音频频率变换信息,此时若数据发送端口P0.1发送后电压未变化,则再通过数据发送端口P0.2发送音频频率变换信息,在外部移动设备增音频频率后,再由分压检测电路11采集储能电容C1的电压,直到满足工作电压要求,并在达到工作电压后由单片机10通过麦克风线路向移动设备发送充电完成信号,再由移动设备通过右声道连接的信号接收电路5向单片机发送采集命令,此时,左声道仍然处于充电状态,在右声道传输完成采集命令后将再次进入充电状态;在进行数据采集时,首先由单片机10控制电子开关电路6发送接通命令,接通电压调节电路8、H桥电路7以及运放电路9的供电,再由单片机10控制H桥电路7的对角桥路交替通断,使红外光发光二极管和红光发光二极管交替发光,再由光电二极管实时采集光信号,然后再通过运放电路9完成信号的放大供单片机10采集,最后单片机10再将采集完成的信号通过麦克风线路发送给外部移动设备,至此完成血氧数据的采集,在全部血氧数据采集完成后,由单片机10向电子开关电路6发送断开命令,断开电压调节电路8、H桥电路7以及运放电路9的供电,同时单片机10也进入低功耗模式。When the photoelectric health parameter detector of the present invention is working, an external mobile device is first connected to the detector through an audio interface, and a wake-up signal is sent to the single-chip microcomputer 10 through the right sound channel, and then the mobile device passes the left sound channel and the right sound The channel sends audio signals of mobile frequencies to the power supply resonant circuit 1 and the receiving resonant circuit 3, and the power supply resonant circuit 1 and the receiving resonant circuit 3 carry out resonant amplification, and then pass through the voltage regulator tube D1 and the voltage regulator tube D2 respectively to the energy storage circuit 2 The energy storage capacitor C1 is charged, and at the same time, the voltage division detection circuit 11 collects the voltage of the energy storage capacitor C1 in real time. If the voltage of the energy storage capacitor C1 has not reached the set working voltage, the single chip microcomputer 10 sends the data through the data transmission port P0.1 Audio frequency conversion information. At this time, if the voltage does not change after the data transmission port P0.1 is sent, then the audio frequency conversion information is sent through the data transmission port P0.2. After the external mobile device increases the audio frequency, the voltage division detection circuit 11 Collect the voltage of the energy storage capacitor C1 until the working voltage requirement is met, and after reaching the working voltage, the single-chip microcomputer 10 sends a charging completion signal to the mobile device through the microphone line, and then the mobile device connects to the signal receiving circuit 5 through the right channel Single-chip microcomputer sends collection order, and at this moment, left sound channel is still in charging state, will enter charging state again after right sound channel transmission completes collection order; When carrying out data collection, at first by single-chip microcomputer 10 control electronic switch circuit 6 and send connection order , turn on the power supply of the voltage regulating circuit 8, the H bridge circuit 7 and the op amp circuit 9, and then the single chip microcomputer 10 controls the alternate on-off of the diagonal bridge circuit of the H bridge circuit 7, so that the infrared light emitting diode and the red light emitting diode emit light alternately , and then the photodiode collects the optical signal in real time, and then completes the amplification of the signal through the operational amplifier circuit 9 for the single-chip microcomputer 10 to collect, and finally the single-chip microcomputer 10 sends the collected signal to the external mobile device through the microphone line, and thus completes the blood oxygen data. Acquisition, after the collection of all blood oxygen data is completed, the single-chip microcomputer 10 sends a disconnection command to the electronic switch circuit 6, and the power supply of the voltage regulation circuit 8, the H-bridge circuit 7 and the operational amplifier circuit 9 is disconnected, and the single-chip microcomputer 10 also enters the low-power mode at the same time. consumption mode.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410718254.7A CN104573317B (en) | 2014-12-01 | 2014-12-01 | Photoelectric health parameter detector based on audio port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410718254.7A CN104573317B (en) | 2014-12-01 | 2014-12-01 | Photoelectric health parameter detector based on audio port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104573317A true CN104573317A (en) | 2015-04-29 |
CN104573317B CN104573317B (en) | 2017-06-16 |
Family
ID=53089364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410718254.7A Expired - Fee Related CN104573317B (en) | 2014-12-01 | 2014-12-01 | Photoelectric health parameter detector based on audio port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104573317B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105118282A (en) * | 2015-09-07 | 2015-12-02 | 无锡力芯微电子股份有限公司 | Infrared remote control equipment and system based on headphone interface |
CN105769215A (en) * | 2016-04-29 | 2016-07-20 | 南京信息职业技术学院 | Remote blood oxygen monitoring system |
CN105962948A (en) * | 2016-04-29 | 2016-09-28 | 南京信息职业技术学院 | Portable blood oxygen detector |
CN106568814A (en) * | 2016-10-19 | 2017-04-19 | 中国科学院电子学研究所 | Electrochemical detector based on audio port of smartphone for power supply |
CN107995564A (en) * | 2018-01-25 | 2018-05-04 | 东莞市源康电子有限公司 | A kind of audio amplifier circuit of negative and positive dual power power supply |
CN112073030A (en) * | 2020-08-12 | 2020-12-11 | 武汉博畅通信设备有限责任公司 | an electrical filter |
TWI839235B (en) * | 2023-05-26 | 2024-04-11 | 神雲科技股份有限公司 | Server motherboard with power detectiion function |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1169965A1 (en) * | 2000-06-27 | 2002-01-09 | Masimo Corporation | Pulse oximetry sensor compatible with multiple pulse oximetry systems |
US20060052676A1 (en) * | 2004-09-07 | 2006-03-09 | Yulun Wang | Tele-presence system that allows for remote monitoring/observation and review of a patient and their medical records |
US20070112259A1 (en) * | 2005-11-14 | 2007-05-17 | Konica Minolta Sensing Inc. | Vital information measuring device |
CN102805614A (en) * | 2012-08-16 | 2012-12-05 | 北京超思电子技术有限责任公司 | Medical detection device and system |
CN103006237A (en) * | 2012-12-05 | 2013-04-03 | 镇江博联电子科技有限公司 | Earphone-based data transmission oxygen content detector |
CN203153748U (en) * | 2013-03-12 | 2013-08-28 | 林祝发 | Oximeter based on audio interface communication |
CN203400151U (en) * | 2013-07-05 | 2014-01-22 | 浙江铭众生物医学创业投资有限公司 | Blood oxygen saturation monitoring system based on intelligent terminal communications |
-
2014
- 2014-12-01 CN CN201410718254.7A patent/CN104573317B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1169965A1 (en) * | 2000-06-27 | 2002-01-09 | Masimo Corporation | Pulse oximetry sensor compatible with multiple pulse oximetry systems |
US20060052676A1 (en) * | 2004-09-07 | 2006-03-09 | Yulun Wang | Tele-presence system that allows for remote monitoring/observation and review of a patient and their medical records |
US20070112259A1 (en) * | 2005-11-14 | 2007-05-17 | Konica Minolta Sensing Inc. | Vital information measuring device |
CN102805614A (en) * | 2012-08-16 | 2012-12-05 | 北京超思电子技术有限责任公司 | Medical detection device and system |
CN103006237A (en) * | 2012-12-05 | 2013-04-03 | 镇江博联电子科技有限公司 | Earphone-based data transmission oxygen content detector |
CN203153748U (en) * | 2013-03-12 | 2013-08-28 | 林祝发 | Oximeter based on audio interface communication |
CN203400151U (en) * | 2013-07-05 | 2014-01-22 | 浙江铭众生物医学创业投资有限公司 | Blood oxygen saturation monitoring system based on intelligent terminal communications |
Non-Patent Citations (4)
Title |
---|
KEJIA LI 等: "Onboard Tagging for Real-Time Quality Assessment of Photoplethysmograms Acquired by a Wireless Reflectance Pulse Oximeter", 《IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS》 * |
李俊 等: "基于手机耳机口的便携式血氧含量检测仪", 《江苏科技大学学报(自然科学版)》 * |
梅澜潇 等: "基于STM32的无创血氧检测仪的研制", 《信息技术》 * |
罗文志 等: "基于ARM的血氧饱和度检测仪的设计和实现", 《广西物理》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105118282A (en) * | 2015-09-07 | 2015-12-02 | 无锡力芯微电子股份有限公司 | Infrared remote control equipment and system based on headphone interface |
CN105769215A (en) * | 2016-04-29 | 2016-07-20 | 南京信息职业技术学院 | Remote blood oxygen monitoring system |
CN105962948A (en) * | 2016-04-29 | 2016-09-28 | 南京信息职业技术学院 | Portable blood oxygen detector |
CN106568814A (en) * | 2016-10-19 | 2017-04-19 | 中国科学院电子学研究所 | Electrochemical detector based on audio port of smartphone for power supply |
CN107995564A (en) * | 2018-01-25 | 2018-05-04 | 东莞市源康电子有限公司 | A kind of audio amplifier circuit of negative and positive dual power power supply |
CN107995564B (en) * | 2018-01-25 | 2023-08-08 | 东莞市源康电子有限公司 | Audio amplifying circuit powered by positive and negative dual power supplies |
CN112073030A (en) * | 2020-08-12 | 2020-12-11 | 武汉博畅通信设备有限责任公司 | an electrical filter |
TWI839235B (en) * | 2023-05-26 | 2024-04-11 | 神雲科技股份有限公司 | Server motherboard with power detectiion function |
Also Published As
Publication number | Publication date |
---|---|
CN104573317B (en) | 2017-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104573317B (en) | Photoelectric health parameter detector based on audio port | |
CN206659800U (en) | Electrocardiogram signal acquisition device and electrocardio equipment | |
CN203761094U (en) | Solar-energy wireless charger | |
CN201774245U (en) | PFC overcurrent protecting circuit | |
CN207742924U (en) | Remote controler based on intelligent sound control | |
CN203278349U (en) | Wirelessly-changeable Bluetooth headset, wirelessly-changeable Bluetooth sound box and wirelessly-changeable electronic apparatus | |
CN209003957U (en) | It surveys skin circuit and surveys skin ultrasound and shovel skin instrument | |
CN206211578U (en) | Wireless charging circuit and system | |
CN202334765U (en) | Baby monitor | |
CN204274468U (en) | Photoelectric blood oxygen detector based on audio port | |
CN208210192U (en) | Intelligent sound system | |
CN203492198U (en) | Condenser microphone connecting line for providing phantom power via USB interface | |
CN206743111U (en) | Has the power supply changeover device of self-powered controlling mechanism | |
CN103885360A (en) | Wireless fish finder circuit based on Bluetooth | |
CN204335931U (en) | A kind of E.E.G detects automatic switchover music sunbonnet | |
CN204350275U (en) | A hardware interface circuit for two-way communication of audio port | |
CN208782564U (en) | A kind of ups power with sequence switch loading functional | |
CN205608434U (en) | Wireless microphone | |
CN201623836U (en) | Wireless power supply sound box | |
CN203812030U (en) | Bluetooth-based wireless fish finder circuit | |
CN204029149U (en) | Based on the Infrared remote controller of smart machine | |
CN201035744Y (en) | Infrared remote control diagnosis device | |
CN203616744U (en) | Electronic whiteboard interaction system | |
CN219801984U (en) | Induction charging circuit of electric toothbrush | |
CN204129131U (en) | The portable monitoring and recording instrument of a kind of super low-power consumption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170725 Address after: 510000 No. 8, Tang Tong Road, Yonghe Economic Zone, Guangzhou Economic Development Zone, Guangdong, 0104 Patentee after: Guangzhou Sichuanghongyi Electronic Technology Co.,Ltd. Address before: Nanjing City, Jiangsu province 210023 City Xianlin University No. 99 Patentee before: Nanjing Vocational College of Information Technology |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170616 |
|
CF01 | Termination of patent right due to non-payment of annual fee |