CN107103743A - A kind of carrier wave integrates the message processing method of copy controller - Google Patents

A kind of carrier wave integrates the message processing method of copy controller Download PDF

Info

Publication number
CN107103743A
CN107103743A CN201710257061.XA CN201710257061A CN107103743A CN 107103743 A CN107103743 A CN 107103743A CN 201710257061 A CN201710257061 A CN 201710257061A CN 107103743 A CN107103743 A CN 107103743A
Authority
CN
China
Prior art keywords
carrier
copy controller
carrier wave
message processing
submodule
Prior art date
Application number
CN201710257061.XA
Other languages
Chinese (zh)
Inventor
李荣幸
柴永超
鲁洲洋
刘磊
Original Assignee
新开普电子股份有限公司
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 新开普电子股份有限公司 filed Critical 新开普电子股份有限公司
Priority to CN201710257061.XA priority Critical patent/CN107103743A/en
Publication of CN107103743A publication Critical patent/CN107103743A/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/546Combination of signalling, telemetering, protection

Abstract

Submodule is realized the invention discloses the message processing method that a kind of carrier wave integrates copy controller, including serial communication, submodule and application program submodule are realized in LCD display sub-modules, Flash sub-module storeds, button operation submodule, AD samplings.The beneficial effects of the invention are as follows:It is mainly used in the Message processing of electric line carrier communication occasion, field adjustable, malfunction elimination etc., using the processing method can effectively collection communication data, accurately analysis carrier signal, rapidly positioning failure cause, operating efficiency is greatly improved, it is acquiring electric energy information system debug, the treated as mandatory method safeguarded, carrier wave debugging efforts to each equipment manufacturer and electric company bring facility, by the extensive favorable comment of user.

Description

A kind of carrier wave integrates the message processing method of copy controller

Technical field

The present invention relates to a kind of message processing method, specially a kind of carrier wave integrates the message processing method of copy controller, category In electric power network technique field.

Background technology

As the technologies such as communication, computer, automation obtain application extensively and profoundly in power network, and with conventional electric power skill Art organically blends, and greatly improves the intelligent level of power network, and copy controller is as a kind of measurement instrument, and intelligence degree is high, Utilization rate to improving power resource, reduces electric energy use cost, improves service quality, the development of stable power network, serves non- Often important effect, used copy controller is the protocol forward device with two COM1s at present, and a port passes through Power line communication or wireless communication connection are to ammeter, and another port is connected to palm machine by RS232, can realized by copy controller Ammeter is made a copy of in the message monitoring of carrier wave and progress on power line, and currently used message processing method is entered from inbound port Message distribute to multiple passages, each channel parallel processing message, then again by message according to the order of entry port through going out Port is sent, and has a strong impact on the performance of the network equipment, the problem of causing packet out-ordering, while also resulting in the time of message carrying Stamp is inaccurate, so that the synchronization of the network equipment can not be realized, while can not analyze the signal spectrum on power line, makes electricity The collection imperfection of energy information.

The content of the invention

The purpose of the present invention, which is that, provides the Message processing that a kind of carrier wave integrates copy controller in order to solve the above problems Method.

The present invention is achieved through the following technical solutions above-mentioned purpose:A kind of carrier wave integrates the Message processing side of copy controller Method, including

Serial communication realizes the parameter configuration and transmission-receiving function of submodule, serial ports 1 and serial ports 2, and serial ports 1 is realized with user's Interaction, serial ports 2 is responsible for being communicated with power carrier chip;

LCD display sub-modules, realize the display operation of the control to LCD, including point, line and character etc.;

Flash sub-module storeds, are written and read and clash operation to Flash;

Button operation submodule, operation is written and read to I/O mouthfuls, judges the input state of button;

Submodule is realized in AD samplings, A/D samplings is carried out to the carrier signal on power line, at the data after sampling Reason, and show frequency-domain waveform after sampling;

Application program submodule, is handled message, is parsed according to electric power rule schemata, makes a copy of positive active electricity Energy.

Further, the application program submodule includes MCU main control modules, driving interface and MCU module hardware.

A kind of carrier wave integrates the message processing method of copy controller, it is characterised in that:The message processing method includes as follows Step:

