CN202916015U - Register mechanism based multipoint temperature-measuring control system - Google Patents

Register mechanism based multipoint temperature-measuring control system Download PDF

Info

Publication number
CN202916015U
CN202916015U CN201220517051.8U CN201220517051U CN202916015U CN 202916015 U CN202916015 U CN 202916015U CN 201220517051 U CN201220517051 U CN 201220517051U CN 202916015 U CN202916015 U CN 202916015U
Authority
CN
China
Prior art keywords
module
sensor
circuit
temperature
registration
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.)
Expired - Fee Related
Application number
CN201220517051.8U
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.)
Guangxi Normal University
Original Assignee
Guangxi Normal 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 Guangxi Normal University filed Critical Guangxi Normal University
Priority to CN201220517051.8U priority Critical patent/CN202916015U/en
Application granted granted Critical
Publication of CN202916015U publication Critical patent/CN202916015U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model discloses a register mechanism based multipoint temperature-measuring control system, comprising a CPU (Central Processing Unit) master control module, and an external ROM (Read Only Memory) module, a USB communication circuit module, a serial port LCD (Liquid Crystal Display) circuit module, an ID (Identification) reading circuit, a system clock circuit, a matrix keyboard circuit and a system module all connected with the CPU master control module, wherein the system module monitors a PC end host computer and manages single-bus temperature sensor ID. According to user requirements, the system can register or cancel a sensor ID in the host computer or a register circuit, controls the amount of temperature-measuring points, and realizes reasonable utilization of resources; and via the register mechanism, it is not required to solidify programs again to replace, add or remove a sensor timely and rapidly, which provides great convenience for maintenance and management of the system in practice.

Description

