CN103528627A - SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument - Google Patents

SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument Download PDF

Info

Publication number
CN103528627A
CN103528627A CN201310520681.XA CN201310520681A CN103528627A CN 103528627 A CN103528627 A CN 103528627A CN 201310520681 A CN201310520681 A CN 201310520681A CN 103528627 A CN103528627 A CN 103528627A
Authority
CN
China
Prior art keywords
humiture
microcontroller
communication interface
humidity
data
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
CN201310520681.XA
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 OVERSEAS ELECTRIC SYSTEM ENGINEERING Co Ltd
Original Assignee
HARBIN OVERSEAS ELECTRIC SYSTEM ENGINEERING 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 OVERSEAS ELECTRIC SYSTEM ENGINEERING Co Ltd filed Critical HARBIN OVERSEAS ELECTRIC SYSTEM ENGINEERING Co Ltd
Priority to CN201310520681.XA priority Critical patent/CN103528627A/en
Publication of CN103528627A publication Critical patent/CN103528627A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention provides an SNMP based humiture detection instrument and a method for detecting humiture by the humiture detection instrument, relates to a humiture detection instrument and a method for detecting humiture by the humiture detection instrument, and aims to solve the problem that for a conventional humiture detection instrument, data transmission and unified management of equipment are difficult to realize when a system is very large. The SNMP based humiture detection instrument comprises a sensor unit, a microcontroller and a communication interface circuit, wherein the sensor unit comprises a temperature sensor and a humidity sensor; an SPI (single program initiation) data interface of the microcontroller is connected with an SPI data signal input end of the communication interface circuit; an I/O (input/output) data interface of the microcontroller is connected with a data signal input end of the communication interface circuit; and a data signal output end of the communication interface circuit is connected with an RJ 45 communication interface. The SNMP based humiture detection instrument and the method are used for detection of environmental factors such as humiture and the like.

Description