The AC220 power lines carried on step A, copy controller are equipped with plug and crocodile clip, be able to will be copied according to field condition The power grid environment of device access carrier application is controlled, carrier commands and monitoring carrier wave data are sent if necessary by computer, can be by RS232 lines access the serial ports of computer, open the AccessPort softwares such as Solarnumen Comdebug, have configured serial ports parameter, then opened The ship type power switch on copy controller head, you can start working;

Step B, copy controller are after start completion, no matter under that interface, can according to live brightness needs, by by Move to left " < " key and move to right " > " key and screen intensity is adjusted;

Step C, on establish by cable after machine, initially enter starting-up interface, display device title " copy controller " and " Xin Kaipu electronics shares Part Co., Ltd ", enters interface of main menu after stopping several seconds, user can press correspondence before function items in interface of main menu Numeral, select different functions;

Step D, up RS232 interfaces UART1 are connected by upstream plants such as DB9 connectors and PCs, The upper runs softwares of STM32103VE, and then for controlling other modular units;

After step E, MCU main control module brings into operation, system clock initialization, hardware initialization and configuration flash are carried out, And selected task is handled by the judgement of button;

To up RS232 serial ports, (DB9 interfaces can connect the data transparent transmission received on step F, power line carrier module The RS232 interfaces of PC), uplink serial mouthful receives data transparent transmission to power line carrier module.

It is preferred that, the messaging parameters such as baud rate, verification mode are set in the step A.

It is preferred that, the carrier wave in the step A shows the carrier signal on power line in frequency spectrum mode.

It is preferred that, carrier meter reading can be carried out to the data item of designated carrier electric energy meter and inquiry is stored in the step E Carrier data in a device.

It is preferred that, the transparent two-way biography of RS232 serial ports data and power line carrier data is realized in the step F.

The beneficial effects of the invention are as follows:The message processing method that the carrier wave integrates copy controller is reasonable in design, is mainly used in The Message processing of electric line carrier communication occasion, field adjustable, malfunction elimination etc., it can effectively gather logical using the processing method Letter data, accurately analysis carrier signal, rapidly positioning failure cause, operating efficiency is greatly improved, be acquiring electric energy information system Debugging, the treated as mandatory method safeguarded, the carrier wave debugging efforts to each equipment manufacturer and electric company bring facility, by with The extensive favorable comment in family.

Brief description of the drawings

Fig. 1 is infrastructure software principle schematic of the present invention;

Fig. 2 is structure copy controller hardware composition schematic diagram of the present invention;

Fig. 3 is structure main program flow schematic diagram of the present invention.

Embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.

Fig. 1~3 are referred to, a kind of carrier wave integrates the message processing method of copy controller, including

Serial communication realizes the parameter configuration and transmission-receiving function of submodule, serial ports 1 and serial ports 2, and serial ports 1 is realized with user's Interaction, serial ports 2 is responsible for being communicated with power carrier chip;

LCD display sub-modules, realize the display operation of the control to LCD, including point, line and character etc.;

Flash sub-module storeds, are written and read and clash operation to Flash;

Button operation submodule, operation is written and read to I/O mouthfuls, judges the input state of button;

Submodule is realized in AD samplings, A/D samplings is carried out to the carrier signal on power line, at the data after sampling Reason, and show frequency-domain waveform after sampling;

Application program submodule, is handled message, is parsed according to electric power rule schemata, makes a copy of positive active electricity Energy.

Further, the application program submodule includes MCU main control modules, driving interface and MCU module hardware.

A kind of carrier wave integrates the message processing method of copy controller, and the message processing method comprises the following steps:

The AC220 power lines carried on step A, copy controller are equipped with plug and crocodile clip, be able to will be copied according to field condition The power grid environment of device access carrier application is controlled, carrier commands and monitoring carrier wave data are sent if necessary by computer, can be by RS232 lines access the serial ports of computer, open the AccessPort softwares such as Solarnumen Comdebug, have configured serial ports parameter, then opened The ship type power switch on copy controller head, you can start working;

Step B, copy controller are after start completion, no matter under that interface, can according to live brightness needs, by by Move to left " < " key and move to right " > " key and screen intensity is adjusted;

Step C, on establish by cable after machine, initially enter starting-up interface, display device title " copy controller " and " Xin Kaipu electronics shares Part Co., Ltd ", enters interface of main menu after stopping several seconds, user can press correspondence before function items in interface of main menu Numeral, select different functions;

Step D, up RS232 interfaces UART1 are connected by upstream plants such as DB9 connectors and PCs, The upper runs softwares of STM32103VE, and then for controlling other modular units;

