Nothing Special   »   [go: up one dir, main page]

CN105607673A - Intelligent temperature control system based on single chip microcomputer - Google Patents

Intelligent temperature control system based on single chip microcomputer Download PDF

Info

Publication number
CN105607673A
CN105607673A CN201510987045.7A CN201510987045A CN105607673A CN 105607673 A CN105607673 A CN 105607673A CN 201510987045 A CN201510987045 A CN 201510987045A CN 105607673 A CN105607673 A CN 105607673A
Authority
CN
China
Prior art keywords
temperature
circuit
port
chip microcomputer
initialization
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
CN201510987045.7A
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.)
Harbin Mimi Rice Industry Technology Co Ltd
Original Assignee
Harbin Mimi Rice Industry Technology Co Ltd
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 Harbin Mimi Rice Industry Technology Co Ltd filed Critical Harbin Mimi Rice Industry Technology Co Ltd
Priority to CN201510987045.7A priority Critical patent/CN105607673A/en
Publication of CN105607673A publication Critical patent/CN105607673A/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/1919Control of temperature characterised by the use of electric means characterised by the type of controller
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Temperature (AREA)

Abstract

An intelligent temperature control system based on a single chip microcomputer is designed in the invention. An MCS-51 single chip microcomputer and a temperature sensor are used to monitor temperature in real time, a highest temperature and a lowest temperature are set through a keyboard, and the collected real-time temperature is transmitted to a host machine through a serial port. Thus the control of the temperature is achieved. The hardware part of the system comprises a digital tube display, temperature setting buttons, a serial circuit, a PC host machine and a temperature sensor DS18B20. The software part of the system is divided into two parts: one part is set for temperature controlling in the form of buttons, and the other part is the displaying of a system working state by indication lamps. At first, the system carries out initialization setting on the single chip microcomputer, and the initialization setting comprises the initialization of a timer and the initialization of the serial port. The initialization setting of a peripheral circuit is needed in realizing the functions of the hardware circuit, the initialization setting comprises the initialization of a peripheral display circuit, setting temperature upper limit and low limit are initialized through judging the indication lamps, and real-time temperature is collected after a setting temperature is determined. Finally the transmission to the host machine is carried out through the serial port.

Description

