CN105318894A - Acquisition circuit of double sensors and electronic product with double sensors - Google Patents

Acquisition circuit of double sensors and electronic product with double sensors Download PDF

Info

Publication number
CN105318894A
CN105318894A CN201510895311.3A CN201510895311A CN105318894A CN 105318894 A CN105318894 A CN 105318894A CN 201510895311 A CN201510895311 A CN 201510895311A CN 105318894 A CN105318894 A CN 105318894A
Authority
CN
China
Prior art keywords
sensor
circuit
signal
collection
operational amplifier
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
Application number
CN201510895311.3A
Other languages
Chinese (zh)
Other versions
CN105318894B (en
Inventor
董坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Goertek Co Ltd
Original Assignee
Qingdao Goertek Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Goertek Co Ltd filed Critical Qingdao Goertek Co Ltd
Priority to CN201510895311.3A priority Critical patent/CN105318894B/en
Publication of CN105318894A publication Critical patent/CN105318894A/en
Application granted granted Critical
Publication of CN105318894B publication Critical patent/CN105318894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an acquisition circuit of double sensors and an electronic product with the double sensors. The acquisition circuit comprises two paths of acquisition and amplification circuits which are used for receiving and amplifying the detection signals output by two sensors, an averaging circuit used for averaging two paths of acquisition signals and outputting an averaging signal C, and a control circuit, wherein the control circuit is used for detecting the work states of the two sensors; when one sensor cannot work normally, the acquisition signals output by the acquisition and amplification circuit connected with the other sensor are transmitted to a channel A/D; and when the two sensors can work normally, and the averaging signals C are transmitted to the channel A/D. According to the acquisition circuit of the double sensors, the analog-to-digital conversion can be performed on the detection signals sensed and output through the two sensors by only occupying one A/D channel, so that for a processor with shortage of ADC interface resources, an ADC interface of the processor can be omitted greatly, and the integral design of the system circuit is convenient.

Description

A kind of dual sensor Acquisition Circuit and there is the electronic product of dual sensor
Technical field
The invention belongs to Signal Collection Technology field, specifically, relate to the circuit design that a kind of detection signal that a road A/D ALT-CH alternate channel can be utilized simultaneously to export two-way sensor gathers and changes.
Background technology
In current a lot of electronic products, need sensors configured induced environment situation (such as to configure the working temperature of temperature sensor senses electronic product; The air humidity etc. of environment residing for configuration moisture sensor induction electronic product), complete certain function to coordinate other parts.This kind of sensor is mostly analog sensor, analog signals is generated according to its environmental aspect sensed, after the ADC interface exporting processor to converts analog signals to digital quantity signal, generate the numerical parameter of reflection environmental aspect, for the realization of display or other function.
For temperature sensor, when needing the temperature gathering a certain position, method conventional at present installs a temperature sensor in this position, utilize the temperature of this this position of temperature sensor senses, and utilize a wherein road ADC interface of processor to carry out analog to digital conversion to the temperature signal detected.This circuit design, owing to only utilizing the temperature of a temperature sensor senses position, therefore once this temperature sensor breaks down, just may cause irremediable loss.
In order to solve this kind of problem, industry adopts parallel two-way temperature sensor to gather the temperature of a certain position simultaneously.Although such a process increases the reliability of circuit working, but two-way temperature sensor needs the two-way ADC interface taking processor, cause the waste of ADC interface resource, make processor originally become more in short supply with regard to not rich ADC interface, be unfavorable for the global design of circuit system.
Summary of the invention
The present invention designs to solve available circuit the two-way ADC interface needing to take processor for two-way sensor, cause the problem that the ADC interface resource of processor is in short supply, propose a kind of dual sensor Acquisition Circuit, a road A/D passage only need be used to gather the detection signal that two-way sensor exports and to change simultaneously, greatly saved ADC interface resource.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of dual sensor Acquisition Circuit, comprises first sensor and the second sensor, first gathers amplifying circuit and the second collection amplifying circuit, averaging circuit and control circuit; Wherein, described first gathers the detection signal that amplifying circuit receives first sensor output, and after amplifying the detection signal received, exports collection signal A; Described second gathers the detection signal that amplifying circuit receives the second sensor output, and after amplifying the detection signal received, exports collection signal B; Described averaging circuit averages process to two-way collection signal A, B, exports average signal C; Described control circuit carries out duty detection to two-way sensor, when wherein a road working sensor is abnormal, the collection signal that the collection amplifying circuit be connected with an other road sensor exports is transferred to A/D passage; When two-way sensor all normally works, the average signal C exported by described averaging circuit transfers to described A/D passage.
Further, described first sensor and the second sensor include at least three pins, wherein, first pin connects direct supply by current-limiting resistance, second pin ground connection, 3rd pin output detections signal, and when any road working sensor is abnormal, in high-impedance state between the first pin of this road sensor and the second pin.
Preferably, described first sensor and the second sensor are temperature sensor or moisture sensor, for detecting the temperature of the same area or humidity.
Further, processor and multiple on-off circuit is comprised at described control circuit; Wherein, the A/D passage described in the connection of ADC interface of described processor, carries out analog to digital conversion to the received signal; The two-way I/O mouth of processor is corresponding with the first pin of two-way sensor respectively to be connected, and when the current potential of the I/O mouth wherein described in a road is suitable with the current potential of described direct supply, judges that the working sensor be connected with this road I/O mouth is abnormal; The switch ways of the first on-off circuit is connected between the output terminal of the first collection amplifying circuit and described A/D passage, described processor is when the second sensor experiences failure being detected, the switch ways controlling described first on-off circuit is communicated with, and collection signal A is transferred to described A/D passage; The switch ways of second switch circuit is connected between the output terminal of the second collection amplifying circuit and described A/D passage, described processor is when first sensor operation irregularity being detected, the switch ways controlling described second switch circuit is communicated with, and collection signal B is transferred to described A/D passage; The switch ways of the 3rd on-off circuit is connected in the current supply circuit of described averaging circuit, described processor is when detecting that two-way sensor all normally works, the switch ways controlling described 3rd on-off circuit is communicated with, described averaging circuit is powered on operation, exports average signal C to described A/D passage.
Preferably, described processor is communicated with the control end one_to_one corresponding of the on-off circuit described in three tunnels respectively preferably by its three roads I/O mouth, and transmission of control signals carries out break-make control to the on-off circuit described in three tunnels.
As a kind of preferred circuit teaming method of described collection amplifying circuit, an operational amplifier is provided with in the collection amplifying circuit described in each road, the detection signal that its inverting input receiving sensor exports, in-phase input end receives reference voltage, output terminal exports collection signal A or B, and is connected to its inverting input via feedback resistance.
Because the maximal value of the detection signal of dissimilar sensor output is different with minimum value, various types of sensor is applicable in order to enable described operational amplifier, realize the amplification process to the detection signal of different range, the present invention is also provided with a voltage-regulating circuit in described collection amplifying circuit, connect direct supply, for adjusting the voltage magnitude of direct supply, the reference voltage described in generation transfers to the in-phase input end of described operational amplifier.By adjusting the amplitude of reference voltage, the detection signal that can export with sensor matches, to meet the requirement that operational amplifier carries out differential amplification work.
As a kind of preferred circuit teaming method of described averaging circuit, the first operational amplifier and the second operational amplifier is provided with in described averaging circuit, described collection signal A and collection signal B is connected to the inverting input of the first operational amplifier separately via a road current-limiting resistance, the in-phase input end of described first operational amplifier is through pull down resistor ground connection, output terminal is connected to the inverting input of described first operational amplifier through feedback resistance, and the inverting input of the second operational amplifier is connected to by another resistance, the in-phase input end of described second operational amplifier is through another pull down resistor ground connection, A/D passage described in output terminal connects, and the inverting input of described second operational amplifier is connected to through another feedback resistance.
In order to when sensor experiences failure, can reminding user to replace in time, the present invention is also provided with an alarm and an on-off element in described dual sensor Acquisition Circuit, control circuit described in described on-off element is communicated with, described control circuit is when the sensor experiences failure had at least described in a road being detected, control the current supply circuit of described switching elements ON alarm, control alarm and send alerting signal, carry out warning reminding.
Based on the structural design of above-mentioned dual sensor Acquisition Circuit, the invention allows for a kind of electronic product with dual sensor, comprise first sensor and the second sensor, the first collection amplifying circuit and the second collection amplifying circuit, averaging circuit and control circuit; Wherein, described first gathers the detection signal that amplifying circuit receives first sensor output, and after amplifying the detection signal received, exports collection signal A; Described second gathers the detection signal that amplifying circuit receives the second sensor output, and after amplifying the detection signal received, exports collection signal B; Described averaging circuit averages process to two-way collection signal A, B, exports average signal C; Described control circuit carries out duty detection to two-way sensor, when wherein a road working sensor is abnormal, the collection signal that the collection amplifying circuit be connected with an other road sensor exports is transferred to A/D passage; When two-way sensor all normally works, the average signal C exported by described averaging circuit transfers to described A/D passage.Thus, an A/D passage only need be used can to realize analog to digital conversion to the detection signal that two-way sensor sensing exports.
Compared with prior art, advantage of the present invention and good effect are: the present invention is detected by the environmental parameter of configuration two-way sensor to the same area, when a road working sensor is abnormal wherein, an other road sensor can be utilized to have continued monitoring task, substantially increase the reliability of electronic product work.Further, when two-way sensor all normally works, by gathering the detection signal that two-way sensor exports, and to its averaged, thus testing result can be made more stable, accurate.In addition, by design con-trol circuit, when a road working sensor is abnormal, the detection signal that an other road sensor exports only is gathered wherein; And when two-way sensor all normally works, the mean value of the detection signal only exported by two-way sensor is sent to A/D passage, only need take a road A/D passage thus and can realize analog to digital conversion to the detection signal that two-way sensor sensing exports, this is for ADC interface resource processor in short supply, greatly can save the ADC interface of processor, facilitate the global design of circuit system.
After reading the detailed description of embodiment of the present invention by reference to the accompanying drawings, the other features and advantages of the invention will become clearly.
Accompanying drawing explanation
Fig. 1 is the schematic block circuit diagram of a kind of embodiment of dual sensor Acquisition Circuit proposed by the invention;
Fig. 2 is the circuit theory diagrams of a kind of embodiment of the first collection amplifying circuit in Fig. 1;
Fig. 3 is the circuit theory diagrams of a kind of embodiment of the second collection amplifying circuit in Fig. 1;
Fig. 4 is the circuit theory diagrams of a kind of embodiment of averaging circuit and control circuit in Fig. 1.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in more detail.
The present embodiment for be configured with at least two-way sensor and two-way sensor for detecting the environmental parameter in same region to be measured, to improve the electronic product of circuit working reliability, devise a kind of dual sensor Acquisition Circuit, only need to take a road A/D passage can complete collection and analog to digital conversion task to the detection signal of two-way sensor output simultaneously, contribute to the ADC interface resource saving processor.
As shown in Figure 1, the dual sensor Acquisition Circuit of the present embodiment mainly comprises the ingredient such as the first collection amplifying circuit, the second collection amplifying circuit, averaging circuit and control circuit.Wherein, described first gathers amplifying circuit connects first sensor, gathers and amplifies process, and export the collection signal A after amplifying for the detection signal exported first sensor induction.Described second gathers amplifying circuit connects the second sensor, gathers and amplifies process, and export the collection signal B after amplifying for the detection signal exported the second sensor sensing.Described averaging circuit connects first and gathers amplifying circuit and the second collection amplifying circuit, the collection signal A described in reception and collection signal B, and after averaging process to described collection signal A and collection signal B, generates average signal C and export.Described control circuit carries out duty detection to first sensor and the second sensor, when two sensors all normally work, only the average signal C that averaging circuit exports is transferred to A/D passage, as the environmental parameter detection signal in region residing for two sensors, carry out analog to digital conversion.When first sensor operation irregularity being detected, such as, break down, the collection signal B only gathering amplifying circuit output by second transfers to A/D passage, carries out analog to digital conversion, realizes the monitoring to regional environment parameter to be measured.When detecting that the second working sensor is abnormal, only gathering the collection signal A that amplifying circuit exports by first and transferring to A/D passage, carrying out analog to digital conversion, ensure monitoring continue carry out.Adopt this circuit design mode, when being active and standby two-way for the sensor being laid in same region to be measured, only needing to take a road A/D passage and can complete analog to digital conversion task to this regional environment parameter, contribute to saving ADC interface resource.
Below in conjunction with Fig. 2-Fig. 4, the physical circuit assembling structure of dual sensor Acquisition Circuit and principle of work thereof are described in detail.
Fig. 2 is the schematic diagram of the first collection amplifying circuit.In Fig. 2, PT1 is first sensor, and its first pin 1 connects direct supply VCC by current-limiting resistance R4, the second pin 2 ground connection, responds to the detection signal generated export via its 3rd pin 0 by first sensor PT1.In the present embodiment, described first sensor PT1 is a kind of when its operation irregularity, in high-impedance state between its first pin 1 and second pin 2, and when it normally works, impedance between its first pin 1 and second pin 2 is lower, and generally at below 10K Ω, and the resistance between its first pin 1 and the 3rd pin 0 can change along with the change of environmental parameter, the detection signal exported to enable it is followed the environmental change in region to be measured and changes, and reaches the object of testing environment parameter.Based on the above-mentioned characteristic of first sensor PT1, the current potential that control circuit can be utilized to detect first pin 1 of first sensor PT1 whether with the current potential of direct supply VCC quite or equal, or the mode of the scope of the detection signal adopting the current potential of detection first pin 1 whether to export much larger than first sensor PT1, judge first sensor PT1 whether operation irregularity, to complete the duty Detection task to sensor.For this kind of sensor, common are temperature sensor and moisture sensor etc. at present.The present embodiment is specifically described for temperature sensor.
3rd pin 0 of temperature sensor PT1 is connected to the drain electrode of a NMOS tube Q1 by current-limiting resistance R5, the grid connection control circuit of described NMOS tube, the control signal that reception control circuit sends, to change its on off operating mode.By the source electrode of described NMOS tube Q1 by pull down resistor R6 ground connection, and by resistance R7 be connected to the inverting input of an operational amplifier U1-.In-phase input end+reception reference voltage the VREF of described operational amplifier U1, and by pull down resistor R10 ground connection.Due to dissimilar sensor, the maximal value of its detection signal exported is different with minimum value, under the state being normally operated in differential amplification to enable operational amplifier U1, need the scope of the detection signal exported for different sensors, suitably adjust the amplitude of described reference voltage VREF.In order to avoid when more emat sensor, the circuit gathering amplifying circuit also needs to change thereupon, cause the complexity of line design and the reduction of circuit board universal, the present embodiment decision design signal adjustment circuit realizes accommodation to described reference voltage VREF, suitable with the detection signal scope enabling the reference voltage VREF after adjustment and current selected sensor export.
In the present embodiment, described signal adjustment circuit preferably adopts potentiometer R2 to coordinate divider resistance R1, R3, R8 of fixed resistance value to be formed by connecting, and carries out dividing potential drop conversion, to generate required reference voltage VREF to described direct supply VCC.Specifically, one end of described potentiometer R2 can be connected to direct supply VCC by resistance R1, the other end by resistance R3 ground connection, slider by resistance R8 be connected to the in-phase input end of described operational amplifier U1+.By regulating the effective resistance resistance of described potentiometer R2, realize, to the adjustment of described reference voltage VREF amplitude, making it meet the job requirement of operational amplifier U1 differential amplification.
Certainly, described signal adjustment circuit also can adopt other circuit to set up the adjustment of form realization to reference voltage VREF, and the present embodiment is not limited in above citing.
By the output terminal of described operational amplifier U1 by feedback resistance R9 be connected to the inverting input of operational amplifier U1-, the detection signal that the amplifying circuit formed thus can export temperature sensor PT1 realizes gain and amplifies, detection signal after amplification exports via resistance R12, forms collection signal A.
Fig. 3 is the schematic diagram of the second collection amplifying circuit, and its circuit assembling structure and principle of work gather amplifying circuit with first shown in Fig. 2.In Fig. 3, PT2 is the second sensor, its type identical with first sensor PT1 (being such as all temperature sensor), the common equivalent environment parameter (such as the environmental parameter in region to be measured) detecting same region to be measured.RA4 is connected on the current-limiting resistance in the current supply circuit of the second sensor PT2.The detection signal exported by the second sensor PT2 via current-limiting resistance RA5, NMOS tube Q2 and resistance RA7 transfer to the inverting input of operational amplifier U2-, the in-phase input end of operational amplifier U2+by pull down resistor RA10 ground connection, potentiometer RA2, divider resistance RA1, RA3, RA8 form signal adjustment circuit, are the in-phase input end+provide the VREF of the reference voltage needed for it of operational amplifier U2.RA9 is feedback resistance, be connected to the output terminal of operational amplifier U2 and inverting input-between, amplify by operational amplifier U2 the detection signal exported and export via resistance RA12, formation collection signal B.
Fig. 4 is the schematic diagram of averaging circuit and control circuit.In described averaging circuit, be provided with two-way operational amplifier, be respectively the first operational amplifier U2A and the second operational amplifier U2B.By first gather collection signal A that amplifying circuit exports by resistance R13 transfer to the inverting input of the first operational amplifier U2A-, by second gather collection signal B that amplifying circuit exports by resistance R14 also transfer to the inverting input of the first operational amplifier U2A-, make collection signal A and collection signal B at the inverting input-locate superimposed of the first operational amplifier U2A.The in-phase input end of described first operational amplifier U2A+by pull down resistor R16 ground connection, output terminal via feedback resistance R15 be connected to the inverting input of the first operational amplifier U2A-, and by resistance R17 be connected to the inverting input of the second operational amplifier U2B-.The in-phase input end of described second operational amplifier U2B+by pull down resistor R19 ground connection, output terminal by feedback resistance R18 be connected to the inverting input of the second operational amplifier U2B-, and export average signal C=(A+B)/2 to A/D passage.
Control circuit is utilized to control the working power VCC_1 needed for two-way operational amplifier U2A, U2B, described averaging circuit is powered on when two-way sensor PT1, PT2 all normally work operation, average is got to collection signal A and collection signal B, export average signal C to A/D passage ADIN, to carry out the conversion of simulating signal to digital signal.
Processor U3 and multi-way switch circuit is mainly provided with in the control circuit of the present embodiment, the ADC interface of described processor is relatively in short supply, I/O mouth aboundresources, the abundant I/O mouth resource of processor U3 is utilized to carry out duty detection to two-way sensor PT1, PT2, and by carrying out break-make control to each path switching circuit, to realize A/D passage ADIN, the selection of collection signal A, collection signal B and average signal C is received.
Specifically, three NMO pipes Q3, Q4, Q5 can be utilized to coordinate simple peripheral circuit to build three-way switch circuit respectively, as shown in Figure 4.Wherein, the grid of NMO pipe Q3 is connected to the I/O mouth I/Od of processor U3 by resistance R21, drain electrode connection first gathers the output terminal of amplifying circuit, receive collection signal A, source electrode connects A/D passage ADIN, form the first on-off circuit thus, break-make control is carried out to the transmission channel of collection signal A.In like manner, the grid of NMO pipe Q4 is connected to the I/O mouth I/Oc of processor U3 by resistance R22, drain electrode connection second gathers the output terminal of amplifying circuit, receive collection signal B, source electrode connects A/D passage ADIN, form second switch circuit thus, break-make control is carried out to the transmission channel of collection signal B.Control employing to the gating of average signal C to realize the mode that averaging circuit carries out control system of switching on or off electricity, namely, the grid of NMO pipe Q5 is connected to the I/O mouth I/Oe of processor U3 by resistance R23, drain electrode connects direct supply VCC, source electrode is by pull down resistor R24 ground connection, and output power supply VCC_1, form the 3rd on-off circuit thus, break-make control is carried out to the working power VCC_1 needed for averaging circuit work.Described A/D passage ADIN is connected to the ADC interface of processor U3, to realize the analog to digital conversion to collection signal A, B or average signal C.
Duty for two-way sensor PT1, PT2 detects, and the present embodiment utilizes the two-way I/O mouth of processor U3 to complete, as shown in Figure 4.The I/O mouth I/Ob of processor U3 is connected to first pin 1 of first sensor PT1, by detecting the potential state of this pin, to realize the accurate differentiation of processor U3 to first sensor PT1 whether operation irregularity.And when judging working properly and the second sensor PT2 operation irregularity of first sensor PT1, the effective control signal of high level is exported by its I/O mouth I/Oa, control NMOS tube Q1 saturation conduction, and then after amplification process being carried out to the detection signal that first sensor PT1 induction exports by operational amplifier U1, export collection signal A.
In like manner, the I/O mouth I/Ob1 of processor U3 is connected to first pin 1 of the second sensor PT2, by detecting the potential state of this pin, to realize the accurate differentiation of processor U3 to the second sensor PT2 whether operation irregularity.And when the working properly and first sensor PT1 operation irregularity of judgement second sensor PT2, the effective control signal of high level is exported by its I/O mouth I/Oa1, control NMOS tube Q2 saturation conduction, and then after amplification process being carried out to the detection signal that the second sensor PT2 induction exports by operational amplifier U2, export collection signal B.
Certainly, the NMOS tube Q1-Q5 in the present embodiment also can adopt other on-off elements to replace, and carried out identical switch, the present embodiment is not limited in above citing.
In order to when there is operation irregularity situation in sensor PT1 or PT2, counter-measure can be taked in time by reminding user, the present embodiment is also provided with warning circuit in described dual sensor Acquisition Circuit, as the warning circuit be made up of alarm BL and on-off element Q6 in Fig. 4.In the present embodiment, described on-off element Q6 preferably adopts a PNP type triode to realize.The emitter of PNP type triode Q6 is connected the negative pole of alarm BL, the positive pole of alarm BL connects direct supply VCC, and by the grounded collector of PNP type triode Q6, base stage is connected to the I/O mouth I/Oe of processor U3 by resistance R25.Its I/O mouth I/Oe, when sensor PT1 and/or PT2 operation irregularity being detected, is set to low level by described processor U3, controls PNP type triode Q6 saturation conduction, is communicated with the current supply circuit of alarm BL, alarm BL is powered on, sends alerting signal.
Below in conjunction with the circuit structure shown in Fig. 2-Fig. 4, the principle of work of the dual sensor Acquisition Circuit that the present embodiment proposes is specifically addressed.
First, electronic product is after start runs, and direct supply VCC sets up, and is that sensor PT1, PT2 power, gathers the environmental parameter in region to be measured by current-limiting resistance R4, RA4.
Processor U3, after startup optimization, first detects the potential state of its I/O mouth I/Ob, I/Ob1, if the current potential of two I/O mouths I/Ob, I/Ob1 is all in rational scope, then judges that two-way sensor PT1, PT2 are all working properly.Now, it is high level that processor U3 puts its I/O mouth I/Oa, I/Oa1, control NMOS tube Q1, Q2 saturation conduction, the detection signal that two-way sensor PT1, PT2 export is transferred to respectively operational amplifier U1, U2 and carry out amplification process, to generate collection signal A, B.Meanwhile, it is low level that processor U3 puts its I/O mouth I/Od, I/Oc, blocks collection signal A, B transmission to A/D passage ADIN; Simultaneously, putting its I/O mouth I/Oe is high level, control NMOS tube Q5 saturation conduction, connect the current supply circuit of averaging circuit, by direct supply VCC through NMOS tube Q5 to operational amplifier U2A, U2B provide its run needed for working power VCC_1, get average by averaging circuit to collection signal A, B, the ADC interface that output average signal C transfers to processor U3 by A/D passage ADIN carries out analog to digital conversion, to generate the environmental parameter value in region to be measured.Due to the mean value that obtained environmental parameter value is the detection signal of two sensors, therefore testing result is more stable, accurate.
Now, the I/Oe mouth due to processor U3 is high level, therefore PNP type triode Q6 cut-off, and the current supply circuit of alarm BL is cut off, and can not send alerting signal.
When there is operation irregularity (resistance normally between its first pin 1 and second pin 2 disconnects) in sensor PT1, PT2 Zhong mono-tunnel or two-way, the current potential of I/O mouth I/Ob or I/Ob1 of processor U3 will become high level, suitable with the current potential of direct supply VCC.Now, processor U3 can judge which sensor PT1 or PT2 operation irregularity according to the potential state of itself I/Ob and I/Ob1 mouth, and then cut off the detection signal transmission channel occurring abnormal road sensor PT1 or PT2, and by normally work No. one sensor PT1 or PT2 export detection signal transfer to gather amplifying circuit carry out amplifications process after, be sent to A/D passage ADIN.
Abnormal being described is there is for first sensor PT1.Processor U3 at the current potential its I/Ob mouth being detected for high, and the current potential of I/Ob1 mouth in rational scope time, judge first sensor PT1 operation irregularity, the second sensor PT2 is normal.Now, processor U3 puts its I/Oa mouth, I/Od mouth, I/Oe mouth are low level, control NMOS tube Q1, Q3, Q5 cut-off, the signal blocking first sensor PT1 exports, and cut off the working power VCC_1 of averaging circuit, control averaging circuit is out of service, can not export average signal C to A/D passage ADIN.Now, because I/Oe mouth is low level, therefore PNP type triode Q6 saturation conduction, is communicated with the current supply circuit of alarm BL, controls alarm BL and sends alerting signal.Meanwhile, its I/Oa1 mouth put by processor, I/Oc is high level, control NMOS tube Q2, Q4 saturation conduction, by second sensor PT2 respond to export detection signal transfer to the second collection amplifying circuit carry out amplifications process after, generate collection signal B, transfer to A/D passage ADIN via NMOS tube Q4, and then be sent to the ADC interface of processor U3, carry out analog to digital conversion, to generate the environmental parameter value in region to be measured.
In like manner, when the second sensor PT2 occurs abnormal, when first sensor PT1 is working properly, processor U3 by putting its I/Oa1 mouth, I/Oc mouth, I/Oe mouth be low level, to control NMOS tube Q2, Q4, Q5 cut-off, and then the signal blocking the second sensor PT2 exports, and it is out of service to control averaging circuit, starts alarm BL and sends alerting signal.Meanwhile, its I/Oa mouth put by processor, I/Od is high level, control NMOS tube Q1, Q3 saturation conduction, by first sensor PT1 respond to export detection signal transfer to the first collection amplifying circuit carry out amplifications process after, generate collection signal A, transfer to A/D passage ADIN via NMOS tube Q3, and then be sent to the ADC interface of processor U3, carry out analog to digital conversion, to generate the environmental parameter value in region to be measured.
When two sensors PT1, PT2 all occur abnormal, processor U3 puts its I/Oa mouth, I/Oa1 mouth, I/Oc mouth, I/Od mouth, I/Oe mouth are low level, control NMOS tube Q1-Q5 all to end, only make PNP type triode Q6 saturation conduction, start alarm BL and send alerting signal, reminding user on-call maintenance.
Dual sensor Acquisition Circuit structure of the present invention is simple, realize easily, only need can realize a road AD acquisition channel simultaneously to the Collect conversion task of the detection signal that active and standby two-way sensor exports by the common I/O mouth of common resistance, switching tube, operational amplifier and processor, practical, cost is low, greatly save the ADC interface resource of processor, and improve the Stability and veracity of testing result, wide market.
Certainly; above-mentioned explanation is not limitation of the present invention; the present invention is also not limited in above-mentioned citing, the change that those skilled in the art make in essential scope of the present invention, remodeling, interpolation or replacement, also should belong to protection scope of the present invention.

Claims (10)

1. a dual sensor Acquisition Circuit, is characterized in that, comprising:
First sensor and the second sensor;
First gathers amplifying circuit, receives the detection signal that first sensor exports, and after amplifying the detection signal received, exports collection signal A;
Second gathers amplifying circuit, receives the detection signal that the second sensor exports, and after amplifying the detection signal received, exports collection signal B;
Averaging circuit, averages process to two-way collection signal A, B, exports average signal C;
Control circuit, carries out duty detection to two-way sensor, when wherein a road working sensor is abnormal, the collection signal that the collection amplifying circuit be connected with an other road sensor exports is transferred to A/D passage; When two-way sensor all normally works, the average signal C exported by described averaging circuit transfers to described A/D passage.
2. dual sensor Acquisition Circuit according to claim 1, it is characterized in that, described first sensor and the second sensor include at least three pins, wherein, first pin connects direct supply by current-limiting resistance, the second pin ground connection, the 3rd pin output detections signal, and during any road working sensor exception, in high-impedance state between the first pin of this road sensor and the second pin.
3. dual sensor Acquisition Circuit according to claim 2, is characterized in that, described control circuit comprises:
Processor, the A/D passage described in its ADC interface connects, carries out analog to digital conversion to the received signal; Its two-way I/O mouth is corresponding with the first pin of two-way sensor respectively to be connected, and when the current potential of the I/O mouth wherein described in a road is suitable with the current potential of described direct supply, judges that the working sensor be connected with this road I/O mouth is abnormal;
First on-off circuit, its switch ways is connected between the output terminal of the first collection amplifying circuit and described A/D passage, described processor is when detecting that the second working sensor is abnormal, and the switch ways controlling described first on-off circuit is communicated with, and collection signal A is transferred to described A/D passage;
Second switch circuit, its switch ways is connected between the output terminal of the second collection amplifying circuit and described A/D passage, described processor is when first sensor operation irregularity being detected, and the switch ways controlling described second switch circuit is communicated with, and collection signal B is transferred to described A/D passage;
3rd on-off circuit, its switch ways is connected in the current supply circuit of described averaging circuit, described processor is when detecting that two-way sensor all normally works, the switch ways controlling described 3rd on-off circuit is communicated with, described averaging circuit is powered on operation, exports average signal C to described A/D passage.
4. dual sensor Acquisition Circuit according to claim 3, it is characterized in that: described processor is communicated with the control end one_to_one corresponding of the on-off circuit described in three tunnels respectively by its three roads I/O mouth, transmission of control signals, carries out break-make control to the on-off circuit described in three tunnels.
5. dual sensor Acquisition Circuit according to claim 1, is characterized in that: described first sensor and the second sensor are temperature sensor or moisture sensor, for detecting the temperature of the same area or humidity.
6. dual sensor Acquisition Circuit according to any one of claim 1 to 5, it is characterized in that: in the collection amplifying circuit described in each road, be provided with an operational amplifier, the detection signal that its inverting input receiving sensor exports, in-phase input end receives reference voltage, output terminal exports collection signal A or B, and is connected to its inverting input via feedback resistance.
7. dual sensor Acquisition Circuit according to claim 6, it is characterized in that: in described collection amplifying circuit, be also provided with a voltage-regulating circuit, connect direct supply, for adjusting the voltage magnitude of direct supply, the reference voltage described in generation transfers to the in-phase input end of described operational amplifier.
8. dual sensor Acquisition Circuit according to any one of claim 1 to 5, it is characterized in that: in described averaging circuit, be provided with the first operational amplifier and the second operational amplifier, described collection signal A and collection signal B is connected to the inverting input of the first operational amplifier separately via a road current-limiting resistance, the in-phase input end of described first operational amplifier is through pull down resistor ground connection, output terminal is connected to the inverting input of described first operational amplifier through feedback resistance, and the inverting input of the second operational amplifier is connected to by another resistance, the in-phase input end of described second operational amplifier is through another pull down resistor ground connection, A/D passage described in output terminal connects, and the inverting input of described second operational amplifier is connected to through another feedback resistance.
9. dual sensor Acquisition Circuit according to any one of claim 1 to 5, it is characterized in that: in described dual sensor Acquisition Circuit, be also provided with an alarm and an on-off element, control circuit described in described on-off element is communicated with, described control circuit is when the working sensor exception had at least described in a road being detected, control the current supply circuit of described switching elements ON alarm, control alarm and send alerting signal.
10. there is an electronic product for dual sensor, it is characterized in that: be provided with dual sensor Acquisition Circuit as claimed in any one of claims 1-9 wherein.
CN201510895311.3A 2015-12-08 2015-12-08 A kind of dual sensor Acquisition Circuit and the electronic product with dual sensor Active CN105318894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510895311.3A CN105318894B (en) 2015-12-08 2015-12-08 A kind of dual sensor Acquisition Circuit and the electronic product with dual sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510895311.3A CN105318894B (en) 2015-12-08 2015-12-08 A kind of dual sensor Acquisition Circuit and the electronic product with dual sensor

Publications (2)

Publication Number Publication Date
CN105318894A true CN105318894A (en) 2016-02-10
CN105318894B CN105318894B (en) 2017-08-25

Family

ID=55246790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510895311.3A Active CN105318894B (en) 2015-12-08 2015-12-08 A kind of dual sensor Acquisition Circuit and the electronic product with dual sensor

Country Status (1)

Country Link
CN (1) CN105318894B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375666A (en) * 2018-12-04 2019-02-22 中航华东光电有限公司 Low-temperature heat control method based on FPGA

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2209334Y (en) * 1994-04-11 1995-10-04 华北电力学院 Intelligent wind anemometer
CN1400469A (en) * 2001-08-06 2003-03-05 薄小星 Anti-jumming measuring circuit
US8176803B1 (en) * 2008-07-29 2012-05-15 Orbital Research Inc. High-temperature sensor interface and network
CN204389002U (en) * 2015-01-28 2015-06-10 山东博安智能科技股份有限公司 A kind of instrument high-speed AD sampling module
CN105356880A (en) * 2015-11-23 2016-02-24 南阳理工学院 Circuit for collecting dual-path sensor data by utilizing one-path AD acquisition channel
CN205175424U (en) * 2015-12-08 2016-04-20 青岛歌尔声学科技有限公司 Dual sensor acquisition circuit and have dual sensor's electronic product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2209334Y (en) * 1994-04-11 1995-10-04 华北电力学院 Intelligent wind anemometer
CN1400469A (en) * 2001-08-06 2003-03-05 薄小星 Anti-jumming measuring circuit
US8176803B1 (en) * 2008-07-29 2012-05-15 Orbital Research Inc. High-temperature sensor interface and network
CN204389002U (en) * 2015-01-28 2015-06-10 山东博安智能科技股份有限公司 A kind of instrument high-speed AD sampling module
CN105356880A (en) * 2015-11-23 2016-02-24 南阳理工学院 Circuit for collecting dual-path sensor data by utilizing one-path AD acquisition channel
CN205175424U (en) * 2015-12-08 2016-04-20 青岛歌尔声学科技有限公司 Dual sensor acquisition circuit and have dual sensor's electronic product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375666A (en) * 2018-12-04 2019-02-22 中航华东光电有限公司 Low-temperature heat control method based on FPGA

Also Published As

Publication number Publication date
CN105318894B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
CN205721471U (en) A kind of electric current output system of band self-diagnostic function
CN205175424U (en) Dual sensor acquisition circuit and have dual sensor's electronic product
CN206523760U (en) The general detection circuit of digital quantity input signal
CN1819522B (en) M-Bus host interface device
CN204925298U (en) Ntc thermistor's failure detector circuit and temperature measurement circuit
CN104553839A (en) On-line detection circuit and method
CN103269056B (en) Current detection protection device and method
CN105318894A (en) Acquisition circuit of double sensors and electronic product with double sensors
CN104574770A (en) Electrical fire monitoring detector with fault detection circuit
CN102353477A (en) Temperature sensor detection device
CN105356880A (en) Circuit for collecting dual-path sensor data by utilizing one-path AD acquisition channel
CN203705079U (en) Semiconductor laser device temperature detection circuit
CN204215209U (en) For the signal conditioning circuit of data collector in drawout cubicle
CN205230281U (en) Combustible gas alarm with trouble self test function
CN207652022U (en) Fire-fighting equipment power output intelligent protection circuit
CN105513263A (en) Remote-controlled intelligent remote control
CN101950951A (en) Protection device for multiple monitoring of motor faults
CN201838993U (en) Multiple protection device for monitoring faults of motor
CN206331035U (en) A kind of multifunctional electric current transducer
CN214473747U (en) Mirror image failure judging circuit and electrical equipment applying same
CN203204763U (en) Electrical fire warning device
CN206460302U (en) A kind of new device for detecting temperature being used in Distributed Environmental Monitoring System
CN205754231U (en) A kind of frequency modulation high power amplifier controller
CN206451333U (en) A kind of children's diaper monitoring system
CN205540076U (en) Intelligence supervisory circuits

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
GR01 Patent grant