Humiture detector based on SNMP Network Management Protocol and this humiture detector are realized the detection method of humiture
Technical field
The present invention relates to a kind of humiture detector, and this humiture detector is realized the detection method of humiture.
Background technology
At present, existing temperature testing equipment is tinkling of jades meeting the eye on every side, the function of these existing temperature testing equipments is very perfect, they can carry out temperature detection to certain control point separately, also can utilize scene always newly to carry out networking detection, but they have a common drawback, that is: be difficult to utilize network to carry out unified management to it.So when intrasystem sensing equipment is more, when system is comparatively huge, the transmission of data and the management of equipment are to be all difficult to realize, and are also not easy to networking.
Control network with tradition and compare, Industrial Ethernet has and is widely used, and by all programming languages are supported, software and hardware resources enriches, and is easy to be connected with Internet, can realize the plurality of advantages such as seamless link of office automation network and industrial control network.Due to these advantages, particularly, with the seamless integrated of IT and transmission bandwidth that conventional art is incomparable, Ethernet has obtained the approval of industry member.
Summary of the invention
The present invention seeks in order to solve existing humiture detector when system is comparatively huge, the transmission of data is difficult to realize, simultaneously equipment is difficult to the problem of unified management, the detection method that provides a kind of humiture detector based on SNMP Network Management Protocol and this humiture detector to realize humiture.
Humiture detector based on SNMP Network Management Protocol of the present invention, it comprises sensor unit, microcontroller and communication interface circuit, sensor unit comprises temperature sensor and humidity sensor, the temperature digital signal output part of temperature sensor connects the temperature digital signal input part of microcontroller, the humidity digital signal output end of humidity sensor connects the humidity digital signal input end of microcontroller, the SPI data-interface of microcontroller is connected with the SPI data-signal input end of communication interface circuit, the I/O data-interface of microcontroller is connected with the data-signal input end of communication interface circuit, the data-signal output terminal of communication interface circuit connects RJ45 communication interface.
Humiture detector of the present invention is realized the detection method of humiture, and the detailed process of this detection method is: step 1, beginning, start microcontroller;
Step 2, initialize communication interface circuit, microcontroller judges communication interface circuit, and whether initialization is successful, if it is performs step three, if otherwise repeated execution of steps two;
Step 3, initialization Lwip protocol stack;
Step 4, microcontroller detection sensor unit, judge whether to detect successfully, if it is performs step five, if otherwise repeated execution of steps four;
Temperature sensor in step 5, sensor unit starts detected temperatures, and the humidity sensor in sensor unit starts to detect humidity;
Step 6, the temperature value that step 5 is detected and humidity value are assigned to OID node;
Step 7, to judge whether temperature and humidity data read complete, if otherwise return to step 4, if it is finish.
Advantage of the present invention: in today of scientific and technical high speed development, the density of integration of information system is more and more higher, any equipment can not be all the existence of isolating, multiple devices are linked together and form a network, the exchange of carrying out data by fieldbus and main frame is each other very necessary, also be the most common in commercial production, one of networking mode being most widely used, analog signal detection device is integrated ethernet communication interface, and using the agreement of snmp as application layer message transmissions, realized well the Internet Transmission to the network management of equipment and data, meanwhile, also range of application and the application of temperature-detecting device have been expanded as much as possible.
Compare with traditional temperature testing equipment, maximum of the present invention advantage be to have configured Ethernet interface (RJ45 interface), support TCP/IP-snmp agreement, realized and utilized network transmit data and the management of equipment.Meanwhile, RJ45 interface also makes the wiring that needs monitoring site become more simply, upgrade very convenient.
Accompanying drawing explanation
Fig. 1 is the structural representation of the humiture detector based on SNMP Network Management Protocol of the present invention;
Fig. 2 is the principle of work schematic diagram of the humiture detector based on SNMP Network Management Protocol of the present invention;
Fig. 3 is the workflow schematic diagram of the humiture detector detection method that realizes humiture.
Embodiment
Embodiment one: present embodiment is described below in conjunction with Fig. 1, humiture detector based on SNMP Network Management Protocol described in present embodiment, it comprises sensor unit 1, microcontroller 2 and communication interface circuit 3, sensor unit 1 comprises temperature sensor 4 and humidity sensor 5, the temperature digital signal output part of temperature sensor 4 connects the temperature digital signal input part of microcontroller 2, the humidity digital signal output end of humidity sensor 5 connects the humidity digital signal input end of microcontroller 2, the SPI data-interface of microcontroller 2 is connected with the SPI data-signal input end of communication interface circuit 3, the I/O data-interface of microcontroller 2 is connected with the data-signal input end of communication interface circuit 3, the data-signal output terminal of communication interface circuit 3 connects RJ45 communication interface.
Main being responsible for of sensor unit 1 gathers correlation parameters such as temperature, is the basis of the environmental parameters such as system detected temperatures; The main running of being responsible for whole system of microcontroller 2, the operation that has comprised data acquisition, data processing and communication protocol, is the core of system; Communication interface circuit 3 is used to system that an interface that carries out data interaction with the external world is provided, and has had communication interface circuit 3, and the range of application of system is improved significantly.
Embodiment two: below in conjunction with Fig. 3, present embodiment is described, humiture detector is realized the detection method of humiture described in present embodiment, and the detailed process of this detection method is:
Step 1, beginning, start microcontroller 2;
Step 2, initialize communication interface circuit 3, microcontroller 2 judges communication interface circuit 3, and whether initialization is successful, if it is performs step three, if otherwise repeated execution of steps two;
Step 3, initialization Lwip protocol stack;
Step 4, microcontroller 2 detection sensor unit 1, judge whether to detect successfully, if it is performs step five, if otherwise repeated execution of steps four;
Temperature sensor 4 in step 5, sensor unit 1 starts detected temperatures, and the humidity sensor 5 in sensor unit 1 starts to detect humidity;
Step 6, the temperature value that step 5 is detected and humidity value are assigned to OID node;
Step 7, to judge whether temperature and humidity data read complete, if otherwise return to step 4, if it is finish.
The principle of work of the humiture detector below in conjunction with Fig. 2 explanation based on SNMP Network Management Protocol, this humiture detector comprises information acquisition module, signal input module, data processing module and communication module,
Information acquisition module, for utilizing 5 pairs of temperature information or humidity information that need the node of detection of temperature sensor 4 and humidity sensor, then converts humidity index or humidity index to digital signal, then digital signal is exported;
Signal input module, temperature sensor 4 and the humidity sensor 5 of employing numeric type, the data-signal of temperature sensor 4 and humidity sensor 5 is exported to the I/O port of microcontroller 2;
Data processing module, adopts ARM microprocessor as microcontroller 2, and the digital signal collecting is carried out to computing and analysis, then the information obtaining is extracted;
Communication module, by ethernet communication interface, usings SNMP as the agreement of application layer message transmissions, for realizing the Internet Transmission to the data of the network management of humiture detector and collection.
Communications protocol of the present invention adopts comparatively advanced in the world snmp protocol, utilizes the agreement of this agreement and national standard to process and message transmissions data.Traditional communication interface has certain limitation in the use, so equipment adopts very advanced in the world Ethernet as communication interface.Had the support of Ethernet interface and application layer SNMP communications protocol, the advance of pick-up unit and range of application will be improved significantly.
The realization of system software part is mainly divided into temperature detection and the large module of data transmission two, temperature acquisition is mainly by temperature detection sensor, temperature transmission has adopted in Ethernet interface (RJ45 interface) and TCP/IP protocol suite take udp protocol as basic snmp agreement, makes equipment to be managed and to be controlled by network.In addition, whole equipment has also been introduced the outstanding embedded real-time operating system μ COS-II of performance, is guaranteeing, under the precondition of system real time, to have strengthened well the stability of system, and the process flow diagram that software section is realized as shown in Figure 3.

