CN110262586A - A kind of Remote temperature control system based on virtual emulation platform - Google Patents

A kind of Remote temperature control system based on virtual emulation platform Download PDF

Info

Publication number
CN110262586A
CN110262586A CN201910646716.1A CN201910646716A CN110262586A CN 110262586 A CN110262586 A CN 110262586A CN 201910646716 A CN201910646716 A CN 201910646716A CN 110262586 A CN110262586 A CN 110262586A
Authority
CN
China
Prior art keywords
connecting pin
temperature
chip microcontroller
control system
system based
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
Application number
CN201910646716.1A
Other languages
Chinese (zh)
Inventor
宋丽涵
刘梦圆
王彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Putian University
Original Assignee
Putian University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Putian University filed Critical Putian University
Priority to CN201910646716.1A priority Critical patent/CN110262586A/en
Publication of CN110262586A publication Critical patent/CN110262586A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature

Abstract

The invention discloses a kind of Remote temperature control systems based on virtual emulation platform, it is related to field of temperature control, including single-chip microcontroller, heated at constant temperature piece, buzzer, temperature sensor and serial communication, the connecting pin of single-chip microcontroller with the connecting pin of heated at constant temperature piece is two-way is electrically connected, the connecting pin of the single-chip microcontroller and connecting pin of buzzer is two-way is electrically connected, the connecting pin of the single-chip microcontroller and connecting pin of temperature sensor is two-way is electrically connected, power detecting is provided in temperature sensor, 64 ROM and one-wire interface, first reservoir and controller, cache register, second reservoir and controller, temperature sensitive element, low temperature trigger TL, high temperature trigger TH and configuration register.The present invention is attached communication by the way that using temperature sensor as the acquisition module of signal, single-chip microcontroller is main control module, by the control panel of serial communication and the customized formula of Software Development Platform exploitation, realizes the long-range control of temperature.

Description

