A kind of wireless method and system of copying and accepting management of concentrating of energy measurement data that realize
Technical field
The present invention relates to a kind of wireless method and system of copying and accepting management of concentrating, refer more particularly to the wireless method and system of copying and accepting management of concentrating of a kind of public utilities energy measurement data.
Background technology
Along with the enlarging of people's growth in the living standard, building is increased, the popularizing of computer technology, traditional manual metering mode accuracy and promptness all can not get ensureing, can not adapt to the growth requirement of society.The user profile of IC-card table all is stored on the IC-card, has solved the problem of the difficulty of checking meter now, difficult charge, plays the positive role of saving, and the user uses information but can not provide timely, monitors in real time, be not easy to the data analysis management of administrative authority.The wired automatic meter reading system of tradition, because the cable wiring manufacture difficulty, (especially repacking) task of installing is heavy, also has many hidden danger: short circuit, complicated circuit such as open circuit make that more maintenance work is difficult, install and the maintenance cost rising, be difficult to apply.
Wireless long-distance meter-reading, construction is simple, can satisfy the installation of various buildings type, suitable different occasions, and its accurate measurement, reliable has possessed the function of real-time monitoring, real time valve controlling.Therefore employing wireless concentrates wireless automatic collecting and the management of copying and accepting administrative skill realization continuous data to become industrial hot spot, has represented public utilities energy measurement developing direction from now on.But, what existing wireless kilowatt meter reading-out system adopted usually is that concentrator carries out data transmission to the method that wireless table tool carries out poll, make wireless table tool be in accepting state all the time, owing to will consume very big working current during wireless communication module work, most of energy that made wireless table tool unnecessary consumption, shorten the serviceable life of battery greatly, limited applying of wireless table tool.The poll communication mode requires wireless table tool to receive aerial wireless signal all the time and handles and reply, owing to on-air radio signal complexity, be subject to disturb, the communication reliability reduces greatly, and make wireless communication channel often be in busy state, cause the wireless telecommunication system can't operate as normal, wireless system can't be collected the information in the table tool in real time, reliably, data are copied and accepted rate and also can't be guaranteed, thereby also just can not realize to provide true and reliable data management information for administrative authority to the real-time monitoring of user profile and wireless table tool duty.
Summary of the invention
Technical matters to be solved by this invention is: at problems of the prior art, provide a kind of data in real time, reliable, to stablize, copy and accept rate high and can realize the centralized automatic meter-reading charging administration system of the public utilities energy measurement instrument such as the civilian water, electricity, gas based on the wireless data communication technology, heat of Long-distance Control.
A kind of technical scheme of the present invention is:
A kind of in real time, reliable, wireless communication processing method that the rate of copying and accepting is high, comprise following content:
1) random algorithm in the initialization of wireless table tool;
2) the efficient forward error correction channel technology of the employing of the wireless telecommunications between wireless table tool and the collector;
3) communication modes of multichannel redundancy is adopted in the wireless telecommunications between wireless table tool and the collector;
Another technical scheme of the present invention:
A kind of wireless system that copies and accepts management that concentrates of public utilities energy measurement data that realizes comprises terminal fitting instrument, data acquisition control system, data transmission system and information management service system, a plurality of subsystems of hand-held set.Wherein, the terminal fitting instrument is wireless table tool, comprises civilian measuring instruments such as radio remote transmitting water meter, gas meter, flow meter, calorimeter, ammeter, the use consumption data that is used for the Measuring and testing user, and with data wireless teletransmission output, the executive system control command is the terminal device of system simultaneously; Data acquisition control system is acquisition terminal instrument and meter data and receives the equipment of handling higher level's control command, mainly comprises collector and concentrator; Wireless system for transmitting data is higher level's network system of data acquisition control system, by concentrator, wireless GPRS communication module (or other wired public network access devices, native system at first adopts the GPRS communication) form, mainly finish the conversion of data and the transmission exchange of data; The information management service software systems are administrative centers of wireless remote transmission kilowatt meter reading-out system, realize the information system management of total system, possess consummating functions such as subscriber information management, data management, data statistics, data analysis, data sheet, the control of table tool, information inquiry, toll administration, bank interface, greatly improved the management level of administrative authority; Hand-held set is used for system's flexible configuration and maintenance management, improves the applicability of system.
The above-mentioned wireless different wave points of concentrating between each subsystem of copying and accepting management system and different communications protocol of communication employing, each wave point adopts different radio transmission frequency (frequency, channel), to guarantee the reliability of wireless data communication; Adopt the data transparency transmission mode, with compatibility, expansion shape, dirigibility and the applicability that guarantees system.
The above-mentioned wireless wireless table tool of copying and accepting in the management system of concentrating is built-in with special-purpose bi-directional digital wireless communication module, is used to launch continuous data and receiving system command execution associative operation.This table tool has independently power supply to be made the table tool not rely on system with the data processing memory function and works alone, and shows valve integratedly, can realize Long-distance Control.Table tool wireless communication module is operated in ISM band, carrier frequency (470~510) MHz, and the reliable transmission distance reaches more than the 500m, satisfies the wireless telecommunications networking requirement, has fully guaranteed table tool communication reliability and has copied and accepted success ratio.
The above-mentioned wireless collector of copying and accepting in the management system of concentrating is used to receive process user gauge table information and reception and registration higher level control command, it is the key link of networking, it is the node in the wireless network, can manage nearly 200 user's gauge tables simultaneously for every, collector and concentrator wireless communication module are operated in I SM frequency range, carrier frequency (470~510) MHz (being different from table tool frequency), the reliable transmission distance reaches more than the 1000m, satisfy the wireless telecommunications networking requirement, fully guaranteed the data communication reliability and copied and accepted success ratio.
Above-mentionedly wirelessly concentrate the concentrator in the system copy and accept management to possess two communication network interfaces: one is and the wireless communication interface of collector, and working frequency range adopts (470~510) MHz; Another is and the interface (or other wired public networks) of wireless GPRS communication system, adopts RS485 wire communication interface.Each concentrator can be managed nearly 20 collectors (can reach 100 under the collector networking communication modes).
Above-mentioned wireless to concentrate the information management service software systems in the system copy and accept management are administrative centers of wireless remote transmission kilowatt meter reading-out system, realize the information system management of total system.Possess consummating functions such as subscriber information management, data management, data statistics, data analysis, data sheet, the control of table tool, information inquiry, toll administration, bank interface, greatly improved the management level of administrative authority.
The above-mentioned wireless hand-held set of copying and accepting in the management system of concentrating possesses the wireless and wireline interface that adapts with management object, and execution corresponding management communications protocol, guaranteed the reliable connection under the different operating state, guaranteed the applicability of system, it is the utility appliance of system, be mainly used in the management setting to wireless table tool, collector, concentrator, also can be used for manual metering (copy and get collector, concentrator data), system applies is more flexible.When being used to check meter, can write down the meter reading data amount that is no less than 10,000 table tools.
Above-mentioned wireless collector, the concentrator copy and accept in the management system concentrated can be formed artificial wireless automatic meter reading system with hand-held set separately, and system applies is flexible more, make things convenient for.
Beneficial effect of the present invention is: the centralized automatic meter-reading charging administration system of the public utilities energy measurement instrument based on the wireless data communication technology of the present invention, adopt quantitatively, regularly, multichannel redundancy communication technology, initiatively upload data but not by the collection of collector poll by wireless table tool to collector, make the wireless communication module major part in the wireless table tool be in dormant state, power consumption reduces greatly, prolonged battery serviceable life, and fully guaranteed the reliability of wireless data communication and copied and accepted success ratio, realized real-time, the secure exchange of data; Collector and concentrator can realize that automatic network-building forms communication network, be connected with wireless network by repeater, and the wireless communication distance of extended wireless device, thus effectively expand the communication network coverage; The wave point of each communication system adopts different radio transmission frequency and channel, has fully guaranteed the reliability of data communication and has copied and accepted success ratio.This system has realized real-time collection, supervision and the control to subscriber's meter tool data, collection, statistical study and the charge needs of administrative authority have been satisfied to data, also can realize Long-distance Control to the subscriber's meter tool, can realize digitizing, networking, information system management fully, realize the leap of management level the civilian measuring instrument of city, community.
Description of drawings
Accompanying drawing 1 is the wireless structural representation of copying and accepting management system of concentrating;
Accompanying drawing 2 is that wireless concentrating copied and accepted management system communication structure synoptic diagram;
Accompanying drawing 3 is theory diagrams of wireless table tool terminal;
Accompanying drawing 4 is theory diagrams of wireless collection device terminal;
Accompanying drawing 5 is theory diagrams of radio concentrator terminal.
Embodiment
1 pair of wireless concentrates of the present invention is copied and accepted management system and is described explanation with reference to the accompanying drawings.
With reference to the accompanying drawings 1, wireless concentrating copied and accepted management system and is made of a plurality of subsystems of terminal fitting instrument, data acquisition control system, data transmission system and information management service system.Wherein, the terminal fitting instrument is wireless table tool, comprises civilian measuring instruments such as radio remote transmitting water meter, gas meter, flow meter, calorimeter, ammeter, is used for Measuring and testing user's use consumption data, and with data wireless teletransmission output, is the terminal device of system; Data acquisition control system is acquisition terminal instrument and meter data and receives the equipment of handling higher level's control command, mainly comprises collector and concentrator; Wireless system for transmitting data is higher level's network system of data acquisition control system, by concentrator, wireless GPRS communication module (or other wired public network access devices, native system at first adopts the GPRS communication) form, mainly finish the conversion of data and the transmission exchange of data; The information management service software systems are administrative centers of wireless remote transmission kilowatt meter reading-out system, realize the information system management of total system.Possess consummating functions such as subscriber information management, data management, data statistics, data analysis, data sheet, the control of table tool, information inquiry, toll administration, bank interface, greatly improved the management level of administrative authority.
Wireless table tool sends data according to pre-conditioned (regularly reaching quantitatively) to collector, and whether the collector parsing receives the packet judgment data legal, and sends control corresponding and instruct; When wireless table tool is in the dormant state user and need copies and accepts data, the system management center is transferred to data center by GPRS with instruction and gets in touch with mutually with concentrator through wireless transmission, concentrator is sent to collector with data command and wakes the terminal list tool up, the terminal list tool that is waken up with data by wireless transmission through collector, concentrator return data center, send the system management center to through GPRS.
With reference to the accompanying drawings 2, in this example, when the user need copy and accept wireless table tool data message, send to concentrator by communication interface C by the system management center and to copy and accept control command; Concentrator receives data message post analysis data and passes through wave point B to the collector transmitting control commands; Collector is sent to wireless table tool by wave point A with control command after receiving resolution data; Wireless table tool according to pre-conditioned quantitatively, regularly (every interval 12h or 24h) active upload data receive the steering order of collector simultaneously to collector.
Wireless table tool adopts random algorithm to calculate this machine data communication time (concurrent with the data of avoiding many table tools) according to this machine table tool numbering (unique ID geocoding) and sends table tool data message to collector, collector receives the resolution data bag, whether judgment data is legal, if not, under pass Communications failure and reply, wireless table tool is received that Communications failure is replied or can not receive any of collector at the appointed time and is replied, then resend table tool data message, collector judges that the reception data result is correct, then retrieve the control command information whether this table tool is arranged in the collector database, if do not have, then receive and correctly reply, if transmitting control commands is arranged then and wait for that wireless watermeter replys to wireless table tool down-transmitting data; After wireless table tool received the reply data of collector, whether the analysis judgment data were legal, replied if correctly then carry out related command and send the correct or command execution results of Data Receiving, if incorrectly then send Data Receiving miscommunication failure and reply; After collector receives correct reply data, the recording processing communication data, one time the wireless telecommunications process finishes, if receive that Communications failure is replied or no response, then this communication is invalid, communication finishes.
Wireless table tool can't be got in touch with collector, or can not receive any of collector at the appointed time behind the transmission table tool data message and reply, and then re-executes above-mentioned communication process, if multiplicity is greater than 3 times, then think the wireless telecommunications fault, wireless watermeter record trouble state and prompting, this communication finishes.
In concentrator, collector and the table tool principal and subordinate wireless topology network communication structure, adopt two communication channels in this example to guarantee the communication success ratio.Two parallel channels that are independent of each other of collector configuration are worked simultaneously, and wireless table tool is given tacit consent to one of them channel work, and wireless watermeter can automatically switch to one other channel and carries out communication when this channel busy, and this process identification is automatically finished.
The transmission of data adopts the DES algorithm that data are carried out encrypted transmission in this example, guarantees the security of data transmission exchange.
Above measure has fully guaranteed real-time, reliability and the security of wireless telecommunications, has improved the communication success ratio.
With reference to the accompanying drawings 3, wireless table tool mainly is made up of single-chip microcomputer, wireless telecommunications chip, wireless module interface circuit, power supply circuit, liquid crystal display circuit, control valve circuit etc., invalid table tool is built-in with special-purpose bi-directional digital wireless communication module and is used to launch continuous data and receiving system command execution associative operation with the core of single-chip microcomputer as data processing.
Realized digitizing, the informationization of table tool, internal data information is complete in to satisfy the system management requirement, and independently feed circuit and data processing memory function make and show tool and do not rely on system and work alone, and shows valve integratedly, can realize Long-distance Control.
The wireless communication module of this table tool is operated in ISM band, carrier frequency (470~510) MHz, and the reliable transmission distance reaches more than the 500m, satisfies the wireless telecommunications networking requirement, has fully guaranteed table tool communication reliability and has copied and accepted success ratio.
With reference to the accompanying drawings 4, the principle of work of wireless collection device terminal:
The wireless collection device is made up of microprocessor, electric power management circuit, data storage circuitry, wireless table meter module, data output interface circuit, real time clock circuit, data communication interface, radio concentrator module.The microprocessor of the MSP430F1XX series of the two serial communications of wireless collection device employing divides the two paths communication, and the wireless table meter module of leading up to is counted communication with table, is called road communication down; Be called for short the A module.Lead up to radio concentrator module and concentrator communication or hand-held set communication, be called the communication of setting out on a journey; Be called for short the B module.
The table meter adopts the A module of complete transparent transmission, timing and quantitative mode and collector communication, when table meter reaches the time of setting or during the quantity of setting, the table meter initiatively sending data to collector, and collector is stored in corresponding data storage area according to its ID number after receiving data.Before the storage data, the necessary first Identification Lists meter ID of collector judges whether to belong to this collector management.With the communication of setting out on a journey also is to adopt the wireless transparent transport module, and this module can adopt the miniwatt module that has cascade function, also can adopt powerful module.Adopt the miniwatt module need the ID and the network home label of collector be provided with.For fear of interference, guarantee the reliability of data communication, the A module adopts different emissive power, communication channel and frequency with the B module.The communication of hand-held set is that two-way is in parallel with concentrator.The communication of hand-held set and the communication of concentrator are independent of each other.
The table meter is according to regularly, quantitatively sending data to collector, if write by hand device or concentrator are assigned instruction and given collector, allow the table meter drive valve or pass valve, after that collector is received the instruction of assigning, demanded storage is got up, when table meter and collector communication, collector transmitting order to lower levels is again given the table meter, and table sends to collector after counting and executing instruction, if table meter and collector Communications failure, once more issue during communication next time, and after the table meter returned correct instruction, the order in the collector disappeared.
Communication between concentrator and the collector is after collector waits for that concentrator sends instruction, to handle order accordingly.Module between concentrator and the collector adopts the wireless module of high-power wireless module or cascade function, and concentrator timing every day and collector communication one time are to preserve the data of every day.
With reference to the accompanying drawings 5, the radio concentrator circuit is made up of ARM9 processor, GPRS communication, cable data communication interface, wireless collection device module, SD card data storage circuitry, real time clock circuit, network output interface circuit, electric power management circuit.Radio concentrator adopts the EM9161 microprocessor industrial control board control circuit part of ARM9 kernel, gather by the data of wireless collection device module collector, adopt SD card mode to carry out data storage, mode by the GPRS communication sends then, realizes concentrated collection and data storage to the wireless instrument continuous data.
Radio concentrator is to have unique control methods and frequency, is furnished with special-purpose data communication agreement, and very high security and anti-aggressive is arranged.