CN207833285U - Sample circuit based on resistive sensor - Google Patents
Sample circuit based on resistive sensor Download PDFInfo
- Publication number
- CN207833285U CN207833285U CN201820175339.9U CN201820175339U CN207833285U CN 207833285 U CN207833285 U CN 207833285U CN 201820175339 U CN201820175339 U CN 201820175339U CN 207833285 U CN207833285 U CN 207833285U
- Authority
- CN
- China
- Prior art keywords
- resistance
- microcontroller
- pnp triode
- sensor
- sample circuit
- 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
Links
Landscapes
- Measuring Temperature Or Quantity Of Heat (AREA)
Abstract
The utility model discloses a kind of sample circuits based on resistive sensor, including microcontroller, resistance type sensor and peripheral electron switching circuit, the microcontroller is internally integrated analog-to-digital conversion module, microcontroller is equipped with analog-to-digital conversion controlling switch and three or more input control pin, and the output level combination on the input control pin of microcontroller connects corresponding sample circuit in peripheral electron switching circuit for choosing.The utility model can realize different types of signal sampling by accessing different types of resistive sensor, and can realize and all obtain good measurement accuracy and resolution ratio in gamut scope.
Description
Technical field
The utility model is related to sample circuit technical fields, can improve in gamut scope and measure more particularly to one kind
The sample circuit based on resistive sensor of precision.
Background technology
Currently used thermometric mode is in accordance with the conventional temperature-measurement range required by equipment, becomes in conjunction with the resistance of sensor
Rate selects sampling resistor, it is ensured that obtains best temperature measurement accuracy and resolution ratio in the temperature-measuring range of equipment requirement.
And conventional resistive sensor such as thermistor, photo resistance etc., since its resistance varies with temperature the spy in nonlinear change
Property, the corresponding resistance of the signal strength that senses also is nonlinear relationship.A NTC temperature-sensitive as shown in figure 1
The temperature curve table of resistance, when temperature changes between -25 ~ 75 DEG C, every 1 DEG C of corresponding resistance range is about hundreds of
Between ohm;And when temperature is within the scope of -50 ~ 25 DEG C, every 1 DEG C of corresponding resistance range has reached several kilohms very
To ohms up to ten thousand;And temperature reaches 75 DEG C or more of range, every 1 DEG C of corresponding resistance range only has tens ohm.Therefore
For conventional temperature sampling mode in other temperature ranges, there is very large deviation in temperature measurement accuracy and resolution ratio, limited to and set
Standby temperature-measuring range and measurement accuracy.
Utility model content
In order to solve the above technical problems, the utility model provides a kind of sample circuit based on resistive sensor, energy
On the basis of hardly increasing hardware cost, make all to obtain good measurement accuracy and resolution ratio in gamut scope, and energy
It is enough to realize different types of signal sampling by accessing different types of resistive sensor.
To realize the above-mentioned technical purpose, the utility model uses following technical solution:
A kind of sample circuit based on resistive sensor, it is characterised in that:Including microcontroller, resistance type sensor and outer
Electronic switching circuit is enclosed, the microcontroller is internally integrated analog-to-digital conversion module, and microcontroller is equipped with analog-to-digital conversion control and draws
Foot and three or more input control pin, peripheral electron switching circuit include being separately connected the different input controls of microcontroller to draw
High value sample circuit, low resistance sample circuit and the reference resistance value sample circuit of foot, resistance type sensor are equipped with connection periphery
The pin two of the pin one of electronic switching circuit and ground connection, the output level combination on the input control pin of microcontroller are used for
It chooses and connects corresponding sample circuit in peripheral electron switching circuit.
Preferably, the high value sample circuit includes second resistance, 3rd resistor, the first PNP triode and high resistant
It is worth sampling resistor, includes that the 4th resistance, the 5th resistance, the second PNP triode and reference resistance value sample with reference to resistance value sample circuit
Resistance, low resistance sample circuit include the 6th resistance, the 7th resistance, third PNP triode and low resistance sampling resistor, microcontroller
The input control pin of device includes the first input control pin, the second input control pin and third input control pin, wherein
The first input control pin, the other end of one end connection microcontroller of the 3rd resistor connect the first PNP tri-
The emitter of the base stage of pole pipe, the first PNP triode connects positive pole, and the collector of the first PNP triode is sampled through high value
Resistance is connected to the pin one of resistance type sensor, and the both ends of second resistance are separately connected the base stage and hair of the first PNP triode
Emitter-base bandgap grading;
The second input control pin, the other end of one end connection microcontroller of 5th resistance connect the 2nd PNP tri-
The emitter of the base stage of pole pipe, the second PNP triode connects positive pole, and the collector of the second PNP triode with reference to resistance value through adopting
Sample resistance is connected to the pin one of resistance type sensor, the both ends of the 4th resistance be separately connected the base stage of the second PNP triode with
Emitter;
Third input control pin, the other end of one end connection microcontroller of 7th resistance connect the 3rd PNP tri-
The emitter of the base stage of pole pipe, third PNP triode connects positive pole, and the collector of third PNP triode is sampled through low resistance
Resistance is connected to the pin one of resistance type sensor, and the both ends of the 6th resistance are separately connected the base stage and hair of third PNP triode
Emitter-base bandgap grading.
Preferably, the sample circuit further includes first resistor and the first capacitance, the analog-to-digital conversion control of microcontroller
Pin is connected to the pin one of resistance type sensor, the analog-to-digital conversion controlling switch of microcontroller and the first electricity by first resistor
The points of common connection of resistance connects one end of the first capacitance, the other end ground connection of the first capacitance.
Preferably, the resistance type sensor is passed using voltage sensitive sensor, heat-sensitive sensor, displacement sensor, magnetosensitive
Any one of sensor, photosensitive sensor or moisture sensor.
By adopting the above-described technical solution, the utility model has the following technical effect that:The utility model passes through micro-control
Device processed and peripheral electron switching circuit with different resistance value sampling resistors switch different sampling resistors and are passed to read resistor-type
The resistance value in sensor difference resistance section obtains the sampled result of higher resolution and precision in gamut measurement range, and
Different types of signal sampling can be realized by accessing different types of resistive sensor.
Description of the drawings
The utility model will illustrate by example and with reference to the appended drawing, wherein:
Fig. 1 is the exemplary temperature curve table of a NTC thermistor;
Fig. 2 is the structural schematic diagram of the utility model.
Specific implementation mode
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive
Feature and/or step other than, can combine in any way.
Any feature disclosed in this specification unless specifically stated can be equivalent or with similar purpose by other
Alternative features are replaced.That is, unless specifically stated, each feature is an example in a series of equivalent or similar characteristics
.
Be illustrated in figure 2 a preferred embodiment of the utility model, i.e., a kind of sample circuit based on resistive sensor,
Including microcontroller, resistance type sensor and peripheral electron switching circuit, wherein microcontroller is internally integrated modulus
Conversion module, microcontroller are equipped with analog-to-digital conversion controlling switch ADC and three or more input control pin, peripheral electron and open
Powered-down road includes the high value sample circuit for the input control pin for being separately connected a microcontroller, low resistance sampling electricity
Road and refer to resistance value sample circuit, resistance type sensor RT be equipped with connection peripheral electron switching circuit pin one and ground connection draw
Foot two, the output level combination on the input control pin of microcontroller are connected for choosing in peripheral electron switching circuit
Corresponding sample circuit.
As shown in Fig. 2, in the present embodiment, high value sample circuit, with reference to resistance value sample circuit and low resistance sample circuit
It is all made of the switching circuit of PNP triode and resistance composition, and is respectively equipped with the different sampling resistor of resistance value, i.e., high value samples
Resistance RH, with reference to resistance value sampling resistor RR and low resistance sampling resistor RL.As shown in Figure 1, the first PNP triode Q1, the second electricity
Hinder R2,3rd resistor R3;Second PNP triode Q2, the 4th resistance R4, the 5th resistance R5;Third PNP triode Q3, the 6th electricity
R6, the 7th resistance R7 three groups of electronic switches of composition are hindered, for switching above-mentioned three groups of different sampling resistors.Pass through the ADC work(of MCU
The resistance value of resistance type sensor RT can be read, MCU reads resistance type sensor RT not by switching different sampling resistors
With the resistance value in resistance section.The preferred resistance value of sampling resistor RL, RR and RH differs greatly three resistance, the value model of three resistance
Enclosing can specifically determine according to the phasing meter for being tested resistive sensor, and the ratio of RH, RR, tri- resistance of RL are preferably approximately 290:
80:1.First resistor R1 and the first capacitance C2 constitutes the RC filter circuits at ADC pins, and first resistor R1 plays current limliting and makees simultaneously
With.
In the present embodiment, NTC thermistor, i.e. negative tempperature coefficient thermistor can be used in resistance type sensor RT, is used for
Temperature sampling, for circuit in normal work, MCU drags down a pin in input control pin SW1 ~ SW3, and makes other two
Pin is set to high level, three pins at least one to be low level combination have 7 kinds of combinations, i.e. the pin SW1 of MCU ~
The sampling electricity group combination of the corresponding 7 kinds of modes of SW3 accesses.After the resistance value for reading multiple thermistors, pass through thermistor
The size of resistance value determines the Standard resistance range of current resistive sensor, and one is chosen in being combined at 7 kinds and is most suitable for measuring Current Temperatures
The bias mode of value again accurately measures the resistance value of thermistor again.In the control program of MCU, this corresponding 7 kinds of groups
Conjunction mode generates 7 corresponding AD value comparison tables, and the AD values read just can directly obtain the electricity of thermistor by tabling look-up
Resistance value, to obtain current temperature value.
As more improvement of the present embodiment, resistance type sensor in addition to thermistor, can also use voltage sensitive sensor,
Any one of resistive sensor such as displacement sensor, magneto-dependent sensor, photosensitive sensor or moisture sensor, for pressure
The signals such as power, displacement, magnetic field, light intensity and humidity are acquired sampling.
The utility model is not limited to specific implementation mode above-mentioned.The utility model expands to any in this specification
The new feature of middle disclosure or any new combination, and disclose any new method or process the step of or any new group
It closes.
Claims (4)
1. a kind of sample circuit based on resistive sensor, it is characterised in that:Including microcontroller, resistance type sensor RT
With peripheral electron switching circuit, the microcontroller is internally integrated analog-to-digital conversion module, and microcontroller is equipped with modulus
Conversion and control pin ADC and three or more input control pin, peripheral electron switching circuit include being separately connected microcontroller
The high value sample circuits of different input control pins, low resistance sample circuit and refer to resistance value sample circuit, resistor-type passes
Sensor RT is equipped with the pin two of the pin one and ground connection of connection peripheral electron switching circuit, and the input control of microcontroller is drawn
Output level combination on foot connects corresponding sample circuit in peripheral electron switching circuit for choosing.
2. a kind of sample circuit based on resistive sensor according to claim 1, it is characterised in that:The high value is adopted
Sample circuit includes second resistance R2,3rd resistor R3, the first PNP triode Q1 and high value sampling resistor RH, is adopted with reference to resistance value
Sample circuit includes the 4th resistance R4, the 5th resistance R5, the second PNP triode Q2 and refers to resistance value sampling resistor RR, and low resistance is adopted
Sample circuit includes the 6th resistance R6, the 7th resistance R7, third PNP triode Q3 and low resistance sampling resistor RL, microcontroller
Input control pin include the first input control pin SW1, the second input control pin SW2 and third input control pin
SW3, wherein
First input control pin SW1 of one end connection microcontroller of the 3rd resistor R3, other end connection first
The emitter of the base stage of PNP triode Q1, the first PNP triode Q1 connects positive pole VCC, the current collection of the first PNP triode Q1
Pole is connected to the pin one of resistance type sensor RT through high value sampling resistor RH, and the both ends of second resistance R2 are separately connected first
The base stage and emitter of PNP triode Q1;
Second input control pin SW2 of one end connection microcontroller of the 5th resistance R5, other end connection second
The emitter of the base stage of PNP triode Q2, the second PNP triode Q2 connects positive pole VCC, the current collection of the second PNP triode Q2
Through being connected to the pin one of resistance type sensor RT with reference to resistance value sampling resistor RR, the both ends of the 4th resistance R4 are separately connected for pole
The base stage and emitter of two PNP triode Q2;
Third input control pin SW3, the other end of one end connection microcontroller of the 7th resistance R7 connect third
The emitter of the base stage of PNP triode Q3, third PNP triode Q3 connects positive pole VCC, the current collection of third PNP triode Q3
Pole is connected to the pin one of resistance type sensor RT through low resistance sampling resistor RL, and the both ends of the 6th resistance R6 are separately connected third
The base stage and emitter of PNP triode Q3.
3. a kind of sample circuit based on resistive sensor according to claim 1, it is characterised in that:The sample circuit
Further include first resistor R1 and the first capacitance C2, the analog-to-digital conversion controlling switch ADC of microcontroller is connected by first resistor R1
It is connected to the pin one of resistance type sensor RT, the analog-to-digital conversion controlling switch ADC's and first resistor R1 of microcontroller is public
Tie point connects one end of the first capacitance C2, the other end ground connection of the first capacitance C2.
4. a kind of sample circuit based on resistive sensor according to claim 1, it is characterised in that:The resistor-type passes
Sensor RT uses voltage sensitive sensor, heat-sensitive sensor, displacement sensor, magneto-dependent sensor, photosensitive sensor or moisture sensor
Any one of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820175339.9U CN207833285U (en) | 2018-02-01 | 2018-02-01 | Sample circuit based on resistive sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820175339.9U CN207833285U (en) | 2018-02-01 | 2018-02-01 | Sample circuit based on resistive sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207833285U true CN207833285U (en) | 2018-09-07 |
Family
ID=63396126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201820175339.9U Active CN207833285U (en) | 2018-02-01 | 2018-02-01 | Sample circuit based on resistive sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207833285U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110006555A (en) * | 2019-04-17 | 2019-07-12 | 中国空气动力研究与发展中心超高速空气动力研究所 | A kind of thermocouple and pressure sensor rapid measurement device |
CN111257641A (en) * | 2020-02-25 | 2020-06-09 | 东风电子科技股份有限公司 | Wide resistance range signal acquisition circuit and corresponding acquisition method |
CN112229427A (en) * | 2020-08-24 | 2021-01-15 | 东风电驱动系统有限公司 | Ultra-large range resistance signal processing system and method |
-
2018
- 2018-02-01 CN CN201820175339.9U patent/CN207833285U/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110006555A (en) * | 2019-04-17 | 2019-07-12 | 中国空气动力研究与发展中心超高速空气动力研究所 | A kind of thermocouple and pressure sensor rapid measurement device |
CN111257641A (en) * | 2020-02-25 | 2020-06-09 | 东风电子科技股份有限公司 | Wide resistance range signal acquisition circuit and corresponding acquisition method |
CN111257641B (en) * | 2020-02-25 | 2022-03-04 | 东风电子科技股份有限公司 | Wide resistance range signal acquisition circuit and corresponding acquisition method |
CN112229427A (en) * | 2020-08-24 | 2021-01-15 | 东风电驱动系统有限公司 | Ultra-large range resistance signal processing system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207833285U (en) | Sample circuit based on resistive sensor | |
CN103968969B (en) | Temperature measuring device and chip of system on programmable chip | |
CN103995024B (en) | A kind of measuring method of the circuit for resistance-type Water content measurement sensor | |
CN108254099A (en) | A kind of temperature sensing circuit of thermistor | |
CN104062025B (en) | A kind of energy-conservation automatic AD temperature acquisition monitoring system | |
CN109580025B (en) | Wide-range platinum resistor temperature sampling circuit | |
CN110388993A (en) | A kind of Low ESR temperature sensor and its thermometry | |
CN209541943U (en) | Temperature sampling circuit | |
CN116295899A (en) | Temperature detection compatible circuit and control method | |
CN203745081U (en) | Extremely-low-lost adjustable-detection-range light intensity detection circuit | |
CN207115231U (en) | Utilize the integrated circuit of self-heating calibration bandgap voltage reference temperature drift | |
CN212007579U (en) | Temperature detection circuit and device | |
CN201946185U (en) | Thermal resistor experimental instrument | |
CN211576401U (en) | Low-impedance temperature sensor | |
CN106644174A (en) | Resistance value detecting device and method for resistor type temperature sensor | |
CN209707422U (en) | A kind of expansion coefficients of metal wire measuring device and material temperature become length measurement device | |
CN208223668U (en) | High Precision Low Temperature based on three-wire system PT100 floats temp measuring system | |
CN112953501B (en) | Universal signal input circuit for intelligent instrument | |
CN207163947U (en) | Flow thermal conductivity coefficient measuring instrument | |
CN206573232U (en) | Thermistor temperature detecting circuit | |
CN211527660U (en) | Accurate temperature measurement circuit | |
CN219695293U (en) | Resistance detection circuit, system and blower | |
CN208206342U (en) | A kind of temperature measurement circuit and electric kettle | |
CN219714570U (en) | Temperature measuring circuit | |
CN221173659U (en) | Temperature detection device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |