Background technology
Power consumer power information acquisition system is a kind of acquiring electric energy information, processing and real-time monitoring system, realize that energy data gathers, measures unusual and electric energy quality monitoring, electrical energy consumption analysis and management automatically, possesses relevant information issue, the monitoring of distributed energy, the functions such as information interaction of intelligent power equipment.Existing power consumer power information acquisition system logically is divided into main website, communication channel, three aspects of acquisition terminal usually, as shown in Figure 1.Wherein:
Main website is divided into again the application of marketing capturing service, front-collection platform, data base administration three parts, be responsible for the various applied business of realization system, be responsible for automatic collection, storage, the processing of energy information, every application function of all kinds of energy informations and management is provided simultaneously.
Communication channel is responsible for providing the transmission channel of carrying out information interaction between main website and the acquisition terminal, comprises various available wired and wireless communication channels, and the main communication mode that adopts has optical fiber communication, radio communication and carrier communication etc.
Acquisition terminal is collection, data management, data double-way transmission and the execution of the energy information of responsible each information gathering point or the equipment of the control command that the forwarding main website issues, and acquisition terminal can be divided into the types such as special change acquisition terminal, centralized automatic meter-reading terminal (comprising concentrator, collector), remote multifunctional ammeter and electric energy meter by application places.
Wherein, specially becoming acquisition terminal is specially to become user's acquiring electric energy information terminal, realization is to special change user's acquiring electric energy information, comprise electric energy meter data acquisition, electric energy measuring equipment operating mode and power supply electric energy quality monitoring, and the monitoring of client's power load and electric flux, and image data managed and transmit.Particularly, specially becoming acquisition terminal can communicate by letter with electric energy meter, copies and accepts and storage of electrical energy table data by the interval of copying and accepting of setting; Specially becoming acquisition terminal can be by the requirement of main website order, the various information such as timing or the power that gathers and store to the main website transmitting terminal at random, maximum demand, electric energy indicating value, quantity of state.
The centralized automatic meter-reading terminal is the equipment that the low-voltage customer energy information is gathered, and comprises concentrator, collector.Concentrator refers to collect the data of each acquisition terminal or electric energy meter, and processes storage, and energy and main website or handheld device are carried out the equipment of exchanges data simultaneously.Described handheld device claims again hand-hold meter reading terminal, refer to can be closely directly and separate unit electric energy meter, concentrator, collector and computer equipment carry out the equipment of exchanges data.Concentrator energy and master station communication receive and the order of response main website, transmit data to main website, and concentrator should be able to receive and transmit the main website order electric energy meter is carried out data acquisition and control.Collector be used to gather a plurality of electric energy meter electric energy information, and can with the equipment of concentrator swap data.Collector can communicate with concentrator, receives and respond the order of concentrator, can automatically gather the electric energy meter data by the collection period of concentrator setting, and transmits data to concentrator.In addition, the collector storage data of also should be able to classifying form the historical day data such as total and each rate forward active energy indicating value, the nearest 24 hours total active energy data of integral point of preserving emphasis user electric energy meter.
The remote multifunctional ammeter refers to increase on the basis of existing multifunction electric meter the electric energy meter of telecommunications functions, and telecommunication protocol adopts the Q/GDW376.1 agreement usually.
At present, along with the development of the communication technology, proposed to build the demand of intelligent grid.So-called intelligent grid, it is exactly the intellectuality of electrical network, it is to be based upon on the basis of integrated, high-speed bidirectional communication network, the application of the sensing by the advanced person and measuring technique, advanced equipments technology, advanced control method and advanced decision support system (DSS) technology, realize the target of reliable, the safety, economy of electrical network, efficient, environmental friendliness and use safety, efficiently move with the quality of power supply of meeting consumers' demand, the access of allowing various different forms of electricity generation, the optimization that starts electricity market and assets.
The construction of power industry intelligent grid needs the broadband wireless private network that high-speed bidirectional communication is provided, because the broadband wireless technology has the narrowband voice of collection and wideband data, has high power capacity, coverage is large, high bandwidth, support to move, switch and the characteristics such as roaming and safety, become China's intelligent grid and build institute's accepted standard.Correspondingly, just the corresponding acquisition terminal of needs can the access band wireless network for the power consumer power information acquisition system in this intelligent grid.And various acquisition terminal of the prior art all is based on the terminal of GPRS (General Packet Radio Service, general packet wireless business) public network basically, can not the access band wireless network.
Summary of the invention
The embodiment of the invention provides a kind of power information acquisition terminal and method, to realize that acquisition terminal is to the access of broadband wireless network.
For this reason, the embodiment of the invention provides following technical scheme:
A kind of power information acquisition terminal comprises:
The UART expansion module is for the power information data that gather power consumer equipment;
Primary processor links to each other with described UART expansion module by bus, is used for obtaining the power information data that described UART expansion module gathers, and described power information data are processed;
Memory module links to each other with described primary processor by bus, is used for storing the power information data after the described master processor processes;
Radio-frequency module, link to each other with described primary processor by digital interface, be used for that the power information data communication device after the described master processor processes is crossed broadband wireless network and send to main website, and reception is from the instruction of main website, described instruction is sent to described primary processor, so that described primary processor is carried out the operation of corresponding described instruction.
Preferably, described primary processor comprises: protocol stack module and baseband processing module; Wherein:
Described protocol stack module, being used for that the power information data of described UART expansion module collection are carried out frame delimits, pick out interfering data and erroneous frame, and the power information data in the correct frame are saved in the described memory module and/or to described power information data repack and be sent to described baseband processing module;
Described baseband processing module is used for carrying out Base-Band Processing.
Preferably, described protocol stack module, concrete being used for is converted to document form with the power information data of described correct frame, and the user profile data after will changing are saved in the described memory module; And/or described power information data are converted to the protocol frame format that adapts with described broadband wireless network, and the user profile data after will changing are sent to described baseband processing module.
Preferably, described radio-frequency module also is used for sending voice signal from the main website reception or to main website;
Correspondingly, described primary processor also comprises:
Speech processing module is used for described voice signal is carried out encoding and decoding.
Preferably, described radio-frequency module, the broadcast message that being used for of be used for receiving also that main website sends manages concentratedly described power information acquisition terminal;
Correspondingly, described primary processor also comprises:
The Clock management module is used for adjusting local clock according to described broadcast message.
Preferably, described primary processor also comprises:
Debug port is used for downloading, and in described memory module, and utilizes described program that described power information acquisition terminal is debugged described procedure stores.
Preferably, described UART expansion module comprises following any one or a plurality of interface: RS485 interface, infrared interface.
Alternatively, described power information acquisition terminal also comprise following arbitrarily once or a plurality of module:
The state indicating module is used to indicate following any one or various states: power supply status, network state, communications status, signal condition;
Battery management module, for detection of the electric weight that the battery of power supply is provided for described power information acquisition terminal, and after the electric weight that detects described battery was lower than predetermined value, to notify described primary processor control corresponding circuits be the battery charging or cut off in required time powered battery after the power down of described power information acquisition terminal;
LCD MODULE links to each other with described primary processor by the PWM interface, is used for showing described power information data;
The local communication module is used for receiving the power information data that other power information acquisition terminals send by wireless mode or carrier system;
Analog-to-digital conversion module is used for the analog electrical signal of input electric power subscriber equipment, and described analog electrical signal is converted to digital signal, and sends described digital signal to described primary processor.
A kind of power information acquisition method comprises:
Gather the power information data of power consumer equipment, and described power information data are processed;
Power information data after the stores processor, and/or described power information data communication device is crossed broadband wireless network send to main website.
Preferably, described described power information data are processed comprises:
Described power information data are carried out frame delimit, pick out interfering data and erroneous frame, obtain the power information data in the correct frame.
Preferably, the power information data after the described stores processor comprise: the power information data in the described correct frame are stored with document form.
Preferably, describedly described power information data communication device is crossed broadband wireless network send to main website and comprise: the power information data in the correct frame are repacked, and after carrying out Base-Band Processing and radio frequency processing, send to main website by broadband wireless network.
Embodiment of the invention power information acquisition terminal and method by in described power information acquisition terminal radio-frequency module being set, have realized the broadband data communication between terminal and the main website.
Embodiment
In order to make those skilled in the art person understand better the scheme of the embodiment of the invention, below in conjunction with drawings and embodiments the embodiment of the invention is described in further detail.
The demand of building in order to adapt to current intelligent grid, power information acquisition terminal and method that the embodiment of the invention provides by in described power information acquisition terminal radio-frequency module being set, realize the broadband data communication between terminal and the main website.
As shown in Figure 2, be the logical organization synoptic diagram of embodiment of the invention power information acquisition terminal in network.
Wherein, carry out two-way communication by broadband wireless network between power information acquisition terminal and the main website, described broadband wireless network can be based on McWiLL (Multi-Carrier Wireless Information LocalLoop, multi-carrier-wave wireless information local loop) the mobile broadband wireless access networks network of technology, and can expand for different power consumer equipment, realize that the prior art special secondary school becomes the functions such as acquisition terminal, concentrator and remote multifunctional ammeter.
As shown in Figure 3, be a kind of structural representation of embodiment of the invention power information acquisition terminal.
In this embodiment, described power information acquisition terminal comprises: UART expansion module 300, primary processor 301, memory module 302 and radio-frequency module 303.Wherein:
UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver ﹠ sends) expansion module 300 is for the power information data that gather power consumer equipment;
Primary processor 301 links to each other with described UART expansion module 300 by bus, is used for obtaining the power information data that described UART expansion module 300 gathers, and described power information data are processed;
Memory module 302 links to each other with described primary processor 301 by bus, is used for storing the power information data after described primary processor 301 is processed;
Radio-frequency module 303, link to each other with described primary processor 301 by digital interface, be used for that the power information data communication device after described primary processor 301 processing is crossed broadband wireless network and send to main website, and reception is from the instruction of main website, described instruction is sent to described primary processor 301, so that described primary processor 301 is carried out the operation of corresponding described instruction.
In a kind of preferred structure of the embodiment of the invention, described primary processor 301 comprises: protocol stack module 311 and baseband processing module 312; Wherein:
Described protocol stack module 311, being used for that the power information data that described UART expansion module 300 gathers are carried out frame delimits, pick out interfering data and erroneous frame, and the power information data in the correct frame are saved in the described memory module 302 and/or to described power information data repack and be sent to described baseband processing module 312;
Described baseband processing module 312 is used for carrying out Base-Band Processing, such as, encoding and decoding, interweave, the operations such as spread spectrum, baseband filtering, specifically same as the prior art, do not repeat them here.
Particularly, described protocol stack module 311 described power information data can be converted to document form, and the user profile data after will changing is saved in the described memory module 302.In addition, described protocol stack module 311 described power information data can also be converted to the protocol frame format that adapts with described broadband wireless network, and the user profile data after will changing is sent to described baseband processing module 312.
In addition, in embodiments of the present invention, described radio-frequency module 303 also can be used for sending voice signal from the main website reception or to main website; Described primary processor 301 also can further comprise: speech processing module 313, be used for voice signal is carried out encoding and decoding, particularly, after voice signal to this locality encodes, signal sends to baseband processing module 312 and carry out Base-Band Processing after then will encoding, send to main website by radio-frequency module 303 by broadband wireless network; The voice signal that receives from main website for radio-frequency module 303 after being processed by baseband processing module 312, is decoded to it by speech processing module 313, thereby realizes the voice communication of described power information acquisition terminal and main website.
In embodiments of the present invention, described radio-frequency module 303, the broadcast message that being used for of be used for receiving also that main website sends manages concentratedly described power information acquisition terminal; Correspondingly, described primary processor 301 also can further comprise: Clock management module (not shown) is used for adjusting local clock according to described broadcast message.Experiment showed, and clocking error can be reduced in the 20ms that simultaneously, main website can also utilize the broadcast capability realization to the concentrated synchro control of a plurality of power information acquisition terminals.
In actual applications, described primary processor 301 is as control and the arithmetic core of whole acquisition terminal, can adopt the dual core processor of ARM (Advanced RISC Machines)+DSP (Digital Signal Processing, digital signal processing).Wherein, ARM mainly realizes High-speed Control, and DSP mainly realizes the various communications of algorithms and digital signal processing.Can in ARM and DSP, embed ICP/IP protocol stack and Q/GDW376.1 Q/GDW376.2 the multiple electric power communication protocol such as DL/T645, to realize the processing to image data.In addition, can also embed the related protocol of resolving for broadcasting instructions, with the parsing from the broadcast announcement of main website that realizes described radio-frequency module 303 is received.
Described memory module 302 can comprise: the storer of the types such as OneNANDFlash, NORFlash and SDRAM (Synchronous Dynamic Random Access Memory, Synchronous Dynamic Random Access Memory).FLASH is used for storage program and a large amount of image data, and these data are inquired about as requested, revise, deleted or add, can the buffer memory ROMPaq, and FLASH is all open towards power consumer.SDRAM mainly satisfies the computing needs, improves arithmetic speed, and the 4MByte user oriented among the SDRAM is open.
Described radio-frequency module 303 comprises receiving circuit and radiating circuit, in described receiving circuit, can integratedly be input to all functions module that high precision I/Q exports from the low noise bandwidth amplifier, in described radiating circuit, can integratedly be input to all functions module that radio frequency is exported from I/Q, can also be in described radio-frequency module 303 Integrated VCO and fractional frequency-division phase-locked loop and high-precision direct current offset calibration circuit, to satisfy the application demand under varying environment.
In embodiments of the present invention, described UART expansion module can comprise following any one or a plurality of interface: RS485 interface, infrared interface.
The below describes its course of work in detail further combined with the structure of user profile acquisition terminal shown in Figure 3.
When needs gather the power information data of power consumer equipment, at first obtain power information data from electric energy meter or collector by UART expansion module 300, then the RS485 interface that provides by UART expansion module 300, send described power information data to primary processor 301 according to the power communication agreement, primary processor 301 is processed these data according to certain form and requirement, such as, according to real time data, day data, month data are placed into it in different files with the emphasis data, then these files are saved in the memory module 301, so that retrieval, search, revise and deletion, improve storage efficiency, and then improve data processing speed and processing power.The infrared interface that can also be provided by UART expansion module 300 in addition, realizes that local data sets be copied, control and acquisition function.
In addition, primary processor 301 can also be with the described power information data of the formal layout of event, and then according to Q/GDW376.1 Q/GDW376.2 the electric power stipulations such as DL/T645, described data are stored in the described memory module 302 according to certain transformat packing, perhaps send to radio-frequency module 303 according to the radio frames form that adapts with described broadband wireless network, to carry out uplink.Radio-frequency module 303 is modulated to suitable frequency range with the radio frames of receiving, such as 1785MHz~1805MHz frequency range, by broadband wireless network the power consumer image data is sent to main website.
In embodiments of the present invention, described radio-frequency module 303 can also receive the control informations such as instruction from main website, passes through the corresponding instruction of broadcast transmission such as main website.Described radio-frequency module 303 is received the baseband processing module 312 that sends primary processor 301 after this instruction to, by baseband processing module 312 it is resolved, and obtains corresponding command information, and primary processor 301 is carried out operation that should instruction.
Embodiment of the invention user profile acquisition terminal can the access band wireless network, realized the broadband wireless data transmission between acquisition terminal and the main website, the up-downgoing data rate can reach 1.6Mbps simultaneously, the data rate that is much higher than existing power information acquisition terminal (is generally 20~30kbps), and the integrated designs such as broadband wireless communications, protocol stack, data storage, Interface Expanding have been realized, so not only reduced the cost of equipment, and improved the stability of equipment, also be easier in process of production debugging.When storage power information data, preferably the mode with file manages work to the data of being stored, be convenient to application-oriented, stronger to the processing power of data.
In addition, embodiment of the invention user profile acquisition terminal, can embed different electric power communication protocols, such as Q/GDW376.1 Q/GDW376.2 DL/T645 etc., thereby realize corresponding various power information acquisition terminal for example concentrator, specially become the function of acquisition terminal, remote multifunctional ammeter.To illustrating respectively below this.
As shown in Figure 4, be the another kind of structural representation of embodiment of the invention user profile acquisition terminal.
In this embodiment, shown that described user profile acquisition terminal is as the application mode of the communication module in the remote multifunctional electric energy meter.
Compare with embodiment illustrated in fig. 3, in this embodiment, described primary processor 301 also comprises following any one or a plurality of port: debug port, outside RS-485 port.Wherein:
Described debug port is used for downloading, and in described memory module 302, and utilizes described program that described power information acquisition terminal is debugged described procedure stores.
Described outside RS-485 port can be for the data that gather a plurality of external electric energy tables.
In addition, in this embodiment, described user profile acquisition terminal also can further comprise: state indicating module 304, link to each other with described primary processor 301, and be used to indicate following any one or various states: power supply status, network state, communications status, signal condition.
In addition, in this embodiment, described user profile acquisition terminal also can further comprise: battery management module 305, in detecting the electric weight that the battery of power supply is provided for described power information acquisition terminal, and after the electric weight that detects described battery was lower than predetermined value, to notify described primary processor control corresponding circuits be the battery charging or cut off in required time powered battery after the power down of described power information acquisition terminal.
As shown in Figure 5, be the another kind of structural representation of embodiment of the invention user profile acquisition terminal.
In this embodiment, shown that described user profile acquisition terminal is as the application mode of concentrator.
Compare with embodiment illustrated in fig. 3, in this embodiment, described power information acquisition terminal also can further comprise:
LCD MODULE 501, by PWM (Pulse Width Modulation, width modulation) interface links to each other with described primary processor 301, is used for showing described power information data, such as: the information such as current power, voltage, electric current, power factor, electric weight.
In this embodiment, described power information acquisition terminal also can further comprise:
Local communication module 502, be used for receiving the power information data that other power information acquisition terminals send by wireless mode or carrier system, and send these information to primary processor 301, by primary processor 301 it is processed again, be uploaded to main website such as the power information data that are stored in this locality or gather with this locality.
Certainly, the debug port described in the user profile acquisition terminal shown in Figure 4, outside RS-485 port, and battery management module equally also can be applied among this embodiment.
As shown in Figure 6, be the another kind of structural representation of embodiment of the invention user profile acquisition terminal.
In this embodiment, shown that described user profile acquisition terminal is as the application mode that specially becomes acquisition terminal.
Compare with embodiment illustrated in fig. 3, in this embodiment, described power information acquisition terminal also can further comprise:
Analog-to-digital conversion module 601 is used for the analog electrical signal of input electric power subscriber equipment, and described analog electrical signal is converted to digital signal, and sends described digital signal to described primary processor 301.
Certainly, the debug port described in the user profile acquisition terminal shown in Figure 4, outside RS-485 port, and battery management module equally also can be applied among this embodiment.
As seen, embodiment of the invention power information acquisition terminal can be for different applied environments, realize various power information acquisition terminals for example concentrator, specially become the corresponding function of acquisition terminal, remote multifunctional ammeter.And realized the access problem of broadband wireless network, also further solve existing acquisition terminal and do not had the broadcasting and the DTE (DataTerminalEquipment that solve, data terminal equipment) with the technical matters such as DCE (Data Communications Equipment, data communications equipment) integrated design.
Correspondingly, the embodiment of the invention also provides a kind of power information acquisition method, as shown in Figure 7, is the process flow diagram of the method, may further comprise the steps:
Step 701 gathers the power information data of power consumer equipment, and described power information data are processed;
Particularly, described described power information data are processed comprises:
Described power information data are carried out frame delimit, pick out interfering data and erroneous frame, obtain the power information data in the correct frame.
Detailed process can with reference to the description of front, not repeat them here.
Step 702, the power information data after the stores processor, and/or described power information data communication device is crossed broadband wireless network send to main website.
When the described power information data of storage, can adopt the form of file to preserve these data, manage with convenient data to storage, aspect user's application improves the processing power to data.
Send to main website if described power information data communication device need to be crossed broadband wireless network, then also will repack the power information data in the described correct frame, and after carrying out Base-Band Processing and radio frequency processing, send to main website by broadband wireless network.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in the computer read/write memory medium, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
More than the embodiment of the invention is described in detail, used embodiment herein the present invention set forth, the explanation of above embodiment just is used for helping to understand method and apparatus of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.