A kind of Remote temperature control system based on virtual emulation platform
Technical field
The present invention relates to field of temperature control, in particular to a kind of Remote temperature control based on virtual emulation platform System.
Background technique
Remote temperature control either all plays particularly critical work in the industrial production or in daily life With, and also have in experimental teaching widely should, and it is higher to temperature controlled precision.To metal smelt in industry, Heat treatment requirements are extremely stringent, need to carry out stringent monitoring and control to the data of temperature.Similarly in agricultural production It needs to carry out the greenhouse of crops temperature control, but it is not stringent to the control of the temperature of crops, to temperature controlled essence Degree is not very high.Compared with traditional instrument, virtual instrument is different greatly, and virtual instrument is based on computer and STD bus The modular system of technology, it is made of software module and hardware module.Software module is particularly critical in virtual instrument, hardware Function in module requires to realize by software control, so software module is the core of virtual instrument.Traditional SCM Based temperature control system, temperature is controlled with the key on hardware circuit to be had the shortcomings that very big, and precision is low, And it is not easy to realize remotely, therefore, because its limitation, is no longer satisfied the increasingly demand of people.
Therefore, inventing a kind of Remote temperature control system based on virtual emulation platform, have very much must to solve the above problems It wants.
Summary of the invention
It is above-mentioned to solve the purpose of the present invention is to provide a kind of Remote temperature control system based on virtual emulation platform The traditional SCM Based temperature control system proposed in background technique, has with the key on hardware circuit to control temperature Very big disadvantage, and precision is low, and is not easy to realize long-range problem.
To achieve the above object, the invention provides the following technical scheme: a kind of remote temperature based on virtual emulation platform Control system, including single-chip microcontroller, heated at constant temperature piece, buzzer, temperature sensor and serial communication, the connecting pin of the single-chip microcontroller With the connecting pin of heated at constant temperature piece is two-way is electrically connected, the connecting pin of the single-chip microcontroller and connecting pin of buzzer is two-way is electrically connected, The connecting pin of the single-chip microcontroller and connecting pin of temperature sensor is two-way is electrically connected, the connecting pin of the single-chip microcontroller and serial communication The two-way electrical connection in connecting pin;
Be provided in the temperature sensor power detecting, 64 ROM and one-wire interface, the first reservoir and controller, Cache register, the second reservoir and controller, temperature sensitive element, low temperature trigger TL, high temperature trigger TH and match Set register.
Optionally, the single-chip microcontroller is STC89C52 single chip.
Optionally, the temperature sensor is DS18B20 temperature sensor.
Optionally, the buzzer uses electromagnetic buzzer, and the electromagnetic buzzer is by piezoelectric buzzer, resonance Six device, multi-resmator, impedance matching, shell and light emitting diode parts form.
Optionally, the heated at constant temperature piece is PTC heated at constant temperature piece.
Optionally, the serial communication turns TTL using CH340USB.
Optionally, the output end of the power detecting is electrically connected with the input terminal of 64 ROM and one-wire interface, and described first The connecting pin of reservoir and controller with the connecting pin of 64 ROM and one-wire interface are two-way is electrically connected.
Optionally, the output end of the temperature sensitive original part is electrically connected with the input terminal of cache register.
Optionally, the output end of the power detecting is electrically connected with the input terminal of 64 ROM and one-wire interface, and described first The connecting pin of reservoir and controller with the connecting pin of 64 ROM and one-wire interface are two-way is electrically connected.
Optionally, the connecting pin of the low temperature trigger TL, high temperature trigger TH and configuration register is and cache The two-way electrical connection in the connecting pin of register.
Technical effect and advantage of the invention:
The present invention passes through serial communication by the way that using temperature sensor as the acquisition module of signal, single-chip microcontroller is main control module It is attached communication with the control panel of the customized formula of Software Development Platform exploitation, realizes the long-range control of temperature, Virtual instrument Device technology utilizes high performance modularized hardware, and various tests and control are completed with software connection, utilizes high soft of flexibility ratio Part platform creates corresponding user interface, and connects hardware by serial communication, can complete a sensitivity and accuracy All high integrated system gets rid of the constraint of traditional instrument in all fields.
Detailed description of the invention
Fig. 1 is the schematic diagram of structure of the invention.
Fig. 2 is the schematic diagram of internal structure of temperature sensor of the present invention.
Fig. 3 is the flow diagram of temperature control system of the present invention.
In figure: 1, single-chip microcontroller;2, heated at constant temperature piece;3, buzzer;4, temperature sensor;5, serial communication;6, power supply is examined It surveys;7,64 ROM and one-wire interface;8, the first reservoir and controller;9, cache register;10, the second reservoir and Controller;11, temperature sensitive element;12, low temperature trigger TL;13, high temperature trigger TH;14, configuration register;15, relay Device.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on the figure or Positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must There must be specific orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In the present invention unless specifically defined or limited otherwise, term " setting ", " installation ", " connected ", " connection ", Terms such as " fixations " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection;It can be mechanical connect It connects;It can be directly connected, it can also be indirectly connected through an intermediary.For the ordinary skill in the art, may be used To understand the concrete meaning of above-mentioned term in the present invention as the case may be.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include one or more of the features.
The present invention provides a kind of Remote temperature control systems based on virtual emulation platform as shown in Figs. 1-3, including Single-chip microcontroller 1, heated at constant temperature piece 2, buzzer 3, temperature sensor 4 and serial communication 5;
As shown in Figure 1, the connecting pin of single-chip microcontroller 1 with the connecting pin of heated at constant temperature piece 2 is two-way is electrically connected, single-chip microcontroller 1 is STC89C52 single chip, STC89C52RC single-chip microcontroller are produced by macrocrystalline scientific & technical corporation, be it is a using 51 single-chip microcontroller kernels, Can, high performance CMOS8 single-chip microcontrollers that application method with 51 single-chip microcontrollers similar compatible with 51 single-chip microcontrollers, have in piece 8Kflash memory, user can wipe immediately internal processes and rewrite internal processes, conveniently be programmed;But itself is not Have A/D conversion function and D/A conversion function;Its speed is fast, have a safety feature and the advantages that high density makes it in electronics Industry is widely used, meanwhile, it is also equipped with anti-lost Electricity Functional, in order to avoid unnecessary loss is caused under burst fortuitous event;It can be with Task is directly programmed by using ISP, does not need to greatly increase service efficiency using special programmable device, STC89C52RC single-chip microcontroller includes one 8 microprocessors, data storage RAM, 21 specific functions deposits in 128KB piece Inside and outside device SFR, 3KB piece internal program memory Flash ROM, 64KB addressable piece outside ROM, 64KB addressable piece of an addressing RAM, 48 parallel-by-bit I/O interface P0-P3, a full duplex universal asynchronous serial interface UART, three 16 timers, meter The interruption of number device, five interrupt sources of boolean's processor and bit addressing function with bit manipulation function, two priority controls System and piece internal oscillator and clock generation circuit, heated at constant temperature piece 2 are PTC heated at constant temperature piece, and ptc heater has heat-resisting The advantage that property is low, heat transfer efficiency is high, it is a kind of automatic constant-temp. energy-saving electric heating device, prominent feature be in security performance, All be not in the surfaces such as electric tube heater " red " phenomenon under any use condition, cause the safety such as burn, fire hidden Suffer from, the connecting pin of single-chip microcontroller 1 with the connecting pin of buzzer 3 is two-way is electrically connected, buzzer 3 is using electromagnetic buzzer, electromagnetic type Buzzer is made of six piezoelectric buzzer, resonator, multi-resmator, impedance matching, shell and light emitting diode parts, voltage Material is attached on sheet metal, and when piezoelectric material and sheet metal both ends application voltage, buzzer can be produced because of backward voltage effect Raw mechanically deform and sound, electromagnetic buzzer is to carry out driving sounding with 1/2 square wave, as long as electromagnetic buzzer 1.5V Voltage with regard to the biggish sound, electromagnetic buzzer and than piezo buzzer under identical size, response frequency can be with The ratio piezo buzzer done it is more lower, the connecting pin of single-chip microcontroller 1 with the connecting pin of temperature sensor 4 is two-way is electrically connected, The connecting pin of single-chip microcontroller 1 with the connecting pin of serial communication 5 is two-way is electrically connected, serial communication 5 turns TTL using CH340USB, The end computer USB is USB level, and the signal of single-chip microcontroller is Transistor-Transistor Logic level, and the level of the two is not both that can not be communicated, and is needed Mutual communication is just able to achieve by conversion, CH340USB turns TTL module and realizes that USB level is mutually converted with Transistor-Transistor Logic level Module, CH340USB turn TTL module using CH340C chip as core, and inside carries crystal oscillator, and highest baud rate is soft up to 2Mbps Corresponding communication interface and power interface are drawn in the compatible CH341 driving of part, overcurrent protection, and communication interface is indicated with indicator light Working condition, communication robust are small in size;
The input terminal of single-chip microcontroller 1 is electrically connected the output end of contact relay 15, because single-chip microcontroller 1 is a kind of weakness device, driving Electric current very little, it is therefore desirable to connect relay 15 and be driven;
By Fig. 2, temperature sensor 4 is DS18B20 temperature sensor, is provided with power detecting 6,64 in temperature sensor 4 Position ROM and one-wire interface 7, the first reservoir and controller 8, cache register 9, the second reservoir and controller 10, temperature Spend sensor 11, low temperature trigger TL 12, high temperature trigger TH 13 and configuration register 14, the output end of power detecting 6 It is electrically connected with the input terminal of 64 ROM and one-wire interface 7, the connecting pin of the first reservoir and controller 8 and 64 ROM and single line The connecting pin of the two-way electrical connection in the connecting pin of interface 7, the first reservoir and controller 8 and the company of the second reservoir and controller 10 Connect end with the connecting pin of cache register 9 is two-way is electrically connected, output end and the cache of temperature sensitive original part 11 are posted The input terminal of storage 9 is electrically connected, the connecting pin of low temperature trigger TL 12, high temperature trigger TH 13 and configuration register 14 with The two-way electrical connection in the connecting pin of cache register 9, temperature sensor DS18B20 are produced by DALLAS semiconductor company A digital sensor, one of advantage is exactly that the signal of its output is digital signal, and its advantage is more, such as volume It is small, the volume of pin is removed less than 5 cubic millimeters, and its anti-interference ability is stronger, precision is also relatively high, in industry The advantages of it be can not ignore in is exactly his economy, therefore it is used widely in the industrial production;
As shown in Figure 3, mainly by two component parts of upper computer and lower computer, host computer utilizes Remote temperature control LABVIEW Software Development Platform is attached with slave computer by serial communication 5, and the transmission and conversion of data are carried out, thus on Position machine can obtain slave computer temperature data collected, and slave computer uses single-chip microcontroller 1, using in 4 collection room of temperature sensor Temperature, while host computer can also send data to slave computer by serial communication 5, control the heated at constant temperature piece 2 of slave computer, it is real Now long-range control, the control panel of host computer designs a reliable and safe log-in interface first, then in log-in interface Username and password is set, and only in all correct situation of the username and password of input, use that can be safe controls boundary Serial ports after safety enters control interface, is then opened in face, and system can acquire environment real time temperature by temperature sensor 4, pass through Serial communication module sends host computer for temperature and shows, and host computer can detect the variation of temperature in real time, and host computer can Corresponding data control slave computer is sent, heater switch is opened and closed, sends data to slave computer, starts to receive slave computer to adopt The temperature data of collection, data are per second to be sent once, and when the temperature monitored is higher than 40 DEG C, system can automatically turn on warning device, Buzzer 3 is alarmed.
The electric elements occurred in this article are electrically connected with extraneous main controller and 220V alternating current, and main controller can be meter Calculation machine etc. plays the conventionally known equipment of control.
This practical working principle: Remote temperature control is mainly by two component parts of upper computer and lower computer, host computer benefit It is attached with slave computer by serial communication 5 with LABVIEW Software Development Platform, carries out the transmission and conversion of data, thus Host computer can obtain slave computer temperature data collected, and slave computer uses single-chip microcontroller 1, utilizes 4 collection room of temperature sensor Interior temperature, while host computer can also send data to slave computer by serial communication 5, control the heated at constant temperature piece 2 of slave computer, Realize long-range control.
Finally, it should be noted that the foregoing is only a preferred embodiment of the present invention, it is not intended to restrict the invention, Although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art, still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features, All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in of the invention Within protection scope.

