CN104378445A - Real-time channel data acquiring and protocol reading system - Google Patents

Real-time channel data acquiring and protocol reading system Download PDF

Info

Publication number
CN104378445A
CN104378445A CN201410715569.6A CN201410715569A CN104378445A CN 104378445 A CN104378445 A CN 104378445A CN 201410715569 A CN201410715569 A CN 201410715569A CN 104378445 A CN104378445 A CN 104378445A
Authority
CN
China
Prior art keywords
data
channel
module
agreement
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410715569.6A
Other languages
Chinese (zh)
Inventor
唐海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SICHUAN ZHONGSHIDAI TECHNOLOGY Co Ltd
Original Assignee
SICHUAN ZHONGSHIDAI TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SICHUAN ZHONGSHIDAI TECHNOLOGY Co Ltd filed Critical SICHUAN ZHONGSHIDAI TECHNOLOGY Co Ltd
Priority to CN201410715569.6A priority Critical patent/CN104378445A/en
Publication of CN104378445A publication Critical patent/CN104378445A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a real-tie channel data acquiring and protocol reading system based on low-bitrate wireless personal area network. Data of all channels are subjected to unified coordinate distribution through a first all channel data processing module. According to multiple protocols including 6 LowPAN, ZigBee, WIA-PA, ISA100. 11a, Wireless Hart and IEEE802. 15. 4e, the human-computer interaction is adopted, the current work protocol set by a main interface user is read in the real time manner, based on the selected protocol type, the corresponding reading function is employed, and ultimately integrated reading is achieved so as to greatly expand application range.

Description