Claims (2)

1. the humiture detector based on SNMP Network Management Protocol, it is characterized in that, it comprises sensor unit (1), microcontroller (2) and communication interface circuit (3), sensor unit (1) comprises temperature sensor (4) and humidity sensor (5), the temperature digital signal output part of temperature sensor (4) connects the temperature digital signal input part of microcontroller (2), the humidity digital signal output end of humidity sensor (5) connects the humidity digital signal input end of microcontroller (2), the SPI data-interface of microcontroller (2) is connected with the SPI data-signal input end of communication interface circuit (3), the I/O data-interface of microcontroller (2) is connected with the data-signal input end of communication interface circuit (3), the data-signal output terminal of communication interface circuit (3) connects RJ45 communication interface.
2. described in claim 1, humiture detector is realized the detection method of humiture, it is characterized in that, the detailed process of this detection method is:
Step 1, beginning, start microcontroller (2);
Step 2, initialize communication interface circuit (3), microcontroller (2) judges communication interface circuit (3), and whether initialization is successful, if it is performs step three, if otherwise repeated execution of steps two;
Step 3, initialization Lwip protocol stack;
Step 4, microcontroller (2) detection sensor unit (1), judge whether to detect successfully, if it is performs step five, if otherwise repeated execution of steps four;
Temperature sensor (4) in step 5, sensor unit (1) starts detected temperatures, and the humidity sensor (5) in sensor unit (1) starts to detect humidity;
Step 6, the temperature value that step 5 is detected and humidity value are assigned to OID node;
Step 7, to judge whether temperature and humidity data read complete, if otherwise return to step 4, if it is finish.
CN201310520681.XA 2013-10-29 2013-10-29 SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument Pending CN103528627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310520681.XA CN103528627A (en) 2013-10-29 2013-10-29 SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310520681.XA CN103528627A (en) 2013-10-29 2013-10-29 SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument

Publications (1)

Publication Number Publication Date
CN103528627A true CN103528627A (en) 2014-01-22