Claims (10)

1. a kind of Remote temperature control system based on virtual emulation platform, including single-chip microcontroller (1), heated at constant temperature piece (2), buzzing Device (3), temperature sensor (4) and serial communication (5), it is characterised in that: the connecting pin of the single-chip microcontroller (1) and heated at constant temperature piece (2) the two-way electrical connection in connecting pin, the connecting pin of the single-chip microcontroller (1) with the connecting pin of buzzer (3) is two-way is electrically connected, it is described The connecting pin of single-chip microcontroller (1) with the connecting pin of temperature sensor (4) is two-way is electrically connected, the connecting pin of the single-chip microcontroller (1) and string The two-way electrical connection in connecting pin of mouth communication (5);
Power detecting (6), 64 ROM and one-wire interface (7), the first reservoir and control are provided in the temperature sensor (4) Device (8), cache register (9), the second reservoir and controller (10) processed, temperature sensitive element (11), low temperature trigger TL (12), high temperature trigger TH (13) and configuration register (14).
2. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The single-chip microcontroller (1) is STC89C52 single chip.
3. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The temperature sensor (4) is DS18B20 temperature sensor.
4. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The buzzer (3) uses electromagnetic buzzer, and the electromagnetic buzzer is by piezoelectric buzzer, resonator, multi-resonant Six device, impedance matching, shell and light emitting diode parts form.
5. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The heated at constant temperature piece (2) is PTC heated at constant temperature piece.
6. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The serial communication (5) turns TTL using CH340USB.
7. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The output end of the power detecting (6) is electrically connected with the input terminal of 64 ROM and one-wire interface (7), first storage The connecting pin of device and controller (8) with the connecting pin of 64 ROM and one-wire interface (7) are two-way is electrically connected.
8. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The connecting pin and the second reservoir of first reservoir and controller (8) and the connecting pin of controller (10) are and high speed The two-way electrical connection in connecting pin of cache register (9).
9. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The output end of the temperature sensitive original part (11) is electrically connected with the input terminal of cache register (9).
10. a kind of Remote temperature control system based on virtual emulation platform according to claim 1, it is characterised in that:
The connecting pin of the low temperature trigger TL (12), high temperature trigger TH (13) and configuration register (14) is and cache The two-way electrical connection in connecting pin of register (9).
CN201910646716.1A 2019-07-17 2019-07-17 A kind of Remote temperature control system based on virtual emulation platform Pending CN110262586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910646716.1A CN110262586A (en) 2019-07-17 2019-07-17 A kind of Remote temperature control system based on virtual emulation platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910646716.1A CN110262586A (en) 2019-07-17 2019-07-17 A kind of Remote temperature control system based on virtual emulation platform