A kind of multi-point temperature measurement control system based on login mechanism
Technical field
The utility model relates to 1-wire temperature sensor multi-point temperature measurement control system field, especially designed a kind of based on login mechanism, the 1-wire temperature sensor multi-point temperature measurement control system that conveniently administers and maintains.
Background technology
1-wire temperature sensor multi-point temperature measurement control system is all being played the part of important role in industry manufacture field or sphere of life.Compare with traditional simulating signal remote temperature measuring system, this system has avoided the technical matterss such as lead-in wire error compensation problem, multimetering switching error problem, amplifying circuit zero drift error.Such as the strong digital 1-wire temperature sensor DS18B20 of antijamming capability, its cost is relatively low, volume is little, precision is high, can directly temperature data be encoded, and can only use unit cable transmission temperature data, communication convenience, long transmission distance and anti-interference are good, so that this system is simplified, compare with the multi-point temperature measurement system that traditional temperature sensor forms and also to have saved a large amount of cables, and in the application of reality, obtain good thermometric effect.Therefore DS18B20 multi-point temperature measurement control system has very large application market.
In product manufacturing field, DS18B20 multi-point temperature measurement control system has been brought into play great function, be widely used in the analog operation environmental testing of various electronic products, electric equipment products, as the production line of the producer of a lot of production refrigerators is supporting the refrigerator temperature Microcomputer Automatic Testing System arranged, this system principle is based on DS18B20 multi-point temperature measurement control system, simultaneously many refrigerator temperature lowering curves tested to judge that refrigerator is whether qualified etc.; In industrial control field, DS18B20 multi-point temperature measurement control system has also been brought into play great function, especially in large granary or warehouse, the temperature measurement and control of winery, food processing factory, greenhouse, instrument and meter chamber etc., be a kind of requisite measure that has increased safety.
1-wire temperature sensor multi-point temperature measurement control system presents flourish trend at home and abroad, and China is no exception, and the structure of DS18B20 multi-point temperature measurement control system mainly contains four classes:
One, take single-chip microcomputer as processing core, although each I/O mouth is hung the data of a this conceptual design sampling of DS18B20 than very fast, take a lot of I/O mouth resources, extendability is bad;
Two, take single-chip microcomputer as processing core, select the hardware circuit design relative complex of corresponding this design design proposal of working sensor on the unibus with the form of toggle switch coding, manually control far can not be satisfied the requirement of Based Intelligent Control, and extendability is subject to the restriction of hardware resource;
Three, take single-chip microcomputer as processing core, ID number and the corresponding Position Number of DS18B20 preserved in the external memorizer storage, realized the automatic control of unibus upper sensor.But this type systematic needs again program curing namely single-chip microcomputer to be re-started programming or erasable external memory storage again when replacing new sensor or newly-increased point for measuring temperature, safeguards very inconveniently, does not reach the requirement of real-time control.
Summary of the invention
The purpose of this utility model provides a kind of multi-point temperature measurement control system based on login mechanism, and it can be registered or nullify sensor ID at host computer or registration circuit according to user's demand, and control point for measuring temperature quantity realizes the reasonable utilization of resource; Simultaneously by login mechanism can need not again program curing just can in time promptly change break down, newly-increased or delete sensor, for the real system maintenance and management provides great convenience.
The technical scheme that realizes the utility model purpose is:
A kind of multi-point temperature measurement control system based on login mechanism, comprise the CPU main control module, the ROM external memorizer module that is connected with the CPU main control module, the usb communication circuit module, serial ports LCD display circuit module, the ID reading circuit, system clock circuit, matrix keyboard circuit module and PC end ipc monitor and 1-wire temperature sensor ID registration management system module etc., unlike the prior art be: take the ARM chip as processing core, by communicating by letter with host computer, introduce temperature sensor ID login mechanism, when replacing and additions and deletions sensor contact, only need operate sensor ID at host computer or registration circuit.
Described temperature sensor adopts star-like and bus-type is opened up the benefit syndeton.
Described login mechanism is divided into auto registration circuit and manual registration circuit, the auto registration circuit is made of CPU main control module and CPLD, CPLD guarantees a corresponding address (position) value of determining of each sensor, finishes the auto registration function in supervisory system; The manual registration circuit is made of serial ports LCD display circuit, matrix keyboard circuit and master cpu circuit, can show the ID that hangs temperature sensor under the master cpu by serial ports LCD display circuit, and by matrix keyboard to ID with position encodedly carry out one by one correspondingly, finish the manual registration function.
Described supervisory system holds ipc monitor and 1-wire temperature sensor ID registration management system module to communicate by usb communication module and PC, when PC end ipc monitor and 1-wire temperature sensor ID registration management system module are opened, the meeting request that control is obtained in initiation to supervisory system, behind the normal operating software, the LCD display circuit of supervisory system and matrix keyboard circuit meeting conductively-closed, the registration of all the sensors ID, cancellation operation, finish by upper computer software, and write in the external memory storage.
The beneficial effects of the utility model are:
1, adopts the arm processor technology to realize the data communication of data acquisition and peripheral structure in conjunction with RT-Thread operating system, realized the collaborative work of multitask, guaranteed accuracy and the reliability of data acquisition, data communication.
2, the multi-point temperature measurement control system of login mechanism adopts star-like and bus-type topology connection structure.In the bus type topological structure, theory 128 1-wire temperature sensors of can plugging on the wall scroll IO bus; In the stelliform connection topology configuration, each IO plugs into 1 1-wire temperature sensor with the different address code of correspondence, thereby determines position corresponding to this sensor.The topological structure of this system possesses very strong temperature measuring point extended capability.
3, the multi-point temperature measurement control system of login mechanism adopts the temperature sensor ID way to manage of manual registration and auto registration.In the manual registration pattern, can in the ID reading circuit, obtain sensor ID and carry out the registration of id information and position, and write external memory storage; In the auto registration pattern, can finish the registration of id information and position according to different geocodings, and write external memory storage.
4, hold ipc monitor and 1-wire temperature sensor ID registration management system module and temp measuring system to carry input equipment in the multi-point temperature measurement control system employing PC of login mechanism and carry out man-machine interaction, interactive mode is versatile and flexible, simple and clear.
5, the multi-point temperature measurement control system of login mechanism is introduced login mechanism, can finish rapidly the replacing of the sensor that breaks down by PC end ipc monitor, so that the user becomes simpler to the maintenance of system; By registration or nullify the quantity that ID controls point for measuring temperature, so that resource is able to effective and reasonable utilization, extendability provides convenience to the user to the management of measurement point flexibly.
6, the monitoring of the multi-point temperature measurement control system host computer of login mechanism comprises high temperature or low-temperature warning prompting and the warning reminding that breaks down, and can allow the user process in time, rapidly the normal operation of recovery system.
7, adopt the mode of unibus externally fed based on the multi-point temperature measurement control system of login mechanism, both effectively avoided sensor because of the transformed error problem that electricity shortage brings, guaranteed the accuracy of data, prolonged again the distance of data transmission.
Description of drawings
Fig. 1 is that the utility model is based on the multi-point temperature measurement control system theory diagram of login mechanism
Fig. 2 is that the utility model is based on the multi-point temperature measurement control system thread schematic diagram of login mechanism
Embodiment
Below in conjunction with the drawings and specific embodiments the utility model is described in further details.
The utility model is based on the multi-point temperature measurement control system theory diagram of login mechanism as shown in Figure 1, and it is five parts that this patent system and device is divided into:
1, this part of CPU main control module is the processing core of whole system, the processing of the temperature data that responsible collection is returned and the identification of sensor ID, then with corresponding communication to host computer, and the information that host computer was confirmed is kept at external memory module;
2, this part of auto registration circuit is used for the sensor ID of the star-like connection of Accreditation System, the address wire that CPU and CPLD is continuous and the sensor ID on each IO mouth of CPLD are carried out related one by one, and this circuit is hung the sensor ID position under the recognition system automatically;
3, this part of manual registration circuit is mainly used to the sensor ID that unibus type in the Accreditation System connects, and by carrying out relatedly with clock that system clock produces circuit, carries out one by one corresponding with sensing station the moment that detects sensor ID;
4, this part of ID reading circuit is mainly used in sensor newly-increased or that change is read ID at remote control terminal, and carries out the off-line registration, finish the off-line registration after, sensor taken correspondence position is installed and the completion system follow-up function;
5, host computer this part of communicating by letter mainly is responsible for the registration management of sensor ID and is monitored the duty of each sensor, and registration management comprises reporting, registering of sensor ID, and monitoring management comprises alarm threshold setting, working sensor state etc.;
Each circuit connecting mode:
CPU main control module 1 is the core component of whole system, ROM storer 2 is connected with it by the I2C protocol bus, clock circuit 3 is connected with it by spi bus, the usb communication circuit is connected with it by USB (universal serial bus), LCD display module 5 is connected with it by universal serial bus, matrix keyboard 6 is connected with it by the P/S2 protocol bus, ID reading circuit 7 is connected with it by single IO mouth, CPLD auto registration circuit 8 is connected with it with the multidigit address wire by the single port data line, and the CPU main control module 1 directly lower sensor node of hanging is that the unibus type connects topological structure.In addition, hanging sensor node under the CPLD auto registration circuit is star-like connection topological structure.
With reference to Fig. 2, the active thread of this control system comprises following several:
1, system's main thread
This thread is the main thread of system, the basic procedure structure of construction system.Initialization is carried out in system's beginning that powers on, and selects interactive mode according to the host computer zone bit of monitoring serial port, starts immediately the thermometric thread and send aobvious thread; After finishing the temperature acquisition of registered sensor and sending display function, according to the result who compares with external memory storage in the thermometric thread, be confirmed whether to carry out register update, if need to then enable the registration thread, if do not need then according to the result who compares with external memory storage in the thermometric thread, be confirmed whether to need to nullify to upgrade, if need to then enable the cancellation thread, main thread finishes to return if do not need then.
2, thermometric thread
The ID scanner uni buffer memory of this thread completion system, thermometric, registered ID and buffer memory ID than reciprocity function.After starting the thermometric thread, at first scanning is mounted with the IO port of temperature sensor, and the sensor ID that scans is carried out buffer memory; Then carry out the collection of sensor temperature, and match one by one with ID in the buffer memory, finish temperature acquisition after, the information of storing registration ID of storing in the comparison external memory storage is returned sensor ID and time information unregistered or that do not nullify.
3, send aobvious thread
This thread is mainly finished the comparison of temperature threshold, and generation and the transmission of ID state, demonstration, alerting signal.Start send aobvious thread after, the sensor correlation behavior information that sets in the comparison external memory storage, and be sent to upper computer software or system's LCD screen display is shown according to interactive mode.
4, registration thread
This thread is mainly finished the sensor ID registering functional.After starting the registration thread, detect at first whether the unregistered ID that returns in 2 is that auto registration circuit I O mouth reports, if then ID and address code are matched and deliver mutual interface display, if not, then wait for manual registration and deliver mutual interface display in this thread timeslice; Then detect registration and whether finish, if, then return and carry out Port detecting, if not, the information of just sending external memory storage to preserve and will not change the log-on message of changing is delivered mutual interface display.
5, nullify thread
This thread is mainly finished sensor ID and is nullified function.After starting this thread, at first the not cancellation sensor ID correlation behavior information of returning in 2 is deleted in ROM; Then detect whether finish cancellation, if not, then continue deletion, if, thread suspension then.
The system work process explanation:
1, uses first system
1. when for the first time installation system and sensor, first the main control part circuit module is opened, again the sensor of hanging under the unibus topology connection structure is powered on successively, record power on order and corresponding point for measuring temperature address information, perhaps directly record sensor and the corresponding address line information of hanging under the star topology syndeton.
2. at host computer operation PC end software, this moment, software can show that unregistered sensor ID and corresponding ID report constantly or address wire value information, according to step 1. in power on order and corresponding point for measuring temperature address information or sensor ID and the corresponding address line information of record, the log-on messages such as present position, alarm threshold are filled in, and click " registration " button and finish registration and give storer to preserve log-on message, the sensor of finishing registration begins normal displays temperature and the alarm threshold that sets.
2, newly-increased or replacing fault sensor
1. in the time of need increasing sensor newly, connect single-sensor at ID reading circuit place, this moment, host computer monitoring software can show unregistered ID, filled in the log-on messages such as this sensor present position and alarm threshold, after finishing registration, just can take corresponding point for measuring temperature and install.
2. during sensor fault, upper computer software can be pointed out fault and be shown off-line.Can change according to step in 1., perhaps directly change at the point for measuring temperature scene, returning behind the monitoring client directly, change fault sensor ID is that new sensor installation ID gets final product.
3, the cancellation of sensor and deletion
When needing cancellation or deletion sensor, select corresponding registered sensor ID at the host computer interface, and click " cancellation " button, can finish and nullify or deletion, if this sensor is normal access state, this ID can continue to report to host computer monitoring software after a period of time.
4, the interface is selected
Native system is set two kinds of display modes, and host computer shows and monitoring module LCD shows.Can select corresponding display mode according to actual needs, the associative operations such as ID registration also can operate by the keyboard that monitoring module carries.

