CN110927406B - On-line detection device of sensor - Google Patents

On-line detection device of sensor Download PDF

Info

Publication number
CN110927406B
CN110927406B CN201911001270.3A CN201911001270A CN110927406B CN 110927406 B CN110927406 B CN 110927406B CN 201911001270 A CN201911001270 A CN 201911001270A CN 110927406 B CN110927406 B CN 110927406B
Authority
CN
China
Prior art keywords
terminal
sensor
resistor
analog
power supply
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.)
Active
Application number
CN201911001270.3A
Other languages
Chinese (zh)
Other versions
CN110927406A (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.)
Hefei Zhimin Thermal Control Technology Co ltd
Original Assignee
Hefei Zhimin Thermal Control Technology 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 Hefei Zhimin Thermal Control Technology Co ltd filed Critical Hefei Zhimin Thermal Control Technology Co ltd
Priority to CN201911001270.3A priority Critical patent/CN110927406B/en
Publication of CN110927406A publication Critical patent/CN110927406A/en
Application granted granted Critical
Publication of CN110927406B publication Critical patent/CN110927406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups
    • G01P21/02Testing or calibrating of apparatus or devices covered by the preceding groups of speedometers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention discloses an on-line detection device of a sensor, which comprises an analog voltage input circuit and a sensor interface circuit, wherein the sensor interface circuit comprises a power supply VCCA, an NTC sensor terminal socket, a resistor R19, an AD test terminal, an analog-to-digital converter AD0 and a capacitor C15, a terminal 2 of the NTC sensor terminal socket is connected with the power supply VCCA, a terminal 1 of the NTC sensor terminal socket is connected with the analog-to-digital converter AD0, one terminal of the analog-to-digital converter AD0 is connected with one end of the capacitor C15, the other end of the capacitor C15 is connected with one terminal of the AD test terminal, the invention can detect important components used in a circuit and various resistive sensors generating analog voltage at any time through related circuits and software, greatly improves the reliability of the circuits, and a controller can timely find and perform corresponding processing under the fault condition, the method has important significance for safe operation of related circuits of the controller and timely feedback to the previous layer of control.

Description