After step E, MCU main control module brings into operation, system clock initialization, hardware initialization and configuration flash are carried out, And selected task is handled by the judgement of button;

To up RS232 serial ports, (DB9 interfaces can connect the data transparent transmission received on step F, power line carrier module The RS232 interfaces of PC), uplink serial mouthful receives data transparent transmission to power line carrier module.

In the step A, set in the messaging parameters such as baud rate, verification mode, the step A, carrier wave is in frequency spectrum mode Show the carrier signal on power line, in the step E, the data item of designated carrier electric energy meter can be carried out carrier meter reading and In the carrier data of inquiry storage in a device, the step F, RS232 serial ports data and power line carrier data are realized Transparent two-way biography.

The message processing method has merged palm machine and copy controller function, can realize the transmitting-receiving of low voltage power line carrier data And monitoring, by the input through keyboard table address in copy controller, the real time data of carrier electric energy meter can be made a copy of and show, while energy It is enough that simple analysis is done to the signal spectrum on power line, realize on power line carrier wave message monitoring and make a copy of ammeter function, be electricity The debugging of energy information acquisition system, the treated as mandatory method safeguarded, to each equipment manufacturer and the carrier wave debugging efforts band of electric company Facility is carried out.

It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.

Moreover, it will be appreciated that although the present specification is described in terms of embodiments, not each embodiment is only wrapped Containing an independent technical scheme, this narrating mode of specification is only that for clarity, those skilled in the art should Using specification as an entirety, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art It may be appreciated other embodiment.

Claims (7)

1. a kind of carrier wave integrates the message processing method of copy controller, it is characterised in that:Including
Serial communication realizes the parameter configuration and transmission-receiving function of submodule, serial ports 1 and serial ports 2, and serial ports 1 realizes the friendship with user Mutually, serial ports 2 is responsible for being communicated with power carrier chip;
LCD display sub-modules, realize the control to LCD, include the display operation of point, line and character;
Flash sub-module storeds, are written and read and clash operation to Flash;
Button operation submodule, operation is written and read to I/O mouthfuls, judges the input state of button;
Submodule is realized in AD samplings, carries out A/D samplings to the carrier signal on power line, the data after sampling are handled, And show frequency-domain waveform after sampling;
Application program submodule, is handled message, is parsed according to electric power rule schemata, makes a copy of positive active energy.
2. a kind of carrier wave according to claim 1 integrates the message processing method of copy controller, it is characterised in that:The application Program submodule includes MCU main control modules, driving interface and MCU module hardware.
3. a kind of carrier wave according to claim 1 or 2 integrates the message processing method of copy controller, it is characterised in that:It is described Message processing method comprises the following steps:
The AC220 power lines carried on step A, copy controller are equipped with plug and crocodile clip, can be according to field condition, by copy controller The power grid environment of access carrier application, carrier commands and monitoring carrier wave data are sent if necessary by computer, can be by RS232 lines The serial ports of computer is accessed, the AccessPort softwares such as Solarnumen Comdebug is opened, has configured serial ports parameter, copy controller head is then opened The ship type power switch in portion, you can start working;
Step B, copy controller are after start completion, no matter under that interface, can be according to live brightness needs, by by moving to left " < " key and move to right " > " key screen intensity is adjusted;
Step C, on establish by cable after machine, initially enter starting-up interface, display device title " copy controller " and " Xin Kaipu electronics shares have Limit company ", enters interface of main menu, user can press corresponding number before function items in interface of main menu after stopping several seconds Word, selects different functions;
Step D, up RS232 interfaces UART1 are connected by upstream plants such as DB9 connectors and PCs, on STM32103VE Runs software, and then for controlling other modular units;
After step E, MCU main control module brings into operation, system clock initialization, hardware initialization and configuration flash are carried out, and lead to The judgement for crossing button is handled selected task;
The data transparent transmission received on step F, power line carrier module is to up RS232 serial ports, and uplink serial mouthful is received Data transparent transmission is in power line carrier module.
4. a kind of carrier wave according to claim 3 integrates the message processing method of copy controller, it is characterised in that:The step Baud rate, verification mode messaging parameter are set in A.
5. a kind of carrier wave according to claim 3 integrates the message processing method of copy controller, it is characterised in that:The step Carrier wave in A shows the carrier signal on power line in frequency spectrum mode.
6. a kind of carrier wave according to claim 3 integrates the message processing method of copy controller, it is characterised in that:The step The carrier data of carrier meter reading and inquiry storage in a device can be carried out in E to the data item of designated carrier electric energy meter.
7. a kind of carrier wave according to claim 3 integrates the message processing method of copy controller, it is characterised in that:The step The transparent two-way biography of RS232 serial ports data and power line carrier data is realized in F.
CN201710257061.XA 2017-04-19 2017-04-19 A kind of carrier wave integrates the message processing method of copy controller CN107103743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710257061.XA CN107103743A (en) 2017-04-19 2017-04-19 A kind of carrier wave integrates the message processing method of copy controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710257061.XA CN107103743A (en) 2017-04-19 2017-04-19 A kind of carrier wave integrates the message processing method of copy controller