Claims (2)

1. multi-point temperature measurement control system based on login mechanism, the ROM external memorizer module that comprise the CPU main control module, is connected with the CPU main control module, usb communication circuit module, serial ports LCD display circuit module, ID reading circuit, system clock circuit, matrix keyboard circuit module and PC end ipc monitor and 1-wire temperature sensor ID management system module.
2. system according to claim 1 is characterized in that: described temperature sensor adopts star-like and bus-type is opened up the benefit syndeton.
CN201220517051.8U 2012-10-10 2012-10-10 Register mechanism based multipoint temperature-measuring control system Expired - Fee Related CN202916015U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201220517051.8U CN202916015U (en) 2012-10-10 2012-10-10 Register mechanism based multipoint temperature-measuring control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201220517051.8U CN202916015U (en) 2012-10-10 2012-10-10 Register mechanism based multipoint temperature-measuring control system

Publications (1)

Publication Number Publication Date
CN202916015U true CN202916015U (en) 2013-05-01

Family

ID=48164320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201220517051.8U Expired - Fee Related CN202916015U (en) 2012-10-10 2012-10-10 Register mechanism based multipoint temperature-measuring control system

Country Status (1)

Country Link
CN (1) CN202916015U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929328A (en) * 2014-03-21 2014-07-16 广西师范大学 Automatic diagnosis and redundancy protection method and device of broken link of monobus temperature measurement control system
CN109960198A (en) * 2019-03-11 2019-07-02 中国电子技术标准化研究院 A kind of automatic measurement system instrument and equipment controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929328A (en) * 2014-03-21 2014-07-16 广西师范大学 Automatic diagnosis and redundancy protection method and device of broken link of monobus temperature measurement control system
CN109960198A (en) * 2019-03-11 2019-07-02 中国电子技术标准化研究院 A kind of automatic measurement system instrument and equipment controller