SCM Based intelligent temperature control system
Technical field
The present invention relates to a kind of temperature control system, particularly a kind of employing 8051 monolithics are as the temperature control system of core.
Background technology
Single-chip microcomputer is the highest one of cost performance in all microprocessor, and along with the continuous increase of kind, function is constantly strengthened, and its application also expands rapidly. Single-chip microcomputer has suitable application at aspects such as intelligence instrument, control in real time, electromechanical integration, office machinery, household electrical appliance. Current, 8 single-chip microcomputers are mainly used in Industry Control, as the measurement of temperature, pressure, flow, metering and machining and control occasion; Dynamical 16 single-chip microcomputers (as MCS-96, MK-68200) can be used on more complicated computer network. Single-chip microcomputer is conducive to realize minimizing and singualtion of system control for controlling, simplify some special interface circuits, as the one-board micro-system of the special control processing capacity of the compositions such as program counter, phaselocked loop (PLL), analog switch, A/D and D/A converter, voltage comparator. Along with the develop rapidly of electronic technology, electronic control device is constantly towards miniaturization, intelligent direction development, reliability improves constantly simultaneously, single-chip microcomputer is the feature such as integrated level is high, function is strong, versatility is good, reliability is high, antijamming capability is strong, volume is little, easy to use and flexible owing to having, no matter be in national defense industry, communication sophisticated technology field, what still in intelligence instrument, civil electric appliance, all use is more and more. Can say, the application of microcomputer measuring and controlling technology has been penetrated into each department of national economy, and the application of microcomputer measuring and controlling technology is the effective way that product is improved the grade and weeded out the old and bring forth the new.
Because modern crafts more and more need to monitor and control real time temperature, and the precision needing is more and more higher. So the domestic and international many relevant personnel's of temperature control system attention, has obtained application very widely. Temperature control system not only can be used widely in industrial aspect, and in laboratory, office, is promoted in the intelligent buildings such as individual house. Temperature control system development is rapid, and achievement is remarkable.
Summary of the invention
The object of this invention is to provide a kind of 51 single-chip microcomputers that adopt, complete the slave computer part of temperature control system, realize the higher limit of design temperature, lower limit, and temperature is carried out to Real-time Collection, and be transferred to host computer to reach the object equipment that temperature is controlled by serial port.
The object of the present invention is achieved like this:
SCM Based intelligent temperature control system, is characterized in that: comprise 51 single chip machine controlling circuits, temperature setting circuits, temperature sensing circuit, display circuit and serial port circuit; Described temperature setting circuits, temperature sensing circuit, display circuit are connected with 51 single chip machine controlling circuits respectively, and control circuit is by serial port circuit and PC connecting communication.
The output of described temperature sensor is connected with the acquisition port of single-chip microcomputer, and the data of Ya~Yg port that the signal of single-chip microcomputer P0 mouth output is exported by CC4511 are directly connected to the input of 7 segment numeral pipes.
By P1.0, P1.1 and the P1.2 port of 3 Temperature Setting button control single chip computers, UP key connects P1.0 port; DOWN key connects P1.1 port; LED1, LED2 and LED3 receive respectively single-chip microcomputer P1.3, P1.4 and P1.5 port.
The present invention adopts MCS-51 single-chip microcomputer, and temperature sensor DS18B20, and temperature is carried out to Real-Time Monitoring and by by the maximum temperature of keyboard to set up, minimum temperature and the real time temperature collecting transmit to host computer by serial ports. To reach the control to temperature.
Hardware components temperature setting circuits, temperature sensing circuit, display circuit are connected with 51 single chip machine controlling circuits respectively, and control circuit is by serial line interface and PC connecting communication. The output of temperature sensor DS18B20 is connected with Chip Microcomputer A/D acquisition port, and the data of Ya~Yg port that the signal of single-chip microcomputer P0 mouth output is exported by CC4511 are directly connected to the input of 7 segment numeral pipes. By P1.0, P1.1 and the P1.2 port of 3 Temperature Setting button control single chip computers, UP key connects P1.0 port; DOWN key connects P1.1 port; LED1, LED2 and LED3 receive respectively single-chip microcomputer P1.3, P1.4 and P1.5 port.
Beneficial effect: the present invention has simple to operate, cost is low, easy to use, measures the advantages such as accurate.
Brief description of the drawings
Fig. 1 is system block diagram of the present invention.
Fig. 2 is software flow pattern of the present invention.
Detailed description of the invention
For example the present invention is described in more detail below in conjunction with accompanying drawing:
Embodiment 1
In conjunction with Fig. 1, Fig. 1 is system block diagram of the present invention. Invention adopts MCS-51 single-chip microcomputer, and temperature sensor DS18B20, and temperature is carried out to Real-Time Monitoring and by by the maximum temperature of keyboard to set up, minimum temperature and the real time temperature collecting transmit to host computer by serial ports. To reach the control to temperature.
Hardware components comprises that charactron shows, temperature arranges button, serial port circuit, PC host computer and temperature sensor DS18B20. Single-chip microcomputer work of the present invention and the needed DC voltage of a circuit module provide by DC-stabilized circuit. The main task of voltage-stabilized power supply is to convert the line voltage of 50Hz to stable voltage and current. Thereby, meeting a module needs in design, D.C. regulated power supply is generally made up of links such as rectification, filtering, voltage stabilizings. Whole reset circuit comprises the inside and outside two parts of chip. The Schmidt trigger (inhibition noise contributions) that external circuit generation reset signal enters in sheet by reset pin RST is connected with reset circuit in sheet again. The present invention selects as requested by key level reset circuit and completes, and after reset key, whole system is in init state. The main task of this module is that the signal charactron of single-chip microcomputer P0 mouth output is shown, and main devices used is CC4511 and 7 segment numeral pipes. The data of Ya~Yg port of CC4511 output are directly connected to the input of 7 segment numeral pipes, and CC4511 plays and becomes 7 segment numeral pipes to show the coding that numeral is required data transaction, and 7 segment numeral pipes play the effect that the data that receive are shown.
Embodiment 2
In conjunction with Fig. 2, Fig. 2 is software flow pattern of the present invention. Software section is divided into two parts: a part arranges with button form control temperature, and another part is with indicator lamp display system duty. Key part: by P1.0, P1.1 and the P1.2 port of 3 button control single chip computers, UP key connects P1.0 port, is used for adjustment System temperature to show, plays the show value effect that increases temperature. DOWN key connects P1.1 port, is used for equally adjustment System temperature to show, plays the show value effect that reduces temperature. OK key is to be used to provide the button of adjusting end signal. From circuit diagram, can see, each button is to need additional power source to provide signal by resistance, and in the time of button not, the input signal of port is high level (logical one), in the time that button presses down, and low level (logical zero) when the signal of input port. Indicator lamp part: LED1, LED2 and LED3 receive respectively single-chip microcomputer P1.3, P1.4 and P1.5 port, by the output of this three port of scm software control, when port output is logical one (high level), corresponding LED pipe is luminous, on the contrary, when port output be logical zero (low level), corresponding LED pipe extinguishes.
The flow process of whole software is that program starts to initialize setting to single-chip microcomputer, comprises the initialization of timer and the initialization of serial line interface. The function that realizes hardware circuit must initialize setting to peripheral circuit, comprising the initialization of peripheral display circuit, by judging indicator lamp initial setting up temperature upper limit and lower limit, determining after set temperature, real time temperature is gathered. Finally transmit to host computer by serial line interface.