Publications (1)

Publication Number Publication Date
CN110262586A true CN110262586A (en) 2019-09-20

Family

ID=67926742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910646716.1A Pending CN110262586A (en) 2019-07-17 2019-07-17 A kind of Remote temperature control system based on virtual emulation platform

Country Status (1)

Country Link
CN (1) CN110262586A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221767A (en) * 2020-01-16 2020-06-02 合肥磐芯电子有限公司 FLASH interface circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205384527U (en) * 2016-01-28 2016-07-13 山西大学商务学院 Multichannel heater based on control of computer virtual instrument
CN207263211U (en) * 2017-04-11 2018-04-20 陕西国防工业职业技术学院 A kind of long-range humiture observation system
CN207318970U (en) * 2017-04-01 2018-05-04 陕西尚品信息科技有限公司 A kind of ultralow-power electronic thermometer
CN207337251U (en) * 2017-08-29 2018-05-08 南京凌速科技有限公司 Remote measuring and controlling system based on virtual instrument
CN109814107A (en) * 2017-11-20 2019-05-28 江阴职业技术学院 A kind of long-range ultrasonic ranging system based on open source hardware and virtual instrument

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205384527U (en) * 2016-01-28 2016-07-13 山西大学商务学院 Multichannel heater based on control of computer virtual instrument
CN207318970U (en) * 2017-04-01 2018-05-04 陕西尚品信息科技有限公司 A kind of ultralow-power electronic thermometer
CN207263211U (en) * 2017-04-11 2018-04-20 陕西国防工业职业技术学院 A kind of long-range humiture observation system
CN207337251U (en) * 2017-08-29 2018-05-08 南京凌速科技有限公司 Remote measuring and controlling system based on virtual instrument
CN109814107A (en) * 2017-11-20 2019-05-28 江阴职业技术学院 A kind of long-range ultrasonic ranging system based on open source hardware and virtual instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221767A (en) * 2020-01-16 2020-06-02 合肥磐芯电子有限公司 FLASH interface circuit

