CN104330194A - Reading device and method of serial number and temperature value of temperature sensor - Google Patents
Reading device and method of serial number and temperature value of temperature sensor Download PDFInfo
- Publication number
- CN104330194A CN104330194A CN201410587513.7A CN201410587513A CN104330194A CN 104330194 A CN104330194 A CN 104330194A CN 201410587513 A CN201410587513 A CN 201410587513A CN 104330194 A CN104330194 A CN 104330194A
- Authority
- CN
- China
- Prior art keywords
- circuit
- temperature value
- sequence number
- temperature sensor
- temperature
- 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
Abstract
The invention relates to a reading device of serial number and temperature value of a temperature sensor. The device comprises a data processing circuit, a communication circuit, an interface circuit and a data display circuit, wherein the data processing circuit is used for sending an acquiring instruction to the communication circuit, converting the received serial number and temperature value of the sensor and sending the converting result to the data display circuit; the communication circuit is used for sending the received acquiring instruction to the interface circuit and sending the serial number and temperature value fed back by the interface circuit to the data processing circuit; the interface circuit is connected with the temperature sensor to be detected and used for acquiring the serial number and temperature value of the temperature sensor according to the acquiring instruction sent by the communication circuit and sending to the communication circuit; the data display circuit is used for displaying the converted serial number and temperature value and determining the temperature sensor suffering from a fault according to the serial number and temperature value. According to the device, whether the sensor is normal is determined by reading the serial number and temperature value of the sensor, so that the problem of difficult fault positioning and testing in the sensor network can be effectively solved.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to reading device and the method for a kind of temperature sensor sequence number and temperature value.
Background technology
Along with the development of industrial technology, people more and more pay attention to temperature factor, and almost the industrial sector of 80% all will consider the factor of temperature.Temperature is so important for industry, advances the development of temperature sensor thus.The digital temperature sensor DS18B20 of American Dallas semiconductor company is the temperature sensor of first support in the world " one-wire bus " interface, each DS18B20 has 64 unique bit sequence number, this can make multiple DS18B20 work on a unibus, because it has the particular advantages of unibus, user can be made to have set up sensor network like a cork, and multipoint temperature measuring circuit can be made to become simply, reliable, so obtain application widely.But, because multiple DS18B20 works on a unibus, once certain sensor fault in sensor network, bring certain difficulty just to the location of fault and investigation.But be not specifically designed at present and read and the circuit of displays temperature sensor sequence number and temperature value.
Summary of the invention
Technical matters to be solved by this invention is for the deficiencies in the prior art, provides reading device and the method for a kind of temperature sensor sequence number and temperature value.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: the reading device of a kind of temperature sensor sequence number and temperature value, comprises data processing circuit, telecommunication circuit, interface circuit, data display circuit and power circuit;
Described data processing circuit, it, for sending acquisition instructions to telecommunication circuit, is also changed for the sequence number of the sensor by reception and temperature value, and transformation result is sent to data display circuit;
Described telecommunication circuit, it is for sending to interface circuit by the acquisition instructions of reception, also sends data processing circuit to for the sequence number that fed back by interface circuit and temperature value;
Described interface circuit, it is for being connected with temperature sensor to be detected, obtains sequence number and the temperature value of temperature sensor, and send telecommunication circuit to according to the acquisition instructions of telecommunication circuit transmission;
Described data display circuit, it, for showing the sequence number after conversion and temperature value, determines the temperature sensor broken down according to sequence number and temperature value;
Described power circuit, for providing electric power supply for whole circuit.
The invention has the beneficial effects as follows: judge that whether this sensor is normal by the sequence number of read sensor and temperature value, effectively solve the problem of localization of fault and investigation difficulty in sensor network.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described data processing circuit comprises configuration circuit, clock circuit and fpga chip, described configuration circuit is all connected with fpga chip with clock circuit, and described configuration circuit is used for carrying out data configuration to fpga chip, and described clock circuit is used for providing clock signal for fpga chip.
Further, described configuration circuit comprises AS interface, EPCS16 chip and jtag interface, and described AS interface is connected with one end of EPCS16 chip, and the other end of described EPCS16 chip is connected with fpga chip, and described jtag interface is connected with fpga chip.
Further, described fpga chip model is EP2C5T14418N, inside establishes configuring chip EPCS16.
Further, described clock circuit adopts 40M crystal oscillator.
Further, described telecommunication circuit comprises driving chip HCT245 and 74LVTH162245.
Further, described interface circuit comprises J18E-9S connector and three square jack printed board connectors, for being connected with temperature sensor to be measured.
Further, described display circuit adopts photoelectric combination nixie display.
Another technical scheme that the present invention solves the problems of the technologies described above is as follows: the read method of a kind of temperature sensor sequence number and temperature value, comprises the steps:
Step 1, described data processing circuit sends acquisition instructions by telecommunication circuit to interface circuit;
Step 2, described interface circuit acquisition instructions obtains sequence number and the temperature value of temperature sensor, and sends data processing circuit to by telecommunication circuit;
Step 3, the sequence number of the sensor of reception and temperature value are changed by described data processing circuit, and transformation result is sent to data display circuit;
Step 4, the sequence number after described data display circuit display conversion and temperature value, determine the temperature sensor broken down according to sequence number and temperature value.
Accompanying drawing explanation
Fig. 1 is the structural representation of the reading device of a kind of temperature sensor sequence number of the present invention and temperature value;
Fig. 2 is the particular circuit configurations of Fig. 1 of the present invention;
Fig. 3 is the read method process flow diagram of a kind of temperature sensor sequence number of the present invention and temperature value.
In accompanying drawing, the list of parts representated by each label is as follows:
1, data processing circuit, 2, telecommunication circuit, 3, interface circuit, 4, data display circuit, 5, power circuit.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, 2, the reading device of a kind of temperature sensor sequence number and temperature value, comprises data processing circuit 1, telecommunication circuit 2, interface circuit 3, data display circuit 4 and power circuit 5; Described data processing circuit 1, it is for sending acquisition instructions to telecommunication circuit 2, also changes for the sequence number of the sensor by reception and temperature value, and transformation result is sent to data display circuit 4; Described telecommunication circuit 2, it is for sending to interface circuit 3 by the acquisition instructions of reception, also sends data processing circuit 1 to for the sequence number that fed back by interface circuit and temperature value; Described interface circuit 3, it is for being connected with temperature sensor to be detected, obtains sequence number and the temperature value of temperature sensor, and send telecommunication circuit 2 to according to the acquisition instructions of telecommunication circuit 2 transmission; Described data display circuit 4, it, for showing the sequence number after conversion and temperature value, determines the temperature sensor broken down according to sequence number and temperature value; Described power circuit 5, for providing electric power supply for whole circuit.
Described data processing circuit 1 comprises configuration circuit, clock circuit and fpga chip, described configuration circuit is all connected with fpga chip with clock circuit, described configuration circuit is used for carrying out data configuration to fpga chip, and described clock circuit is used for providing clock signal for fpga chip.Described configuration circuit comprises AS interface, EPCS16 chip and jtag interface, and described AS interface is connected with one end of EPCS16 chip, and the other end of described EPCS16 chip is connected with fpga chip, and described jtag interface is connected with fpga chip.The fpga chip that the present invention uses is the EP2C5T144I8N of altera corp, and adopts specialized configuration chip EPCS16 to carry out data configuration to it.Described clock circuit adopts 40M crystal oscillator, for FPGA provides clock signal.Described telecommunication circuit comprises driving chip HCT245 and 74LVTH162245.
Telecommunication circuit 2 is made up of driving chip HCT245 and 74LVTH162245, and described interface circuit 3 comprises J18E-9S connector and three square jack printed board connectors, for being connected with temperature sensor to be measured.Described display circuit 4 adopts photoelectric combination nixie display, and display circuit of the present invention is made up of 20 photoelectric combination nixie displaies, and wherein 16 for showing 64 hexadecimal sequence number, four displays temperature values.Each device required voltage is obtained by power circuit by outside 5V power supply.
When temperature sensor to be measured is connected on device by the connector of interface circuit 3, the FPGA run detects the connection signal of temperature sensor to be measured by the driving chip of telecommunication circuit 2, the sequence number of pickup and temperature value under strict work schedule and communication protocol, FPGA needs to complete the initialization of DS18B20,64 bit sequence number reading DS18B20, startup DS18B20 temperature transition successively, read temperature transition result, finally by 64 bit sequence number of reading and Temperature numerical, shown by photoelectric combination nixie display.
As shown in Figure 2, the read method of a kind of temperature sensor sequence number and temperature value, comprises the steps:
Step 1, described data processing circuit sends acquisition instructions by telecommunication circuit to interface circuit;
Step 2, described interface circuit acquisition instructions obtains sequence number and the temperature value of temperature sensor, and sends data processing circuit to by telecommunication circuit;
Step 3, the sequence number of the sensor of reception and temperature value are changed by described data processing circuit, and transformation result is sent to data display circuit;
Step 4, the sequence number after described data display circuit display conversion and temperature value, determine the temperature sensor broken down according to sequence number and temperature value.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a reading device for temperature sensor sequence number and temperature value, is characterized in that, comprises data processing circuit, telecommunication circuit, interface circuit, data display circuit and power circuit;
Described data processing circuit, it, for sending acquisition instructions to telecommunication circuit, is also changed for the sequence number of the sensor by reception and temperature value, and transformation result is sent to data display circuit;
Described telecommunication circuit, it is for sending to interface circuit by the acquisition instructions of reception, also sends data processing circuit to for the sequence number that fed back by interface circuit and temperature value;
Described interface circuit, it is for being connected with temperature sensor to be detected, obtains sequence number and the temperature value of temperature sensor, and send telecommunication circuit to according to the acquisition instructions of telecommunication circuit transmission;
Described data display circuit, it, for showing the sequence number after conversion and temperature value, determines the temperature sensor broken down according to sequence number and temperature value;
Described power circuit, for providing electric power supply for whole circuit.
2. the reading device of a kind of temperature sensor sequence number and temperature value according to claim 1, it is characterized in that, described data processing circuit comprises configuration circuit, clock circuit and fpga chip, described configuration circuit is all connected with fpga chip with clock circuit, described configuration circuit is used for carrying out data configuration to fpga chip, and described clock circuit is used for providing clock signal for fpga chip.
3. the reading device of a kind of temperature sensor sequence number and temperature value according to claim 2, it is characterized in that, described configuration circuit comprises AS interface, EPCS16 chip and jtag interface, described AS interface is connected with one end of EPCS16 chip, the other end of described EPCS16 chip is connected with fpga chip, and described jtag interface is connected with fpga chip.
4. the reading device of a kind of temperature sensor sequence number and temperature value according to Claims 2 or 3, it is characterized in that, described fpga chip model is EP2C5T14418N, inside establishes configuring chip EPCS16.
5. the reading device of a kind of temperature sensor sequence number and temperature value according to claim 2, is characterized in that, described clock circuit adopts 40M crystal oscillator.
6. the reading device of a kind of temperature sensor sequence number and temperature value according to claim 1, it is characterized in that, described telecommunication circuit comprises driving chip HCT245 and 74LVTH162245.
7. the reading device of a kind of temperature sensor sequence number and temperature value according to claim 1, it is characterized in that, described interface circuit comprises J18E-9S connector and three square jack printed board connectors, for being connected with temperature sensor to be measured.
8. the reading device of a kind of temperature sensor sequence number and temperature value according to claim 1, is characterized in that, described display circuit adopts photoelectric combination nixie display.
9. a read method for temperature sensor sequence number and temperature value, is characterized in that, comprises the steps:
Step 1, described data processing circuit sends acquisition instructions by telecommunication circuit to interface circuit;
Step 2, described interface circuit acquisition instructions obtains sequence number and the temperature value of temperature sensor, and sends data processing circuit to by telecommunication circuit;
Step 3, the sequence number of the sensor of reception and temperature value are changed by described data processing circuit, and transformation result is sent to data display circuit;
Step 4, the sequence number after described data display circuit display conversion and temperature value, determine the temperature sensor broken down according to sequence number and temperature value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410587513.7A CN104330194A (en) | 2014-10-28 | 2014-10-28 | Reading device and method of serial number and temperature value of temperature sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410587513.7A CN104330194A (en) | 2014-10-28 | 2014-10-28 | Reading device and method of serial number and temperature value of temperature sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104330194A true CN104330194A (en) | 2015-02-04 |
Family
ID=52404964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410587513.7A Pending CN104330194A (en) | 2014-10-28 | 2014-10-28 | Reading device and method of serial number and temperature value of temperature sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104330194A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105675168A (en) * | 2016-01-05 | 2016-06-15 | 上海建工集团股份有限公司 | Automatic numbering device and method for temperature sensors |
CN109708425A (en) * | 2018-12-07 | 2019-05-03 | 青岛海尔股份有限公司 | A kind of control method of refrigerator |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61128728A (en) * | 1984-11-26 | 1986-06-16 | 三井東圧化学株式会社 | Millivolt generator |
CN201378088Y (en) * | 2009-04-03 | 2010-01-06 | 青岛贵和科技有限公司 | Sorting instrument of DS18B20 temperature sensor |
CN202471265U (en) * | 2011-12-30 | 2012-10-03 | 武汉英思工程科技有限公司 | Temperature acquisition device for mass concrete |
CN103454004A (en) * | 2013-09-10 | 2013-12-18 | 中环天仪股份有限公司 | Digital multi-point temperature measuring system and achieving method |
-
2014
- 2014-10-28 CN CN201410587513.7A patent/CN104330194A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61128728A (en) * | 1984-11-26 | 1986-06-16 | 三井東圧化学株式会社 | Millivolt generator |
CN201378088Y (en) * | 2009-04-03 | 2010-01-06 | 青岛贵和科技有限公司 | Sorting instrument of DS18B20 temperature sensor |
CN202471265U (en) * | 2011-12-30 | 2012-10-03 | 武汉英思工程科技有限公司 | Temperature acquisition device for mass concrete |
CN103454004A (en) * | 2013-09-10 | 2013-12-18 | 中环天仪股份有限公司 | Digital multi-point temperature measuring system and achieving method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105675168A (en) * | 2016-01-05 | 2016-06-15 | 上海建工集团股份有限公司 | Automatic numbering device and method for temperature sensors |
CN105675168B (en) * | 2016-01-05 | 2020-08-18 | 上海建工集团股份有限公司 | Automatic numbering device and method for temperature sensors |
CN109708425A (en) * | 2018-12-07 | 2019-05-03 | 青岛海尔股份有限公司 | A kind of control method of refrigerator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204215703U (en) | V-BY-ONE signal generation device | |
CN104330194A (en) | Reading device and method of serial number and temperature value of temperature sensor | |
CN201516982U (en) | Monitoring main station device of rubber belt conveyor | |
CN205845285U (en) | A kind of bluetooth kilowatt meter recorder | |
CN209356612U (en) | A kind of test device of the four port sensor signal deconcentrators of band LED | |
CN204142369U (en) | The reading device of a kind of temperature sensor sequence number and temperature value | |
CN204517986U (en) | A kind of HDMI data wire tester | |
CN204203348U (en) | A kind of photovoltaic combiner box transformation current sensing means | |
CN202362263U (en) | Novel intelligent gas detector | |
CN204831572U (en) | High tension switchgear's wireless temperature measurement system | |
CN205280817U (en) | Embedded intelligent electric energy meter system | |
CN210323236U (en) | Electric power data acquisition module with multi-sensor interface and multi-communication means | |
CN204206213U (en) | A kind of HART communication modem that ring current is provided | |
CN204116941U (en) | The pick-up unit of a kind of Wind turbines master control system spare part to be checked | |
CN204089850U (en) | A kind of network-type PLC with multi-fieldbus | |
CN206224458U (en) | Industrial multi-serial extension card | |
CN208156075U (en) | A kind of ac parameter acquisition system | |
CN204925753U (en) | Instrument monitored control system | |
CN203025700U (en) | Intelligent HART (Highway Addressable Remote Transducer) converter | |
CN204271702U (en) | Charger | |
CN204359842U (en) | A kind of computer based cable data tester | |
CN203490283U (en) | Multifunctional power consumption detection equipment | |
CN204680165U (en) | A kind of fuel gas leak alarm systems | |
CN214751425U (en) | Data acquisition and communication device for detecting instrument | |
CN202406173U (en) | Testing wire for testing mobile terminal data differential signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150204 |
|
RJ01 | Rejection of invention patent application after publication |