Claims (3)

1. SCM Based intelligent temperature control system, is characterized in that: comprise 51 single chip machine controlling circuits, temperature setting circuits, temperature sensing circuit, display circuit and serial port circuit; Described temperature setting circuits, temperature sensing circuit, display circuit are connected with 51 single chip machine controlling circuits respectively, and control circuit is by serial port circuit and PC connecting communication.
2. SCM Based intelligent temperature control system according to claim 1, it is characterized in that: the output of described temperature sensor is connected with the acquisition port of single-chip microcomputer, the data of Ya~Yg port that the signal of single-chip microcomputer P0 mouth output is exported by CC4511 are directly connected to the input of 7 segment numeral pipes.
3. SCM Based intelligent temperature control system according to claim 1, is characterized in that: by P1.0, P1.1 and the P1.2 port of 3 Temperature Setting button control single chip computers, UP key connects P1.0 port; DOWN key connects P1.1 port; LED1, LED2 and LED3 receive respectively single-chip microcomputer P1.3, P1.4 and P1.5 port.
CN201510987045.7A 2015-12-27 2015-12-27 Intelligent temperature control system based on single chip microcomputer Pending CN105607673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510987045.7A CN105607673A (en) 2015-12-27 2015-12-27 Intelligent temperature control system based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510987045.7A CN105607673A (en) 2015-12-27 2015-12-27 Intelligent temperature control system based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN105607673A true CN105607673A (en) 2016-05-25

Family

ID=55987667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510987045.7A Pending CN105607673A (en) 2015-12-27 2015-12-27 Intelligent temperature control system based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN105607673A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59103117A (en) * 1982-12-03 1984-06-14 Sharp Corp Temperature controller
CN1375752A (en) * 2001-12-27 2002-10-23 赵士同 Intelligent temperature controller
CN201436613U (en) * 2009-05-13 2010-04-07 东莞市冠佳电子设备有限公司 A temperature monitoring system
CN201955688U (en) * 2011-01-26 2011-08-31 上海汇纳智能控制科技有限公司 Temperature controller
CN103869842A (en) * 2012-12-10 2014-06-18 哈尔滨功成科技创业投资有限公司 Multifunctional high-precision temperature adjusting system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59103117A (en) * 1982-12-03 1984-06-14 Sharp Corp Temperature controller
CN1375752A (en) * 2001-12-27 2002-10-23 赵士同 Intelligent temperature controller
CN201436613U (en) * 2009-05-13 2010-04-07 东莞市冠佳电子设备有限公司 A temperature monitoring system
CN201955688U (en) * 2011-01-26 2011-08-31 上海汇纳智能控制科技有限公司 Temperature controller
CN103869842A (en) * 2012-12-10 2014-06-18 哈尔滨功成科技创业投资有限公司 Multifunctional high-precision temperature adjusting system

Similar Documents

Publication Publication Date Title
CN203339424U (en) Wireless intelligent energy consumption gauge
CN105652914A (en) Intelligent temperature control system based on single-chip microcomputer
CN105607673A (en) Intelligent temperature control system based on single chip microcomputer
CN105739561A (en) Intelligent temperature control system based on single-chip microcomputer
CN201166913Y (en) Temperature transmitter
CN104483893B (en) Lathe long-distance monitorng device and system
CN203759084U (en) Multi-communication mode electric power meter
CN206369559U (en) A kind of USB interface-based equipment condition monitoring and fault location system
CN108254009A (en) A kind of detection circuit and judgment method for being adapted to different sensors
CN206212320U (en) Electromagnetic oven
CN203414788U (en) Novel off-site integrated wireless monitoring device
CN203706392U (en) Wireless sensing communication platform based on STM32, SH79F32 and nRF905 chips
CN202103909U (en) Automatic luminaire photometric characteristic monitoring device with Modbus communication function
CN105511392A (en) PLC control system used for industrial automation
CN204476484U (en) A kind of steam turbine automatic speed regulation control device
CN206133247U (en) Little control system based on multi -sensor data gathers and transmits
CN202929824U (en) Heat meter circuit module
CN204595579U (en) The aobvious device of a kind of smart fields behaviour
Hua et al. Design of a State Monitoring System for Equipment based on the Zigbee Wireless Sensor Network.
CN201754229U (en) Multifunctional desktop intelligent measurement and control system
CN205193738U (en) Support PS2 and USB double nip keyboard of special function key
RU109303U1 (en) INDUSTRIAL CONTROLLER
CN212459834U (en) Current collecting equipment
CN216956151U (en) NTC temperature monitoring and control circuit and NTC temperature monitoring and control terminal equipment
CN203149329U (en) Intelligent pressure switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160525