Publications (1)

Publication Number Publication Date
CN107103743A true CN107103743A (en) 2017-08-29

Family

ID=59656960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710257061.XA CN107103743A (en) 2017-04-19 2017-04-19 A kind of carrier wave integrates the message processing method of copy controller

Country Status (1)

Country Link
CN (1) CN107103743A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202602630U (en) * 2012-03-26 2012-12-12 河南省电力公司济源供电公司 Portable collector fault detection tool
CN204332060U (en) * 2014-12-03 2015-05-13 国网河南省电力公司洛阳供电公司 Universal electric power copies control device
CN204833685U (en) * 2015-08-13 2015-12-02 国网冀北电力有限公司张家口供电公司 Copy accuse ware based on on --spot fortune dimension of PAD
CN205230307U (en) * 2015-09-18 2016-05-11 嘉兴职业技术学院 General accuse ware of copying of smart electric meter
CN205680272U (en) * 2016-06-20 2016-11-09 北京智芯微电子科技有限公司 A kind of intelligent copy controller supporting multi-mode communication to safeguard and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202602630U (en) * 2012-03-26 2012-12-12 河南省电力公司济源供电公司 Portable collector fault detection tool
CN204332060U (en) * 2014-12-03 2015-05-13 国网河南省电力公司洛阳供电公司 Universal electric power copies control device
CN204833685U (en) * 2015-08-13 2015-12-02 国网冀北电力有限公司张家口供电公司 Copy accuse ware based on on --spot fortune dimension of PAD
CN205230307U (en) * 2015-09-18 2016-05-11 嘉兴职业技术学院 General accuse ware of copying of smart electric meter
CN205680272U (en) * 2016-06-20 2016-11-09 北京智芯微电子科技有限公司 A kind of intelligent copy controller supporting multi-mode communication to safeguard and system

Similar Documents

Publication Publication Date Title
CN203894351U (en) Hand-held relay protection testing device for intelligent transformer station
WO2014015573A1 (en) Wireless automation test apparatus and method for mobile device
CN101458528B (en) On-line fault detection system based on CAN bus
CN101893662B (en) Nuclear phase method for digital transformer substation
CN103812726A (en) Automated testing method and device for data communication equipment
CN102752150B (en) Distributed communication equipment capable of providing remote board card debugging and remote board card debugging method
CN101577698B (en) System with external intelligent management server and method for monitoring server and processing commands
CN102169158B (en) Steady state oscillograph for power system
WO2015154527A1 (en) Automatic interlocking logic detection method based on goose communication mechanism
CN102096399A (en) Embedded energy data acquisition unit
CN104820637B (en) A kind of hand-held USB3.0 protocol analyzers
CN101546472B (en) Implement method of integrated universal simulation test system for electric network scheduling and electric quantity collection
CN102520715A (en) Universal satellite ground overall control test system
CN101621430A (en) Portable electric power communication protocol detector and detection method thereof
CN101447698A (en) Centralized type wave recording system of digital transformer substation
CN103345798B (en) A kind of high speed detects the system of flaky material in real time
CN203118326U (en) A teaching practical training integrated platform device based on an internet of things
CN105785837B (en) A kind of energy monitoring control device and method based on embedded system
CN105306156A (en) Remote sensing satellite data transmission product automatic testing system and method
CN103761185B (en) A kind of automatization test system and method
CN105842572B (en) A kind of portable general comprehensive detector
CN202218068U (en) MU emulator used for detection of smart substation
CN103592907B (en) A kind of Ethernet Data Acquisition System
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
EP3525094A1 (en) Running method for embedded type virtual device and system

Legal Events

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

Application publication date: 20170829