CN110530534A - A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement - Google Patents
A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement Download PDFInfo
- Publication number
- CN110530534A CN110530534A CN201910804499.4A CN201910804499A CN110530534A CN 110530534 A CN110530534 A CN 110530534A CN 201910804499 A CN201910804499 A CN 201910804499A CN 110530534 A CN110530534 A CN 110530534A
- Authority
- CN
- China
- Prior art keywords
- resistance
- feet
- capacitor
- signal
- microcontroller
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01K—MEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
- G01K1/00—Details of thermometers not specially adapted for particular types of thermometer
- G01K1/02—Means for indicating or recording specially adapted for thermometers
- G01K1/024—Means for indicating or recording specially adapted for thermometers for remote indication
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement of the present invention, belongs to the digital temperature sensor technical field based on picogram bus transfer agreement;Technical problem to be solved are as follows: a kind of improvement of digital temperature sensor hardware configuration and its temp measuring method based on picogram bus transfer agreement is provided;Solve the technical solution of technical problem use are as follows: including microcontroller, the signal input part of the microcontroller is connected by conducting wire with data acquisition module, the signal input part of the data acquisition module is connected by conducting wire with multiple temperature sensors, and the signal input part of the data acquisition module is also connected with signal generator;The microcontroller is also connected with the SPI interface of picogram bus communication module by conducting wire;The picogram bus communication module is connected by conducting wire with router;The power input of the microcontroller is connected with power module;The present invention is applied to digital temperature sensor.
Description
Technical field
A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement of the present invention, belongs to based on sand
The digital temperature sensor technical field of gram bus transfer agreement.
Background technique
The arrow product that plays domestic at present is seldom to the application of bus system, less manages using its applicable cases and effect
Think, carried out data transmission in most cases using 422 buses, use 1553B or CAN bus under rare occasion, it is overall and
Speech, playing arrow bus, not only popularity rate is low, and application level is not also high, and Point-to-Point Data Transmission mode is also located in playing arrow measuring system
In leading position, be based especially on the digital temperature sensor for playing arrow bus transfer data, research and development production and use cost compared with
Height restricts sensing measurement system and the whole promotion for playing arrow performance.
There is insufficient and limitation below in use based on the temperature sensor for playing the measurement of arrow bus:
(1) equipment connecting relation aggregate performance is tree-shaped unidirectional series system, this is efficiency and reliability in all-network framework
Minimum one kind, data are from leaf aggregate transmission to tree root, front end to rear end serial transfer all the way, do not have individually access it is a certain
The ability of platform single machine;
(2) any one equipment goes wrong in the type bus, can all lead to entire link data transfer failure, reliability
It is low;The problem of checking some equipment, it is necessary to which entire link works at the same time, one by one equipment replacement investigation, debugging effect
Rate is low;
(3) point-to-point data transmission is carried out between all devices, interface independent design, heavy workload is general non-interchangeable;
(4) cable system is larger, and structure is complicated, needs technical staff well-designed, and the design cycle is long, and design and life easily occurs
Mistake is produced, the cable system product size weight finally made is big, and structure is complicated, and using assembly difficulty, high failure rate equips guarantee
Number of devices is more, and reliability is low;
(5) single machine and system need multiple Interface Matching to test, it is difficult to accomplish the standardization and commercialization of data transmission;
(6) communication code rate is low, it is difficult to meet the transmission demand of batch temperature data;
(7) general temperature sensor uses thermistor, the devices such as thermocouple, thermistor small volume, low manufacture cost, spirit
Sensitivity is high, but there are limited temperature measurement ranges, lack data standard, so that highly difficult when replacement, thermistor needs to mend
Circuit is repaid to overcome nonlinearity when measurement, thermocouple for monitor extreme value temperature be it is ideal, but precision and stability compared with
Difference and it is necessary to point-device to test under controlled conditions;The drawbacks described above of temperature sensor is analog temperature sensor
Common fault is not able to satisfy the measuring precision demand;
In view of defect existing for above-mentioned bullet arrow bus and temperature sensor, the acquisition and transmission system to existing temperature sensor are needed
System is accordingly improved.
Summary of the invention
The present invention is in order to overcome the deficiencies in the prior art, technical problem to be solved are as follows: provides one kind and is based on
The improvement of the digital temperature sensor hardware configuration and its temp measuring method of picogram bus transfer agreement.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows: one kind is based on picogram bus transfer agreement
Digital temperature sensor, the signal input part of including microcontroller, the microcontroller passes through conducting wire and data acquisition module
It is connected, the signal input part of the data acquisition module is connected by conducting wire with multiple temperature sensors, the data acquisition module
The signal input part of block is also connected with signal generator;
The microcontroller is also connected with the SPI interface of picogram bus communication module by conducting wire;
The picogram bus communication module is connected by conducting wire with router;
The power input of the microcontroller is connected with power module;
The chip model that the temperature sensor uses is DS18B20, the signal output end and microcontroller of the DS18B20 chip
The I/O port of device is connected;
The chip that the picogram bus communication module uses is signal transmission chip U1, cable driver U2, signal receiving chip
U3, data recoverer U4, the circuit structure of the picogram bus communication module are as follows:
- 11 foot of 1 foot of the signal transmission chip U1 is connected with the signal input part of microcontroller;
It is grounded after the 30 foot series resistor R17 of the signal transmission chip U1;
It is grounded after the 31 foot series resistor R18 of the signal transmission chip U1;
It is grounded after the 18 foot series resistor R20 of the signal transmission chip U1;
It is grounded after the 23 foot series resistor R19 of the signal transmission chip U1;
One end of 21 feet of the signal transmission chip U1 and connecting resistance R22, one end of resistance R25, behind one end of resistance R26 with
2 feet of cable driver U2 are connected;
One end of 20 feet of the signal transmission chip U1 and connecting resistance R22, one end of resistance R23, behind one end of resistance R24 with
3 feet of cable driver U2 are connected;
16 feet of the signal transmission chip U1 successively and connect 25 feet of signal transmission chip U1,26 feet, 27 feet, 28 feet, 29 feet,
One end of capacitor C46, one end of capacitor C47 are connected behind one end of capacitor C48 with 3.3V input power, the capacitor C46,
The other end of C47, C48 are grounded after being connected with each other;
It is connected after the other end of the resistance R23 and the other end of connecting resistance R25 with 3.3V input power;
It is grounded after the other end of the resistance R24 and the other end of connecting resistance R26;
It is grounded after the 4 foot series resistor R27 of the cable driver U2;
It is connected behind 7 feet of the cable driver U2 and one end of connecting resistance R29 with one end of capacitor C51, the capacitor C51's
The other end is connected with connecting terminal J5;
It is connected behind 6 feet of the cable driver U2 and one end of connecting resistance R28 with one end of capacitor C50, the capacitor C50's
The other end is connected with connecting terminal J5;
The other end of the resistance R28 and resistance R29 is grounded after being connected with each other;
- 18 foot of 14 foot of the signal receiving chip U3, -27 foot of 23 foot are connected with the signal output end of microcontroller;
4 feet of the signal receiving chip U3 are simultaneously connected after connecing 5 feet of signal receiving chip U3 with one end of resistance R47, described
The other end of resistance R47 is connected with 3.3V input power;
1 foot, 8 feet, 9 feet, 22 feet, 20 feet of the signal receiving chip U3 are connected with 3.3V input power respectively;
One end of 2 feet of the signal receiving chip U3 and connecting resistance R50, one end of resistance R54, behind one end of resistance R53 with
One end of capacitor C66 is connected, 13 feet after the other end of the capacitor C66 and one end of connecting resistance R55 with data recoverer U4
It is connected;
The other end of 3 feet of the signal receiving chip U3 and connecting resistance R50, one end of resistance R51, behind one end of resistance R52
Be connected with one end of capacitor C67, behind one end of the other end of the capacitor C67 and connecting resistance R56 with data recoverer U4 14
Foot is connected;
It is connected after the other end of the resistance R51 and the other end of connecting resistance R53 with 3.3V input power, the resistance R52's
It is grounded after the other end of the other end and connecting resistance R54, the other end of the resistance R55 and the other end of connecting resistance R56, diode
One end of capacitor C68 is connected after after the cathode of D4, the other end ground connection of the capacitor C68;
It is connected after the 7 foot serial capacitance C69 of the data recoverer U4 with 6 feet of data recoverer U4;
The anode of the diode D4 and the one end for connecing 4 feet of data recoverer U4,1 foot, 2 feet, capacitor C70, the one of capacitor C72
It is connected behind end with 5V input power, is grounded after the other end of the other end shunt-wound capacitance C72 of the capacitor C70;
12 feet of the data recoverer U4 are simultaneously connected after connecing 5 feet of data recoverer U4 with one end of capacitor C71, the capacitor
The other end of C71 is grounded;
It is connected after the 8 foot series resistor R59 of the data recoverer U4 with one end of capacitor C75, the other end of the capacitor C75
And be connected behind one end of connecting resistance R60 with one end of resistance R62, the other end of the resistance R62 is connected with connecting terminal J5;
It is connected after the 9 foot series resistor R58 of the data recoverer U4 with one end of capacitor C74, the other end of the capacitor C74
And be connected behind one end of connecting resistance R61 with one end of resistance R63, the other end of the resistance R63 is connected with connecting terminal J5;
It is grounded after the other end of the resistance R60 and the other end of connecting resistance R61;
It is grounded after the 3 foot series resistor R57 and capacitor C73 of the data recoverer U4.
Chip signal used in the microcontroller is XC3S200AN-4FT256I;
The model DS921V1023ARHBQ of the signal transmission chip U1;
The model CLC001 of the cable driver U2;
The model DS921V1224ARHBQ of the signal receiving chip U3;
The model CLC014 of the data recoverer U4.
A kind of temp measuring method of the digital temperature sensor based on picogram bus transfer agreement, includes the following steps:
Step 1: after starting thermometric, microcontroller is initialized first, and control microcontroller sends a reset arteries and veins
Punching, resets module chip all on signal wire, then controls microcontroller and sends ROM operational order, activation and life
The matched product of serial number codes in order is at least one temperature sensor product and instructs state to be visited;
Step 2: when detecting a temperature sensor On-line Product, microcontroller will initialize product, open
Dynamic temperature conversion program is AD converted the collected temperature data of temperature sensor, then microcontroller discharge bus into
Enter data receiving state, when temperature sensor in detecting bus there are after rising edge signal, wait 15-60 μ s, temperature
Sensor will issue the existing feedback pulse signal 60-240 μ s of detection to bus;
Step 3: when bus detect temperature sensor there are after, one of the operational order of following ROM, including reading will be issued
Take online temperature value ROM(33H), matching ROM(55H), skip ROM(CCH), Search ROM (F0H) and alarm search (ECH) order
It enables, the working condition for the temperature sensor product for making the internal storage access of microcontroller that control be instructed to choose is completed entire temperature and turned
It changes, read work.
What the present invention had compared with the existing technology has the beneficial effect that the present invention can overcome based on tradition bullet arrow bus survey
Defect existing for amount system provides a kind of digital temperature sensor based on picogram bus transfer agreement, is passed using picogram bus
Defeated agreement transmits collected temperature signal, corresponding digital temperature sensor can be directly articulated in router
In idle interface, and directly by the communication between network implementations, data reach each by the automatic pathfinding of network and set
It is standby;Using Data Transport Protocol and control module of the invention, investigates building automatically by router and update whole network, use
Simply, support that the response time is short to the high rate data transmission of temperature collection data, data transmission is reliable, supports plurality of specifications cable
Wiring is measured using multiple groups digital temperature sensor, and it is short to measure the corresponding time, and measurement accuracy is high, and data transmission is stablized, can
Meet most of temperature real-time monitoring operating condition.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawing:
Fig. 1 is electrical block diagram of the invention;
Fig. 2 is the circuit diagram of picogram bus communication module of the present invention;
Fig. 3 is microcontroller electric operation control circuit figure of the present invention;
Fig. 4 is the step flow chart of temperature sensor application method of the present invention;
In figure: 1 being microcontroller, 2 be data acquisition module, 3 be temperature sensor, 4 be signal generator, 5 be picogram bus
Communication module, 6 be router, 7 be power module.
Specific embodiment
As shown in Figure 1 to Figure 3, a kind of digital temperature sensor based on picogram bus transfer agreement of the present invention, including it is micro-
The signal input part of controller (1), the microcontroller (1) is connected by conducting wire with data acquisition module (2), and the data are adopted
The signal input part of collection module (2) is connected by conducting wire with multiple temperature sensors (3), the letter of the data acquisition module (2)
Number input terminal is also connected with signal generator (4);
The microcontroller (1) is also connected with the SPI interface of picogram bus communication module (5) by conducting wire;
The picogram bus communication module (5) is connected by conducting wire with router (6);
The power input of the microcontroller (1) is connected with power module (7);
The chip model that the temperature sensor (3) uses be DS18B20, the signal output end of the DS18B20 chip with it is micro-
The I/O port of controller (1) is connected;
The chip that the picogram bus communication module (5) uses is signal transmission chip U1, cable driver U2, signal receive core
Piece U3, data recoverer U4, the circuit structure of the picogram bus communication module (5) are as follows:
- 11 foot of 1 foot of the signal transmission chip U1 is connected with the signal input part of microcontroller (1);
It is grounded after the 30 foot series resistor R17 of the signal transmission chip U1;
It is grounded after the 31 foot series resistor R18 of the signal transmission chip U1;
It is grounded after the 18 foot series resistor R20 of the signal transmission chip U1;
It is grounded after the 23 foot series resistor R19 of the signal transmission chip U1;
One end of 21 feet of the signal transmission chip U1 and connecting resistance R22, one end of resistance R25, behind one end of resistance R26 with
2 feet of cable driver U2 are connected;
One end of 20 feet of the signal transmission chip U1 and connecting resistance R22, one end of resistance R23, behind one end of resistance R24 with
3 feet of cable driver U2 are connected;
16 feet of the signal transmission chip U1 successively and connect 25 feet of signal transmission chip U1,26 feet, 27 feet, 28 feet, 29 feet,
One end of capacitor C46, one end of capacitor C47 are connected behind one end of capacitor C48 with 3.3V input power, the capacitor C46,
The other end of C47, C48 are grounded after being connected with each other;
It is connected after the other end of the resistance R23 and the other end of connecting resistance R25 with 3.3V input power;
It is grounded after the other end of the resistance R24 and the other end of connecting resistance R26;
It is grounded after the 4 foot series resistor R27 of the cable driver U2;
It is connected behind 7 feet of the cable driver U2 and one end of connecting resistance R29 with one end of capacitor C51, the capacitor C51's
The other end is connected with connecting terminal J5;
It is connected behind 6 feet of the cable driver U2 and one end of connecting resistance R28 with one end of capacitor C50, the capacitor C50's
The other end is connected with connecting terminal J5;
The other end of the resistance R28 and resistance R29 is grounded after being connected with each other;
- 18 foot of 14 foot of the signal receiving chip U3, -27 foot of 23 foot are connected with the signal output end of microcontroller (1);
4 feet of the signal receiving chip U3 are simultaneously connected after connecing 5 feet of signal receiving chip U3 with one end of resistance R47, described
The other end of resistance R47 is connected with 3.3V input power;
1 foot, 8 feet, 9 feet, 22 feet, 20 feet of the signal receiving chip U3 are connected with 3.3V input power respectively;
One end of 2 feet of the signal receiving chip U3 and connecting resistance R50, one end of resistance R54, behind one end of resistance R53 with
One end of capacitor C66 is connected, 13 feet after the other end of the capacitor C66 and one end of connecting resistance R55 with data recoverer U4
It is connected;
The other end of 3 feet of the signal receiving chip U3 and connecting resistance R50, one end of resistance R51, behind one end of resistance R52
Be connected with one end of capacitor C67, behind one end of the other end of the capacitor C67 and connecting resistance R56 with data recoverer U4 14
Foot is connected;
It is connected after the other end of the resistance R51 and the other end of connecting resistance R53 with 3.3V input power, the resistance R52's
It is grounded after the other end of the other end and connecting resistance R54, the other end of the resistance R55 and the other end of connecting resistance R56, diode
One end of capacitor C68 is connected after after the cathode of D4, the other end ground connection of the capacitor C68;
It is connected after the 7 foot serial capacitance C69 of the data recoverer U4 with 6 feet of data recoverer U4;
The anode of the diode D4 and the one end for connecing 4 feet of data recoverer U4,1 foot, 2 feet, capacitor C70, the one of capacitor C72
It is connected behind end with 5V input power, is grounded after the other end of the other end shunt-wound capacitance C72 of the capacitor C70;
12 feet of the data recoverer U4 are simultaneously connected after connecing 5 feet of data recoverer U4 with one end of capacitor C71, the capacitor
The other end of C71 is grounded;
It is connected after the 8 foot series resistor R59 of the data recoverer U4 with one end of capacitor C75, the other end of the capacitor C75
And be connected behind one end of connecting resistance R60 with one end of resistance R62, the other end of the resistance R62 is connected with connecting terminal J5;
It is connected after the 9 foot series resistor R58 of the data recoverer U4 with one end of capacitor C74, the other end of the capacitor C74
And be connected behind one end of connecting resistance R61 with one end of resistance R63, the other end of the resistance R63 is connected with connecting terminal J5;
It is grounded after the other end of the resistance R60 and the other end of connecting resistance R61;
It is grounded after the 3 foot series resistor R57 and capacitor C73 of the data recoverer U4.
Chip signal used in the microcontroller (1) is XC3S200AN-4FT256I;
The model DS921V1023ARHBQ of the signal transmission chip U1;
The model CLC001 of the cable driver U2;
The model DS921V1224ARHBQ of the signal receiving chip U3;
The model CLC014 of the data recoverer U4.
The present invention provides a kind of sensor for the measurement temperature data based on picogram bus transfer agreement, wherein power supply
Module 7 can provide ac-dc power supply, power for whole system;The high and low temperature being arranged inside the temperature sensor 3
Coefficient crystal oscillator acquires the temperature variable in respective environment, and corresponding data is fed back to progress data comparison in temperature register,
It is finally converted into electric signal to export to data acquisition module 2, whole process is the treatment process to digital signal.
The microcontroller 1 that the present invention uses is specially FPGA control chip, and the microcontroller 1 is responsible for receiving all acquisitions
Signal and control signal, the data acquisition module 2 sends temperature data in the FIFO buffer of microcontroller, then from sand
The interface output of gram bus communication module 5, to be articulated in picogram bus network.
In the use of the present invention, can achieve following working index: may be implemented based on LVDS twisted pair media end-to-end
The transmission rate of Gbps rank, the end-to-end maximum transmitted time delay of the whole network are less than 1us, and the whole network synchronization accuracy is less than 100ns, support double-strand
Road redundancy, Star Network structure, maximum 16 port router can theoretically support 50000 terminal devices, the automatic school CRC
It tests, the optional high speed SPI interface of terminal interface or parallel interface.
One router 6 of every increase, can at most increase by 15 terminal devices and connect in data transmission network of the invention
Enter.
The present invention supports automatic reconstruction transmission network: network is to user's all-transparent, without doing any configuration to the network equipment,
Router 6 investigation building can update whole network automatically, easy to use, thoroughly eliminate the Cost for Coordination between different user;Data
Transmission high-speed can achieve 40Mbps~1Gbps, since the network structure using special designing is, it can be achieved that end-to-end high-speed
Transmission, and support multiterminal parallel transmission in network, infinitely promote aggregate network throughput;Data transmission of the invention has strong reality
Shi Xing: 1us/ jumps, and much higher than present demand, data transmission period is controllable, at 72 parallel-by-bits with data packet equal in width
Kernel is managed, may be implemented to forward data packet single clock, while supporting the high priority of order packet from physical layer, meet hard real time
Control application demand;Network system uses dual redundant link, can configure part or all of port to for special applications double
Redundant link effectively improves the reliability of link connection, and optimization can also be balanced to network transport load.
The present invention can select LVDS, optical fiber, twisted pair etc. to be used as transmission medium according to project characteristic, it might even be possible to which mixing makes
With adaptability is extremely strong, meets the local flow improvement demand of electronic system;In test phase, can be connect from any one terminal interface
Enter test port, it can be achieved that the detection of armamentarium is rapidly completed with all terminal calleds of the whole network, thoroughly changes existing test mould
Formula and effect.
Connection and control of the digital temperature sensor that the present invention uses based on microcontroller 1,1 periphery of microcontroller
Data acquisition module 2 is accessed, can be used as data temporary storage while receiving the temperature acquisition of the transmission of multi way temperature sensor 3
Data;According to actual needs, microcontroller 1 can make it have monitoring alarm function with external temperature warning device and display screen
It can be with monitoring data display function;
The temperature sensor 3 is internally provided with multiple memorizers, completes the number by 64 ROM and ROM operational orders
The foundation of monobus lin protocol between sensor and host, after agreement foundation, be just able to achieve temperature sensor 3 and microcontroller 1 it
Between data communication.
As shown in figure 4, the temperature sensor 3 follows stringent monobus lin protocol in the course of work, the course of work is as follows:
Microcontroller 1 sends a reset pulse first, resets module chip all on signal wire all, then sends ROM operation life
It enables, the matched product of serial number codes is made to be activated, be at instruction state to be visited, internal storage access instruction control is chosen
The working condition of product, complete the work such as entire temperature transition, reading (monobus ROM instruction send before, store instruction and
Control instruction does not work).
Mainly include three critical process during the entire process of being operated to product: base unit search product ID,
Start-up temperature conversion program reads online temperature value.
Microcontroller initializes first: toward one reset pulse of bus transmission, (most short is 450 μ s to microcontroller
Low level signal), then microcontroller release bus enters reception state, and temperature sensor is detecting bus rising edge signal
Later, 15-60 μ s is waited, there are feedback pulse (60-240 μ s) for sending.
When bus detects the presence of temperature sensor, one of operational order of ROM can be issued, these orders are as follows:
Read ROM(33H), matching ROM(55H), skip ROM(CCH), Search ROM (F0H) and alarm search (ECH) order.
Due to the monobus lin protocol that follows of product, thermometric high resolution, therefore it is more demanding to timing and electrical characteristic parameter,
It must go to operate in strict accordance with the timing requirements of chip DS18B20, the read-write of the chip DSlSB20 data is read and write special by host
Piece fix time to complete, including initialization, read time piece and writes timeslice.
The bus cable connected between the temperature sensor and microcontroller that the present invention uses has length limitation, is trying
During testing, when being more than 50m using conventional signal cable conveying length, mistake will occur for the temperature measurement data of reading, when will be total
When line cable is changed to twisted pairs shielded cable, normal communication distance is up to 150m, mainly since bus distribution capacity makes letter
Caused by number waveform generates distortion;Therefore, the present invention need to fully consider that bus is distributed when carrying out the design of long range temp measuring system
Capacitor and resistance matching problem;In practical application, cable for measuring temperature line using shielding 4 core twisted pairs, one pair of them line ground line with
Signal wire, another group meets VCC and ground wire, and shielded layer is in source single-point grounding.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (3)
1. a kind of digital temperature sensor based on picogram bus transfer agreement, it is characterised in that: including microcontroller (1), institute
The signal input part for stating microcontroller (1) is connected by conducting wire with data acquisition module (2), the data acquisition module (2)
Signal input part is connected by conducting wire with multiple temperature sensors (3), and the signal input part of the data acquisition module (2) also connects
It is connected to signal generator (4);
The microcontroller (1) is also connected with the SPI interface of picogram bus communication module (5) by conducting wire;
The picogram bus communication module (5) is connected by conducting wire with router (6);
The power input of the microcontroller (1) is connected with power module (7);
The chip model that the temperature sensor (3) uses be DS18B20, the signal output end of the DS18B20 chip with it is micro-
The I/O port of controller (1) is connected;
The chip that the picogram bus communication module (5) uses is signal transmission chip U1, cable driver U2, signal receive core
Piece U3, data recoverer U4, the circuit structure of the picogram bus communication module (5) are as follows:
- 11 foot of 1 foot of the signal transmission chip U1 is connected with the signal input part of microcontroller (1);
It is grounded after the 30 foot series resistor R17 of the signal transmission chip U1;
It is grounded after the 31 foot series resistor R18 of the signal transmission chip U1;
It is grounded after the 18 foot series resistor R20 of the signal transmission chip U1;
It is grounded after the 23 foot series resistor R19 of the signal transmission chip U1;
One end of 21 feet of the signal transmission chip U1 and connecting resistance R22, one end of resistance R25, behind one end of resistance R26 with
2 feet of cable driver U2 are connected;
One end of 20 feet of the signal transmission chip U1 and connecting resistance R22, one end of resistance R23, behind one end of resistance R24 with
3 feet of cable driver U2 are connected;
16 feet of the signal transmission chip U1 successively and connect 25 feet of signal transmission chip U1,26 feet, 27 feet, 28 feet, 29 feet,
One end of capacitor C46, one end of capacitor C47 are connected behind one end of capacitor C48 with 3.3V input power, the capacitor C46,
The other end of C47, C48 are grounded after being connected with each other;
It is connected after the other end of the resistance R23 and the other end of connecting resistance R25 with 3.3V input power;
It is grounded after the other end of the resistance R24 and the other end of connecting resistance R26;
It is grounded after the 4 foot series resistor R27 of the cable driver U2;
It is connected behind 7 feet of the cable driver U2 and one end of connecting resistance R29 with one end of capacitor C51, the capacitor C51's
The other end is connected with connecting terminal J5;
It is connected behind 6 feet of the cable driver U2 and one end of connecting resistance R28 with one end of capacitor C50, the capacitor C50's
The other end is connected with connecting terminal J5;
The other end of the resistance R28 and resistance R29 is grounded after being connected with each other;
- 18 foot of 14 foot of the signal receiving chip U3, -27 foot of 23 foot are connected with the signal output end of microcontroller (1);
4 feet of the signal receiving chip U3 are simultaneously connected after connecing 5 feet of signal receiving chip U3 with one end of resistance R47, described
The other end of resistance R47 is connected with 3.3V input power;
1 foot, 8 feet, 9 feet, 22 feet, 20 feet of the signal receiving chip U3 are connected with 3.3V input power respectively;
One end of 2 feet of the signal receiving chip U3 and connecting resistance R50, one end of resistance R54, behind one end of resistance R53 with
One end of capacitor C66 is connected, 13 feet after the other end of the capacitor C66 and one end of connecting resistance R55 with data recoverer U4
It is connected;
The other end of 3 feet of the signal receiving chip U3 and connecting resistance R50, one end of resistance R51, behind one end of resistance R52
Be connected with one end of capacitor C67, behind one end of the other end of the capacitor C67 and connecting resistance R56 with data recoverer U4 14
Foot is connected;
It is connected after the other end of the resistance R51 and the other end of connecting resistance R53 with 3.3V input power, the resistance R52's
It is grounded after the other end of the other end and connecting resistance R54, the other end of the resistance R55 and the other end of connecting resistance R56, diode
One end of capacitor C68 is connected after after the cathode of D4, the other end ground connection of the capacitor C68;
It is connected after the 7 foot serial capacitance C69 of the data recoverer U4 with 6 feet of data recoverer U4;
The anode of the diode D4 and the one end for connecing 4 feet of data recoverer U4,1 foot, 2 feet, capacitor C70, the one of capacitor C72
It is connected behind end with 5V input power, is grounded after the other end of the other end shunt-wound capacitance C72 of the capacitor C70;
12 feet of the data recoverer U4 are simultaneously connected after connecing 5 feet of data recoverer U4 with one end of capacitor C71, the capacitor
The other end of C71 is grounded;
It is connected after the 8 foot series resistor R59 of the data recoverer U4 with one end of capacitor C75, the other end of the capacitor C75
And be connected behind one end of connecting resistance R60 with one end of resistance R62, the other end of the resistance R62 is connected with connecting terminal J5;
It is connected after the 9 foot series resistor R58 of the data recoverer U4 with one end of capacitor C74, the other end of the capacitor C74
And be connected behind one end of connecting resistance R61 with one end of resistance R63, the other end of the resistance R63 is connected with connecting terminal J5;
It is grounded after the other end of the resistance R60 and the other end of connecting resistance R61;
It is grounded after the 3 foot series resistor R57 and capacitor C73 of the data recoverer U4.
2. a kind of digital temperature sensor based on picogram bus transfer agreement according to claim 1, it is characterised in that:
Chip signal used in the microcontroller (1) is XC3S200AN-4FT256I;
The model DS921V1023ARHBQ of the signal transmission chip U1;
The model CLC001 of the cable driver U2;
The model DS921V1224ARHBQ of the signal receiving chip U3;
The model CLC014 of the data recoverer U4.
3. a kind of temp measuring method of the digital temperature sensor based on picogram bus transfer agreement, it is characterised in that: including as follows
Step:
Step 1: after starting thermometric, microcontroller (1) is initialized first, and control microcontroller (1) sends one again
Digit pulse resets module chip all on signal wire, then controls microcontroller (1) and sends ROM operational order, swashs
The matched product of serial number codes in living and order is at least one temperature sensor (3) product and instructs state to be visited;
Step 2: when detecting temperature sensor (3) On-line Product, microcontroller (1) will initialize product
Operation, start-up temperature conversion program are AD converted temperature sensor (3) collected temperature data, then microcontroller
(1) release bus enters data receiving state, when temperature sensor (3) in detecting bus there are after rising edge signal,
15-60 μ s is waited, temperature sensor (3) will issue the existing feedback pulse signal 60-240 μ s of detection to bus;
Step 3: when bus detect temperature sensor (3) there are after, one of the operational order of following ROM will be issued, including
Read online temperature value ROM(33H), matching ROM(55H), skip ROM(CCH), Search ROM (F0H) and alarm search for (ECH)
Order, the working condition of temperature sensor (3) product for making the internal storage access of microcontroller (1) that control be instructed to choose, is completed whole
A temperature transition, read work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910804499.4A CN110530534A (en) | 2019-08-28 | 2019-08-28 | A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910804499.4A CN110530534A (en) | 2019-08-28 | 2019-08-28 | A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110530534A true CN110530534A (en) | 2019-12-03 |
Family
ID=68664851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910804499.4A Pending CN110530534A (en) | 2019-08-28 | 2019-08-28 | A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110530534A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2790093C1 (en) * | 2022-11-14 | 2023-02-14 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ставропольский государственный аграрный университет" | Digital temperature sensor based on microcontroller rc-adc |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5781715A (en) * | 1992-10-13 | 1998-07-14 | International Business Machines Corporation | Fault-tolerant bridge/router with a distributed switch-over mechanism |
US20150257310A1 (en) * | 2014-03-05 | 2015-09-10 | Dell Products L.P. | Temperature trend controlled cooling system |
CN109916537A (en) * | 2019-04-01 | 2019-06-21 | 中北大学 | A kind of pressure data acquisition system based on picogram bus transfer agreement |
CN110011887A (en) * | 2019-04-01 | 2019-07-12 | 中北大学 | A kind of data transmission system based on picogram bus |
-
2019
- 2019-08-28 CN CN201910804499.4A patent/CN110530534A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5781715A (en) * | 1992-10-13 | 1998-07-14 | International Business Machines Corporation | Fault-tolerant bridge/router with a distributed switch-over mechanism |
US20150257310A1 (en) * | 2014-03-05 | 2015-09-10 | Dell Products L.P. | Temperature trend controlled cooling system |
CN109916537A (en) * | 2019-04-01 | 2019-06-21 | 中北大学 | A kind of pressure data acquisition system based on picogram bus transfer agreement |
CN110011887A (en) * | 2019-04-01 | 2019-07-12 | 中北大学 | A kind of data transmission system based on picogram bus |
Non-Patent Citations (2)
Title |
---|
刘文怡: "军工现场总线技术发展趋势与展望", 《计算机测量与控制》 * |
徐文进等: "智能温度传感器DS18B20在多路测温中的应用", 《现代电子技术》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2790093C1 (en) * | 2022-11-14 | 2023-02-14 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ставропольский государственный аграрный университет" | Digital temperature sensor based on microcontroller rc-adc |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101551277B (en) | Array type multipoint temperature monitoring system | |
CN104614593A (en) | Self-calibration based high-precision intelligent instrument system and application method thereof | |
CN103369719A (en) | Wireless humiture sensor network structure based on zigbee | |
CN102185748A (en) | Temperature and humidity sensing networking system | |
CN103592549A (en) | Intelligent power system fault recorder | |
CN102901571B (en) | Registration mechanism-based multi-point temperature measurement control system | |
CN102685930A (en) | System for monitoring farmland based on ZigBee technology | |
CN102508090B (en) | On-off automatic detection device for loops of collector ring | |
CN110530534A (en) | A kind of digital temperature sensor and its temp measuring method based on picogram bus transfer agreement | |
CN201653572U (en) | Temperature acquisition device | |
CN102393221A (en) | Automatic monitoring system for humiture of warehouse | |
CN207010733U (en) | A kind of laboratory remote monitoring system | |
CN202976445U (en) | Counter bus data collector with ultralow power consumption | |
CN105021919A (en) | Capacitive screen test card and test system | |
Li et al. | Mechanical Vibration Monitoring System Based on Wireless Sensor Network. | |
CN107727930A (en) | Intelligent high-precision analog signal sampling system and the method for sampling | |
CN102890664A (en) | Capacity expansion data acquisition board and data storage method | |
CN207924653U (en) | SCM Based computer hardware monitoring system | |
CN203572895U (en) | Intelligent power system fault recorder | |
Li et al. | Design of distributed temperature and humidity monitoring system based on single-chip microcomputer | |
CN103090996A (en) | Ultrasonic heat meter main board performance detecting device | |
CN110017891A (en) | A kind of digital vibrating sensor based on picogram bus transfer agreement | |
CN105487579A (en) | Continuous temperature control and drying monitoring system | |
Wang et al. | Multipoint temperature measurement system of hot pack based on DS18B20 | |
CN202956199U (en) | Unibus multi-point temperature monitoring system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191203 |