On-line detection device of sensor
Technical Field
The invention relates to a monitoring device, in particular to an on-line detection device of a sensor, and belongs to the technical field of sensor application.
Background
The sensor is a detection device, can feel the measured information, and can convert the felt information into an electric signal or other information output in a required form according to a certain rule so as to meet the requirements of information transmission, processing, storage, display, recording, control and the like, and the sensor is characterized by comprising: the system is mainly used for realizing automatic detection and automatic control. The existence and development of the sensor enable the object to have the senses of touch, taste, smell and the like, and the object slowly becomes alive. Generally, the sensor is classified into ten categories, i.e., a thermosensitive element, a photosensitive element, a gas-sensitive element, a force-sensitive element, a magnetic-sensitive element, a humidity-sensitive element, a sound-sensitive element, a radiation-sensitive element, a color-sensitive element, and a taste-sensitive element, according to their basic sensing functions.
The sensor on-line measuring device that current patent grant publication number is CN203929802U, this sensor on-line measuring device, the microcontroller terminal has realized the on-line measuring of sensor after each process is accomplished, the digitization and the visualization of microcontroller terminal testing result, the microcontroller terminal realizes that this sensor on-line measuring device has with low costs, microcontroller terminal range of application is wide, microcontroller terminal qualification rate, the characteristics that microcontroller terminal production efficiency and test accuracy are high, however, this sensor on-line measuring device can't solve sensor circuit damage or sensor body has the problem, will return the error signal, and the controller can not distinguish, lead to serious problem or serious consequence, for this reason, we propose the on-line measuring device of a sensor.
Disclosure of Invention
The technical problem solved by the invention is as follows:
(1) how to make the supply power VCCA have different expected voltages through the control of the microcontroller terminals A1 and A2 and the adjustment of the data of the resistor, and then the AD test terminal is suspended, so that the AD1 is in the condition that the related circuits and elements are normal, and different expected voltage bits are generated, and the microcontroller and the related circuits can judge whether the related circuits and elements are normal or not by detecting the voltage bits, thereby solving the problem that the prior art is difficult to detect the state of the sensor at any time when the circuits work normally, ensuring the normal work of the sensor and the related circuits, and returning effective field data.
The purpose of the invention can be realized by the following technical scheme: the on-line detection device of the sensor comprises an analog voltage input circuit and a sensor interface circuit;
the sensor interface circuit comprises a power supply VCCA, an NTC sensor terminal socket, a resistor R19, an AD test terminal, an analog-to-digital converter AD0 and a capacitor C15, wherein a2 terminal of the NTC sensor terminal socket is connected with the power supply VCCA, a1 terminal of the NTC sensor terminal socket is connected with the analog-to-digital converter AD0, one terminal of the analog-to-digital converter AD0 is connected with one end of a capacitor C15, the other end of the capacitor C15 is connected with one terminal of the AD test terminal, one terminal of the resistor R19 is connected with the NTC sensor terminal socket, and the other terminal of the resistor R19 is connected with the AD test terminal;
analog voltage input circuit includes positive end VCC of power supply, power supply VCCA, microcontroller terminal A2, microcontroller terminal A1, resistance R1, resistance R2, resistance R3 and earth connection GND, power supply VCCA's terminal is connected with 1 wiring and 2 wiring of PNP output respectively, 1 wiring and the 1 wiring of positive end VCC of power supply of PNP output are connected, and 1 wiring and resistance R1's one end of PNP output are connected, resistance R1's the other end is connected with microcontroller terminal A1, 2 wiring and the microcontroller terminal A2 of PNP output are connected, 2 wiring of PNP output is connected with resistance R2 and resistance R3's one end respectively, the other end and the 2 wiring of the positive end VCC of power supply of resistance R2 are connected, the other end and the earth connection of resistance R3 are connected.
The invention has further technical improvements that: the analog-to-digital converter AD0 is internally connected with a chip for analyzing voltage signals.
The invention has further technical improvements that: the AD test terminal is connected with the control I O terminal, and can be grounded or suspended through IO control.
The invention has further technical improvements that: and the NTC sensor terminal socket is externally connected with a simulation temperature sensor.
Compared with the prior art, the invention has the beneficial effects that:
the external analog temperature sensor of NTC sensor terminal socket, AD1 internal connection analytic voltage signal's chip, VCCA can be connected to multiple driving voltage through the switching, AD test terminal connection control IO terminal, through I O steerable ground connection or unsettled, through relevant circuit and software, accomplish to detect at any time the important components and parts that use in the circuit and various resistive sensor that produce analog voltage, improve the reliability of circuit greatly, under the trouble condition, the controller in time discovers and does corresponding the processing, it has the significance to the relevant circuit of controller safe operation and to the timely feedback of last layer control.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is a circuit diagram of a sensor interface according to the present invention;
FIG. 2 is a circuit diagram of a microcontroller according to the present invention;
FIG. 3 is a circuit diagram of an analog voltage input circuit according to the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, an on-line detection device for a sensor includes an analog voltage input circuit and a sensor interface circuit;
the sensor interface circuit comprises a power supply VCCA, an NTC sensor terminal socket, a resistor R19, an AD test terminal, an analog-to-digital converter AD0 and a capacitor C15, wherein a2 terminal of the NTC sensor terminal socket is connected with the power supply VCCA, a1 terminal of the NTC sensor terminal socket is connected with the analog-to-digital converter AD0, one terminal of the analog-to-digital converter AD0 is connected with one end of a capacitor C15, the other end of the capacitor C15 is connected with one terminal of the AD test terminal, one terminal of the resistor R19 is connected with the NTC sensor terminal socket, and the other terminal of the resistor R19 is connected with the AD test terminal;
analog voltage input circuit includes positive end VCC of power supply, power supply VCCA, microcontroller terminal A2, microcontroller terminal A1, resistance R1, resistance R2, resistance R3 and earth connection GND, power supply VCCA's terminal is connected with 1 wiring and 2 wiring of PNP output respectively, 1 wiring and the 1 wiring of positive end VCC of power supply of PNP output are connected, and 1 wiring and resistance R1's one end of PNP output are connected, resistance R1's the other end is connected with microcontroller terminal A1, 2 wiring and the microcontroller terminal A2 of PNP output are connected, 2 wiring of PNP output is connected with resistance R2 and resistance R3's one end respectively, the other end and the 2 wiring of the positive end VCC of power supply of resistance R2 are connected, the other end and the earth connection of resistance R3 are connected.
The analog-to-digital converter AD0 is internally connected with a chip for analyzing voltage signals.
The AD test terminal is connected with the control I O terminal, and can be grounded or suspended through IO control.
And the NTC sensor terminal socket is externally connected with a simulation temperature sensor.
According to the invention, the NTC sensor terminal socket is externally connected with an analog temperature sensor, the AD1 is internally connected with a chip for analyzing voltage signals, the VCCA can be connected to various driving voltages through switching, the AD test terminal is connected with the control I O terminal, the grounding or suspension can be controlled through I O, and the detection of important components used in the circuit and various resistive sensors generating analog voltages at any time is realized through related circuits and software, so that the reliability of the circuit is greatly improved.
The working principle is as follows: when the invention is used, firstly, a power supply VCCA is connected with the voltage of an AD power supply of an analog-digital converter, an AD test terminal is grounded through IO control, when the temperature changes, the resistance of the analog temperature sensor changes, the voltage of an AD1 terminal changes, a controller analyzes the changed voltage signal to calculate the corresponding temperature for testing, the power supply VCCA and the AD test terminal can be controlled, wherein the AD test terminal is directly connected with a S0 pin of a controller in a circuit, the AD test terminal can be controlled to be suspended or grounded through the S0 pin, different voltage values can be generated by the controller, the controllers A2 and A1 can be combined to control the output voltage of the VCCA, a certain determined voltage value can be generated at the AD1 terminal part, namely, a low level 0, a high level VCC or a voltage range expected by circuit design is generated at an AD1 point, the controller can determine whether related circuits and elements work normally through the detection and judgment of the voltage value, different voltages of a supply power VCCA can be caused to appear different voltages in expectation by the control of terminals A1 and A2 of a microcontroller and the adjustment of data of a resistor, then an AD test terminal is suspended, an AD1 is in the condition that related circuits and elements are normal to generate different expected voltage bits, the microcontroller and the related circuits can judge whether the related circuits and the elements are normal or not by detecting the voltage bits, wherein the VCCA can also disconnect the voltage by the controller and generate a VCCA level of 0 by utilizing the grounding of the microcontroller by matching with the AD test terminal, meanwhile, if a temperature sensor has short circuit, disconnection of a connecting wire, burnout or other damage conditions in the real environment, the voltage value can be abnormal and inconsistent with the expectation, and the controller can monitor the working condition of the related circuits of the temperature sampling test at any time by the acquisition and judgment of the voltage, whether the related circuits and components work normally is judged, and if the related circuits and components work abnormally, corresponding processing is carried out in time, so that adverse consequences caused by misjudgment are avoided.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (3)

1. An on-line measuring device of sensor which characterized in that: the sensor comprises an analog voltage input circuit and a sensor interface circuit;
the sensor interface circuit comprises a power supply VCCA, an NTC sensor terminal socket, a resistor R19, an AD test terminal, an analog-to-digital converter AD0 and a capacitor C15, wherein a2 terminal of the NTC sensor terminal socket is connected with the power supply VCCA, a1 terminal of the NTC sensor terminal socket is connected with the analog-to-digital converter AD0, one terminal of the analog-to-digital converter AD0 is connected with one end of a capacitor C15, the other end of the capacitor C15 is connected with one terminal of the AD test terminal, one terminal of the resistor R19 is connected with the NTC sensor terminal socket, and the other terminal of the resistor R19 is connected with the AD test terminal;
the analog voltage input circuit comprises a power supply positive terminal VCC, a power supply VCCA, a microcontroller terminal A2, a microcontroller terminal A1, a resistor R1, a resistor R2, a resistor R3 and a ground wire GND, wherein the terminals of the power supply VCCA are respectively connected with a terminal 1 and a terminal 2 of PNP output, the terminal 1 of the PNP output is connected with the terminal 1 of the power supply positive terminal VCC, the terminal 1 of the PNP output is connected with one end of a resistor R1, the other end of the resistor R1 is connected with the microcontroller terminal A1, the terminal 2 of the PNP output is connected with the microcontroller terminal A2, the terminal 2 of the PNP output is respectively connected with one ends of a resistor R2 and a resistor R3, the other end of the resistor R2 is connected with the terminal 2 of the power supply positive terminal VCC, and the other end of the resistor R3 is connected with the ground wire;
the AD test terminal is connected with the control IO terminal and can be grounded or suspended through IO control.
2. The on-line detection device of a sensor according to claim 1, wherein the analog-to-digital converter AD0 is internally connected with a chip for analyzing the voltage signal.
3. The on-line detecting device of a sensor according to claim 1, wherein the NTC sensor terminal socket is externally connected with an analog temperature sensor.
CN201911001270.3A 2019-10-21 2019-10-21 On-line detection device of sensor Active CN110927406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911001270.3A CN110927406B (en) 2019-10-21 2019-10-21 On-line detection device of sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911001270.3A CN110927406B (en) 2019-10-21 2019-10-21 On-line detection device of sensor

Publications (2)

Publication Number Publication Date
CN110927406A CN110927406A (en) 2020-03-27
CN110927406B true CN110927406B (en) 2022-01-04

Family

ID=69849419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911001270.3A Active CN110927406B (en) 2019-10-21 2019-10-21 On-line detection device of sensor

Country Status (1)

Country Link
CN (1) CN110927406B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104748881A (en) * 2015-02-06 2015-07-01 安徽万瑞冷电科技有限公司 Pt1000 temperature transmitter with wide power supply range
CN206300738U (en) * 2016-12-20 2017-07-04 厦门芯阳科技股份有限公司 A kind of NTC temperature sensor open detection circuits of heater
CN107976601A (en) * 2017-10-20 2018-05-01 广州小鹏汽车科技有限公司 A kind of fault diagnosis circuit and method for NTC temperature acquisition circuits
CN108254099A (en) * 2017-12-29 2018-07-06 惠州市德赛西威汽车电子股份有限公司 A kind of temperature sensing circuit of thermistor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101504429B1 (en) * 2013-09-02 2015-03-19 엘에스산전 주식회사 Temperature measuring apparatus using negative temperature coefficient thermistor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104748881A (en) * 2015-02-06 2015-07-01 安徽万瑞冷电科技有限公司 Pt1000 temperature transmitter with wide power supply range
CN206300738U (en) * 2016-12-20 2017-07-04 厦门芯阳科技股份有限公司 A kind of NTC temperature sensor open detection circuits of heater
CN107976601A (en) * 2017-10-20 2018-05-01 广州小鹏汽车科技有限公司 A kind of fault diagnosis circuit and method for NTC temperature acquisition circuits
CN108254099A (en) * 2017-12-29 2018-07-06 惠州市德赛西威汽车电子股份有限公司 A kind of temperature sensing circuit of thermistor

Also Published As

Publication number Publication date
CN110927406A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
EP2527854B1 (en) Systems and methods for determining electrical faults
JP2004294437A (en) Electronic battery tester
CN104635102A (en) Electronic component detection device and detection method thereof
CN104898737A (en) Temperature acquisition fault self-diagnosis system
CN110927406B (en) On-line detection device of sensor
CN112782458A (en) Arrester zinc oxide structure of arrester intellectual detection system module and adaptation
CN104297579A (en) Detection device and method
CN205691645U (en) A kind of signal detection system
CN115931171A (en) Electric energy meter calibrating installation with temperature measurement function
CN206556780U (en) Temperature-detecting device
CN112212908B (en) Intelligent sensor and intelligent method thereof
CN107543574B (en) Automatic detector for high-temperature aging test of airborne sensor and operation method
CN209387064U (en) A kind of temperature and general measuring circuit of leaking electricity
CN114184234A (en) Temperature and pressure combined sensor
CN112904229B (en) Short circuit detection device and short circuit detection method
CN112865229A (en) Charging protection circuit and wireless earphone
JP6298202B1 (en) Wire inspection device
CN106019062B (en) A kind of residual current coil breakage detection device and its detection method
CN219831210U (en) Integrated circuit static measurement fast scanner
CN220709578U (en) Tester for temperature control box
CN106918738B (en) Metering control system of shunt in electric energy meter
CN212843686U (en) Portable sensor detection device
CN213957214U (en) Multi-application semiconductor sensor tester
CN217953554U (en) High-precision industrial temperature and humidity transmitter
CN212022398U (en) High-low temperature performance measurement and control device based on internet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant