CN102573135B - Wireless sensor network node controller, core bottom plate and wireless network access method for sensor - Google Patents

Wireless sensor network node controller, core bottom plate and wireless network access method for sensor Download PDF

Info

Publication number
CN102573135B
CN102573135B CN201210034095.XA CN201210034095A CN102573135B CN 102573135 B CN102573135 B CN 102573135B CN 201210034095 A CN201210034095 A CN 201210034095A CN 102573135 B CN102573135 B CN 102573135B
Authority
CN
China
Prior art keywords
spi
general
uart
interface
bottom plate
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.)
Active
Application number
CN201210034095.XA
Other languages
Chinese (zh)
Other versions
CN102573135A (en
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.)
Shanghai Advanced Research Institute of CAS
Original Assignee
Shanghai Advanced Research Institute of CAS
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 Shanghai Advanced Research Institute of CAS filed Critical Shanghai Advanced Research Institute of CAS
Priority to CN201210034095.XA priority Critical patent/CN102573135B/en
Publication of CN102573135A publication Critical patent/CN102573135A/en
Application granted granted Critical
Publication of CN102573135B publication Critical patent/CN102573135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless sensor network node controller, which comprises a core bottom plate and a plurality of interface conversion sub-modules. The core bottom plate comprises a plurality of universal communication interfaces, a plurality of universal asynchronous receiver/transmitter (UART)/serial peripheral interface (SPI) multiplexing selector switches and a protocol resolution processing module, wherein the protocol resolution processing module is used for processing data received by each universal communication interface of the core bottom plate or the data transmitted to each universal communication interface by the core bottom plate according to a UART protocol, an SPI protocol or an inter-integrated circuit (I2C) communication protocol; and each interface conversion sub-module comprises a sub-module universal communication interface adapted to the universal communication interface of the core bottom plate and a sensor interface, and is used for converting all types of data of the sensor interface into UART, SPI or I2C data respectively, and outputting the data to a corresponding pin of the sub-module universal communication interface. The invention also discloses the core bottom plate and a wireless network access method for a sensor. The compatibility of the wireless sensor network node controller can be enhanced, and the wireless sensor network node controller can be conveniently miniaturized.

Description