Real-time Channel data acquisition and agreement solution read apparatus
Technical field
The present invention relates to industrial wireless communication field, particularly relate to a kind of Real-time Channel data acquisition based on low rate personal area metworking and agreement solution read apparatus.
Background technology
Current industrial wireless sensing network agreement has ISA100.11a, Wireless HART, WIA-PA etc., and these agreements all relate to a lot of key technology, as frequency hopping, and coordinated allocation technology, security mechanism etc.Implementor can cause different protocol realization for the different understanding of agreement.Therefore, must carry out strict uniformity test to the agreement of protocol realization side, detect the matching degree of tested protocol realization and protocol specification, this just needs consistency testing system.In the application process of these agreements, IEEE802.15.4 standard is the physical layer and the MAC layer specification that are applied to low rate wireless personal local area network, there is the advantages such as low speed, low cost, low-power consumption, low complex degree, be adopted as bottom standard by three large cordless communication network standards such as ISA100.11a, Wireless Hart, WIA-PA, the most potential technology become at present and reduced automation cost, expanding automated system range of application.In the test macro of industrial wireless sensing network, the data capturing all channels of 2.4GHz are the necessary conditions in test macro, the data of all channels are only got, could carry out understanding to data and test, detect and whether meet protocol specification, meanwhile, know whether caught packet meets specification, the agreement solution read apparatus powerful with regard to needs one carries out deciphering process to packet, and shows unscrambling data.Therefore wireless industrial all channel Data Detection and the uniformity test of agreement plug-in reader to wireless industrial are one of indispensable equipments, have very great application prospect in industrial wireless communication field.
Current debud mode uses agreement plug-in reader search data on all channels, adopts the mode of strobe channel, can only obtain data on one channel, obtains while cannot completing all channels.And in the industrial environment of complexity, when there being the communication equipment of multiple channel to work simultaneously, bring some inconvenience to communication debugging.In addition, because most wireless technology all works in the ISM common frequency band of 2.4GHz, so just there will be various wireless network in space mutually to disturb, in order to enable network, there is better anti-interference, hop channel technology is widely used, and this proposes higher requirement just to communication debugging.
Summary of the invention
The object of the invention is to be achieved through the following technical solutions.
According to the embodiment of the present invention, propose a kind of Real-time Channel data acquisition and agreement solution read apparatus, described system, based on low rate personal area metworking, comprising: data capture unit and agreement understand unit, it is characterized in that:
Data capture unit comprises: multiple RF receiver module, the first all channel data processing module, memory modules, UART serial interface module, UART expansion module, power management module, wherein, whether RF receiver module continues to monitor all channels has data message, be responsible for all channel data acquisition of all channels in RF front end, memory modules keeps in all channel data of acquisition, first all channel data processing module carries out coordinated allocation to all channel data received, and data upload after coordinated allocation is understood unit to agreement and carried out agreement deciphering by serial interface module;
Agreement is understood unit and is comprised: the second all channel data processing module, auxiliary processing module, second all channel data processing module second all channel data processing module comprises data solution read through model, data reception module, data register, completes receives data packets, packet is understood, data store and display; Auxiliary processing module is used for statistical data packet, channel information, nodal information and acquisition and shows the link-quality index of each channel.
According to the preferred embodiment of the present invention, described RF receiver module comprises initialization module, data type judge module and channel configuration module, the register of described initialization module configuration slave mode and configuration RF receiver module; Described data judge that type block provides filtering to the data message that agreement plug-in reader is caught, and judge whether it is the data message based on setting agreement MAC layer; Described channel configuration module divides centre frequency according to 2.4GHz band channels, and each channel spacing is 5MHz, revises the configuration parameter of corresponding receive channel, arranges the corresponding respective channel of RF receiver module of each functional independence.
According to the preferred embodiment of the present invention, whether described RF receiver module continues to monitor all channels has data message specifically to comprise, all RF receiver modules carry out poll scanning to all channel sequence, when receiving data message, produce an IFG mark, the IFG mark of each RF receiver module of the first all channel data processing module cycle criterion, if IFG mark is assigned 1, first all channel data processing module calling system receiver function reads this data message from this RF receiver module, if IFG mark is not assigned 1, automatically switch to adjacent next RF receiver module according to original channel sequence table to scan.
The real-time all channel data acquisition based on low rate personal area metworking that the present invention proposes and agreement solution read apparatus, unify coordinated allocation by the data of the first all channel data processing module to all channels and coordinate.Solve traditional data obtainer and can only monitor individual channel and in the face of problems such as such as hop channel technology are helpless.Agreement solution read apparatus of the present invention can towards various protocols stacks such as 6LowPAN, ZigBee, WIA-PA, ISA100.11a, Wireless Hart, IEEE802.15.4e, adopt the mode of man-machine interaction, the work at present agreement of the main interface user setting of real-time reading, and enter according to the type of selected agreement and understand function accordingly, finally realize integrality to understand, greatly widen range of application.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Figure 1 show and understand system configuration schematic diagram according to the real-time all channel data acquisition based on low rate personal area metworking of embodiment of the present invention and agreement.
Embodiment
Below with reference to accompanying drawings illustrative embodiments of the present disclosure is described in more detail.Although show illustrative embodiments of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the execution mode of setting forth here.On the contrary, provide these execution modes to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
According to the embodiment of the present invention, as described in Figure 1, disclose a kind of real-time all channel data acquisition based on low rate personal area metworking and agreement solution read apparatus, described system comprises: data capture unit and agreement understand unit, it is characterized in that:
Data capture unit comprises: multiple RF receiver module, first all channel data processing module, memory modules, UART serial interface module, UART expansion module, power management module, wherein, whether RF receiver module continues to monitor all channels in 2.4GHz ISM band wireless network has data message, be responsible for all channel data acquisition of all channels in RF front end, for the whole channel of 2.4GHz frequency range, need the RF receiver module of 16 functional independences, each independently RF module in charge monitors the data message of 1 channel, as long as detect that the data message of respective channel is uploaded to the first all channel data processing module and the process carrying out data message with regard to directly obtaining, memory modules keeps in all channel data of acquisition, first all channel data processing module is in charge of the data message that RF receiver module sends, and can with 16 independently RF receiver module carry out real-time communicating, there is powerful data processing function and abundant peripheral hardware resource, simultaneously can by data in real time, at a high speed be transferred to PC, data upload after coordinated allocation is understood unit to agreement and is carried out agreement deciphering by serial interface module, completes communication in real time, at a high speed between the first all channel data processing module and PC,
Described RF receiver module can adopt UZ2400D to meet the RF chip of IEEE802.15.4 standard, meets the wireless application needs of low cost, low-power consumption.RF receiver module acts on the 802.15.4 standard baseband of 2.4GHz by a radio receiving-transmitting unit and media access control sublayer functional module forms, and comprises an integrated receiver, transmitter, LC-VCO and PLL.Adopt advanced radio architecture to reduce outer member number and power consumption as far as possible.The MAC of UZ2400D and base band are that the MAC layer of IEEE802.15.4 and PHY layer provide hardware structure, it mainly comprises TX/RX controller, CSMA-CA controller, superframe structure device, received frame filter, security engine and Digital Signal Processing assembly, peripheral circuit adds antenna, the device such as crystal oscillator and resistance capacitance, then draws necessary conversion and control or serial line interface, just defines this RF receiver module.
Internal memory comprises FLASH internal memory and sdram memory.To sdram memory, master controller is the processor of 32, and the present invention adopts 2 MT48LC8M16A2 to form the SDRAM data store organisation of 32, and the memory size of every sheet is 4BANK*2M*16Bit 16Mbyte altogether.When two panels MT48LC8M16A2 carries out collocation use, the mode that two panels MT48LC8M16A2 chip employing address bus shares, data/address bus merges forms the storage system of 32.
In order to by a large amount of wireless data message transmissions to PC, what on communication mode, the present invention chose is general UART interface, during design UART circuit, the UART interface functionally on core bottom plate is that host computer is as UART main equipment as a UART from equipment.
The power consumption demand of main chip in statistics whole system, whole core bottom plate needs 3 kinds of normal voltages to meet the normal work requirements of chip, therefore at whole power circuit, present invention employs 3 grades of reduction voltage circuits, external power supply is reduced to 5V, then 5V is reduced to 3.3V, finally 3.3V is reduced to 1.8V, thus meet the requirement of whole system.The mode all adopting prime filtering and rear class filtering to match the power supply process of every grade reduces because front level power supply is on the impact of rear level power supply.
Described RF receiver module comprises initialization module, data type judge module and channel configuration module, the register of described initialization module configuration slave mode and configuration RF receiver module; Described data judge that type block provides filtering to the data message that agreement plug-in reader is caught, and judge whether it is the data message based on IEEE802.15.4 agreement MAC layer; Described channel configuration module divides centre frequency according to 2.4GHz band channels, and each channel spacing is 5MHz, revises the configuration parameter of corresponding receive channel, arranges the corresponding respective channel of RF receiver module of each functional independence.
Whether described RF receiver module continues to monitor all channels has data message specifically to comprise, all RF receiver modules carry out poll scanning to all channel sequence, when receiving data message, produce an IFG mark, the IFG mark of each RF receiver module of the first all channel data processing module cycle criterion, if IFG mark is assigned 1, first all channel data processing module calling system receiver function reads this data message from this RF receiver module, if IFG mark is not assigned 1, automatically switch to adjacent next RF receiver module according to original channel sequence table to scan.Time division mechanism is adopted between RF receiver module, namely in a time slot, complete the scan channel to 16 modules, data are received when scanning some RF receiver modules, an interrupt response will be sent, after finding this interrupt signal, initiatively receive data, then it is judged in advance, confirm whether this data message meets the reference format of IEEE802.15.4 wireless data message.If do not met, can directly abandon this data message, then RF receiver module turns back to monitoring state, prepares to receive next wireless data message.On the contrary, if this wireless data message meets the reference format of wireless data message, so master controller calls receiver module, from the memory module of RF receiver module, read data, then carry out Packet reassembling, comprise information such as adding heading, channel number, data length.Meanwhile, the release of RF receiver module stores the FIFO (data buffer of first in first out) of data, waits for the arrival of next data.Air message after restructuring is uploaded to PC by UART, until upload complete by last master controller calling data sending module.After uploading, master controller continues the next channel of scanning, judges whether to receive new wireless data message, circulates successively and carries out scan channel to 16 modules.
Described agreement is understood unit and is comprised: the second all channel data processing module, auxiliary processing module, second all channel data processing module second all channel data processing module comprises data solution read through model, data reception module, data register, completes receives data packets, packet is understood, data store and display; Auxiliary processing module is used for statistical data packet, channel information, nodal information and acquisition and shows the link-quality index of each channel.
The data solution read through model of described second all channel data processing module is triggered by message maps, the message that response data receiver module sends.Data reception module uses PostThreadMessage to send message, and message is only put in message queue and namely returns by PostThreadMessage (), need not wait for the arrival of news complete, to ensure that thread normally runs, prevent choking phenomenon.Data understand function OnThreadData () function, first the data message in COM_DATA (data register) structure is taken out, obtain the information such as primary data information (pdi), the time of reception, data length, then byte-by-byte deciphering process is carried out to raw data packets.Separate read through model according to selected agreement, enter different deciphering functions, initial data is understood with byte-by-byte, obtain each layer details of packet.
When Frame transmits from upper strata to lower floor, every layer of all data of affix this layer of relevant information in the Frame of transmission, be called stem or the afterbody of each layer, and during from lower floor to upper layer transport, at every one deck of transfer of data, the information of adding in Frame removed.The packet that all channel packet capturing device intercepts in a network is the packet of the bottom, carry out decoding to the information packaged by the stem of every one deck and afterbody and obtain the details of packet, then the load entering this layer goes to obtain the information of last layer, finally get application layer data information, i.e. the final information seen of user.
According to a concrete example of the present invention, packet solution pronounced illustrate to understand ISA100.11a protocol data bag, read from message queue and treat unscrambling data, by IEEE802.15.4 standard, MAC layer deciphering is carried out to it, determine whether MAC layer Frame, if so, then carry out data link layer, network layer, transport layer, the deciphering of application sublayer successively, then the data obtained after deciphering are added up, stored and display translation.
The main interface display data of agreement plug-in reader understand result, create following four views, angle displaying data in real-time package informatin from different: a, packet List View CTableView, demonstrate all packet informations captured with list, comprise the information such as each layer frame control domain, source address, destination address; B, data pack protocol stack view CTreeView, by the details of each layer of formal intuition display packet of tree graph, comprise the information such as each layer frame control domain, source address, destination address; C, raw data packets view CAnalyzerView, display data wrap in the original packet structure of physical layer; D, time view CTimeView: this view is transverse axis with time, take channel number as the longitudinal axis, the in real time communications status of each channel of display.Display module also shows 16 channel current Quality indexes by scan channel window.Scan channel window by obtaining the LQI value encapsulated in packet, and adopts the mode of block diagram to show, thus the current each channel link index of display directly perceived, LQI value is produced by RF communication module and be encapsulated in packet to be uploaded to host computer together.
In order to understand the communications status of channel and network better, this agreement plug-in reader adopts channel energy scanning, energy scan reacts the quality of current each channel by LQI (link-quality index), if user has new equipment to carry out networking, by energy scan window quick obtaining channel quality information, select best channel to carry out networking, effectively can avoid network congestion, maintaining network safety.
The present invention is for any wireless network data message of bottom based on IEEE802.15.4, no matter this wireless network is ISA100.11a agreement, the agreements such as WIA-PA agreement, as long as PHY and MAC layer are based on based on IEEE802.15.4 standard, its working frequency range scope is 2.405GHz-2.4835GHz ISM band, this data obtainer can both to this network without any interference prerequisite under, its wireless network data is obtained, then to its data carry out decipherings process.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (3)