Family

ID=49930823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310520681.XA Pending CN103528627A (en) 2013-10-29 2013-10-29 SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument

Country Status (1)

Country Link
CN (1) CN103528627A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193763A1 (en) * 2016-05-10 2017-11-16 中兴通讯股份有限公司 Testing method, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009510B1 (en) * 2002-08-12 2006-03-07 Phonetics, Inc. Environmental and security monitoring system with flexible alarm notification and status capability
CN201364640Y (en) * 2009-03-16 2009-12-16 北京国尚信科技有限公司 Wireless temperature and humidity monitoring system based on Zigbee technique
KR20100117751A (en) * 2009-04-27 2010-11-04 현영구 Subway air qualitative watch method and the system which use snmp
CN101931645A (en) * 2010-08-03 2010-12-29 天津市欧诺仪器仪表有限公司 Wireless temperature-humidity monitoring system based on Web

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009510B1 (en) * 2002-08-12 2006-03-07 Phonetics, Inc. Environmental and security monitoring system with flexible alarm notification and status capability
CN201364640Y (en) * 2009-03-16 2009-12-16 北京国尚信科技有限公司 Wireless temperature and humidity monitoring system based on Zigbee technique
KR20100117751A (en) * 2009-04-27 2010-11-04 현영구 Subway air qualitative watch method and the system which use snmp
CN101931645A (en) * 2010-08-03 2010-12-29 天津市欧诺仪器仪表有限公司 Wireless temperature-humidity monitoring system based on Web

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
何鹏举等: "基于WiFi的超低功耗温湿度网络传感器设计", 《测控技术》 *
王晓寅等: "基于ARM的远程温湿度监控系统", 《信息技术》 *
魏兴国: "基于SNMP协议的网络设备温度监控与实现", 《齐鲁石油化工》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193763A1 (en) * 2016-05-10 2017-11-16 中兴通讯股份有限公司 Testing method, apparatus and system

Similar Documents

Publication Publication Date Title
CN104506376B (en) A kind of multi-channel redundant formula CAN test system with frame starting sensitive control Trigger Function
CN103117900B (en) Configurable industrial Ethernet data parsing system and parsing method
CN105099828A (en) High performance network tester and the testing method thereof
CN107831702B (en) A kind of synchronous serial signal acquisition and control device based on gigabit Ethernet
CN106292409B (en) Real-time simulation system based on FPGA multi-rate optical fiber communication and simulation method thereof
CN105025056A (en) Internet of Things information collection and monitoring system design method
CN101753639A (en) Service role recognition method based on flow communication mode
US11388631B2 (en) Data reduction in a system
Mamo et al. Legacy to industry 4.0: A profibus sniffer
CN103528627A (en) SNMP (simple network management protocol) based humiture detection instrument and method for detecting humiture by humiture detection instrument
CN202334922U (en) Large-scale wireless monitoring and sensing device
CN202565473U (en) Monitoring system based on wireless sensor network
CN107896240A (en) Single-chip microcomputer and configuration software telecommunication system based on Internet
CN104753564B (en) PLC (power-line communication) device with measuring mode and channel measuring method
CN105790966B (en) Node cross search method and device
CN203522776U (en) Configurable industrial Ethernet data parsing system
CN107070868A (en) A kind of power network video and the data analysis system and its method in environmental monitoring system
Yang et al. The design of distributed control system based on CAN Bus
Wang et al. A General Dataset Generator for Industrial Internet of Things Using Multi-sensor Information Fusion
CN104636302A (en) Experimental device, experimental client, experimental system and experimental method of experimental system
CN107105047A (en) A kind of information sensor
CN113794630B (en) Multi-mode data acquisition method and system
CN206283532U (en) A kind of data acquisition device
CN207504882U (en) A kind of network data acquirer based on arduino systems
KR102106267B1 (en) Method And Apparatus for Converting Analog Power Signal to Digital Network Signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140122