CN105959288A - Network protocol conversion method for power grid system and intercommunication method of power grid system - Google Patents
Network protocol conversion method for power grid system and intercommunication method of power grid system Download PDFInfo
- Publication number
- CN105959288A CN105959288A CN201610359193.9A CN201610359193A CN105959288A CN 105959288 A CN105959288 A CN 105959288A CN 201610359193 A CN201610359193 A CN 201610359193A CN 105959288 A CN105959288 A CN 105959288A
- Authority
- CN
- China
- Prior art keywords
- module
- data
- microcontroller
- message
- dma
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network protocol conversion method for a power grid system and an intercommunication method of the power grid system. According to the network protocol conversion method, connection with a host computer operating a virtualization concentrator is carried out through an Ethernet interface of the Ethernet network, an Ethernet meter reading message issued by the virtualization concentrator is received and processed, a DL645 protocol message is sent out through a 485 bus; the DL645 protocol message is sent back according to an Ethernet meter reading protocol. The power grid system comprises a main node and multiple sub nodes, the main node and the sub nodes are in interaction connection through electric lines, the main node is in interaction connection with a host computer application platform terminal through an RS232 interface, and the multiple sub nodes are in interaction connection with the field application equipment through an RS485 interface. According to the network protocol conversion method and the intercommunication method, disadvantages in the prior art are solved, the data transceiving speed of each node of the power grid system is improved, transmission timeliness of a data message during PLC networking is guaranteed, and a PLC networking application is made to be more flexible and reliable.
Description
Technical field
The invention belongs to electric power network technical field, the conversion of the procotol that is specifically related in a kind of electric power network system and
Its mutual means of communication.
Background technology
Along with the progress of science and technology, the construction of electric power network the most comprehensively launches, and power system telecommunications technology
It it is the key of electric power network application.Power line carrier communication mode is because it is with power line network as transmission medium, and having passage can
The advantages such as, survivability strong, small investment high by property, play irreplaceable effect in electric power network construction.Along with country
Building strong electric power network and the proposition of electric power Internet of Things concept, present modulates based on FSK and PSK and S-FSK
The low speed carrier wave of pattern cannot meet the requirement utilizing carrier wave to carry out large-scale network-estabilishing and high speed transmission data.Therefore, based on
The high speed power line ZAP of OFDM technology is rapidly developed, OFDM power line carrier technology have antidamping ability strong,
The advantages such as frequency efficiency is high, anti-ISI ability is strong, the associated specifications being currently based on the formulation of this technology has realized height
Message transmission rate in 100kbps.
But, along with being substantially improved of power line carrier speed, some coordinate the technical disadvantages that low speed carrier wave uses before
The most gradually coming out, its subject matter has:
1, during low speed carrier-wave transmission data, Carrier Node module transceiving data typically uses serial ports to interrupt by byte mode, timeliness
The highest, time delay is the biggest.The speed transmitted on electric lines of force due to data is the lowest, the time delay of data transmit-receive relative to data at electricity
It not it is obvious that the application general logarithm before Tong Shi requires it is not the most very according to transmission speed for the time of transmission in the line of force
Height, the most this technical disadvantages is little on carrier wave use impact in the application.However as the development of power line carrier technology,
The speed of carrier-wave transmission data is substantially improved, and its application scenario the most constantly expands, the related application requirement to data transmission bauds
More and more tighter.If Carrier Node is also according to mode transceiving data before, frame data are when node receives the stage
Between time delay will exceed its actual transmissions time on electric lines of force, the popularization seriously hindering high speed power line ZAP makes
With.
2, Carrier Node module is when receiving application layer protocol frame, is typically all and forwards after harvesting a whole frame again
Operation.This is little on the impact of message transmissions speed when application layer protocol frame message length is shorter, but when application layer protocol report
When literary composition length is longer, after node etc. all receives, due to carrier frame length limitation to transmission on electric lines of force, segmentation is also needed to pass
Defeated, the feature that after this reception, re-segmenting sends makes the highest ageing carrier communication speed slower.
3, typically utilizing in the application that PLC network organizing carries out data transmission, application protocol compares fixed single, not
Flexibly.When in networking, the application protocol of transmission changes, in network, each node needs again programming code to support newly
The parsing of application protocol.
And metering automation ammeter data copies traditional solution party that collection operation system is used in the middle of the electrical network currently run
In the middle of case, main flow is to use what pure 485 means of communications realized ammeter data to copy collection.For adapt to long-range data transmission requirement with
And the accuracy of data, implement the most at the scene 1200 such low rates only to be used to realize ammeter collection when of installation
Copying, add that 485 buses can only support the communication modes of question-response, the efficiency causing metering automation electric meters collecting business is low
Under.
In order to support concentrator virtualization solution newly developed, means of communication mainly uses ether mode to realize communication
And networking, in order to complete the conversion to standard 485 agreement (DL645) of the ether electric meters collecting agreement, and then need exploitation one
Novel ammeter front end units, exists as primary communications networking node, is connected on one or several ammeter, uses at a high speed
Rate carries out communication.
Summary of the invention
Goal of the invention: the invention aims to solve deficiency of the prior art, it is provided that a kind of electricity based on DMA
Network system and the means of communication thereof.Procotol conversion method, this power line network system and the means of communication thereof can solve the problem that existing
There is the deficiency in technology, improve the speed of power line network system each node transceiving data, it is ensured that data message in PLC networking
Transmit is ageing, makes PLC networking application more flexibly, reliably.
Technical scheme: the procotol conversion method in a kind of electric power network system of the present invention, including walking as follows
Rapid:
(1) coupled with the main frame running virtualization concentrator through Ethernet by ether interface, after device power actively with
Set up between main frame and maintain the long interface channel of TCP, waiting the ether that sends over from main frame to be received to check meter the message of agreement;
(2) receive and process the ether sent from virtual concentrator and check meter message, explaining the implication that its message is corresponding, launch
Parameter also becomes the message of DL645 stipulations by comparison protocol conversion;
(3) message of DL645 stipulations is sent by 485 buses, it is achieved and the communication of question-response mode between ammeter;
Monitor the response of ammeter in 485 buses after sending message, calculate response timeout simultaneously;
(4) receive after the DL645 message that ammeter is beamed back, by parametric evolving in the middle of it and extract, copy according to ether
Table agreement assembles, by being sent back to the main frame long interface channel of joining TCP of virtualization concentrator;
(5) CONFIG.SYS is generated by Ethernet interface: communication main station will be connected to by the form of embedded Web and set
The XML literary composition that the information such as standby each the communication device numbering of slave station equipment, device address, protocol type are written in system
In part, thus generate a CONFIG.SYS;
(6) a communication slave station equipment information table, described communication slave station equipment information table are built according to the configuration file of step (5)
It is chained list or the array of a structure type, each nodes records of this chained list or array one communication slave station equipment
Relevant information, these information include communicate slave station equipment connected RS485 port, communication slave station equipment type, communication from
The device number of the used agreement of station equipment and the slave station equipment that communicates;
(7) 485 interfaces and TCP network are initialized respectively according to the configuration file of step (5);
(8) according to the communication of step (6) from facility information table, by each slave station in 485 bus timing poll 485 buses
Equipment, and to receive protocol data resolve, the data finally parsing obtained with certain XM form in the form of text,
It is packaged into TCP/IP packet and carries out teletransmission, thus realize the multi-protocols in 485 buses and between TCP procotol
Conversion.
Further:
1) in the middle of whole protocol translation and communication process, the sequence number of the response message of main frame is sent back, it should issue with main frame
The sequence number of order of checking meter is identical;
2) a plurality of order of checking meter being simultaneously sent on protocol conversion device, queues up according to the precedence arrived, the most successively
Process;
3) two-forty of 115200 is used to carry out communication.
Further, this electric power network system includes:
DP83848 mixed-media network modules mixed-media, is used for connecting Ethernet, carries out packet message exchange process process, receives and send ether
Network data;
Instruction queue module, for after receiving a plurality of meter reading instruction that virtual concentrator issues, uses the mode of first in first out
Queuing up, waiting processes the when of the equipment free time the most one by one;
DL645 decodes modular converter, for protocol command of being checked meter by the ether that virtual concentrator sends over, translates into 485 electricity
The DL645 protocol massages that table can receive and process;
Data decoding packetization module, for resolving what 485 ammeters returned, by the message content of DL645 protocol encapsulation, from
In extract data packed according to ether protocol format of checking meter;
485 responses accept module, receive the response data from ammeter, in strict accordance with question-response for controlling 485 buses
Interactive mode controls to receive flow performing;
485 modules SP3485, are used for controlling to connect 485 buses, and a holding equipment transmits data in 485 buses, and
Monitor the miscellaneous equipment in 485 buses and send request, from 485 buses, receive data;
CPU chip, for controlling the overall operation of whole equipment, performs complex mathematical calculating process;
Described each module is connected by system bus respectively, the described external Ethernet of DP83848 mixed-media network modules mixed-media, 485 modules
External 485 ammeters of SP3485;The logic that described conversion equipment signal transmits is to sequentially pass through described DP83848 net
Network module, instruction queue module, DL645 decoding modular converter, data decoding packetization module, 485 responses accept module and
485 modules SP3485.
Further, described equipment one end is by main with concentrator virtualization in the middle of Ethernet interface access network based on ethernet
Machine is attached, and uplink port ether mode realizes the connection between concentrator virtualized host, and communications protocol uses specially
The senior metering agreement of door customization, it is achieved multi-thread concurrent is checked meter;The other end of equipment then has 485 interfaces, by 485
Bus couples one or several ammeter.
The invention also discloses the mutual means of communication in a kind of electric power network system, comprise the steps:
(1) electric network system initialization, to host node, child node and each the on-the-spot application apparatus under being connected to child node
Parameter configures, and DMA transmitting-receiving length d of relief area, down trigger conditions and data message fragment are limited length L and carried out
Arrange;
In system initialisation phase, the parameter of configuration is needed to include protocol type, host node address, child node address and be connected to
The address of each on-the-spot application apparatus under child node;
(2) DMA data transmission technology transceiving data is used, and according to the down trigger condition of DMA transmitting-receiving relief area, will
Digital independent in DMA buffer area is pending to fixing reception data buffer area;
The down trigger condition of described DMA transmitting-receiving relief area includes two, and the first down trigger condition is: when receiving data
When a length of DMA receives and dispatches the half of buffer length d, trigger and interrupt;Second down trigger condition is: when receiving data length etc.
When DMA receives and dispatches buffer length d, trigger and interrupt;
When meeting the first down trigger condition, the beginning that a frame message receives in this way, microcontroller is first at the beginning of according to system
Protocol type defined in beginningization configuration file, obtains the device address in message;Further according to device address and configuration file
In mapping ruler, get the address of corresponding purpose child node;
(3) magnitude relationship between data message length L1 of length L and transmission is limited according to data message segmentation, to DMA
The data of transmitting-receiving relief area transmitting-receiving carry out judgement process;
(4) according to judging result, forwarding data, detailed process is: if data message length L1 of transmission is more than
Data message segmentation limits length L, then when the data length accumulation of DMA transmitting-receiving relief area reaches segmentation restriction length L,
DMA transmitting-receiving relief area continues to remaining data;Meanwhile, DMA is received and dispatched in relief area and connects by microcontroller
The data receiving a length of L are packaged into carrier data bag, are sent to the child node of correspondence;
If data message length L1 of transmission limits length L less than or equal to data message segmentation, then receive when a frame data transmitting-receiving
After, DMA is received and dispatched the data in relief area and is packaged into carrier data bag, be sent to the child node of correspondence.
Further, described DMA transmitting-receiving buffer length d is 20 bytes~30 bytes.
Further, this electric power network system includes host node and several child nodes, described host node and each height
Connected alternately by electric lines of force between node;Described host node is handed over host computer application platform terminal by RS232 interface
Connect;Several described child nodes are connected with on-the-spot application apparatus alternately by RS485 interface respectively;
Described host node includes the first microcontroller, first carrier circuit module, the first coupling circuit module, the first power supply pipe
Reason module and the first reiving/transmitting state display module;Described first carrier circuit module passes through the first of the first microcontroller
UART interface and the first microcontroller connect alternately;The first described coupling circuit module is mutual with first carrier circuit module
Connect;The outfan of the first described power management module respectively with the power supply signal input of the first microcontroller, first carry
The power supply signal input of wave circuit module is connected;The first described reiving/transmitting state indicating module and the first microcontroller defeated
Go out end to be connected;2nd UART interface of the first described microcontroller is by RS232 interface and host computer application platform terminal
Mutual connection;
Described child node includes the second microcontroller, the second carrier circuit module, the second coupling circuit module, second source pipe
Reason module and the second reiving/transmitting state display module;The second described carrier circuit module passes through the first of the second microcontroller
UART interface and the second microcontroller connect alternately;The second described coupling circuit module and the second carrier circuit module are mutual
Connect;The outfan of described second source management module respectively with the power supply signal input of the second microcontroller, second carry
The power supply signal input of wave circuit module is connected;The second described reiving/transmitting state indicating module and the output of the second microcontroller
End is connected;3rd UART interface of the second described microcontroller is connected with on-the-spot application apparatus alternately by RS485 interface
Connect.
Further, described host node also includes the first watchdog module, the first passive crystal oscillator module, the first clock mould
Block, the first LCD MODULE and the first keyboard input module;Described the first watchdog module, the first passive crystal oscillator module with
And first the outfan input with the first microcontroller respectively of keyboard input module be connected;The first described clock module with
First microcontroller connects alternately;The input of the first described LCD MODULE and the outfan phase of the first microcontroller
Even;
Described child node also includes the second watchdog module, the second passive crystal oscillator module, second clock module, the second liquid crystal
Show module and the second keyboard input module;Described the second watchdog module, the second passive crystal oscillator module and the second button are defeated
Enter the outfan of the module input respectively with the second microcontroller to be connected;Described second clock module and the second microcontroller
Mutual connection;The input of the second described LCD MODULE and the outfan of the second microcontroller are connected.
Further, the first described microcontroller and the second microcontroller all use STM32F107VC processor;Institute
First carrier circuit module and the second carrier circuit module stated all use MAX2992 carrier chip.
Beneficial effect: the invention have the benefit that
1, the present invention all uses based on DMA mode transceiving data in each node of power line network system, by effectively
DMA buffer storage length and down trigger condition are set, receive data at DMA caching and be 0.5 DMA buffer storage length and 1 DMA delays
Triggering interruption when depositing length respectively allows microcontroller read data.Thus it is effectively increased each node of power line network system
The speed of transceiving data, it is ensured that in PLC networking, data-message transmission is ageing.
2, in the reception forwarding process of power line network system host node, utilize DMA to receive data and do without MCU
The characteristic related to, carries out subsection receiing transmission to long message.After so all finishing receiving without waiting for long message, framing is carried out again
Send, not only can realize power line network system node and the synchronization of long message is received and dispatched, when reducing message process in node
Between, moreover it is possible to improve message transmission speed in PLC network, the range of application of effective expansion technique of PLC networking.
3, the present invention uses configuration parameter mode, supports multi-protocols transmission in power line network system.Network system
In host node utilize configuration parameter to set up the protocol devices address mapping relations to place child node.Host node receives upper
After the agreement that machine application platform sends, according to configuration parameter and mapping relations, obtain protocol massages and receive the son joint that equipment is corresponding
Dot address, it is not necessary to analytic message, is transmitted directly to this child node.Thus add the motility of PLC networking application, reliability,
Also effectively reduce the investment of application system simultaneously, there is obvious economic benefit.
Accompanying drawing explanation
Fig. 1 is protocol conversion device composition and the annexation schematic diagram of the present invention;
Fig. 2 is power line network system structure schematic diagram in the present invention;
Fig. 3 is the hardware architecture diagram of host node in the present invention;
Fig. 4 is the hardware architecture diagram of child nodes of the present invention;
Fig. 5 is transceiving data algorithm flow chart based on DMA in the present invention;
Fig. 6 is process data algorithm flow chart based on DMA in the present invention;
Fig. 7 is forwarding data algorithm flow chart based on DMA in the present invention;
Fig. 8 is inventive network system multi-protocols address mapping table.
Detailed description of the invention
As shown in Fig. 1, the equipment 11 for procotol conversion of the present invention, including DP83848 mixed-media network modules mixed-media
1, this module is used for connecting Ethernet, carries out packet message exchange process process, receives and send Ethernet data;Refer to
Make Queue module 2, after receiving a plurality of meter reading instruction that virtual concentrator issues, use the mode of first in first out to queue up, waiting
Equipment processes the when of the free time the most one by one;DL645 decodes modular converter 3, for virtual concentrator is sended over
Check meter very much protocol command, translate into the DL645 protocol massages that 485 ammeters can receive and process;Data decoding packing mould
Block 4, for resolve 485 ammeters return, by the message content of DL645 protocol encapsulation, therefrom extract data and according to
Protocol format of checking meter very much is packed;485 responses accept module 5, receive the response data from ammeter for controlling 485 buses,
Control to receive flow performing in strict accordance with the interactive mode of question-response;SP3485 module 6, is used for controlling to connect 485 total
Line, a holding equipment transmits data in 485 buses, and monitors the miscellaneous equipment transmission request in 485 buses, from 485
Data are received in bus;CPU chip 7, for controlling the overall operation of whole equipment, performs complex mathematical calculating process;Respectively
Module is connected by system bus 8 respectively.
The DP83848 mixed-media network modules mixed-media 1 of this equipment 11 is by the external Ethernet of ether port 9, in the middle of last access network based on ethernet
Being attached with concentrator virtualized host, uplink port ether mode realizes the company between concentrator virtualized host
Connecing, communications protocol uses the senior metering agreement of custom-made, can realize multi-thread concurrent and check meter;485 modules of equipment are led to
Cross 485 bus ports 10 external one or several 485 ammeters.
The signal of equipment transmit logic be sequentially pass through DP83848 mixed-media network modules mixed-media, instruction queue module, DL645 translate
Code modular converter, data decoding packetization module, 485 responses accept module and 485 modules SP3485.
Equipment major function has been to check meter to 485 the conversion of agreement, as crucial networking even from ether agreement of checking meter
Connect node, it is achieved be connected (closely) and communication with the two-forty between or several ammeter.
The said equipment is used to realize the ether electric meters collecting agreement method to standard 485 protocol conversion, including following step
Rapid:
(1) coupled with the main frame running virtualization concentrator through Ethernet by ether interface, after device power actively with
Set up between main frame and maintain the long interface channel of TCP, waiting the ether that sends over from main frame to be received to check meter the message of agreement
;
(2) receive and process the ether sent from virtual concentrator and check meter message, explaining the implication that its message is corresponding, launch
Parameter also becomes the message of DL645 stipulations by comparison protocol conversion;
(3) message of DL645 stipulations is sent by 485 buses, it is achieved and the communication of question-response mode between ammeter;
Monitor the response of ammeter in 485 buses after sending message, calculate response timeout simultaneously;
(4) receive after the DL645 message that ammeter is beamed back, by parametric evolving in the middle of it and extract, copy according to ether
Table agreement assembles, by being sent back to the main frame long interface channel of joining TCP of virtualization concentrator;
(5) CONFIG.SYS is generated by Ethernet interface: communication main station will be connected to by the form of embedded Web and set
The XML literary composition that the information such as standby each the communication device numbering of slave station equipment, device address, protocol type are written in system
In part, thus generate a CONFIG.SYS;
(6) a communication slave station equipment information table, described communication slave station equipment information table are built according to the configuration file of step (5)
It is chained list or the array of a structure type, each nodes records of this chained list or array one communication slave station equipment
Relevant information, these information include communicate slave station equipment connected RS485 port, communication slave station equipment type, communication from
The device number of the used agreement of station equipment and the slave station equipment that communicates;
(7) 485 interfaces and TCP network are initialized respectively according to the configuration file of step (5);
(8) according to the communication of step (6) from facility information table, by each slave station in 485 bus timing poll 485 buses
Equipment, and to receive protocol data resolve, the data finally parsing obtained with certain XM form in the form of text,
It is packaged into TCP/IP packet and carries out teletransmission, thus realize the multi-protocols in 485 buses and between TCP procotol
Conversion.
Whole protocol interaction and transformation process to be accomplished:
1, it should be noted that the sequence number of its message response in the middle of whole protocol translation and communication process, the response message of main frame is sent back
Sequence number, it should the sequence number issuing order of checking meter with main frame is identical;
2, a plurality of order of checking meter being simultaneously sent on protocol conversion device, it will by protocol conversion device according to the priority arrived
Order is queued up, and processes the most successively;
3, owing to being designed to Near Field Communication between 485 buses and ammeter, it is possible to use more real than 1200 higher communication speeds
Data exchange now and between ammeter, uses the two-forty of 115200 to carry out communication and (can be supported according to actual ammeter
Two-forty is adjusted).
A kind of based on DMA network system as shown in Figure 2, including host node and several child nodes, described master
It is connected alternately by electric lines of force between node with each child node.Described host node should with host computer by RS232 interface
Connect alternately with platform terminal.Several described child nodes are connected with on-the-spot application apparatus alternately by RS485 interface respectively.
The PLC network that this system is consisted of electric lines of force a host node and several child nodes, each child node passes through RS485
Bus connects on-the-spot application apparatus.As long as in RS485 bus driver limit of power, each child node can connect varying number
On-the-spot application apparatus, each on-the-spot application apparatus has a unique device address.In this power line network system, main
Node and each child node all have the most unique short address, are used for identifying respective identity.The short address of each child node
It is that host node distributes according to configuration parameter when netinit.In the building process of this power line network system, main joint
Point sets up the device address under each child node and the mapping relations between corresponding child node address according to configuration parameter;With this
Meanwhile, the network short address being assigned to also is arranged in respective carrier circuit module by each child node.When this power line network
After the success of network system buildup, host computer application platform can send corresponding agreement report by the protocol type that configuration parameter is arranged
Literary composition, it is achieved and the data communication of each equipment under each child node in network.
As it is shown on figure 3, host node include the first microcontroller, first carrier circuit module, first coupling circuit module,
First power management module and the first reiving/transmitting state display module.Described first carrier circuit module passes through the first microcontroller
Oneth UART interface of device and the first microcontroller connect alternately.The first described coupling circuit module and first carrier circuit
Module connects alternately.The outfan of the first described power management module inputs with the power supply signal of the first microcontroller respectively
End, the power supply signal input of first carrier circuit module are connected.The first described reiving/transmitting state indicating module and the first micro-control
The outfan of device processed is connected.Second UART interface of the first described microcontroller is applied with host computer by RS232 interface
Platform terminal connects alternately.First reiving/transmitting state indicating module is made up of a series of light emitting diode, LED flash
The port representing corresponding has data to transmit.
As described in Figure 4, child node include the second microcontroller, the second carrier circuit module, second coupling circuit module,
Second source management module and the second reiving/transmitting state display module.The second described carrier circuit module passes through the second microcontroller
Oneth UART interface of device and the second microcontroller connect alternately.The second described coupling circuit module and the second carrier circuit
Module connects alternately.The outfan of described second source management module power supply signal with the second microcontroller respectively inputs
End, the power supply signal input of the second carrier circuit module are connected.The second described reiving/transmitting state indicating module and the second micro-control
The outfan of device processed is connected.3rd UART interface of the second described microcontroller is by RS485 interface and on-the-spot application
Equipment connects alternately.Second reiving/transmitting state indicating module is made up of a series of light emitting diode, and LED flash represents
Corresponding port has data to transmit.
Further, described host node also includes the first watchdog module, the first passive crystal oscillator module, the first clock mould
Block, the first LCD MODULE and the first keyboard input module.Described the first watchdog module, the first passive crystal oscillator module with
And first the outfan input with the first microcontroller respectively of keyboard input module be connected.The first described clock module with
First microcontroller connects alternately.The input of the first described LCD MODULE and the outfan phase of the first microcontroller
Even.First LCD MODULE and the first keyboard input module realize the display of major parameter when host node runs.
Described child node also includes the second watchdog module, the second passive crystal oscillator module, second clock module, the second liquid
Brilliant display module and the second keyboard input module.Described the second watchdog module, the second passive crystal oscillator module and second are pressed
The outfan of key input module input with the second microcontroller respectively is connected.Described second clock module and the second micro-control
Device processed connects alternately.The input of the second described LCD MODULE and the outfan of the second microcontroller are connected.Second liquid
Brilliant display module and the second keyboard input module realize the display of major parameter when child node is run.
Further, the first described microcontroller and the second microcontroller all use STM32F107VC processor.Institute
First carrier circuit module and the second carrier circuit module stated all use MAX2992 carrier chip.As shown in Figure 3 and Figure 4,
The UART1 interface of STM32F107VC is connected alternately with carrier circuit module, and the UART2 interface of host node passes through RS232 interface
Being connected with host computer application platform terminal interaction, the UART3 interface of child node is by RS485 interface and on-the-spot application apparatus
Mutual connection.The OSC_IN pin of STM32F107VC connects passive crystal oscillator module, 5 GPIO pins connect respectively watchdog module, time
Clock module, LCD MODULE, keyboard input module and reiving/transmitting state indicating module.Power management module is to STM32F107VC
Output signal be 3.3V, be 3.3V/12V to the output signal of MAX2992 carrier chip.MAX2992 carrier chip passes through
The UART1 interface of STM32F107VC processor and microcontroller communication.Microcontroller by application protocol message by its requirement
It is packaged into the carrier wave message of correspondence, is sent to MAX2992 by UART1 interface, then by MAX2992, the message received is passed through
Its front-end circuit is coupled on electric lines of force, it is achieved the transmitting-receiving of carrier data, or passes through after receiving the data on electric lines of force
UART1 mouth sends the data to microcontroller.Application protocol message is sent to main by RS232 interface by host computer platform
Node, host node receives protocol massages by the UART2 interface of STM32F107VC processor in DMA mode.For son
For node, child node by the protocol massages that arrived by the UART3 interface of STM32F107VC processor through RS485
Interface is sent to each on-the-spot application apparatus.
The invention still further relates to a kind of means of communication according to above-mentioned network system, the method comprises the following steps:
(1) power line network system initialization, sets host node, child node and each the on-the-spot application under being connected to child node
Standby parameter configures, and DMA transmitting-receiving length d of relief area, down trigger conditions and data message fragment are limited length
L is configured.In system initialisation phase, the parameter of configuration is needed to include protocol type, host node address, child node ground
Location and the address being connected under child node each on-the-spot application apparatus.
(2) DMA data transmission technology transceiving data is used, and according to the down trigger condition of DMA transmitting-receiving relief area,
Digital independent in DMA buffer area is pending to fixing reception data buffer area.
The down trigger condition of described DMA transmitting-receiving relief area includes two, and the first down trigger condition is: work as reception
When data length is the half of DMA transmitting-receiving buffer length d, triggers and interrupt.Second down trigger condition is: when receiving data
When length receives and dispatches buffer length d equal to DMA, trigger and interrupt.When meeting the first down trigger condition, a frame message connects in this way
The beginning received, microcontroller first according to the protocol type defined in system initialization configuration file, obtains setting in message
Standby address;Further according to the mapping ruler in device address and configuration file, get the address of corresponding purpose child node.
(3) magnitude relationship between data message length L1 of length L and transmission is limited according to data message segmentation, to DMA
The data of transmitting-receiving relief area transmitting-receiving carry out judgement process.
(4) according to judging result, data are forwarded.Detailed process is:
If data message length L1 of transmission limits length L more than data message segmentation, then long when the data of DMA transmitting-receiving relief area
When degree accumulation reaches segmentation restriction length L, DMA transmitting-receiving relief area continues to remaining data.Meanwhile, microcontroller
DMA is received and dispatched and receives the data of a length of L in relief area and be packaged into carrier data bag by MCU, is sent to the son joint of correspondence
Point.
If data message length L1 of transmission limits length L less than or equal to data message segmentation, then receive and dispatch when frame data
After reception, DMA is received and dispatched the data in relief area and is packaged into carrier data bag, be sent to the child node of correspondence.
Further, described DMA transmitting-receiving buffer length d is 20 byte ~ 30 bytes.
Below, in conjunction with Fig. 5-Fig. 8, reception, process, repeating process and the multi-protocols mapping table of data are carried out detailed
Describe:
Fig. 5 is the algorithmic procedure that host node uses DMA transceiving data.Meeting in data procedures is received opening a DMA buffer
There is twice triggering to interrupt, after entering interrupt function, judge down trigger type.If receiving half interrupt or receive full interruption,
Then that the digital independent in DMA buffer area is pending to fixing reception data buffer area.When data are read in two kinds of interruptions, data
Position in DMA buffer area is different.After having received data, put several frame end enumerator, start a frame and receive sentencing of end
Disconnected foundation, finally removes related interrupts flag bit and exits interruption.When receiving data dma module and mistake occurring, interrupt function
It is error flag position according to triggering the flag bit interrupted, again enables DMA after initializing relevant parameter and interrupt, it is ensured that DMA receives
The reliability of data.
After Fig. 6 is data receiver, it may be judged whether carry out the judgement processing procedure forwarded.The present invention uses microcontroller
The basis terminated as receiving data frames of systick Interruption.In the flow chart described in Fig. 3, each DMA receives interruption
After, all frame end enumerator is initialized as a fixed value;And when entering in systick Interruption function every time,
The operation that all subtracts 1 to this enumerator, when Counter Value is 0, then assert that a frame receives and terminates.At the reception number shown in Fig. 3
During according to, because receive after data complete every time, all enumerator is put again number, therefore receive data mistake at DMA
Cheng Zhong, Counter Value is not 0.Meanwhile, the long frame message fragment in order to receive synchronizes to receive and sends, and during receiving, needs
Judge that receive total length of data sends the complementation result limiting length to segmentation.If complementation result is 0, then it represents that the number of reception
Meet, according to length, the condition that segmentation sends, and forwarded enumerator to add 1 data.If complementation result is not 0, represents and receive
The transmission length that also not up to limits of data length;Then judge whether a frame is received and dispatched to terminate.If a frame transmitting-receiving has been tied
Bundle, but the data length received also is not reaching to the transmission length of restriction, then forward enumerator to add 1 data, and forward reality
The data received.If a frame transmitting-receiving does not terminates, then exit interruption and carry out judgement next time.
Fig. 7 is the algorithm flow that the data received are forwarded to carrier circuit module.According to the algorithm flow shown in Fig. 4
Result, to receive data carry out forward operation.When forwarding Counter Value to be not 0, illustrate data receiver district deposits
At the data message needing forwarding.First, according to the protocol type in configuration parameter, obtain device address in data message frame
Position, readout equipment address.Secondly, the purpose child node address at this place, device address is found according to mapping table, by this address
Carrying out carrier frame group bag with the data message of data buffer area, the DMA being sent to carrier circuit module correspondence serial ports sends slow
Rush district.Again, enable DMA and send interruption, by carrier circuit module, data message is sent.Finally, one has been sent
After frame, the value according to forwarding enumerator judges that data have forwarded, the most then continue and forward according to above flow process.
Fig. 8 gives the mapping table of multi-protocols in the present invention.Need to be configured by configuration parameter in the system group network starting stage
This table, protocol type comprises the stipulations such as conventional Modbus, DLT645,101.The device address corresponding due to different stipulations is long
Degree difference, and the position that this address is in different agreement is the most different.Therefore, host node must lead to before carrying out networking and forwarding data
Which kind of protocol massages cross that protocol type learns that it forwards is, and according to different protocol types first from data receiver relief area
The frame format readout equipment address of corresponding protocol massages, finds out the purpose child node address of correspondence further according to mapping table.Below
Introduce protocol type and the device address of several frequently seen agreement:
Modbus agreement: protocol type is 01, protocol devices address is a byte, and child node address is 0x0001, this sub-joint
The device address of the following correspondence of point is 0x02,0x03.Child node address is 0x0002, equipment ground corresponding below this child node
Location is 0x04,0x05,0x06 etc., and the configuration of other child nodes is similar.
DLT645 agreement: protocol type is 02, protocol devices address is 6 bytes, and child node address is 0x001,
Device address corresponding below this child node is 0x000000000002,0x000000000003.Child node address is
0x0002, device address corresponding below this child node is 0x000000000004,0x000000000005,
0x000000000006 etc., the configuration of other child nodes is similar.
101 agreements: protocol type is 03, protocol devices address is 1 byte, and child node address is 0x001, this child node
Device address corresponding below is 0x02,0x03.Child node address is 0x0002, device address corresponding below this child node
For 0x04,0x05,0x06 etc., the configuration of other child nodes is similar.
When host node judges that protocol type is 02, host node knows that the Frame that application platform is sent is all 645 messages
Frame, during forwarding data, according to this protocol massages frame format, readout equipment address.Such as 0x000000000005, looks into
Table learns that network child node address corresponding to this address is 0x0002.Without resolving concrete message, directly according to the son joint obtained
The carrier wave message that this message assembling Chengdu is answered by dot address, is sent in PLC network the child node of correspondence by carrier module.
Child node receives host node by its carrier module and issues the protocol massages of oneself, the data in carrier wave message frame is directly transmitted
Serial ports to connection equipment RS485 bus, it is achieved the difference under each child node in host computer application platform and PLC networking
The data communication of equipment.
In power line network system based on DMA of the present invention, host node and child node all use DMA to connect
Receive and send corresponding message frame.The means of communication of power line network system based on DMA of the present invention have following
Feature:
(1) length d of DMA data relief area is arranged to shorter length and (is typically set to 20 ~ 30 bytes, preferably 24 words
Joint);And the first down trigger condition and the second down trigger condition are set.The first described down trigger condition is: DMA number
The data length received according to relief area is equal to 0.5d.The second described down trigger condition is: DMA data buffer zone receives
Data length equal to d.By arranging two down trigger conditions, during DMA data relief area receives data, microcontroller
MCU has twice chance to process the data received.
The process that the data received are processed by microcontroller is: when meeting the first down trigger condition,
Receive the beginning of protocol data message in this way, then obtain the equipment in message according to the protocol type defined in CONFIG.SYS
Address;Then according to the mapping ruler in the device address obtained and configuration file, the address of corresponding purpose child node is obtained.
When the data message length of transmission limits length L more than segmentation, DMA is utilized to receive data without MCU
The feature interfered, when the data received in relief area accumulation reaches segmentation restriction length L byte, DMA continues to number
According to, meanwhile, paid-in data are packaged into carrier data bag by MCU, are sent to the child node of correspondence.Thus realize long report
Literary composition receives one section and just sends one section, and without waiting long message to retransmit after all having received.
When the data message length of transmission limits length L less than segmentation, when waiting frame end to judge effective, directly should
Data are packaged into carrier data bag, are sent to the child node of correspondence, it is not necessary to block transmission.
(2) the configuration parameter mode that the present invention uses is by the child node of multi-protocols fast mapping to correspondence.At electric lines of force
During networking, host node and the address of child node in PLC network are unique, and host node is entered by the address of child node
The one_to_one corresponding transmitting-receiving of row data.The address being connected to each equipment under child node is also unique, and is embodied in friendship
In mutual communication protocol message.
In the initial configuration stage of network system, configuration parameter includes protocol type, host node address, child node ground
All devices address etc. corresponding under location, child node.Host computer application platform will be joined by the maintenance port of microcontroller
Putting parameter and be sent to host node, host node sets up each child node address and the mapping connect under it between device address according to parameter
Relation, distributes to each child node in the system group network stage by corresponding child node address.After networking success, host computer application is flat
Platform can carry out data communication according to the equipment under the agreement of configuration and each child node.After host node receives communication message, first
First, protocol type is judged according to configuration parameter;Secondly, according to the spy that position, device address in each protocol massages frame is fixing
Point, reads out device address;Again, according to the mapping relations set up before, purpose that this message is to be mail to quickly is found out
Node address;Again, set up into carrier data message frame according to address with protocol massages frame, be sent to carry by serial port module
Mode block, is coupled on electric lines of force by carrier module and coupling circuit module, is sent to the child node at agreement purpose equipment place.
Embodiment described above is only to be described the preferred embodiment of the present invention, the not model to the present invention
Enclose and be defined, on the premise of designing spirit without departing from the present invention, the those of ordinary skill in the art technical side to the present invention
Various deformation that case is made and improvement, all should fall in the protection domain that claims of the present invention determines.
Claims (9)
1. the procotol conversion method in an electric power network system, it is characterised in that: comprise the steps:
(1) coupled with the main frame running virtualization concentrator through Ethernet by ether interface, after device power actively with
Set up between main frame and maintain the long interface channel of TCP, waiting the ether that sends over from main frame to be received to check meter the message of agreement;
(2) receive and process the ether sent from virtual concentrator and check meter message, explaining the implication that its message is corresponding, launch
Parameter also becomes the message of DL645 stipulations by comparison protocol conversion;
(3) message of DL645 stipulations is sent by 485 buses, it is achieved and the communication of question-response mode between ammeter;
Monitor the response of ammeter in 485 buses after sending message, calculate response timeout simultaneously;
(4) receive after the DL645 message that ammeter is beamed back, by parametric evolving in the middle of it and extract, copy according to ether
Table agreement assembles, by being sent back to the main frame long interface channel of joining TCP of virtualization concentrator;
(5) CONFIG.SYS is generated by Ethernet interface: communication main station will be connected to by the form of embedded Web and set
The XML literary composition that the information such as standby each the communication device numbering of slave station equipment, device address, protocol type are written in system
In part, thus generate a CONFIG.SYS;
(6) a communication slave station equipment information table, described communication slave station equipment information table are built according to the configuration file of step (5)
It is chained list or the array of a structure type, each nodes records of this chained list or array one communication slave station equipment
Relevant information, these information include communicate slave station equipment connected RS485 port, communication slave station equipment type, communication from
The device number of the used agreement of station equipment and the slave station equipment that communicates;
(7) 485 interfaces and TCP network are initialized respectively according to the configuration file of step (5);
(8) according to the communication of step (6) from facility information table, by each slave station in 485 bus timing poll 485 buses
Equipment, and to receive protocol data resolve, the data finally parsing obtained with certain XM form in the form of text,
It is packaged into TCP/IP packet and carries out teletransmission, thus realize the multi-protocols in 485 buses and between TCP procotol
Conversion.
Procotol conversion method in a kind of electric power network system the most according to claim 1, it is characterised in that:
1) in the middle of whole protocol translation and communication process, the sequence number of the response message of main frame is sent back, it should issue with main frame
The sequence number of order of checking meter is identical;
2) a plurality of order of checking meter being simultaneously sent on protocol conversion device, queues up according to the precedence arrived, the most successively
Process;
3) two-forty of 115200 is used to carry out communication.
Procotol conversion method in a kind of electric power network system the most according to claim 1, it is characterised in that: this electricity
Power network system includes:
DP83848 mixed-media network modules mixed-media, is used for connecting Ethernet, carries out packet message exchange process process, receives and send ether
Network data;
Instruction queue module, for after receiving a plurality of meter reading instruction that virtual concentrator issues, uses the mode of first in first out
Queuing up, waiting processes the when of the equipment free time the most one by one;
DL645 decodes modular converter, for protocol command of being checked meter by the ether that virtual concentrator sends over, translates into 485 electricity
The DL645 protocol massages that table can receive and process;
Data decoding packetization module, for resolving what 485 ammeters returned, by the message content of DL645 protocol encapsulation, from
In extract data packed according to ether protocol format of checking meter;
485 responses accept module, receive the response data from ammeter, in strict accordance with question-response for controlling 485 buses
Interactive mode controls to receive flow performing;
485 modules SP3485, are used for controlling to connect 485 buses, and a holding equipment transmits data in 485 buses, and
Monitor the miscellaneous equipment in 485 buses and send request, from 485 buses, receive data;
CPU chip, for controlling the overall operation of whole equipment, performs complex mathematical calculating process;
Described each module is connected by system bus respectively, the described external Ethernet of DP83848 mixed-media network modules mixed-media, 485 modules
External 485 ammeters of SP3485;The logic that described conversion equipment signal transmits is to sequentially pass through described DP83848 net
Network module, instruction queue module, DL645 decoding modular converter, data decoding packetization module, 485 responses accept module and
485 modules SP3485.
Procotol conversion method in a kind of electric power network system the most according to claim 3, it is characterised in that: described
Equipment one end by being attached with concentrator virtualized host in the middle of Ethernet interface access network based on ethernet, uplink port use
Ether mode realizes the connection between concentrator virtualized host, and communications protocol uses the senior metering agreement of custom-made,
Realize multi-thread concurrent to check meter;The other end of equipment then has 485 interfaces, couples one or several electricity by 485 buses
Table.
5. the mutual means of communication in an electric power network system, it is characterised in that: comprise the steps:
(1) electric network system initialization, to host node, child node and each the on-the-spot application apparatus under being connected to child node
Parameter configures, and DMA transmitting-receiving length d of relief area, down trigger conditions and data message fragment are limited length L and carried out
Arrange;
In system initialisation phase, the parameter of configuration is needed to include protocol type, host node address, child node address and be connected to
The address of each on-the-spot application apparatus under child node;
(2) DMA data transmission technology transceiving data is used, and according to the down trigger condition of DMA transmitting-receiving relief area, will
Digital independent in DMA buffer area is pending to fixing reception data buffer area;
The down trigger condition of described DMA transmitting-receiving relief area includes two, and the first down trigger condition is: when receiving data
When a length of DMA receives and dispatches the half of buffer length d, trigger and interrupt;Second down trigger condition is: when receiving data length etc.
When DMA receives and dispatches buffer length d, trigger and interrupt;
When meeting the first down trigger condition, the beginning that a frame message receives in this way, microcontroller is first at the beginning of according to system
Protocol type defined in beginningization configuration file, obtains the device address in message;Further according to device address and configuration file
In mapping ruler, get the address of corresponding purpose child node;
(3) magnitude relationship between data message length L1 of length L and transmission is limited according to data message segmentation, to DMA
The data of transmitting-receiving relief area transmitting-receiving carry out judgement process;
(4) according to judging result, forwarding data, detailed process is: if data message length L1 of transmission is more than
Data message segmentation limits length L, then when the data length accumulation of DMA transmitting-receiving relief area reaches segmentation restriction length L,
DMA transmitting-receiving relief area continues to remaining data;Meanwhile, DMA is received and dispatched in relief area and connects by microcontroller
The data receiving a length of L are packaged into carrier data bag, are sent to the child node of correspondence;
If data message length L1 of transmission limits length L less than or equal to data message segmentation, then receive when a frame data transmitting-receiving
After, DMA is received and dispatched the data in relief area and is packaged into carrier data bag, be sent to the child node of correspondence.
The mutual means of communication in a kind of electric power network system the most according to claim 5, it is characterised in that: described
DMA transmitting-receiving buffer length d is 20 bytes~30 bytes.
The mutual means of communication in a kind of electric power network system the most according to claim 5, it is characterised in that: this electric power electricity
Net system includes host node and several child nodes, is connected alternately by electric lines of force between described host node and each child node
Connect;Described host node is connected with host computer application platform terminal interaction by RS232 interface;Several described child nodes
It is connected alternately with on-the-spot application apparatus by RS485 interface respectively;
Described host node includes the first microcontroller, first carrier circuit module, the first coupling circuit module, the first power supply pipe
Reason module and the first reiving/transmitting state display module;Described first carrier circuit module passes through the first of the first microcontroller
UART interface and the first microcontroller connect alternately;The first described coupling circuit module is mutual with first carrier circuit module
Connect;The outfan of the first described power management module respectively with the power supply signal input of the first microcontroller, first carry
The power supply signal input of wave circuit module is connected;The first described reiving/transmitting state indicating module and the first microcontroller defeated
Go out end to be connected;2nd UART interface of the first described microcontroller is by RS232 interface and host computer application platform terminal
Mutual connection;
Described child node includes the second microcontroller, the second carrier circuit module, the second coupling circuit module, second source pipe
Reason module and the second reiving/transmitting state display module;The second described carrier circuit module passes through the first of the second microcontroller
UART interface and the second microcontroller connect alternately;The second described coupling circuit module and the second carrier circuit module are mutual
Connect;The outfan of described second source management module respectively with the power supply signal input of the second microcontroller, second carry
The power supply signal input of wave circuit module is connected;The second described reiving/transmitting state indicating module and the output of the second microcontroller
End is connected;3rd UART interface of the second described microcontroller is connected with on-the-spot application apparatus alternately by RS485 interface
Connect.
The mutual means of communication in a kind of electric power network system the most according to claim 7, it is characterised in that: described master
Node also includes the first watchdog module, the first passive crystal oscillator module, the first clock module, the first LCD MODULE and first
Keyboard input module;Described the first watchdog module, the first passive crystal oscillator module and the output of the first keyboard input module
End input with the first microcontroller respectively is connected;The first described clock module and the first microcontroller connect alternately;Institute
The input of the first LCD MODULE stated and the outfan of the first microcontroller are connected;
Described child node also includes the second watchdog module, the second passive crystal oscillator module, second clock module, the second liquid crystal
Show module and the second keyboard input module;Described the second watchdog module, the second passive crystal oscillator module and the second button are defeated
Enter the outfan of the module input respectively with the second microcontroller to be connected;Described second clock module and the second microcontroller
Mutual connection;The input of the second described LCD MODULE and the outfan of the second microcontroller are connected.
The mutual means of communication in a kind of electric power network system the most according to claim 7, it is characterised in that: described
One microcontroller and the second microcontroller all use STM32F107VC processor;Described first carrier circuit module and
Nd carrier circuit module all uses MAX2992 carrier chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610359193.9A CN105959288A (en) | 2016-05-27 | 2016-05-27 | Network protocol conversion method for power grid system and intercommunication method of power grid system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610359193.9A CN105959288A (en) | 2016-05-27 | 2016-05-27 | Network protocol conversion method for power grid system and intercommunication method of power grid system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105959288A true CN105959288A (en) | 2016-09-21 |
Family
ID=56910014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610359193.9A Pending CN105959288A (en) | 2016-05-27 | 2016-05-27 | Network protocol conversion method for power grid system and intercommunication method of power grid system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959288A (en) |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506504A (en) * | 2016-11-17 | 2017-03-15 | 国网上海市电力公司 | A kind of intelligent protocol conversion method and device |
CN106506306A (en) * | 2016-12-10 | 2017-03-15 | 锐捷网络股份有限公司 | A kind of method and apparatus of data-message transmission |
CN106685594A (en) * | 2016-12-28 | 2017-05-17 | 浙江威星智能仪表股份有限公司 | Reliability method of processing wireless tele-transmission air code stream |
CN106850639A (en) * | 2017-02-15 | 2017-06-13 | 国网江苏省电力公司电力科学研究院 | For the protocol conversion system and method for converting protocol of standard electric energy meter calibrating |
CN106993066A (en) * | 2017-02-28 | 2017-07-28 | 华为技术有限公司 | A kind of method for transmitting data, apparatus and system |
CN107135014A (en) * | 2017-03-23 | 2017-09-05 | 康体佳智能科技(深圳)有限公司 | A kind of power line carrier data penetration transmission system and its data penetration transmission method |
CN109725565A (en) * | 2018-12-07 | 2019-05-07 | 深圳供电局有限公司 | A kind of master is with collaboration real-time control exchange method |
CN109741592A (en) * | 2019-01-10 | 2019-05-10 | 国网陕西省电力公司 | The automatic data collection implementation method of plant stand electric energy acquisition terminal |
CN110661774A (en) * | 2018-06-28 | 2020-01-07 | 萨热姆通讯能源电信简易股份有限公司 | Method for transmitting LoRa frame on PLC network |
CN110912894A (en) * | 2019-11-26 | 2020-03-24 | 天津华春智慧能源科技发展有限公司 | Communication protocol conversion system and method for heat supply metering network |
CN111008169A (en) * | 2019-11-20 | 2020-04-14 | 南京南瑞水利水电科技有限公司 | Low-cost high-speed communication bus and transmission control method thereof |
CN111343063A (en) * | 2020-01-21 | 2020-06-26 | 珠海瑞捷电气股份有限公司 | Communication processing system and method based on Modbus communication protocol |
CN111813038A (en) * | 2020-07-10 | 2020-10-23 | 四川爱联科技有限公司 | Method and system for simultaneously supporting CCO (common client) mode and STA (station) mode on PLC (programmable logic controller) module |
CN111833578A (en) * | 2019-04-22 | 2020-10-27 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
CN112383543A (en) * | 2020-11-12 | 2021-02-19 | 国网山东省电力公司泰安供电公司 | Power equipment monitoring data processing system |
CN112436867A (en) * | 2020-11-13 | 2021-03-02 | 珠海许继电气有限公司 | Method and device for sharing carrier channel by platform area intelligent terminal APP |
CN112614331A (en) * | 2020-12-14 | 2021-04-06 | 杭州海兴电力科技股份有限公司 | Method for reading electric energy meter event and electric energy meter event reading system |
CN112687093A (en) * | 2020-10-27 | 2021-04-20 | 广东电网有限责任公司广州供电局 | Low-voltage centralized meter reading method and device |
CN112860591A (en) * | 2021-01-27 | 2021-05-28 | 艾欧创想智能科技(武汉)有限公司 | Method for sequential addressing of RS485 bus by signal relay |
CN112860612A (en) * | 2021-02-05 | 2021-05-28 | 中国电子科技集团公司第五十八研究所 | Interface system for interconnecting bare core and MPU and communication method thereof |
CN113437997A (en) * | 2021-06-22 | 2021-09-24 | 广东电网有限责任公司广州供电局 | Power line carrier communication method, device, equipment and medium |
CN114301995A (en) * | 2021-12-30 | 2022-04-08 | 上海交通大学 | Conversion switching and intercommunication fusion system and method of real-time industrial Ethernet protocol |
CN114338269A (en) * | 2021-12-24 | 2022-04-12 | 北京东土科技股份有限公司 | Data transmission method, device, broadband field bus equipment, system and medium |
CN115277867A (en) * | 2022-06-23 | 2022-11-01 | 青岛东软载波科技股份有限公司 | Collector and electric power communication method and system of Modbus protocol equipment based on collector |
CN116489254A (en) * | 2023-06-21 | 2023-07-25 | 中储粮成都储藏研究院有限公司 | Method for debugging lower computer by using upper computer |
CN116566762A (en) * | 2023-07-07 | 2023-08-08 | 武汉亚为电子科技有限公司 | Cascading equipment based on Modbus-RTU protocol and application method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682588A (en) * | 2012-05-15 | 2012-09-19 | 云南电网公司西双版纳供电局 | Ethernet-based real-time point-to-point centralized meter-reading system for electric energy meter |
CN103036878A (en) * | 2012-12-07 | 2013-04-10 | 广东电网公司佛山供电局 | Device and method for networking protocol conversion |
CN104104412A (en) * | 2014-07-28 | 2014-10-15 | 安徽科大智能电网技术有限公司 | Direct memory access (DMA) based power line network system and communication method thereof |
CN104796415A (en) * | 2015-04-07 | 2015-07-22 | 上海大学 | Method for converting protocols of TCP (transmission control protocol) networks and multiple protocols on RS485 buses |
CN105337421A (en) * | 2015-12-09 | 2016-02-17 | 梅照付 | Protocol conversion method and mutual communication method in intelligent power network system |
-
2016
- 2016-05-27 CN CN201610359193.9A patent/CN105959288A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682588A (en) * | 2012-05-15 | 2012-09-19 | 云南电网公司西双版纳供电局 | Ethernet-based real-time point-to-point centralized meter-reading system for electric energy meter |
CN103036878A (en) * | 2012-12-07 | 2013-04-10 | 广东电网公司佛山供电局 | Device and method for networking protocol conversion |
CN104104412A (en) * | 2014-07-28 | 2014-10-15 | 安徽科大智能电网技术有限公司 | Direct memory access (DMA) based power line network system and communication method thereof |
CN104796415A (en) * | 2015-04-07 | 2015-07-22 | 上海大学 | Method for converting protocols of TCP (transmission control protocol) networks and multiple protocols on RS485 buses |
CN105337421A (en) * | 2015-12-09 | 2016-02-17 | 梅照付 | Protocol conversion method and mutual communication method in intelligent power network system |
CN105516142A (en) * | 2015-12-09 | 2016-04-20 | 梅照付 | Mutual communication method in smart power system |
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506504A (en) * | 2016-11-17 | 2017-03-15 | 国网上海市电力公司 | A kind of intelligent protocol conversion method and device |
CN106506306A (en) * | 2016-12-10 | 2017-03-15 | 锐捷网络股份有限公司 | A kind of method and apparatus of data-message transmission |
CN106506306B (en) * | 2016-12-10 | 2020-11-20 | 锐捷网络股份有限公司 | Method and device for transmitting data message |
CN106685594A (en) * | 2016-12-28 | 2017-05-17 | 浙江威星智能仪表股份有限公司 | Reliability method of processing wireless tele-transmission air code stream |
CN106685594B (en) * | 2016-12-28 | 2019-07-30 | 浙江威星智能仪表股份有限公司 | A kind of reliability method handling the aerial code stream of wireless remote transmission |
CN106850639B (en) * | 2017-02-15 | 2020-05-22 | 国网江苏省电力公司电力科学研究院 | Protocol conversion system and protocol conversion method for standard electric energy meter verification |
CN106850639A (en) * | 2017-02-15 | 2017-06-13 | 国网江苏省电力公司电力科学研究院 | For the protocol conversion system and method for converting protocol of standard electric energy meter calibrating |
CN106993066A (en) * | 2017-02-28 | 2017-07-28 | 华为技术有限公司 | A kind of method for transmitting data, apparatus and system |
CN106993066B (en) * | 2017-02-28 | 2020-01-21 | 华为技术有限公司 | Method, device and system for transmitting data |
CN107135014A (en) * | 2017-03-23 | 2017-09-05 | 康体佳智能科技(深圳)有限公司 | A kind of power line carrier data penetration transmission system and its data penetration transmission method |
CN110661774A (en) * | 2018-06-28 | 2020-01-07 | 萨热姆通讯能源电信简易股份有限公司 | Method for transmitting LoRa frame on PLC network |
CN109725565A (en) * | 2018-12-07 | 2019-05-07 | 深圳供电局有限公司 | A kind of master is with collaboration real-time control exchange method |
CN109741592B (en) * | 2019-01-10 | 2020-12-08 | 国网陕西省电力公司 | Automatic data acquisition implementation method for station electric energy acquisition terminal |
CN109741592A (en) * | 2019-01-10 | 2019-05-10 | 国网陕西省电力公司 | The automatic data collection implementation method of plant stand electric energy acquisition terminal |
CN111833578A (en) * | 2019-04-22 | 2020-10-27 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
CN111008169A (en) * | 2019-11-20 | 2020-04-14 | 南京南瑞水利水电科技有限公司 | Low-cost high-speed communication bus and transmission control method thereof |
CN110912894A (en) * | 2019-11-26 | 2020-03-24 | 天津华春智慧能源科技发展有限公司 | Communication protocol conversion system and method for heat supply metering network |
CN111343063A (en) * | 2020-01-21 | 2020-06-26 | 珠海瑞捷电气股份有限公司 | Communication processing system and method based on Modbus communication protocol |
CN111343063B (en) * | 2020-01-21 | 2021-11-30 | 珠海瑞捷电气股份有限公司 | Communication processing system and method based on Modbus communication protocol |
CN111813038A (en) * | 2020-07-10 | 2020-10-23 | 四川爱联科技有限公司 | Method and system for simultaneously supporting CCO (common client) mode and STA (station) mode on PLC (programmable logic controller) module |
CN111813038B (en) * | 2020-07-10 | 2023-08-22 | 四川爱联科技股份有限公司 | Method and system for simultaneously supporting CCO and STA modes on PLC module |
CN112687093A (en) * | 2020-10-27 | 2021-04-20 | 广东电网有限责任公司广州供电局 | Low-voltage centralized meter reading method and device |
CN112383543A (en) * | 2020-11-12 | 2021-02-19 | 国网山东省电力公司泰安供电公司 | Power equipment monitoring data processing system |
CN112436867B (en) * | 2020-11-13 | 2022-07-19 | 珠海许继电气有限公司 | Method and device for sharing carrier channel by intelligent terminal APP in transformer area |
CN112436867A (en) * | 2020-11-13 | 2021-03-02 | 珠海许继电气有限公司 | Method and device for sharing carrier channel by platform area intelligent terminal APP |
CN112614331A (en) * | 2020-12-14 | 2021-04-06 | 杭州海兴电力科技股份有限公司 | Method for reading electric energy meter event and electric energy meter event reading system |
CN112860591A (en) * | 2021-01-27 | 2021-05-28 | 艾欧创想智能科技(武汉)有限公司 | Method for sequential addressing of RS485 bus by signal relay |
CN112860612A (en) * | 2021-02-05 | 2021-05-28 | 中国电子科技集团公司第五十八研究所 | Interface system for interconnecting bare core and MPU and communication method thereof |
CN112860612B (en) * | 2021-02-05 | 2022-09-16 | 中国电子科技集团公司第五十八研究所 | Interface system for interconnecting bare core and MPU and communication method thereof |
CN113437997A (en) * | 2021-06-22 | 2021-09-24 | 广东电网有限责任公司广州供电局 | Power line carrier communication method, device, equipment and medium |
CN114338269A (en) * | 2021-12-24 | 2022-04-12 | 北京东土科技股份有限公司 | Data transmission method, device, broadband field bus equipment, system and medium |
CN114338269B (en) * | 2021-12-24 | 2023-10-20 | 北京东土科技股份有限公司 | Data transmission method, device, broadband field bus equipment, system and medium |
CN114301995B (en) * | 2021-12-30 | 2023-07-18 | 上海交通大学 | Conversion switching and intercommunication fusion system and method of real-time industrial Ethernet protocol |
CN114301995A (en) * | 2021-12-30 | 2022-04-08 | 上海交通大学 | Conversion switching and intercommunication fusion system and method of real-time industrial Ethernet protocol |
CN115277867A (en) * | 2022-06-23 | 2022-11-01 | 青岛东软载波科技股份有限公司 | Collector and electric power communication method and system of Modbus protocol equipment based on collector |
CN116489254A (en) * | 2023-06-21 | 2023-07-25 | 中储粮成都储藏研究院有限公司 | Method for debugging lower computer by using upper computer |
CN116489254B (en) * | 2023-06-21 | 2023-09-08 | 中储粮成都储藏研究院有限公司 | Method for debugging lower computer by using upper computer |
CN116566762A (en) * | 2023-07-07 | 2023-08-08 | 武汉亚为电子科技有限公司 | Cascading equipment based on Modbus-RTU protocol and application method thereof |
CN116566762B (en) * | 2023-07-07 | 2023-10-20 | 武汉亚为电子科技有限公司 | Cascading equipment based on Modbus-RTU protocol and application method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959288A (en) | Network protocol conversion method for power grid system and intercommunication method of power grid system | |
CN105337421A (en) | Protocol conversion method and mutual communication method in intelligent power network system | |
CN103888293B (en) | Data channel scheduling method of multichannel FC network data simulation system | |
CN100471156C (en) | Data bus bridge and its working method | |
CN100521637C (en) | Optical fiber-based high speed serial industrial real-time communication bus system and its control method | |
CN104104412B (en) | A kind of power line network system based on DMA and the means of communication thereof | |
CN106612141A (en) | Optical fiber channel protocol general simulation testing card and data interaction method thereof | |
CN102835091A (en) | Multi-media USB data transfer over digital interaction interface for video and audio (DIIVA) | |
CN101841542A (en) | Method for realizing PROFIBUS master station communication protocol based on FPGA (Field Programmable Gate Array) technology | |
CN103558812B (en) | Based on the MVB network four kind equipment network interface card of FPGA and ARM | |
CN106598889A (en) | SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate | |
CN106873541A (en) | A kind of EtherCAT Distributed Servo kinetic control systems based on DSP | |
CN107819659A (en) | A kind of intelligent level UNICOM communication network based on SPI | |
CN109634673A (en) | Satellite borne electronic system management and control equipment | |
CN103036878A (en) | Device and method for networking protocol conversion | |
CN105262789A (en) | FPGA (Field Programmable Gate Array)-based MAC (Media Access Control) layer to MAC layer communication system and control method | |
CN102983998A (en) | Novel data acquiring system SuperCAP | |
CN102546542A (en) | Electronic system and embedded device and transit device of electronic system | |
CN101106504A (en) | Distributed communication system for intelligent independent robot based on CAN bus | |
CN102377505A (en) | Serial port-based IPMI (Intelligent Platform Management Interface) package transmission method | |
CN107346298A (en) | The method and system of protocol conversion between a kind of parallel bus and UART bus | |
CN103684945A (en) | General spacewire node device | |
CN201163783Y (en) | Multi-serial port card based on CAN bus | |
CN100493018C (en) | Communication method via bus interface of network and and system thereof | |
CN110191028A (en) | It can the test device of interconnection equipment of software definition, system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160921 |