CN105758535A - Temperature monitoring device based on CPLD - Google Patents
Temperature monitoring device based on CPLD Download PDFInfo
- Publication number
- CN105758535A CN105758535A CN201410787634.6A CN201410787634A CN105758535A CN 105758535 A CN105758535 A CN 105758535A CN 201410787634 A CN201410787634 A CN 201410787634A CN 105758535 A CN105758535 A CN 105758535A
- Authority
- CN
- China
- Prior art keywords
- temperature
- cpld
- output end
- master controllers
- analog
- 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
Landscapes
- Measuring Temperature Or Quantity Of Heat (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a temperature monitoring device based on a CPLD, and the device comprises a temperature sensor, an analog-digital conversion circuit, an I2C communication line, a CPLD central controller, a display apparatus, and a temperature control apparatus. An analog signal input end of the analog-digital conversion circuit is connected with an analog signal output end of the temperature sensor. A digital signal output end of the analog-digital conversion circuit is connected to an input end of the CPLD central controller. The output end of the CPLD central controller is connected with the temperature control apparatus and the temperature display apparatus. Because the temperature is transmitted in a mode of digital signals, the device solves a problem that a conventional temperature testing device is lower in precision, thereby improving the measurement accuracy.
Description
Technical field
Design temperature detection technique field of the present invention, is specifically designed a kind of device for detecting temperature based on CPLD.
Background technology
Temperature-detecting device is widely used in various occasions, is used to realize the monitoring and control to one-point or multi-point environment temperature.To improve accuracy of detection, control flexibility is improved, SCM Based temperature-detecting device is widely used at present.
Such as patent publication No. is CN102980676A, is disclosed a kind of " intelligent digital temperature detection device ", and the intelligent digital temperature instrument includes temperature sensor, signal conditioner, A/D converter, microprocessor, signal converter, input through keyboard and LCD show that seven parts are constituted.Temperature sensor accesses the input of signal conditioner, and the output end of signal conditioner accesses the input of A/D converter.A/D converter output access microprocessor input, is handled and computing, output end of microprocessor connects the input of LCD display and the input of D/A converter.The output end of D/A converter accesses the input of signal converter.Input through keyboard accesses the input of microprocessor, controls the detection of temperature.
The intelligent digital instrumentation is that thermal resistance signal is changed into voltage signal by sensor detection, and the standard signal of A/D inputs is converted into by signal conditioner.A/D, which becomes analog voltage signal, afterwards is converted into data signal, is then fed into microprocessor and is handled and computing, microprocessor shows the data of processing by display.And Contemporary Digital temperature value is sent into the standard signal that signal converter is converted to 4-20mA by D/A converter.Various thermometric patterns can be selected by keyboard, the portable measurement of temperature is realized.This intelligent digital temperature detection device is simple in construction, and measurement accuracy is high.
But it must constitute peripheral circuit with many discrete components in SCM system, so that system complex is huge, failure increases, in some specific occasions, situations such as such as low temperature, interference are by force, dust is big, due to easily being disturbed by external environment condition, program be easy to " run fly ", reliability reduction, its application receives constraint.Complex programmable logic device (CPLD) with the characteristics of high integration, high speed, high reliability is in real-tune TT & C field, then have a very wide range of applications prospect, the problems such as it runs fast in the absence of PC, often it can will be loaded in same chip under whole system, realize on-chip system, so as to greatly reduce volume, it is easy to manage.
As in " design of the temperature control system based on CPLD/FPGA " text, disclose a kind of temperature control system based on CPLD, the principle of TT&C system is as shown in Figure 1, sensor collecting temperature signal first, it is translated into voltage, digital quantity is changed into from A/D converters, CPLD is then input to and is handled, processing procedure includes:(1) digital quantity inputted after A/D is changed is converted to temperature value output display;(2) measured temperature is compared with default temperature, if the temperature measured exceedes default temperature, alarm signal is sent, while being controlled to temperature regulating device.
Analog electrical signal is produced by A/D590 temperature sensors detection temperature, then long-distance transmissions are to microprocessor, analog-to-digital conversion, which is carried out, at microprocessor end obtains data signal, then data signal is handled by microprocessor, produce control signal, however, pressure drop of the A/D590 temperature sensors to wire in long-distance transmissions is insensitive, the accuracy of measurement is influenceed.
The content of the invention
In order to overcome problem above, the present invention provides a kind of device for detecting temperature based on CPLD.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of device for detecting temperature based on CPLD, including:Temperature sensor, analog to digital conversion circuit, I2C communication lines, CPLD master controllers, display device and temperature regulating device;
The output end of the analog signal of the input end of analog signal connection temperature sensor of the modulus circuit;
The digital signal output end of the modulus digitizer is connected on the input of the CPLD master controllers;
The output end of CPLD master controllers connects temperature regulating device and temperature indicating device respectively.
Described CPLD master controllers include:
Temperature read module, for reading the temperature value that the data signal of the I2C communication lines is reflected;
Difference calculating module, for calculating the difference of the temperature value reflected from temperature read module and preset temperature;
Heating module, for when the difference is more than threshold value, sending the control signal for keeping heating;
PID modules, for when the difference is not more than threshold value, performing pid control algorithm, sending pwm control signal.
Device for detecting temperature based on CPLD also includes an alarm module, the output end connection of the input and CPLD master controllers of the warning device.
Device for detecting temperature based on CPLD, also including an audio devices, the output end connection of the input and CPLD master controllers of the audio devices.
Device for detecting temperature based on CPLD, described display device includes temperature indicating device and time display apparatus.
Device for detecting temperature based on CPLD, also including wireless communication device, the FPDP of the wireless communication device is connected with the FPDP of described CPLD master controllers.
The beneficial effects of the invention are as follows:
Present invention processor centered on CPLD, and the output end of the analog signal of the input end of analog signal connection temperature sensor of modulus circuit, temperature is transmitted with data signal, so overcoming the problem of existing temperature testing device precision is relatively low, and then improves the accuracy of measurement.
The present invention also includes an alarm module based on device for detecting temperature, so when the temperature surveyed exceedes default temperature, sounds the alarm.
The device for detecting temperature based on CPLD of the invention, also including an audio devices, setting report temperature time that can be artificial.
Device for detecting temperature of the invention based on CPLD, also including a display device, people can intuitively find out equipment temperature at that time very much.
Device for detecting temperature of the invention based on CPLD also includes wireless communication device, and the FPDP of the wireless communication device is connected with the FPDP of described CPLD master controllers.
The present invention is described in further details below with reference to accompanying drawing.
Brief description of the drawings
Fig. 1 is the structured flowchart of the design of the temperature control system based on CPLD/FPGA.
Fig. 2 is the structured flowchart of the temperature-detecting device of the invention based on CPLD.
Embodiment
In order to overcome the pressure drop to wire in long-distance transmissions insensitive, the accuracy of measurement is influenceed, device for detecting temperature as shown in Figure 2 is present embodiments provided, including:The output end of the analog signal of the input end of analog signal connection temperature sensor of temperature sensor, analog to digital conversion circuit, I2C communication lines, CPLD master controllers, display device and temperature regulating device, wherein analog-digital converter;The digital signal output end of the analog-to-digital conversion device is connected on the input of the CPLD master controllers;The output end of CPLD master controllers connects temperature regulating device and temperature indicating device respectively.
Model PT100, Cu50, Cu100 of described temperature sensor are optional, modulus conversion chip selects ICL7135, CPLD master controllers are the Max7000 devices of altera corp, the logic function of circuit is described with VHDL hardware description languages, circuit synthesis and emulation are carried out using Max+PlusII systems.
Temperature value is reached CPLD master controllers by the temperature signal of temperature sensor after analog-to-digital conversion by I2C communications, compared with document " design of the temperature control system based on CPLD/FPGA ", sensor collecting temperature signal first in this text, it is translated into voltage, there are A/D converters to be changed into digital quantity, it is then input to CPLD to be handled, processing procedure includes:(1) digital quantity inputted after A/D is changed is converted to temperature value output display;(2) measured temperature is compared with default temperature, if the temperature measured exceedes default temperature, alarm signal is sent, while being controlled to temperature regulating device.
This one end of its centrally disposed processing unit of analog to digital conversion circuit, therefore the analog signal that temperature sensing circuit is produced obtains long distance transmission to CPU, cause decay larger, produce error, and in the present embodiment, analog to digital conversion circuit is arranged on this one end of temperature detection, so that by digital data transmission to CPU, decay and error will not be produced, the precision of temperature detection is improved.
The temperature control device that the present embodiment is provided, it is possible to achieve to the real-time measure and control of temperature.
The temperature-detecting device and patent publication No. that the present embodiment is provided are CN102980676A, disclosed " intelligent digital temperature detection device " is compared, the center processor of temperature-detecting device is general microprocessor in this patent, easily disturbed by external environment condition, program is easy to " run and fly ", reliability is low.And the temperature control device that the present embodiment is provided, center processor uses CPLD center processors, improves the stability and accuracy of whole system.
It is preferred that, CPLD master controllers include:Difference calculating module, for calculating the difference of temperature value that the data signal from I2C communication lines reflected and preset temperature;Heating module, for when the difference is more than threshold value, sending the control signal for keeping heating;PID modules, for when the difference is not more than threshold value, performing pid control algorithm, sending pwm control signal.
It is preferred that, the temperature-detecting device of the invention based on CPLD also includes warning device on the basis of above-described embodiment, and the input of warning device connects the output end of CPLD master controllers, for sending alarm signal when temperature exceedes preset temperature.
The embodiment is compared with document " design of the temperature control system based on CPLD/FPGA ", sensor collecting temperature signal first in this text, voltage is translated into, digital quantity is changed into from A/D converters, CPLD is then input to and is handled.Analog electrical signal is produced by A/D590 temperature sensors detection temperature, then long-distance transmissions are to microprocessor, analog-to-digital conversion, which is carried out, at microprocessor end obtains data signal, then data signal is handled by microprocessor, produce control signal, however, pressure drop of the A/D590 temperature sensors to wire in long-distance transmissions is insensitive, the accuracy of measurement is influenceed.And analog to digital conversion circuit is arranged on this one end of temperature detection by the present embodiment, so that by digital data transmission to CPU, decay and error will not be produced, resulting data are promptly and accurately.
It is preferred that, the temperature-detecting device that the present embodiment is provided also includes display device, and the real time temperature of equipment is intuitively read for people.
The embodiment is compared with document " design of the temperature control system based on CPLD/FPGA ", and center processor uses CPLD center processors, it is shown go out temperature it is more reliable accurate.
It is preferred that, the temperature-detecting device that the present embodiment is provided also includes audio devices, setting report temperature time that can be artificial.
The embodiment is compared with document " design of the temperature control system based on CPLD/FPGA ", and center processor uses CPLD center processors, more accurate by being manually set real time temperature obtained by the time of giving the correct time.
The device for detecting temperature that the present embodiment is provided also includes wireless communication device, and the FPDP of the wireless communication device is connected with the FPDP of described CPLD master controllers.
The embodiment is compared with document " design of the temperature control system based on CPLD/FPGA ", and temperature can be set at a distance, convenient operation.
Claims (6)
1. a kind of device for detecting temperature based on CPLD, it is characterised in that:Including temperature sensor, analog to digital conversion circuit, I2C communication lines, CPLD master controllers, display device and temperature regulating device;
The output end of the analog signal of the input end of analog signal connection temperature sensor of the modulus circuit;
The digital signal output end of the modulus digitizer is connected on the input of the CPLD master controllers;
The output end of CPLD master controllers connects temperature regulating device and temperature indicating device respectively.
2. a kind of device for detecting temperature based on CPLD according to claim 1, it is characterised in that:Described CPLD master controllers include:
Temperature read module, for reading the temperature value that the data signal of the I2C communication lines is reflected;
Difference calculating module, for calculating the difference of the temperature value reflected from temperature read module and preset temperature;
Heating module, for when the difference is more than threshold value, sending the control signal for keeping heating;
PID modules, for when the difference is not more than threshold value, performing pid control algorithm, sending pwm control signal.
3. a kind of device for detecting temperature based on CPLD according to claim 2, it is characterised in that:Also include an alarm module, the output end connection of the input and CPLD master controllers of the warning device.
4. a kind of device for detecting temperature based on CPLD according to claim 1, it is characterised in that:Also include an audio devices, the output end connection of the input and CPLD master controllers of the audio devices.
5. a kind of device for detecting temperature based on CPLD according to claim 1, it is characterised in that:Described display device includes temperature indicating device and time display apparatus.
6. a kind of device for detecting temperature based on CPLD according to claim 1, it is characterised in that:Also include wireless communication device, the FPDP of the wireless communication device is connected with the FPDP of described CPLD master controllers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410787634.6A CN105758535A (en) | 2014-12-17 | 2014-12-17 | Temperature monitoring device based on CPLD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410787634.6A CN105758535A (en) | 2014-12-17 | 2014-12-17 | Temperature monitoring device based on CPLD |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105758535A true CN105758535A (en) | 2016-07-13 |
Family
ID=56340184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410787634.6A Pending CN105758535A (en) | 2014-12-17 | 2014-12-17 | Temperature monitoring device based on CPLD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105758535A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111584956A (en) * | 2020-05-13 | 2020-08-25 | 东莞新能安科技有限公司 | Temperature acquisition circuit, battery control circuit, battery management system and battery package |
-
2014
- 2014-12-17 CN CN201410787634.6A patent/CN105758535A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111584956A (en) * | 2020-05-13 | 2020-08-25 | 东莞新能安科技有限公司 | Temperature acquisition circuit, battery control circuit, battery management system and battery package |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102980715A (en) | Capacitance pressure transmitter and pressure sensing system | |
CN104863843B (en) | Pneumatic diaphragm pump detection system | |
CN203881412U (en) | Device for fast calibrating differential pressure type liquidometer on working condition site | |
CN105806505A (en) | GSM-based high-precision remote temperature monitoring system | |
CN203224283U (en) | Liquid flow field calibration device | |
CN202757808U (en) | Constant-flow air sampler | |
CN203881815U (en) | Simple high-precision DC electronic load | |
CN203759570U (en) | Intelligent control apparatus for greenhouse | |
CN105758535A (en) | Temperature monitoring device based on CPLD | |
CN202916037U (en) | Capacitance pressure transmitter and pressure sensing system | |
CN202494483U (en) | Thermal mass flowmeter | |
CN105277292A (en) | Temperature measurement device | |
CN203732181U (en) | Thermocouple detecting device based on computer control | |
CN204027958U (en) | One can on-line calibration SF6 gas instrument teletransmission mainboard | |
CN202153161U (en) | CAN bus-type intelligent platinum resistance thermometer | |
CN203629626U (en) | Gas mass flow measuring device | |
CN205317365U (en) | High precision temperature measurement instrument of jam -proof | |
CN203024899U (en) | Intelligent digital temperature detection device | |
CN204594614U (en) | Digital pressure measurement mechanism on a kind of SCM Based hydropress | |
CN202372864U (en) | Multifunctional intelligent flow measurement and control instrument | |
CN209342749U (en) | A kind of doppler velocimeter | |
CN202562654U (en) | Temperature transmitter detector | |
CN203396461U (en) | Differential pressure flowmeter verification system | |
CN209570216U (en) | Facilitate the transmitter of the two-wire system loop power supply of test, maintenance | |
CN106225825A (en) | A kind of wireless sensor system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160713 |