Similar Documents

Publication Publication Date Title
CN103123485B (en) Intelligent data acquisition and control terminal and Internet of Things system with same
CN102901571B (en) Registration mechanism-based multi-point temperature measurement control system
CN106027351B (en) A kind of embedded web server fieldbus fault diagnosis communication module
CN203658776U (en) Intelligent data-collecting processor
CN202916015U (en) Register mechanism based multipoint temperature-measuring control system
CN201837606U (en) Online monitor for dew point and density of sulfur hexafluoride
CN204576211U (en) A kind of wireless grain condition analysis based on Modbus agreement and Measurement and Control System
CN104753172A (en) Power switch controller based on multiple wireless communications
CN203193789U (en) Monitor having functions of fault self-check and fault information feedback
CN203432700U (en) Multi-channel temperature acquisition system
CN204314657U (en) The device of a kind of remote monitoring greenhouse humiture, the soil moisture and water cut
CN103472769A (en) Data acquisition system and monitoring system for direct-current electric field monitoring
CN203658836U (en) Beckhoff PLC module detection platform
CN207096425U (en) A kind of test system
CN102761565A (en) Brewing process monitoring system and method based on wireless sensor network technology
CN201549934U (en) Remote terminal device
CN205176576U (en) Multi -functional network environment monitoring system
CN205092662U (en) Electric power is with intelligent alternating current -direct current integration power supply monitoring system
CN204388893U (en) Intelligent temperature and humidity monitoring system in switch cubicle
CN207924653U (en) SCM Based computer hardware monitoring system
CN209070394U (en) A kind of welding temperature monitoring system
CN205246125U (en) Based on long -range humiture collection of WEB and monitoring system
CN207317854U (en) A kind of remote distributed temperature humidity collection circuit
CN203982121U (en) Based on I 2the networking transmitter of C
CN213844344U (en) Low-power consumption telemetering terminal system with bluetooth debugging function

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130501

Termination date: 20131010