1. Real-time Channel data acquisition and an agreement solution read apparatus, described system, based on low rate personal area metworking, comprising: data capture unit and agreement understand unit, it is characterized in that:
Data capture unit comprises: multiple RF receiver module, the first all channel data processing module, memory modules, UART serial interface module, UART expansion module, power management module, wherein, whether RF receiver module continues to monitor all channels has data message, be responsible for all channel data acquisition of all channels in RF front end, memory modules keeps in all channel data of acquisition, first all channel data processing module carries out coordinated allocation to all channel data received, and data upload after coordinated allocation is understood unit to agreement and carried out agreement deciphering by serial interface module;
Agreement is understood unit and is comprised: the second all channel data processing module, auxiliary processing module, second all channel data processing module, described second all channel data processing module comprises data solution read through model, data reception module, data register, completes receives data packets, packet is understood, data store and display; Auxiliary processing module is used for statistical data packet, channel information, nodal information and acquisition and shows the link-quality index of each channel.
2. a system as claimed in claim 1, described RF receiver module comprises initialization module, data type judge module and channel configuration module, the register of described initialization module configuration slave mode and configuration RF receiver module; Described data judge that type block provides filtering to the data message that agreement plug-in reader is caught, and judge whether it is the data message based on setting agreement MAC layer; Described channel configuration module divides centre frequency according to 2.4GHz band channels, and each channel spacing is 5MHz, revises the configuration parameter of corresponding receive channel, arranges the corresponding respective channel of RF receiver module of each functional independence.
3. a system as claimed in claim 2, whether described RF receiver module continues to monitor all channels has data message specifically to comprise, all RF receiver modules carry out poll scanning to all channel sequence, when receiving data message, produce an IFG mark, the IFG mark of each RF receiver module of the first all channel data processing module cycle criterion, if IFG mark is assigned 1, first all channel data processing module calling system receiver function reads this data message from this RF receiver module, if IFG mark is not assigned 1, automatically switch to adjacent next RF receiver module according to original channel sequence table to scan.
CN201410715569.6A 2014-12-01 2014-12-01 Real-time channel data acquiring and protocol reading system Pending CN104378445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410715569.6A CN104378445A (en) 2014-12-01 2014-12-01 Real-time channel data acquiring and protocol reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410715569.6A CN104378445A (en) 2014-12-01 2014-12-01 Real-time channel data acquiring and protocol reading system

Publications (1)

Publication Number Publication Date
CN104378445A true CN104378445A (en) 2015-02-25

Family

ID=52557091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410715569.6A Pending CN104378445A (en) 2014-12-01 2014-12-01 Real-time channel data acquiring and protocol reading system

Country Status (1)

Country Link
CN (1) CN104378445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007092A (en) * 2015-08-28 2015-10-28 重庆邮电大学 2.4 GHz wireless communication module supporting WIA-PA standard

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278437A1 (en) * 2004-05-25 2005-12-15 Jianhua Xie Network analysis software real-time
CN102413018A (en) * 2011-12-21 2012-04-11 武汉烽火网络有限责任公司 FPGA (field programmable gate array) based software-hardware coordinated network test system and method
CN103781088A (en) * 2014-01-23 2014-05-07 重庆邮电大学 Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050278437A1 (en) * 2004-05-25 2005-12-15 Jianhua Xie Network analysis software real-time
CN102413018A (en) * 2011-12-21 2012-04-11 武汉烽火网络有限责任公司 FPGA (field programmable gate array) based software-hardware coordinated network test system and method
CN103781088A (en) * 2014-01-23 2014-05-07 重庆邮电大学 Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007092A (en) * 2015-08-28 2015-10-28 重庆邮电大学 2.4 GHz wireless communication module supporting WIA-PA standard

Similar Documents

Publication Publication Date Title
CN103781088B (en) Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4
CN103441939B (en) Multi-functional border router based on IPv6 wireless sensor network
CN101425948B (en) Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method
JP4509822B2 (en) Wireless integrated circuit
TW201309063A (en) Wireless communication method with low power consumption
EP3537767B1 (en) Station association method and device
CN102448098B (en) Based on physical layer test macro and the method for ARM and DSP coenocytism
CN102946447A (en) Long-distance data transmission system and long-distance data transmission method of commercial plant
US20010055281A1 (en) Software modem architecture
US20240031932A1 (en) Method for operation of uwb tag, uwb tag, and storage medium
CN103052094B (en) Method for acquiring service set identifier of wireless mobile terminal
CN101635996A (en) Wireless medical management system
CN107438020B (en) Data transmission method and intelligent household control equipment
CN103220193B (en) Ethernet access transmitting device in a kind of repeater and method
Kim et al. MAC implementation for IEEE 802.11 wireless LAN
CN104378445A (en) Real-time channel data acquiring and protocol reading system
CN103152115B (en) Full-channel data acquirer
TW202135583A (en) Data stream processing method
CN103517443A (en) Method and device for dispatching wireless sensor network channels based on link quality indicated value
US20150050960A1 (en) Wireless device with wlan and wpan communication capabilities
CN104936317A (en) WiFi/dual 24L01 gateway
Lindner et al. Low power wireless protocol for IoT appliances using CSMA/CA mechanism
CN212115367U (en) Communication device
CN110071788B (en) Channel state information reference signal transmission method, network equipment and terminal
CN105491690A (en) Embedded wireless intelligent home gateway based on ARM9

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150225

RJ01 Rejection of invention patent application after publication