Similar Documents

Publication Publication Date Title
CN103838268A (en) Temperature control system based on single chip microcomputer
CN204593359U (en) The water level temperature monitoring system of steam generator system
CN110262586A (en) A kind of Remote temperature control system based on virtual emulation platform
CN206619003U (en) A kind of intelligent closestool is heater circuit
CN203489934U (en) Wireless valve control remote water meter
CN202995499U (en) SCM-based temperature control system
CN109580021A (en) Transformer low voltage conducting rod temperature measuring equipment based on induction power taking technology
CN201569497U (en) Control system for temperature measurement and alarm
CN201096553Y (en) Ultrasonic heat meter
CN204630079U (en) Novel fast energy-saving water boiling device
CN106895892A (en) A kind of display methods of low power-consumption intelligent water meter
CN202771174U (en) Infrared remote sensing clock
CN203068838U (en) Water temperature-water level monitoring system for solar water heater
CN206709915U (en) A kind of low power-consumption intelligent water meter
CN109814107A (en) A kind of long-range ultrasonic ranging system based on open source hardware and virtual instrument
CN201449641U (en) Remote prepaid water meter of solar centralized heating system
CN201955688U (en) Temperature controller
CN206920891U (en) The ultrasonic environment monitoring system of traditional culture materialization carrier protection
CN214583742U (en) Household heat meter capable of adjusting flow
CN105675025B (en) Multipurpose Hall Transducer module
CN207066547U (en) A kind of ultrasonic test liquid level device
CN110132433A (en) A kind of SCM Based temperature recorder
CN214583745U (en) Non-contact household heat meter
CN214583744U (en) Heat meter is used at non-contact family based on SIM card transmission
CN201765008U (en) Low power consumption network intelligent water meter head

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: 20190920