CN102801818B - Universal sensor interface acquisition system based on ZigBee technology - Google Patents

Universal sensor interface acquisition system based on ZigBee technology Download PDF

Info

Publication number
CN102801818B
CN102801818B CN201210301337.7A CN201210301337A CN102801818B CN 102801818 B CN102801818 B CN 102801818B CN 201210301337 A CN201210301337 A CN 201210301337A CN 102801818 B CN102801818 B CN 102801818B
Authority
CN
China
Prior art keywords
module
line
pin
transducer
sensor
Prior art date
Application number
CN201210301337.7A
Other languages
Chinese (zh)
Other versions
CN102801818A (en
Inventor
钱志鸿
付彩欣
孙大洋
王雪
Original Assignee
吉林大学
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 吉林大学 filed Critical 吉林大学
Priority to CN201210301337.7A priority Critical patent/CN102801818B/en
Publication of CN102801818A publication Critical patent/CN102801818A/en
Application granted granted Critical
Publication of CN102801818B publication Critical patent/CN102801818B/en

Links

Abstract

The invention relates to a universal sensor interface acquisition system based on a ZigBee technology, which belongs to the field of wireless communication and electronic technologies. The universal sensor interface acquisition system comprises a ZigBee module, a power supply module, a universal sensor interface module and a digital packaging sensor module, wherein I/O (input/output) ports of the ZigBee module are simulated to a clock line and a data line of a serial transmission bus by a microcontroller of the ZigBee module and are connected with the universal sensor interface module; the power supply module supplies power to the ZigBee module through a power supply line and a grounding line; the universal sensor interface module comprises the clock line, the power supply line, the grounding line and the data line; and the digital packaging sensor module is connected with the universal sensor interface module by the clock line, the power supply line, the grounding line and the data line. The universal sensor interface acquisition system realizes the plug and play of a special packaged sensor by virtue of a universal sensor interface, and avoids circuit changes in acquisition of different types of data; and the compatibility and the validity of the system are improved, and the cost of the system is reduced.

Description

Based on the general-purpose interface collection system of sensor of ZigBee technology
Technical field
The present invention relates to a kind of acquisition system based on ZigBee technology, particularly a kind of transducer general-purpose interface, belongs to radio communication and electronic technology field.
Background technology
The development of the technology such as microelectric technique, computing technique and radio communication, has promoted the development of low-power consumption Multifunction Sensor, make its in micro volume can integrated information collection, the several functions such as data processing and radio communication.Wireless sensor network is exactly information world in logic and physical world are objectively merged, and realizes the collection of objective physical world information, transmission, process.The data acquisition unit sensor node of wireless sensor network forms primarily of sensor assembly, processor module, wireless communication module and energy supply module four part.ZigBee technology is a kind of short distance, low complex degree, low-power consumption, low data rate, the two-way wireless communication technology of low cost or radio network technique, is the communication technology of one group of relevant networking developed based on IEEE 802.15.4 wireless standard, safety and application software aspect.But even there is following problem in the data acquisition system based on wireless sensor network of China at present:
1. sensor node complex structure.Generally be made up of four modules at sensor nodes in wireless sensor network: sensor assembly, processor module, wireless communication module and energy supply module, need in practical application to require to choose various chip for each module, also to consider that the pin of chip chamber connects and peripheral circuit simultaneously, cause the complicated line of circuit many, not easily change once connect.
2. kind of sensor is various, and often kind of transducer all needs a kind of connecting circuit.Diversified transducer can be marked off according to the difference of the difference of measurand type, operation principle, the difference of output signal type, each transducer have oneself pin configuration, work schedule, with the method for attachment of processor, when data acquisition system needs to gather several data, need for the different connecting circuit of no sensor design.
3. sensor design disunity, lacks versatility.Even the transducer of one species also has different pin designs and output signal type, have plenty of three pins, have plenty of four pins, have plenty of numeral output, have plenty of modulating output, cause when needing to gather a kind of physical data and also will consider multiple connected mode, lack versatility.
4. cannot realize the plug and play of transducer.Once the circuit of sensor node has welded, unless just circuit welding circuit again cannot be changed again, and generally sensor node needs to gather different physical datas by more emat sensor, therefore need continuous change, welding circuit, lack the plug and play interface of a transducer.
5. poor compatibility, cost is high.Data acquisition system based on wireless sensor network needs to gather various types of data, the transducer that different data acquisition correspondences is different, different connecting circuits, constantly change, welding circuit, system compatibility is poor, wastes unnecessary resource simultaneously.
Summary of the invention
The present invention is directed to the defect that prior art exists, a kind of general-purpose interface collection system of sensor based on ZigBee technology is provided, the simple connecting line of system configuration is few, without the need to changing circuit, the transducer of unified encapsulation is by transducer general-purpose interface plug and play, can several data be measured, cost is low, efficiency is high, compatibility is good.
Technical scheme of the present invention is:
The invention provides a kind of general-purpose interface collection system of sensor based on ZigBee technology, this system is made up of ZigBee module 1, power module 2, transducer common interface module 3 and digital wrapper sensor assembly 4 four part.
ZigBee module 1 is responsible for the operation controlling whole sensor node, comprises the data of transmission control command, Storage and Processing collection itself; Be responsible for carrying out radio communication with other sensor nodes, exchange of control information and transmitting-receiving image data.ZigBee module 1 quotes the power pins of ZigBee chip, grounding pin and two I/O pins, as power line, earth connection, clock line and data wire, and is connected with transducer common interface module 3 by clock line, power line, earth connection and data wire.Wherein power line and connect wires as transducer common interface module 3 provides operating voltage; Two of port one I/O pin mold are intended to be serial transmission bus by microcontroller by ZigBee module 1, are respectively clock line and data wire, for transmitting the Monitoring Data of control command and collection.
Power module 2 is made up of two joint No.5 cells, by positive and negative the two poles of the earth extracting power supply cord and earth connection respectively of battery.Power module 2 is connected with ZigBee module 1 with earth connection by power line, and provides the operating voltage of 3V for ZigBee module 1.
Transducer common interface module 3 comprises clock line, power line, connects wires and data wire, and profile adopts PIN jack.Transducer common interface module 3 is connected with digital wrapper sensor assembly 4 by clock line, power line, earth connection and data wire.Wherein PIN jack adopts single four hole jack forms, and No. 1 jack is clock line, No. 2 jacks are power line, No. 3 jacks are earth connection, No. 4 jacks are data wire, and jack interval is 2.54mm.Transducer common interface module 3 provides the jack of a plug and play for multi-functional unified digital wrapper transducer, convenient, fast, efficiency is high.
Transducer and peripheral circuit thereof are encapsulated on a pcb board by digital wrapper sensor assembly 4, and draw four pins and be respectively clock line, power line, earth connection and data wire.Perception is responsible for by transducer, the monitoring information gathered in monitored area, and peripheral circuit is that the numeral in order to ensure digital wrapper sensor assembly 4 exports.When the transducer encapsulated is numeric type transducer, can exports according to four lines and directly encapsulate; When the transducer encapsulated is analogue type transducer, need the peripheral circuit by transducer is such with A/D converter and serial line interface to be connected, ensure that four line numerals export.Wherein power line and earth connection by transducer common interface module 3 for digital wrapper sensor assembly 4 provides the operating voltage of 3V; Clock line and data wire have cooperatively interacted the transmission of the transmission of control command and the Monitoring Data of collection.The profile of digital wrapper sensor assembly 4 adopts the single PIN contact pin of four pins as pin, No. 1 pin is clock line, No. 2 pins are power line, No. 3 pins are earth connection, No. 4 pins are data wire, pin-pitch is 2.54mm, pin length is 6.35mm, pin size is consistent with the PIN jack of transducer common interface module 3, realizes plug and play seamless link.
The invention has the beneficial effects as follows:
1. a node circuit of the present invention ZigBee module replaces processor module and wireless communication module two modules, whole circuit only has clock line, power line, earth connection and data wire four connecting lines, structure is simply clear, reduce production cost, and complete the function needed most with minimum module and connecting line.
2. transducer general-purpose interface of the present invention provides a socket for various transducer place in circuit, chooses different transducers insert socket according to the difference of measurement data type, without the need to changing circuit, convenient and swift.
3. digital wrapper transducer of the present invention is realize the plug-and-play feature to general-purpose interface, and according to the hardware specification of invention requirement and the unified encapsulation of timing sequence specification before dispatching from the factory, the encapsulation realizing transducer unitizes, and is easy to install and improves utilance.
4. the present invention is applicable to the acquisition system simultaneously gathering multiple types of data, only need change special package transducer for different acquisition task, without the need to other operations, efficiently, fast, economizes on resources.
Accompanying drawing explanation
Fig. 1 is the structural representation of the general-purpose interface collection system of sensor based on ZigBee technology provided by the invention;
Fig. 2 is the overall dimension schematic diagram of transducer general-purpose interface provided by the invention and digital wrapper transducer;
Wherein: Fig. 2 (a) is the overall dimension schematic diagram of transducer general-purpose interface; Fig. 2 (b) is the overall dimension schematic diagram of digital wrapper transducer;
The structural representation of a kind of general-purpose interface collection system of sensor based on ZigBee technology that Fig. 3 provides for the embodiment of the present invention;
The data acquisition program flow chart of the digital hygro sensor DHT90 that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, a concrete execution mode of the present invention is described.
The structural representation of the general-purpose interface collection system of sensor based on ZigBee technology of the present invention as shown in Figure 1.Comprise ZigBee module 1, power module 2, transducer common interface module 3 and digital wrapper sensor assembly 4; ZigBee module 1 is connected with transducer common interface module 3 by clock line, power line, earth connection and data wire; Power module 2 is connected with ZigBee module 1 with earth connection by power line; Transducer common interface module 3 is connected with digital wrapper sensor assembly 4 by clock line, power line, earth connection and data wire.
Accompanying drawing 3 is embodiments for the general-purpose interface collection system of sensor based on ZigBee technology:
Select HFZ-CC2430EM-22 module as ZigBee module 1, be responsible for the operation controlling whole node, send control command, process and transmission image data, and form the network system of the self-organizing of a multi-hop with other multi-node wireless communication.This module, adopts the ZigBee radio frequency chip CC2430 of Texas Instrument (TI), integrated high-performance 8051 kernel, ADC, USART etc. on sheet, supports Zigbee protocol stack.This module is drawn 24 pins altogether and is respectively 19 I/O mouths, and comprise all P1 mouths, P0 mouth and P2_0, P2_1, P2_2 tri-mouths, 2 power pins, 2 grounding pins, a reset pin, pin-pitch is 2.54mm.P1_1 and the P1_3 mouth of extraction is modeled as serial transmission bus as clock line and data wire by 8051 wherein integrated on CC2430 chip microcontrollers, is connected respectively with No. 1 jack of transducer common interface module 3 and No. 4 jacks; Power pins and grounding pin are connected with No. 2 jacks of transducer common interface module 3 and No. 3 jacks respectively.
Select two joint No.5 cells power module 2 the most, be responsible for the operating voltage that ZigBee module 1, transducer common interface module 3 and digital wrapper sensor assembly 4 provide 3V.Two joint No.5 cell series connection, positive pole is connected with the power pins of HFZ-CC2430EM-22 module, and negative pole is connected with the grounding pin of HFZ-CC2430EM-22 module.
Select the PIN jack in single four holes as transducer common interface module 3, the transducer being responsible for digital wrapper provides the socket of a plug and play.Wherein No. 1 jack is clock line, No. 2 jacks are power line, No. 3 jacks are earth connection, No. 4 jacks are data wire, and jack interval is 2.54mm, and overall dimension schematic diagram is consulted shown in Fig. 2 (a).Wherein No. 1 jack, No. 2 jacks, No. 3 jacks, No. 4 jacks are connected with No. 1 pin of digital wrapper sensor assembly 4, No. 2 pins, No. 3 pins, No. 4 pins respectively.
The digital hygro sensor DHT90 selecting pin type to encapsulate, as digital wrapper sensor assembly 4, is responsible for the perception of image data, collection and conversion.DHT90 comprises a capacitive character condensate hygrometric senser, a temperature element made by gap material realize seamless link with the A/D converter of 14 and serial interface circuit on the same chip; There is provided four pins single pin package, be followed successively by No. 1 pin to 4 pin from top to bottom, wherein No. 1 pin is clock line SCK, No. 2 pins are power line VDD, No. 3 pins are the GND that connects wires, No. 4 pins are data wire DATA, pin-pitch is 2.54mm, pin length is 6.35mm, sensor package is on pcb board, and overall dimension schematic diagram is consulted shown in Fig. 2 (b).The operating voltage range of DHT90 is 2.4-5.5V, and the present embodiment selects the operating voltage of 3V, and thus No. 2 pins and No. 3 pins are connected by the power pins of No. 2 jacks of PIN jack and No. 3 jacks and HFZ-CC2430EM-22 module and grounding pin; No. 1 pin of DHT90 is connected with P1_0 and P1_3 of HFZ-CC2430EM-22 module with No. 4 jacks with No. 1 jack of No. 4 pins by PIN jack, and No. 1 to No. 4 pin correspondence of DHT90 inserts No. 1 to No. 4 jack of PIN jack.
Complete the signal wiring of embodiment according to above method after, start to carry out Software for Design to whole system.Adopt IAREmbedded Workbench (the embedded workbench of IAR) as Software Development Platform, because its debug function is powerful, friendly interface and being widely used, is applicable to the embedded OS of exploitation based on 32/16/8 bit microprocessor.IAR integrates C-SPY debugger, Project Manager, file editor, librarian, linker, compilation instrument and C/C++ editing machine.Also have a code optimizer in IAR software, make the embedded workbench of IAR can be that 8051 family chips generate reliable FLASH code efficiently.The compiler of IAR Embedded Workbench has following characteristics: memorymodel is selected, efficient floating-point support, bottleneck performance evaluation, break simulation and process easily, well, target property expands for expander tool and Version Control support, complete and standard C compatibility.
The step using IAR EW to develop embodiment system is as follows:
(1) engineering option is set.
(2) edit and compile source file, generating application file.
(3) linking object module, comprises debugging option.
(4) debugging routine, turns back to second step amendment file if there is mistake and then again debugs.
(5) debug successfully, exit debugging option, complete the download program of SOC (system on a chip).
The programming of the sensor node in embodiment system mainly contains two parts composition, and a part is responsible for realizing internodal networking and transfer of data, and another part is responsible for the collection and the reading that realize Sensor monitoring data.
The workflow of internodal networking and transfer of data is for first to carry out initialization to sensor node, after initialization completes, node sends request signal and adds network, the method that father node can be adopted directly to add network realizes, if sensor node networks successfully, sensor node starts to carry out data acquisition to the object in monitored area, image data is sent to aggregation node and telegon after data acquisition terminates, the information gathering stage is turned back to after sending successfully, continue image data, continuous image data of going round and beginning again sends data.
8051 microcontrollers integrated on DHT90 and CC2430 chip are by the transmission of the control command that cooperatively interacted of clock line and data wire and the transmission of image data.The data acquisition program flow process of Temperature Humidity Sensor DHT90 is consulted shown in Fig. 4, and detailed process is: first electrifying startup transducer, makes transducer enter resting state; After transducer starts, send one by microcontroller to transducer and start transmission time sequence, complete initial work; After initialization sequential sends, microcontroller sends measuring command to transducer, and transducer determines whether to take orders; After determining to receive order, wait for measurement data until sensor sheet registration is complete according to measurement; Restart clock after DATA REASONING, microcontroller reads measurement data, sign off after digital independent.

Claims (8)

1., based on a general-purpose interface collection system of sensor for ZigBee technology, described system is made up of ZigBee module (1), power module (2), transducer common interface module (3) and digital wrapper sensor assembly (4); Described ZigBee module (1) is connected with transducer common interface module (3) by clock line, power line, earth connection and data wire; Described power module (2) is connected with ZigBee module (1) with the second earth connection by second source line; Described transducer common interface module (3) is connected with described digital wrapper sensor assembly (4) by clock line, power line, earth connection and data wire; It is characterized in that:
Two of port one I/O pin mold are intended to be serial transmission bus by microcontroller by described ZigBee module (1), are respectively clock line and data wire, for transmitting control command and image data; ZigBee module (1) only quotes power pins, grounding pin and above-mentioned two I/O pins, as power line, earth connection, clock line and data wire.
2. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 1, it is characterized in that, described power module (2) adopts two joint No.5 cells to be the operating voltage that ZigBee module (1) provides 3V by second source line and the second earth connection.
3. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 1, it is characterized in that, described transducer common interface module (3) comprises clock line, power line, earth connection and data wire, and profile adopts PIN jack.
4. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 3, it is characterized in that, described PIN jack adopts single four hole jack forms, No. 1 jack is clock line, No. 2 jacks are power line, No. 3 jacks are earth connection, No. 4 jacks are data wire, and jack interval is 2.54mm.
5. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 1, it is characterized in that, described digital wrapper sensor assembly (4) is encapsulated on a pcb board transducer and peripheral circuit thereof, and draw four pins and be respectively clock line, power line, earth connection and data wire; Digital wrapper sensor assembly (4) is connected with transducer common interface module (3) by clock line, power line, earth connection and data wire; Profile adopts the single pin package of four pins; The image data exported is that numeral exports.
6. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 1, it is characterized in that, described power line and earth connection by transducer common interface module (3) for digital wrapper sensor assembly (4) provides the operating voltage of 3V; Described clock line and data wire have cooperatively interacted the transmission of control command and the transmission of image data.
7. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 5, it is characterized in that, the single pin package of described four pin adopts PIN contact pin as pin, No. 1 pin is clock line, No. 2 pins are power line, No. 3 pins are earth connection, No. 4 pins are data wire, pin-pitch is 2.54mm, and pin length is 6.35mm.
8. according to the general-purpose interface collection system of sensor based on ZigBee technology according to claim 5, it is characterized in that, when encapsulated sensor is numeric type transducer, can exports according to four lines and directly encapsulate; When the transducer encapsulated is analogue type transducer, need transducer to be connected with serial line interface through A/D converter, ensure that four line numerals export.
CN201210301337.7A 2012-08-22 2012-08-22 Universal sensor interface acquisition system based on ZigBee technology CN102801818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210301337.7A CN102801818B (en) 2012-08-22 2012-08-22 Universal sensor interface acquisition system based on ZigBee technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210301337.7A CN102801818B (en) 2012-08-22 2012-08-22 Universal sensor interface acquisition system based on ZigBee technology

Publications (2)

Publication Number Publication Date
CN102801818A CN102801818A (en) 2012-11-28
CN102801818B true CN102801818B (en) 2015-05-20

Family

ID=47200778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210301337.7A CN102801818B (en) 2012-08-22 2012-08-22 Universal sensor interface acquisition system based on ZigBee technology

Country Status (1)

Country Link
CN (1) CN102801818B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458535B (en) * 2013-08-28 2016-08-10 北京师范大学 A kind of low-power consumption weak signal data acquisition and wireless transport module
CN104376665A (en) * 2014-11-28 2015-02-25 中国电子科技集团公司第二十八研究所 Monitoring node of perimeter protection system of wireless sensor network
CN104992551B (en) * 2015-07-30 2018-05-18 成都泰盟软件有限公司 Universal sensor interface
CN105812030A (en) * 2016-03-10 2016-07-27 东华大学 Sensor general interface based on low power consumption bluetooth technology
CN107918080B (en) * 2016-10-11 2020-12-18 大陆汽车电子(连云港)有限公司 Sensor connection state detection method and device and sensor
CN106707853A (en) * 2016-12-09 2017-05-24 广州云雾小桥信息科技有限公司 Network equipment controller
CN111127860A (en) * 2019-12-25 2020-05-08 重庆特斯联智慧科技股份有限公司 Sensor access device based on Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465282U (en) * 2009-07-13 2010-05-12 北京交通大学 Universal modular interface-based wireless sensor network node
CN202121791U (en) * 2011-07-18 2012-01-18 国电南京自动化股份有限公司 Modular Zigbee wireless sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465282U (en) * 2009-07-13 2010-05-12 北京交通大学 Universal modular interface-based wireless sensor network node
CN202121791U (en) * 2011-07-18 2012-01-18 国电南京自动化股份有限公司 Modular Zigbee wireless sensor

Also Published As

Publication number Publication date
CN102801818A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN203673475U (en) Serial port server
CN103123485B (en) Intelligent data acquisition and control terminal and Internet of Things system with same
CN103278203B (en) A kind of high frequency Ke's mass flowmeter digital signal processing system
CN102130951B (en) Server and method for remotely upgrading programmable logic device thereof
CN103200081B (en) A kind of things-internet gateway development platform towards heterogeneous network environment
CN103092115B (en) Sensor transfer measurement and control system based on miniature universal serial bus (USB)
CN102422263A (en) Development, programming, and debugging environment
CN101839969B (en) Satellite communication 1553B ground detection system and detection method thereof
CN101789171B (en) Method and system for changing data transfer bus
CN103490958A (en) Method for testing local communication unit interchangeability of acquisition terminal
CN103825883A (en) Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof
CN103685005B (en) Intelligent gateway
CN101309297A (en) Multi-type appliance control method based on multimedia wireless sensor network
CN103136138B (en) Chip, chip debugging method and communication method for chip and external devices
CN101840368B (en) JTAG (Joint Test Action Group) real-time on-chip debug method and system of multicore processor
US20080288666A1 (en) Embedded System Development Platform
CN105051706A (en) Device, method and system for operation of a low power PHY with a PCIe protocol stack
CN103019742A (en) Method for generating automatic codes on multiple DSP (Digital Signal Processor) platform
CN103453985B (en) Distributed wireless light intensity measuring instrument
CN102637453B (en) Phase change memory including serial input/output interface
CN102662835B (en) A kind of program debugging method for embedded system and embedded system
CN103944982A (en) Data collecting and controlling device and method for heterogeneous sensor network
CN101697075A (en) Remote wireless network household appliance control system and access control method thereof
CN101902831B (en) Node in wireless sensor network, applicable to detection of mechanical equipment vibration
CN102331485A (en) Portable water quality monitor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant