Summary of the invention
In view of the deficiency that prior art exists, purpose of the present invention aims to provide a kind of development platform towards the polymorphic type ZigBee node, adopts unified hardware motherboard and different daughter boards, can realize telegon, router, the difference in functionalitys such as terminal acquisition node.
The present invention is achieved through the following technical solutions:
A kind of modular development platform towards the polymorphic type ZigBee node that is applicable to the ZigBee sensor network comprises motherboard and plug type daughter board; Described motherboard is provided with power circuit, radio frequency daughter board interface, sensor signal input interface, analog sensor daughter board interface, intelligence sensor daughter board interface, PC communicator plate interface, debugging interface, LCD daughter board interface and battery interface; Described plug type daughter board comprises radio frequency daughter board, analog sensor daughter board, intelligence sensor daughter board, LCD daughter board, the PC daughter board of communicating by letter.
The Core Feature of the motherboard of described development platform is to provide the power supply of system, and provides the rich in natural resources interface for the interconnection and interflow of each daughter board.
The power circuit of described motherboard provides power supply for motherboard and each daughter board, realizes the Power supply mode of the several types such as external dc power, debugging interface power supply, PC communication power supply, powered battery and protection each other.
Described radio frequency daughter board is inserted in radio frequency daughter board interface, and the LCD daughter board is inserted in LCD daughter board interface, and the analog sensor daughter board is inserted in analog sensor daughter board interface, and the intelligence sensor daughter board is inserted in intelligence sensor daughter board interface, PC communication daughter board is inserted in PC communication.
Described radio frequency daughter board comprises ZigBee integrated chip, Buck adjuster circuit, clock circuit, antenna, realizes reception and the transmission of ZigBee wireless signal, can be used for the node of telegon, router, terminal collection three types.
Described analog sensor daughter board adopts the modulate circuits such as I/V conversion, amplification, filtering that the analog signal of transducer input is nursed one's health, and realizes analog-to-digital conversion for the signal of transducer and prepares.
Described intelligence sensor daughter board is realized the conversion of intelligence sensor interface level, the CMOS level that becomes the ZigBee integrated chip to receive the non-CMOS level conversion of RS232, the RS485 of transducer, RS422.
Described PC communication daughter board realizes that USB interface arrives the conversion of UART interface, the interface that provides ZigBee node to communicate by letter with PC.
Described LCD daughter board comprises LCD display, drive circuit, realizes the demonstration of nodal information.
Described sensor signal input interface is realized the access of multi-channel analog signal, multi-channel digital amount signal and intelligence sensor signal.The intelligence sensor kind of interface comprises RS232 interface, RS485 interface, SPI interface, IIC interface.
Described battery interface is access battery use, accessible battery case.
When realizing described coordinator function, insert LCD daughter board, PC communication daughter board, radio frequency daughter board at motherboard; And communicate by communicate by letter daughter board and computer of PC, realize management and data acquisition to ZigBee-network by PC; The power supply of telegon is obtained by the USB interface of communication daughter board by PC.
When realizing described router, insert the radio frequency daughter board on motherboard; Router is powered by external dc power.
When realizing described terminal acquisition node, insert radio frequency daughter board, analog sensor daughter board, intelligence sensor daughter board, battery on motherboard; The sensor signal that needs to gather is linked into terminal node by the sensor signal input interface.
Owing to having adopted above-mentioned technical scheme, the present invention compared with prior art, have following advantage and good effect: the present invention realizes modular-ZigBee node development platform for adopting motherboard to add the mode that can plug daughter board, by inserting different daughter boards, can cover the node types such as telegon, router, terminal acquisition node, make different node types to develop on a common motherboard platform.The present invention can effectively reduce the design cycle of sensor network nodes and reduce the product maintenance cost.
Embodiment
The invention will be further described below in conjunction with concrete accompanying drawing and case study on implementation.
Embodiments of the present invention relate to a kind of sensor network nodes development platform based on ZigBee, as shown in Figure 1, this platform comprises at least: a development platform motherboard, a radio frequency daughter board, a LCD daughter board, a PC communication daughter board, an analog sensor daughter board, an intelligence sensor daughter board.
The Core Feature of described development platform motherboard is for the type node such as telegon, router, terminal collection provide a core carrier, for each daughter board provides important interface.
Described radio frequency daughter board comprises a slice ZigBee integrated chip MC13226, this integrated chip ARM kernel, 2.4GHz radio-frequency (RF) transceiver, IEEE802.15.4MAC hardware accelerator and AES hardware accelerator, built-in FLASH, SRAM and ROM, the modules such as AD conversion, support the ZigBee2007/PRO protocol stack, be fit to realize reception and the transmission of ZigBee wireless signal.
Described analog sensor daughter board is nursed one's health the analog signal of transducer input, with the analog signal conversion (as the I/V conversion) of transducer input, amplification, filtering etc., thereby convert dissimilar analog input to voltage range that ADC adapts to, for follow-up analog-to-digital conversion does homework.
The conversion of the non-CMOS level such as RS232, the RS485 of described intelligence sensor daughter board Interface realization intelligence sensor interface, RS422 and CMOS level, thus be convenient to data and the radio frequency daughter board of transducer are communicated
Described PC communication daughter board comprises a slice FT232RL chip, realizes that USB interface arrives the UART interface; The power supply of described communication daughter board is obtained from USB interface.When described communication daughter board was linked into PC from USB interface, PC can be virtual from a serial ports after installing and driving, and can realize the control of node and the data that collector node is uploaded by this serial ports.
Described LCD daughter board comprises LCD display, drive circuit, realizes the demonstration of nodal information.
Described sensor signal input interface is realized the access of multi-channel analog signal, multi-channel digital amount signal and intelligence sensor signal, adopts one group of industrial socket to realize.
Described battery interface is access battery use, accessible two joint 1.5V batteries.
The below is specifically described motherboard and each daughter board.
Shown in the motherboard of development platform adopt the flush system design, plug simple to operate; The power circuit of described platform as shown in Figure 2.Described power circuit provides power supply for motherboard and each daughter board, realizes the Power supply mode of the several types such as external dc power, debugging interface power supply, PC communication power supply, powered battery and protection each other.
Described ZigBee telegon daughter board comprises a slice MC13226, Buck adjuster circuit, clock circuit, antenna, one group of motherboard interface.Described motherboard interface is the interface of one group of 2*30pin, and this interface comprises power supply, JTAG, SPI, IIC, UART, GPIO, ADC analog input port and reference power supply input.Described interface is connected with each daughter board and sensor signal input socket by the interface on motherboard.Buck adjuster circuit on described radio frequency daughter board, the regulative mode that the terminal acquisition node provides low-power consumption that is used as for the radio frequency daughter board, the Buck circuit can will be higher the cell voltage linearity be adjusted to the Voltage-output of 1.8-2.0V, thereby effectively extend the useful life of battery.Described Buck adjuster circuit as shown in Figure 3, the above is provided with jumper cap J1 and J2, when the radio frequency daughter board as the terminal acquisition node, with jumper cap J1 connect, jumper cap J2 do not connect, the Buck circuit can be worked; When the radio frequency daughter board as the terminal acquisition node, with jumper cap J1 do not connect, jumper cap J2 connects, the Buck circuit is not worked, the supply voltage of input can not be adjusted to 1.8V-2.0V.Adopted three clock crystal oscillators on described radio frequency daughter board: oikocryst shakes, and frequency of oscillation is 24MHz; Auxiliary crystal oscillator, frequency of oscillation is 32.768KHz; Built-in oscillator, frequency of oscillation are 2KHz.Described radio frequency daughter board is under normal operating conditions and Doze pattern (a kind of sleep pattern), adopts the oikocryst clock that shakes, and adopts auxiliary crystal oscillator or internal oscillator when processor enters sleep state, reaches the purpose that reduces power consumption.
Described analog sensor daughter board is nursed one's health the analog signal of transducer input, with the analog signal conversion (as the I/V conversion) of transducer input, amplification, filtering etc., thereby convert dissimilar analog input to voltage range that ADC adapts to, for follow-up analog-to-digital conversion does homework; Amplifier adopts 7 single channel amplifier OPA2227.The voltage stabilizing circuit that described analog sensor daughter board provides ADC to need, the voltage stabilizing chip adopts LM385-2.5V.Described analog sensor daughter board has one group of motherboard interface 2*10pin, and this interface comprises power supply, analog signal input, analog signal output, GPIO (being used for amplifier controls).
The level conversion of the intelligence sensor of described intelligence sensor daughter board Interface realization RS232, RS485, RS422.Described intelligence sensor daughter board comprises a slice MAX13223E, a slice MAX14841E; MAX13223E realizes the conversion of RS232 and UART level, and MAX14841E realizes the conversion of RS485/RS422 and UART level.Described intelligence sensor interface daughter board has one group of motherboard interface 2*10pin, and this interface comprises power supply, the input and output of RS232/RS485/RS422 signal, the input and output of UART signal.
Described PC communication daughter board realizes that USB interface arrives the UART interface, and the conversion of interface is by the realization of a slice FT232RL chip, and power supply is obtained from USB interface.Described PC communication daughter board has one group of motherboard interface 2*10pin, and this interface comprises USB input and output, UART input and output, the output of 5V power supply.
Described LCD daughter board comprises LCD display, drive circuit, realizes the demonstration of nodal information.Described LCD daughter board has one group of motherboard interface 1*10pin, adopts winding displacement to be connected with motherboard, and this interface comprises power supply, backlight control, SPI interface; MC13226 controls operating state and the displaying contents of LCD display by the SPI interface.
Described sensor signal input interface is realized the access of multi-channel analog signal, multi-channel digital amount signal and intelligence sensor signal, adopts one group of industrial socket to realize.
Described battery interface is access battery use, accessible two joint 1.5V batteries.
The telegon annexation that described platform is realized is connected LCD daughter board, radio frequency daughter board and PC communication daughter board as shown in Figure 4 with motherboard, the nodal information of LCD daughter board display network; PC communication daughter board is connected with PC, realizes that PC is to control and network data the uploading to PC of telegon; Power supply is obtained from communication interface by PC communication daughter board.
The router annexation that described platform is realized is connected the radio frequency daughter board as shown in Figure 5 with motherboard, power supply is provided by external dc power.
The terminal acquisition node annexation that described platform is realized is connected radio frequency daughter board, analog sensor daughter board, intelligence sensor daughter board as shown in Figure 6 with motherboard; External analog sensor signal, digital switch signal, intelligence sensor signal are linked in node by the sensor signal input interface, thereby realize the intelligent acquisition to sensing data; The power acquisition powered battery.
Explanation is at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not breaking away from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of claim scope of the present invention.