Wireless sensing net node controller, core bottom plate and sensor wireless method of network entry
Technical field
The present invention relates to information gathering and wireless communication technology, particularly a kind of wireless sensing net node controller, core bottom plate and sensor wireless method of network entry.
Background technology
Development along with wireless communication technique and integrated circuit technique, the data acquisition in many fields (as the guiding of environmental monitoring, fire disaster escaping, that monitoring is established in industry is standby) has departed from original wired concentrated monitoring pattern gradually,---gateway aggregation node---master system that develops into distributed wireless sensing net node.At present, sensing net node controller in this system, a kind of is the sensing net node controller of fixed Combination,---node microprocessing systems---signal conditioning circuit that is wireless transceiver, connect again the transducer of 4~20mA, this kind of sensing net node controller only has a kind of sensor interface, and integrated degree is higher, but its transducer that is unsuitable for multiple interfaces and several data form networks, another kind is compatible strong sensing net node controller, this kind of sensing net node controller has multiple external sensor interface, as UART (Universal Asynchronous Receiver/Transmitter, UART Universal Asynchronous Receiver Transmitter), SPI (serial peripheral interface, Serial Peripheral Interface (SPI)), I2C (Inter-Integrated Circuit, I2C bus), RS485, RS232, RS422, CAN (Controller Area Network, controller local area network), USB (Universal Serial BUS, USB), TCP/IP (Transmission Control Protocol/Internet Protocol, middle transmission control protocol/Internet Interconnection agreement) or GPS (Global Positioning System, global positioning system) etc. interface, but this kind of sensing net node controller is because external sensor interface is too much, be unfavorable for miniaturization, portable not.
Summary of the invention
Between the technology that the present invention will solve, topic is to make the compatibility of sensing net node controller strong and be convenient to miniaturization.
For solving the problems of the technologies described above, the invention provides a kind of wireless sensing net node controller, it comprises a core bottom plate, a plurality of interface conversion submodule;
Described core bottom plate, comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described protocol analysis processing module, be used for according to the state of the multiplexing selector switch of each UART/SPI, the data that each general-purpose communication interface of core bottom plate is received, or core bottom plate mails to the data of each general-purpose communication interface, according to UART, SPI or I2C communication protocol, processes;
Described interface conversion submodule, comprise one with suitable submodule general-purpose communication interface, a special purpose interface of the general-purpose communication interface of described core bottom plate, the interface conversion submodule of certain type of special purpose interface is for being converted to UART, SPI or I2C data by the data of this type of special purpose interface, and exporting the respective foot of described submodule general-purpose communication interface to, described interface conversion submodule is communicated by letter with the general-purpose communication interface of described core bottom plate by its submodule general-purpose communication interface.
Described general-purpose communication interface, can comprise UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
Described general-purpose communication interface, can also comprise that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
The special purpose interface of described interface conversion submodule can be UART, SPI, I2C, RS485, RS232, RS422, CAN, USB, TCP/IP or GPS.
For solving the problems of the technologies described above, the present invention also provides a kind of core bottom plate, and it comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described general-purpose communication interface, comprises UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
Described general-purpose communication interface, can also comprise that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
For solving the problems of the technologies described above, the present invention also provides a kind of sensor wireless method of network entry, and its technical scheme adopting is:
The transducer of certain style interface is received a general-purpose communication interface of a core bottom plate by the interface conversion submodule of this type of special purpose interface, core bottom plate by another general-purpose communication interface the interface conversion submodule by a kind of wireless type special purpose interface with gateway aggregation node radio communication;
Interface conversion submodule, comprise one with suitable submodule general-purpose communication interface, a special purpose interface of the general-purpose communication interface of described core bottom plate, the interface conversion submodule of certain type of special purpose interface is used for the data of this type of special purpose interface to be converted to UART, SPI or I2C data, and exports the respective foot of described submodule general-purpose communication interface to;
The interface conversion submodule of certain type of special purpose interface, the sensor communication by its special purpose interface with this type of interface, communicates by letter with the general-purpose communication interface of described core bottom plate by its submodule general-purpose communication interface;
Core bottom plate comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described protocol analysis processing module, according to the state of the multiplexing selector switch of each UART/SPI, the data that each general-purpose communication interface of core bottom plate is received, or core bottom plate mails to the data of each general-purpose communication interface, according to UART, SPI or I2C communication protocol, processes;
One general-purpose communication interface of core bottom plate is communicated by letter with the submodule general-purpose communication interface of the interface conversion submodule of a wireless type special purpose interface, and passes through wireless type special purpose interface and the gateway aggregation node radio communication of the interface conversion submodule of this wireless type special purpose interface.
Described general-purpose communication interface, can comprise UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
Described general-purpose communication interface, can also comprise that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
The special purpose interface of described interface conversion submodule can be UART, SPI, I2C, RS485, RS232, RS422, CAN, USB, TCP/IP or GPS.
Wireless sensing net node controller of the present invention, adopts core bottom plate to add the pattern of interface conversion submodule combination, by general-purpose communication interface (USCI), connects, and core bottom plate and interface conversion submodule are independent.Each general-purpose communication interface (USCI) on core bottom plate is compatible SPI, UART and I2C all, SPI and UART pin divide the configuration can be multiplexing by the multiplexing selector switch of UART/SPI, rely on core bottom plate to realize UART/SPI and the selection of I2C interface, realized the multiplexing of UART and SPI interface simultaneously.Wireless sensing net node controller of the present invention, transducer in the face of diversified data-interface, only need to select corresponding interface conversion submodule to realize the conversion of different communications protocol, just can directly apply, realize reading in of sensing data, greatly improved the compatibility of Node Controller, and core bottom plate is owing to needn't corresponding data interface being set for the various distinct interfaces of transducer, thereby the miniaturization of wireless sensing net node controller is also convenient in the miniaturization of being convenient to core bottom plate, and the design of interface conversion submodule interface conversion does not relate to complex processor, greatly reduce system development time and the development difficulty of whole Node Controller, reduced development cost.
Accompanying drawing explanation
In order to be illustrated more clearly in technical scheme of the present invention, below the accompanying drawing that will use required for the present invention is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the core bottom plate schematic diagram of wireless sensing net node controller one execution mode of the present invention;
Fig. 2 is the general-purpose communication interface schematic diagram of the core bottom plate of wireless sensing net node controller one execution mode of the present invention;
Fig. 3 is the wireless receiving and dispatching interface conversion submodule schematic diagram of wireless sensing net node controller one example of the present invention;
Fig. 4 is the RS485 interface conversion submodule schematic diagram of wireless sensing net node controller one example of the present invention;
Fig. 5 is the GPS interface conversion submodule schematic diagram of wireless sensing net node controller one example of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.And in the situation that not conflicting, embodiment and the feature in embodiment in the present invention can combine mutually.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
Wireless sensing net node controller, comprises a core bottom plate, a plurality of interface conversion submodule;
Described core bottom plate as shown in Figure 1, comprises a plurality of general-purpose communication interfaces (USCI) 5, the multiplexing selector switch 7 of a plurality of UART/SPI, a protocol analysis processing module 1.
Described general-purpose communication interface (USCI) execution mode as shown in Figure 2, comprise that UART reception/SPI input pin (RXx/SOMIx) 1, SPI clock pin (CLKx) 2, reseting pin/SPI enable pin (Reset/STEx) 3, supply pin (VCCx) 4, UART transmission/SPI output pin (TXx/SIMOx) 5, lower margin (GND) 6, I2C serial data stitch (SDA) 7, I2C serial clock stitch (SCL) 8, a plurality of reserved control signal pin (Ctrlx_0, Ctrlx_1, Ctrlx_2, Ctrlx_3) 9,10,11,12;
The multiplexing selector switch 7 of described UART/SPI, has 1,0 two state;
Described protocol analysis processing module, be used for according to the state of the multiplexing selector switch of each UART/SPI, the data that each general-purpose communication interface of core bottom plate is received, or core bottom plate mails to the data of each general-purpose communication interface, according to UART (Universal Asynchronous Receiver/Transmitter, UART Universal Asynchronous Receiver Transmitter), SPI (serial peripheral interface, Serial Peripheral Interface (SPI)) or I2C (Inter-Integrated Circuit, I2C bus) communication protocol carry out dissection process; And be packaged into by replying the packet that meets this respective application layer communication protocol standard;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol;
State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
Described core bottom plate, can also comprise a plurality of analog input interfaces 6, a power module 2, an electric weight detection module 3, a configuration information memory module 4.
Described analog input interface 6, for directly accessing conditioned analog signal;
Described power module 2, is used to core bottom plate power supply;
Described electric weight detection module 3, is used to core bottom plate that system battery information about power is provided;
Described configuration information memory module 4, for storing the configuration information of core bottom plate;
Described interface conversion submodule, comprise one with suitable submodule general-purpose communication interface, a special purpose interface of the general-purpose communication interface (USCI) of described core bottom plate, the interface conversion submodule of certain type of special purpose interface is for being converted to UART, SPI or I2C data by the data of this type of special purpose interface, and export the respective foot of described submodule general-purpose communication interface to, described interface conversion submodule is communicated by letter with the general-purpose communication interface of described core bottom plate by its submodule general-purpose communication interface, with core bottom plate, connects;
The sensor interface of described interface conversion submodule can be UART, SPI, I2C, RS485, RS232, RS422, CAN, USB, TCP/IP or GPS etc. interface.
Adopt above-mentioned wireless sensing net node controller to realize sensor wireless method of network entry as follows:
The transducer of certain style interface is received a general-purpose communication interface of a core bottom plate by the interface conversion submodule of this type of special purpose interface, core bottom plate by another general-purpose communication interface the interface conversion submodule by a kind of wireless type special purpose interface with gateway aggregation node radio communication;
Interface conversion submodule, comprise one with suitable submodule general-purpose communication interface, a special purpose interface of the general-purpose communication interface of described core bottom plate, the interface conversion submodule of certain type of special purpose interface is used for the data of this type of special purpose interface to be converted to UART, SPI or I2C data, and exports the respective foot of described submodule general-purpose communication interface to;
The interface conversion submodule of certain type of special purpose interface, the sensor communication by its special purpose interface with this type of interface, communicates by letter with the general-purpose communication interface of described core bottom plate by its submodule general-purpose communication interface;
Core bottom plate comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described protocol analysis processing module, according to the state of the multiplexing selector switch of each UART/SPI, the data that each general-purpose communication interface of core bottom plate is received, or core bottom plate mails to the data of each general-purpose communication interface, according to UART, SPI or I2C communication protocol, processes;
One general-purpose communication interface of core bottom plate is communicated by letter with the submodule general-purpose communication interface of the interface conversion submodule of a wireless type special purpose interface, and passes through wireless type special purpose interface and the gateway aggregation node radio communication of the interface conversion submodule of this wireless type special purpose interface.
Described general-purpose communication interface, can comprise UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
Described general-purpose communication interface, can also comprise that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
The special purpose interface of described interface conversion submodule is UART, SPI, I2C, RS485, RS232, RS422, CAN, USB, TCP/IP or GPS.
Described core bottom plate, can also comprise a plurality of analog input interfaces;
Described a plurality of analog input interface, directly accesses conditioned analog signal.
Described core bottom plate, can also comprise configuration information memory module;
Described configuration information memory module, the configuration information of storage core bottom plate.
Described core bottom plate, can also comprise power module, electric weight detection module;
Described power module, core bottom plate power supply;
Described electric weight detection module, for core bottom plate provides system battery information about power
A specific embodiment:
Wireless sensing net node controller comprises the GPS interface conversion submodule shown in the RS485 interface conversion submodule shown in the wireless receiving and dispatching interface conversion submodule shown in a core bottom plate and a Fig. 3, two Fig. 4, a Fig. 5.
Core bottom plate, the MSP430F5438 microcontroller of selection TI company, low in energy consumption, the highest 18MHz of system clock, has inner phase-locked loop, 256KB FLASH, the RAM of 16KB; It is integrated with inner 12bitADC, has 12 external analog passages, can directly access conditioned analog signal; Have 4 general-purpose communication interfaces (USCI) as shown in Figure 2, support UART, SPI and I2C communication, pin support UART and SPI mouth are multiplexing, if general-purpose communication interface (USCI) is controlled and programmed, can also expand more general-purpose communication interface.As shown in Figure 1, four multiplexing selector switches 6 of UART/SPI, four general-purpose communication interfaces (USCI) in difference corresponding diagram 2, when the multiplexing selector switch of a UART/SPI pulls out to 0 time, general-purpose communication interface (USCI) corresponding to the multiplexing selector switch of this UART/SPI is supported SPI and I2C interface, when the multiplexing selector switch of a UART/SPI pulls out to 1 time, corresponding to the general-purpose communication interface (USCI) of the multiplexing selector switch of this UART/SPI, support UART and I2C interface.
As shown in Figure 3, wireless receiving and dispatching interface conversion submodule has adopted the low-power consumption MCU-Si1000 (Silicon Labs company product) of the EZRadioPRO transceiver of integrated 240~960MHz, this wireless receiving and dispatching interface conversion submodule is integrated submodule general-purpose communication interface, TCP/IP wireless-specific interface, this wireless receiving and dispatching interface conversion submodule is converted to UART data by TCP/IP interface data, and export the respective foot of described submodule general-purpose communication interface to, wireless receiving and dispatching interface conversion submodule is connected with the general-purpose communication interface (USCI) of core bottom plate by its submodule general-purpose communication interface, use UART communications protocol, UART reception/SPI input pin (RXx/SOMIx) in the general-purpose communication interface of core bottom plate shown in Fig. 2 (USCI) connects the U_Tx signal of wireless receiving and dispatching interface conversion submodule, UART transmission/SPI output pin (TXx/SIMOx) connects the U_Rx signal of wireless receiving and dispatching interface conversion submodule, the supply pin (VCCx) of the general-purpose communication interface of core bottom plate (USCI) and lower margin (GND) are for powering to wireless receiving and dispatching interface conversion submodule, UART baud rate is made as 9600, 8 of data bit, 1 position of rest.
As shown in Figure 4, RS485 interface conversion submodule adopts two line RS485 data transmit-receive chip I SO15 of the band isolation of TI company, can realize the conversion between UART and half-duplex RS 485 signals, this RS485 interface conversion submodule is integrated submodule general-purpose communication interface, RS485 special purpose interface, this RS485 interface conversion submodule is converted to UART data by RS485 interface data, and export the respective foot of described submodule general-purpose communication interface to, RS485 interface conversion submodule is connected with the general-purpose communication interface (USCI) of core bottom plate by its submodule general-purpose communication interface, use UART communications protocol, UART reception/SPI input pin (RXx/SOMIx) in the general-purpose communication interface of core bottom plate shown in Fig. 2 (USCI) connects the U_Tx signal of RS485 interface conversion submodule, UART transmission/SPI output pin (TXx/SIMOx) connects the U_Rx signal of RS485 interface conversion submodule, the supply pin (VCCx) of the general-purpose communication interface of core bottom plate (USCI) and lower margin (GND) are for powering to RS485 interface conversion submodule, UART baud rate is made as 4800 according to connected RS485 interface sensor, 8 of data bit, 1 position of rest.
As shown in Figure 5, GPS interface conversion submodule adopts the L20GPS module of QUECTEL company, there is high sensitivity, can quick obtaining satellite-signal, this GPS interface conversion submodule is integrated submodule general-purpose communication interface, GPS wireless-specific interface, this GPS interface conversion submodule is converted to UART data by GPS wave point data, and export the respective foot of described submodule general-purpose communication interface to, GPS interface conversion submodule is connected with the general-purpose communication interface (USCI) of core bottom plate by its submodule general-purpose communication interface, use UART communications protocol, UART reception/SPI input pin (RXx/SOMIx) in the general-purpose communication interface of core bottom plate shown in Fig. 2 (USCI) connects the U_Tx signal of GPS interface conversion submodule, UART transmission/SPI output pin (TXx/SIMOx) connects the U_Rx signal of GPS interface conversion submodule, the supply pin (VCCx) of the general-purpose communication interface of core bottom plate (USCI) and lower margin (GND) are for powering to GPS interface conversion submodule, UART baud rate is made as 4800, 8 of data bit, 1 position of rest, during due to GPS interface conversion submodule continuous firing, power consumption is very large, the Reset signal that the reseting pin/SPI of described general-purpose communication interface (USCI) enables pin (Reset/STEx) is used for wake/sleep GPS interface conversion submodule to reduce system power dissipation.
In this embodiment, core bottom plate can connect the digital sensor of two-way RS485 interface (as digital gas sensor, atmospherium etc.), analog sensor, a road gps signal of 12 tunnel 4~20mA outputs, the wireless receiving and dispatching interface conversion submodule adjustable by working frequency points is sent to gateway aggregation node by effective information.
Wireless sensing net node controller of the present invention, adopts core bottom plate to add the pattern of interface conversion submodule combination, by general-purpose communication interface (USCI), connects, and core bottom plate and interface conversion submodule are independent.Each general-purpose communication interface (USCI) on core bottom plate is compatible SPI, UART and I2C all, SPI and UART pin divide the configuration can be multiplexing by the multiplexing selector switch of UART/SPI, rely on core bottom plate to realize UART/SPI and the selection of I2C interface, realized the multiplexing of UART and SPI interface simultaneously.Wireless sensing net node controller of the present invention, transducer in the face of diversified data-interface, only need to select corresponding interface conversion submodule to realize the conversion of different communications protocol, just can directly apply, realize reading in of sensing data, greatly improved the compatibility of Node Controller, and core bottom plate is owing to needn't corresponding data interface being set for the various distinct interfaces of transducer, thereby the miniaturization of wireless sensing net node controller is also convenient in the miniaturization of being convenient to core bottom plate, and the design of interface conversion submodule interface conversion does not relate to complex processor, greatly reduce system development time and the development difficulty of whole Node Controller, reduced development cost.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (15)

1. a wireless sensing net node controller, is characterized in that, comprises a core bottom plate, a plurality of interface conversion submodule;
Described core bottom plate, comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described protocol analysis processing module, be used for according to the state of the multiplexing selector switch of each UART/SPI, the data that each general-purpose communication interface of core bottom plate is received, or core bottom plate mails to the data of each general-purpose communication interface, according to UART, SPI or I2C communication protocol, processes;
Described interface conversion submodule, comprise one with suitable submodule general-purpose communication interface, a special purpose interface of the general-purpose communication interface of described core bottom plate, the interface conversion submodule of certain type of special purpose interface is for being converted to UART, SPI or I2C data by the data of this type of special purpose interface, and exporting the respective foot of described submodule general-purpose communication interface to, described interface conversion submodule is communicated by letter with the general-purpose communication interface of described core bottom plate by its submodule general-purpose communication interface;
Described general-purpose communication interface, comprises UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
2. wireless sensing net node controller according to claim 1, is characterized in that,
Described general-purpose communication interface, also comprises that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
3. wireless sensing net node controller according to claim 1, is characterized in that,
The special purpose interface of described interface conversion submodule is UART, SPI, I2C, RS485, RS232, RS422, CAN, USB, TCP/IP or GPS.
4. wireless sensing net node controller according to claim 1, is characterized in that,
Described core bottom plate, also comprises a plurality of analog input interfaces;
Described a plurality of analog input interface, for directly accessing conditioned analog signal.
5. wireless sensing net node controller according to claim 1, is characterized in that,
Described core bottom plate, also comprises configuration information memory module;
Described configuration information memory module, for storing the configuration information of core bottom plate.
6. wireless sensing net node controller according to claim 1, is characterized in that,
Described core bottom plate, also comprises power module, electric weight detection module;
Described power module, is used to core bottom plate power supply;
Described electric weight detection module, is used to core bottom plate that system battery information about power is provided.
7. a core bottom plate, is characterized in that, comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described general-purpose communication interface, comprises UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
8. core bottom plate according to claim 7, is characterized in that,
Described general-purpose communication interface, also comprises that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
9. core bottom plate according to claim 7, is characterized in that,
Described core bottom plate, also comprises a plurality of analog input interfaces, a configuration information memory module;
Described analog input interface, for directly accessing conditioned analog signal;
Described configuration information memory module, for storing the configuration information of core bottom plate.
10. a sensor wireless method of network entry, is characterized in that,
The transducer of certain style interface is received a general-purpose communication interface of a core bottom plate by the interface conversion submodule of this type of special purpose interface, core bottom plate by another general-purpose communication interface the interface conversion submodule by a kind of wireless type special purpose interface with gateway aggregation node radio communication;
Interface conversion submodule, comprise one with suitable submodule general-purpose communication interface, a special purpose interface of the general-purpose communication interface of described core bottom plate, the interface conversion submodule of certain type of special purpose interface is used for the data of this type of special purpose interface to be converted to UART, SPI or I2C data, and exports the respective foot of described submodule general-purpose communication interface to;
The interface conversion submodule of certain type of special purpose interface, the sensor communication by its special purpose interface with this type of interface, communicates by letter with the general-purpose communication interface of described core bottom plate by its submodule general-purpose communication interface;
Core bottom plate comprises a plurality of general-purpose communication interfaces, the multiplexing selector switch of a plurality of UART/SPI, a protocol analysis processing module;
Described protocol analysis processing module, according to the state of the multiplexing selector switch of each UART/SPI, the data that each general-purpose communication interface of core bottom plate is received, or core bottom plate mails to the data of each general-purpose communication interface, according to UART, SPI or I2C communication protocol, processes;
One general-purpose communication interface of core bottom plate is communicated by letter with the submodule general-purpose communication interface of the interface conversion submodule of a wireless type special purpose interface, and passes through wireless type special purpose interface and the gateway aggregation node radio communication of the interface conversion submodule of this wireless type special purpose interface;
Described general-purpose communication interface, comprises UART reception/SPI input pin, UART transmission/SPI output pin, I2C serial data stitch, I2C serial clock stitch;
The multiplexing selector switch of described UART/SPI, has 1,0 two state;
When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 1, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to UART communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of UART communication protocol; When the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface is 0, described protocol analysis processing module, the data that core bottom plate is mail to the UART transmission/SPI output pin of this general-purpose communication interface send data according to SPI communication protocol after packing and processing, and the data that this general-purpose communication interface UART receptions/SPI input pin is received are carried out dissection process after according to the reception of SPI communication protocol; State regardless of the multiplexing selector switch of UART/SPI corresponding to a general-purpose communication interface, described protocol analysis processing module, the data that core bottom plate is mail to the I2C serial data stitch of this general-purpose communication interface send data according to I2C communication protocol after packing and processing, and the data that the I2C serial data stitch of this general-purpose communication interface is received are carried out dissection process after receiving according to I2C communication protocol.
11. sensor wireless method of network entry according to claim 10, is characterized in that,
Described general-purpose communication interface, also comprises that a SPI clock pin, one reseting pin/SPI enable pin, a supply pin, a lower margin, a plurality of reserved control signal pin.
12. sensor wireless method of network entry according to claim 10, is characterized in that,
The special purpose interface of described interface conversion submodule is UART, SPI, I2C, RS485, RS232, RS422, CAN, USB, TCP/IP or GPS.
13. sensor wireless method of network entry according to claim 10, is characterized in that,
Described core bottom plate, also comprises a plurality of analog input interfaces;
Described a plurality of analog input interface, directly accesses conditioned analog signal.
14. sensor wireless method of network entry according to claim 10, is characterized in that,
Described core bottom plate, also comprises configuration information memory module;
Described configuration information memory module, the configuration information of storage core bottom plate.
15. sensor wireless method of network entry according to claim 10, is characterized in that,
Described core bottom plate, also comprises power module, electric weight detection module;
Described power module, core bottom plate power supply;
Described electric weight detection module, for core bottom plate provides system battery information about power.
CN201210034095.XA 2012-02-15 2012-02-15 Wireless sensor network node controller, core bottom plate and wireless network access method for sensor Active CN102573135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210034095.XA CN102573135B (en) 2012-02-15 2012-02-15 Wireless sensor network node controller, core bottom plate and wireless network access method for sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210034095.XA CN102573135B (en) 2012-02-15 2012-02-15 Wireless sensor network node controller, core bottom plate and wireless network access method for sensor

Publications (2)

Publication Number Publication Date
CN102573135A CN102573135A (en) 2012-07-11
CN102573135B true CN102573135B (en) 2014-10-15

Family

ID=46417281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210034095.XA Active CN102573135B (en) 2012-02-15 2012-02-15 Wireless sensor network node controller, core bottom plate and wireless network access method for sensor

Country Status (1)

Country Link
CN (1) CN102573135B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297332A (en) * 2012-09-24 2013-09-11 天津思博科科技发展有限公司 Achievement of sampling terminal gateway based on Bluetooth technology
CN105871486B (en) * 2015-01-20 2018-01-30 中国科学院上海高等研究院 The channel model construction method and emulation mode of wireless sensor network
CN104678809B (en) * 2015-02-25 2018-01-26 刘彤 Generally applicable sensor control device and system
CN105991193A (en) * 2015-03-05 2016-10-05 中兴通讯股份有限公司 Communication method and device of optical module and system board, and optical module
CN106813659A (en) * 2015-11-27 2017-06-09 上海乐相科技有限公司 A kind of sensor device
CN106936762A (en) * 2015-12-30 2017-07-07 上海防灾救灾研究所 A kind of method integrated for many data access in experiment of preventing fires
CN109343387B (en) * 2018-09-29 2021-03-16 珠海格力电器股份有限公司 Data communication method, device, equipment and air conditioner
CN109211402B (en) * 2018-11-14 2023-09-26 深圳市丰巢科技有限公司 Sensing circuit and express cabinet
CN112242906B (en) * 2019-07-16 2022-08-23 信宇开发有限公司 Programmable communication device
CN112291256B (en) * 2020-11-06 2023-12-01 北京中航通用科技有限公司 UART gateway data transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631394A (en) * 2009-08-21 2010-01-20 华东理工大学 Multi-interface coordinator of wireless sensor network
US7715433B2 (en) * 2006-07-14 2010-05-11 Boren Gary W Universal controller and signal monitor
CN201465282U (en) * 2009-07-13 2010-05-12 北京交通大学 Universal modular interface-based wireless sensor network node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715433B2 (en) * 2006-07-14 2010-05-11 Boren Gary W Universal controller and signal monitor
CN201465282U (en) * 2009-07-13 2010-05-12 北京交通大学 Universal modular interface-based wireless sensor network node
CN101631394A (en) * 2009-08-21 2010-01-20 华东理工大学 Multi-interface coordinator of wireless sensor network

Also Published As

Publication number Publication date
CN102573135A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102573135B (en) Wireless sensor network node controller, core bottom plate and wireless network access method for sensor
CN102055611B (en) Low-power wireless data acquisition system
CN104507148B (en) A kind of low-consumption wireless Sensor Network
CN1972146B (en) A wireless data acquisition and processing method and its system
CN203416432U (en) Wireless sensor gateway
CN104994536B (en) A kind of configuration method and portable configuration device towards WSCN nodes
CN211720754U (en) Low-cost gateway of narrowband thing networking
CN204597960U (en) Hydrographic water resource data transaction board and system
CN204666186U (en) Based on the storage environment monitoring system of wireless network
CN201336031Y (en) Wireless SPI-RS232 conversion device
CN202582603U (en) Gathering node of water environment monitoring sensor network
CN212183751U (en) V2X terminal based on V2X message transparent transmission
CN203206276U (en) Gateway device of Internet of Things
CN203733279U (en) Wireless sensor node device with improved power supply
CN201368776Y (en) Ultra low power wireless digital temperature sensor
CN206498401U (en) LoRa MANET communication systems based on Beidou satellite communication
CN201114296Y (en) GPS positioning communications interphone
CN206517440U (en) A kind of wireless adapter of sensor
CN103839392A (en) Intelligent terminal of wireless remote meter reading system
CN201639580U (en) Bidirectional transparent transmission device with wireless serial port
CN206057883U (en) A kind of digital-to-analog amount acquisition control system of ZigBee wireless network transmissions
CN201839305U (en) Signal short-range wireless transmission instrument based on CAN agreement
CN205356706U (en) Wireless handheld device of WIA -PA
CN105281428A (en) Wireless communication system of on-load capacitance-regulating pressure-regulating transformer
CN203689122U (en) Sensor-based information acquisition system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHANGHAI ADVANCED RESEARCH INSTITUTE, CHINESE ACAD

Free format text: FORMER OWNER: SHANGHAI ZHONGKE INSTITUTE FOR ADVANCED STUDY

Effective date: 20131206

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131206

Address after: 201210 Shanghai city Pudong New Area Hartcourt Road No. 99

Applicant after: Shanghai Advanced Research Institute, Chinese Academy of Sciences

Address before: 201210 Shanghai city Pudong New Area Hartcourt Road No. 99

Applicant before: Shanghai Zhongke Institute for Advanced Study

C14 Grant of patent or utility model
GR01 Patent grant