Summary of the invention
Main purpose of the present invention, for providing a kind of CFDA acquisition platform, can promote efficiency and the reliability of data acquisition in electric power system.
The present invention proposes a kind of CFDA acquisition platform, comprises concentrator and collector;
Described concentrator comprises:
Prepare networking module, for receive main website send collector ID mapping table after, enter prepare the networking stage;
Field intensity collection module, for after transmission networking beacon, enters field intensity collection phase;
Configuration module, for carrying out field intensity computing, entering and setting up routing phase;
Described collector comprises:
Prepare networking module, after powering on for collector, carry out networking preparation;
Field intensity command reception module, for receiving concentrator instruction, accepting field intensity and collecting; Described instruction comprises networking beacon and field intensity collects instruction;
Configuration receiver module, for receiving the allocation list of concentrator, sets up route.
Preferably, described preparation networking module specifically for:
After receiving ID mapping table, determining that described ID mapping table is is batch or increment;
When for increment, judge whether initiatively to add record accordingly according to described ID mapping table; If any, then send field intensity and collect instruction; Otherwise, as batch process;
When for batch, calculate according to described ID mapping table and determine channel, and sending networking beacon and carry out networking.
Preferably, described field intensity collection module specifically for:
Scan in specified channel group;
After Received signal strength frame, judge that whether described signal frame is legal;
When described signal frame is legal, record the field intensity information comprised in described signal frame.
Preferably, described field intensity is collected and is comprised:
Field intensity collection after sending the field intensity collection after networking beacon and sending field intensity collection instruction.
Preferably, described configuration module specifically for:
Carry out field intensity computing, configure mulitpath to each collector and form allocation list;
Described allocation list is sent to collector;
Receive the feedback information of collector.
Preferably, described preparation networking module specifically for:
Collector reads electric meter address, when reading successfully, the long address of ammeter is replaced with short address.
Preferably, described field intensity command reception module specifically for:
Receive networking beacon, determine whether that the channel of specifying sent;
Allocated channel sent in this way, then record field intensity and judge whether the limit value exceeding forwarding;
As do not exceeded the limit value of forwarding, then forward described networking beacon.
Preferably, described field intensity command reception module also specifically for:
Received field strength collects instruction, judges that whether described field intensity collection instruction is legal;
As described in field intensity collect instruction legal, then determine whether relaying;
In this way, then forward described field intensity and collect instruction; Otherwise, collect instruction according to described field intensity and feed back.
Preferably, described configuration receiver module specifically for:
The allocation list receiving concentrator and the short address confirmed through concentrator, and send feedback information to concentrator.
Preferably, described collector also comprises:
Initiatively network application module, for not enabling under networking beacon networking condition, initiatively initiates the request of networking to concentrator, initiatively applies for networking.
CFDA acquisition platform of the present invention, can set up the collection network of high efficiency, high stability, carries out efficient, stable data acquisition.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
CFDA (Cellular Fixed-wireless Digital Access) microcellulor formula stationary nodes wireless data access system is a kind of wireless data access system of MESH network architectural feature of self-organizing.
With reference to Fig. 1, propose a kind of CFDA acquisition platform of the present invention, comprise concentrator and collector; This concentrator comprises: prepare networking module 201, for receive main website send collector ID mapping table after, enter prepare the networking stage; Field intensity collection module 202, for after transmission networking beacon, enters field intensity collection phase; Configuration module 203, for carrying out field intensity computing, entering and setting up routing phase;
This collector comprises: prepare networking module 301, after powering on, carry out networking preparation for collector; Field intensity command reception module 302, for receiving concentrator instruction, accepting field intensity and collecting; Described instruction comprises networking beacon and field intensity collects instruction; Configuration receiver module 303, for receiving the allocation list of concentrator, sets up route.
With reference to Fig. 2, in above-mentioned CFDA, mainly comprise DAU (Distributing Access Unit, distribution access unit), CAC (Cellular Access Center, honeycomb access center) and gateway 10 (GPRS gateway).In CFDA, DAU and CAC is and the data acquisition equipment of user and data processing equipment, is interconnected, co-ordination, the data acquisition connecting system that common formation is complete.Therefore, CFDA is actually a communication middleware; The data collected are given DAU and are sent by the data acquisition equipment of user; CAC receives the data that DAU sends, then is given user data treatment facility carried out subsequent treatment by above-mentioned GPRS (General Packet Radio Service, general packet radio service technology) gateway.In the present embodiment, this data acquisition equipment can be collector 30, and this user data treatment facility can be the main website 100 in electric power system.
Utilize the information collecting platform that CFDA MANET is set up, using the descending acquisition channel of CFDA wireless self-networking as concentrator 20, realize the transparent transmission of the data between concentrator 20 and ammeter, concrete mode is as follows: using ammeter as a stoichiometric point, also be a data collection point, DAU is arranged on ammeter side simultaneously; The installation of DAU both can be embedded in ammeter, forms integrated design, become CFDA radio ammeter with ammeter, also can be arranged at collector 30 simultaneously and be connected with 485 buses of ammeter, form 485 collectors 30; CAC is arranged on concentrator 20 side, CAC can be embedded in concentrator 20 by concentrator 20, also can be connected with concentrator 20 by 485 or 232 interfaces.After building above mechanism, networking can be opened, form the downlink network of CFDA, this network can form the transparent communication port between concentrator 20 and ammeter, realize the transparent data collection between ammeter and concentrator 20, concentrator 20 can pass through 645 stipulations, directly reads the parameter of ammeter arbitrarily in net.In the present embodiment, DAU is arranged at collector 30, CAC and is arranged at concentrator 20.The CAC being arranged on concentrator 20 can communicate with between the DAU being arranged on collector 30, and DAU is communicated by protocol forward according to specified circuit each other.
After above-mentioned concentrator 20 receives the meter reading instruction of main website 100, this meter reading instruction is sent to the collector 30 of next stage; Receive the mode of collector 30 by multihop routing of this meter reading instruction, then forward other collector 30 further; The collector 30 receiving this meter reading instruction can gather the ammeter parameter associating ammeter with it, and this ammeter parameter at least comprises the electricity consumption number of degrees etc. shown by ammeter; A collector 30 can associate with one or more ammeter, gathers ammeter parameter; This collector 30, after collecting ammeter parameter, is forwarded by other collectors 30 or directly feeds back to concentrator 20; This concentrator 20, collecting in CFDA network after ammeter parameter, sends to main website 100 by GPRS gateway, so that main website 100 completes be optimized the functions such as scheduling, control or charging to ammeter.
Above-mentioned CFDA ad hoc network information collection platform, before carrying out automatic coppying meter, needs first to carry out CFDA MANET.
Above-mentioned main website 100 can be used for planning network structure, determines microcellulor region and quantity, forms honeycomb; And the encoding scheme of CAC is determined according to this honeycomb; And according to the encoding scheme of this CAC, dividing frequency resource, to CAC, determines physical I D and the logic ID of DAU, the ID mapping table of both formation.
Be provided with the concentrator 20 of CAC, can download this ID mapping table from this main website 100, and after determining that all DAU are online, instruction CAC road construction is by, group network.
Above-mentioned preparation networking module 201 specifically for: after receiving ID mapping table, determining that described ID mapping table is is batch or increment; When for increment, judge whether initiatively to add record accordingly according to described ID mapping table; If any, then send field intensity and collect instruction; Otherwise, as batch process; When for batch, calculate according to described ID mapping table and determine channel, and sending networking beacon and carry out networking.
After above-mentioned preparation networking module 201 receives the ID mapping table of collector 30, the quantity of the collector 30 newly adding network can be determined according to this ID mapping table, when collector 30 quantity newly adding network is more, batch can be confirmed as; When newly adding collector 30 negligible amounts of network, increment can be confirmed as.Above-mentioned batch and the judgement of increment, can carry out according to the numerical value preset.This numerical value is determined according to actual conditions.
When for batch, above-mentioned preparation networking module 201 carries out networking for the collector 30 in this ID mapping table, calculates and determines transmission channel and send networking beacon.
When for increment, according to this ID mapping table, above-mentioned preparation networking module 201 judges whether above-mentioned collector 30 has the record initiatively adding network more further; If any, then directly send field intensity by field intensity collection module 202 and collect instruction, collect the field intensity information of this collector 30, make it add network.Otherwise, will can initiatively not add the collector 30 of Network records as batch process.
This initiatively adds the record of network, is the DAU (collector 30) do not networked initiatively initiates record from the request of networking to CAC (concentrator 20).Function that the process that this request networks is " free networking ", its detailed process is described in detail as follows:
After networking completes, the situation of leak source (namely having DAU not network) may be there is; Meanwhile, in the Web vector graphic process of networking, new DAU node all may be had at any time to need to add.Above-mentioned two class DAU nodes are in free state, need initiatively to apply for networking.
Above-mentioned free DAU node sends the initiatively request of networking at last channel of each channel group, then scanning accepting state is entered, after scanning certain hour (according to timeslot number value about 6 ~ 10 minutes), if do not receive response, switching channels is sent out again the request of networking, until all channel groups distribute.If receive the networking request of free DAU node at the DAU node of net state, can reply at the first channel of each channel group.If free DAU receives the response of other DAU node, record response DAU node address (ID) is saved in field intensity set, and the form of record is consistent with beacon field intensity set.Until all response time slots are complete, then from the DAU node that can get in touch with, an optimal path is selected to report CAC.CAC will record the ID of this DAU, and judge whether corresponding DAU belongs to its network compass of competency according to this ID; In this way, then field intensity collection and configuration are carried out to this DAU; Otherwise, disregard.If above-mentioned free DAU, between listen period, receives networking beacon, then abandon the application that networks, enter beacon group network process.
Above-mentioned field intensity collection module 202 specifically for: scan in specified channel group; After Received signal strength frame, judge that whether described signal frame is legal; When described signal frame is legal, record the field intensity information comprised in described signal frame.Above-mentioned field intensity is collected and is comprised: the field intensity sent after the field intensity collection after networking beacon and transmission field intensity collection instruction is collected.
Field intensity after this transmission networking beacon is collected and is referred to, after above-mentioned preparation networking module 201 sends networking beacon, above-mentioned collector 30 need forward this networking beacon classification, and the collector 30 first receiving networking beacon externally can send field intensity information; This field intensity collection module 202 can the interscan of specified channel group, receives the field intensity information that (the such as ground floor etc.) collector 30 near it sends; After reception, carry out the legitimate verification of frame, whether the actual channel (number) that first can judge this reception is allocated channel (number), judge whether central site network ID (concentrator ID) is correct again, when this actual channel is allocated channel and central site network ID is correct, be then defined as legal frame; Then can store this frame and record field intensity information; Now, the forwarding cycle of collector 30 pairs of networking beacons does not also terminate, and this field intensity collection module 202 does not yet send field intensity and collects instruction.
Above-mentioned field intensity collection module 202 after the forwarding end cycle of this networking beacon, can send field intensity and collects instruction, carry out field intensity collection.The forwarding cycle of this networking beacon, can according to collector 30 carry out the forwarding of networking beacon circle (layer) number calculate.
Above-mentioned field intensity collection module 202, after transmission field intensity is collected, by scanning in specified channel group, collects the field intensity information that collector 30 returns; And validity judgement is carried out to the frame collected, after being defined as legal frame, corresponding field intensity information can be recorded.
Above-mentioned field intensity collection module 202 also can collect situation according to the field intensity information of collector 30, judges whether field intensity has collected.As unfinished, then can continue to send field intensity and collect instruction, carry out field intensity collection; Otherwise, then can carry out field intensity computing, enter networking configuration phase.
Above-mentioned configuration module 203 specifically for: carry out field intensity computing, form allocation list to each collector configuration mulitpath; Described allocation list is sent to collector; Receive the feedback information of collector.
Above-mentioned configuration module 203 can after field intensity collects into, carry out field intensity computing to collector 30 field intensity of collecting, and calculates communication path, and configures 3 communication paths for each collector 30, and sets up allocation list and store; Then allocation list is sent to collector 30, then receives the feedback information of collector 30, to judge that whether configuration is successful; After all collector 30 of above-mentioned ID mapping table all configuration successful, then networking terminates.Thus, the network of high efficiency, high stability can be set up, carry out data acquisition.
Above-mentioned preparation networking module 301 can be specifically for: collector reads electric meter address, when reading successfully, the long address of ammeter is replaced with short address.
After collector 30 and ammeter power on, this collector 30 reads electric meter address by preparing networking module 301; This electric meter address sets according to industry standard, is generally 6 bytes.Reading successfully, then this electric meter address can replaced with short address, this short address can be last 2 bytes in this electric meter address 6 bytes.Now, the networking of collector 30 is ready to complete, and can carry out the scanning of main channel group or the scanning of specified channel group, enter field intensity collection phase.The scanning of this main channel group comprises 17 channel scannings, and the scanning of this specified channel group comprises 4 channel scannings.
Above-mentioned field intensity command reception module 302 can be specifically for: receive networking beacon, determine whether that the channel of specifying sent; Allocated channel sent in this way, then record field intensity and judge whether the limit value exceeding forwarding; As do not exceeded the limit value of forwarding, then forward described networking beacon.
When above-mentioned collector 30 does not also network, then this collector 30 first carries out the scanning of main channel group by field intensity command reception module 302; After the networking beacon receiving concentrator 20 transmission, then can determine whether that the channel of specifying sent; In this way, then record corresponding field intensity, and judge whether the limit value exceeding forwarding.The limit value of this forwarding can be arranged as the case may be, and be such as 8 grade 7 at CFDA and jump in the network configuration of (MESH), this limit value can be 7; Namely can arrange 7 layers of collector 30 in this network, the instruction that concentrator 20 sends forwards 7 circles.When judging, field intensity command reception module 302 according to self ID number, can utilize TDMA (Time Division Multiple Access, time division multiple access) agreement, calculates timeslot number and forwards the number of turns, then judging according to result of calculation.If reach the highest forwarding number of turns (i.e. limit value), then no longer forward this networking beacon; Otherwise carry out carrier sense by CSMA (Carrier Sense Multiple Access, Carrier Sense Multiple Access) agreement, forward networking beacon when channel idle; If channel busy, then can wait until that next circle forwards again.
Above-mentioned field intensity command reception module 302 also can be specifically for: received field strength collects instruction, whether legally judges that described field intensity collects instruction; As described in field intensity collect instruction legal, then determine whether relaying; In this way, then forward described field intensity and collect instruction; Otherwise, collect instruction according to described field intensity and feed back.
When above-mentioned collector 30 networks, then this collector 30 carries out the scanning of specified channel group by field intensity command reception module 302; After the field intensity receiving concentrator 20 transmission collects instruction, can judge that whether this field intensity collection instruction is legal; As legal, then continue to determine whether relaying; As being relaying, then continuing to forward this field intensity according to relay address and collect instruction; If not being relaying, then judging whether its destination address is this concentrator 30, then collecting instruction according to this field intensity in this way and feeding back, assist concentrator 20 to carry out field intensity collection.Can short address be comprised in this feedback, confirm to concentrator 20.
Above-mentioned configuration receiver module 303 can be specifically for: the allocation list receiving concentrator and the short address confirmed through concentrator, and send feedback information to concentrator.
Above-mentioned collector 30 scans in specified channel group by configuration receiver module 303, receive the allocation list corresponding with this collector 30 that concentrator 20 sends and the short address confirmed through concentrator 20, and send feedback information to concentrator 20, complete the configuration that networks thus.This allocation list comprises concentrator 20 according to the field intensity information collected, for many (such as 3) communication paths that each collector 30 in network calculates.So far, the networking of collector 30 completes.Efficiency and the reliability of networking can be promoted by the way.
With reference to Fig. 3, above-mentioned collector 30 also comprises: initiatively network application module 304, for not enabling under networking beacon networking condition, initiatively initiates the request of networking to concentrator 20, initiatively applies for networking.This active networks application module 304 can when collector 30 (DAU) be in free state, and preparation networking module 201 application initiatively to concentrator 20 networks.So, the networking of collector 30 (DAU) can be made to have more convenience.
Above-mentioned CFDA acquisition platform, MANET is carried out by above-mentioned networking mode, distributed and feature that is integrated system can be had concurrently, be applied to Electric Power Automatic Meter Reading System, have that the network coverage is high, flexible structure, reliability are high, highly versatile, construction lay the features such as simple, easy to maintenance and engineering total cost is low.Based on CFDA ad hoc network, can be user's in real time data acquisition accurately, monitoring, control provides solution that is seamless, that high speed is real-time, reliable, low cost.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.