CN110147341B - 645 and 698 communication protocol compatible electric energy meter and communication method - Google Patents

645 and 698 communication protocol compatible electric energy meter and communication method Download PDF

Info

Publication number
CN110147341B
CN110147341B CN201910406409.6A CN201910406409A CN110147341B CN 110147341 B CN110147341 B CN 110147341B CN 201910406409 A CN201910406409 A CN 201910406409A CN 110147341 B CN110147341 B CN 110147341B
Authority
CN
China
Prior art keywords
communication
uart
protocol
data
baud rate
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.)
Active
Application number
CN201910406409.6A
Other languages
Chinese (zh)
Other versions
CN110147341A (en
Inventor
刘型志
侯兴哲
郑可
田娟
周全
谢永明
陈文礼
向彬
籍勇亮
宫林
杨芾藜
陶学丹
李小俊
黄丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
State Grid Chongqing Electric Power Co Ltd
Holley Technology Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
State Grid Chongqing Electric Power Co Ltd
Holley Technology Co Ltd
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 Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd, State Grid Corp of China SGCC, State Grid Chongqing Electric Power Co Ltd, Holley Technology Co Ltd filed Critical Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
Priority to CN201910406409.6A priority Critical patent/CN110147341B/en
Publication of CN110147341A publication Critical patent/CN110147341A/en
Application granted granted Critical
Publication of CN110147341B publication Critical patent/CN110147341B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15027RS485, MPI multipoint interface, multiple transmitters, receivers connected
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33176Rs485, mpi multipoint, multidrop interface

Abstract

The invention discloses an electric energy meter compatible with 645 and 698 communication protocols and a communication method, and relates to the technical field of electric energy meters, wherein the electric energy meter comprises a communication receiving port, a first UART receiver, a second UART receiver, a protocol processing unit and a communication sending unit; the receiving pins of the first UART receiver and the second UART receiver are connected in parallel and then connected to the communication receiving port, and the output ends of the first UART receiver and the second UART receiver are respectively connected to the protocol processing unit; the first UART receiver and the second UART receiver are respectively used for correctly receiving communication data of different protocols; the protocol processing unit is used for processing the communication data transmitted by the first UART receiver or the second UART receiver and outputting the communication data through the communication transmitting unit. The electric energy meter and the method change the traditional one-to-one method of the UART port and the communication receiving port, and can be compatible with 645 protocols and 698 protocols without setting.

Description

645 and 698 communication protocol compatible electric energy meter and communication method
Technical Field
The invention relates to the technical field of electric energy meters, in particular to an electric energy meter compatible with 645 and 698 communication protocols and a communication method.
Background
In the existing scheme, each communication receiving port in the electric energy meter only has one baud rate generator to analyze physical layer byte data, so that only one communication protocol can be analyzed at the same time. Therefore, the electric energy meter needs to be electrified again and manually set in a laboratory before installation, or the electric energy meter needs to be encrypted and set through the acquisition system after installation. Both arrangements involve modification of a large amount of associated software. When the 645 old protocol acquisition system is upgraded to 698 new protocol in the future, the installed electric energy meter is also modified back to 9600 baud rate. In addition, most links of the whole life cycle management of the electric energy meter need to read the internal information of the electric energy meter by means of communication, and if the electric energy meter configured by baud rates of two rates exists, a lot of management software needs to be modified to adapt to the baud rates, so that unpredictable management confusion is brought.
In addition, in the laboratory test, after the 645 protocol baud rate is modified, the 698 protocol baud rate is also modified, so that the original 698 protocol test software normally runs, but the 698 test software is in communication error after the 645 protocol is used. In turn, modifying 698 baud rate may also cause original 645 test software communication errors, causing confusion.
Disclosure of Invention
In view of the above defects in the prior art, an object of the present invention is to provide an electric energy meter and a communication method compatible with 645 and 698 communication protocols, which can realize compatibility of 645 and 698 protocols without setting up, completely decouple baud rates of the two protocols, and solve the problem of confusion.
One of the objectives of the present invention is achieved by such a technical solution, which is a 645 and 698 communication protocol compatible electric energy meter, the electric energy meter includes a communication receiving port, a first UART receiver and a second UART receiver, a protocol processing unit, a communication transmitting unit;
the receiving pins of the first UART receiver and the second UART receiver are connected in parallel and then connected to the communication receiving port, and the output ends of the first UART receiver and the second UART receiver are respectively connected to the protocol processing unit;
the first UART receiver and the second UART receiver are respectively used for correctly receiving communication data of different protocols;
the protocol processing unit is used for processing the communication data transmitted by the first UART receiver or the second UART receiver and outputting the communication data through the communication transmitting unit.
Optionally, the protocol processing unit includes a first protocol receiving and parsing unit, a second protocol receiving and parsing unit, a first data processing unit, a second data processing unit, a first protocol framing unit, and a second protocol framing unit;
the first protocol receiving and analyzing unit, the first data processing unit and the first protocol framing unit are connected in sequence;
the second protocol receiving and analyzing unit, the second data processing unit and the second protocol framing unit are connected in sequence;
the output end of the first UART receiver is connected to the first protocol receiving and analyzing unit;
the output end of the second UART receiver is connected to the second protocol receiving and analyzing unit.
Optionally, the communication transmitting unit includes a first UART transmitter and a communication transmitting port;
the output ends of the first protocol transmitting unit and the second protocol transmitting unit are connected to the input end of the first UART transmitter, and the output end of the first UART transmitter is connected to the communication transmitting port;
the communication sending port is used for outputting communication data.
Optionally, the electric energy meter further comprises a first UART baud rate generator and a second UART baud rate generator;
the first UART baud rate generator is used for generating a first baud rate for the first UART receiver and generating a first baud rate or a second baud rate for the first UART transmitter;
the second UART baud rate generator is configured to generate a second baud rate for the second UART receiver.
Another object of the present invention is achieved by a communication method compatible with 645 and 698 communication protocols, including:
receiving a communication protocol frame through a communication receiving port;
judging whether the received communication protocol frame is correct or not through a first UART receiver and a second UART receiver respectively;
and outputting the frame data to a corresponding protocol processing unit through a communication sending unit after the frame data is output to the corresponding protocol processing unit through the UART receiver which correctly receives the communication protocol frame.
Optionally, the determining, by the first UART receiver and the second UART receiver, whether the received communication protocol frame is correct includes the following steps:
if the communication protocol frame received by any UART receiver has byte receiving errors, the UART receiver finishes the data receiving process, and the communication protocol frame received by the other UART receiver is output to a protocol processing unit;
under the condition that no byte receiving error occurs in the communication protocol frame received by any UART receiver, the first UART receiver and the second UART receiver output the received communication protocol frame to the protocol processing unit, if the protocol processing unit analyzes the communication protocol frame transmitted by any UART receiver and an analysis error occurs, the receiving data flow of the UART receiver is finished, and the protocol processing unit processes the communication protocol frame transmitted by the other UART receiver.
Optionally, the outputting, by the UART receiver that correctly receives the communication protocol frame, the frame data to the corresponding protocol processing unit for processing includes the following steps:
analyzing the communication protocol frame through a protocol receiving and analyzing unit;
processing the analyzed communication protocol frame through a data processing unit to obtain response data;
and the response data is framed by the protocol framing unit and then output by the communication sending unit.
Optionally, the outputting by the communication sending unit includes the following steps:
judging the baud rate of the framed data;
if the baud rate of the data after framing is the first baud rate, directly transmitting the data after framing to a communication transmitting port through a first UART transmitter, and ending the communication;
if the baud rate of the framed data is the second baud rate, setting the baud rate of the first UART transmitter to be the second baud rate through the first UART baud rate generator, and transmitting the framed data to the communication transmitting port through the first UART transmitter;
after the data is sent, the baud rate of the first UART transmitter is set back to the first baud rate through the first UART baud rate generator, and the communication is finished.
Optionally, the first baud rate is 9600bps, and the second baud rate is 2400 bps.
Due to the adoption of the technical scheme, the invention has the following advantages: the electric energy meter and the method change the traditional one-to-one method of the UART ports and the communication receiving ports, adopt the method of analyzing the data of the single communication receiving port in parallel by the double UART ports, can be compatible with 645 and 698 without setting, completely decouple the baud rates of the two protocols and solve the problem of confusion.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
The drawings of the invention are illustrated as follows:
fig. 1 is a block diagram of an electric energy meter according to the present invention.
Detailed Description
The invention is further illustrated by the following figures and examples.
The electric energy meter communication interface comprises an RS485 interface, a carrier module interface and a wireless module communication interface. There is a problem in that the communication interface protocol transits from 645 old protocol to 698 new protocol is not compatible.
645 requires a communication baud rate of 2400bps and 698 requires 9600 bps. The acquisition system for acquiring the data of the electric energy meter is also divided into two baud rates according to the new and old protocols. The acquisition system of the 645 protocol cannot acquire the electric energy meter of 9600bps, and the acquisition system of the 698 protocol cannot acquire the electric energy meter of 2400 bps. When the electric energy meter is shipped from the factory, the baud rate cannot be determined because the acquisition system to which the electric energy meter is to be installed cannot be determined.
Therefore, the present invention provides a power meter compatible with 645 and 698 communication protocols, as shown in fig. 1, the power meter includes a communication receiving port, a first UART receiver and a second UART receiver, a protocol processing unit, and a communication transmitting unit;
the receiving pins of the first UART receiver and the second UART receiver are connected in parallel and then connected to the communication receiving port, and the output ends of the first UART receiver and the second UART receiver are respectively connected to the protocol processing unit;
the first UART receiver and the second UART receiver are respectively used for correctly receiving communication data of different protocols;
the protocol processing unit is used for processing the communication data transmitted by the first UART receiver or the second UART receiver and outputting the communication data through the communication transmitting unit.
Optionally, the protocol processing unit includes a first protocol receiving and parsing unit, a second protocol receiving and parsing unit, a first data processing unit, a second data processing unit, a first protocol framing unit, and a second protocol framing unit;
the first protocol receiving and analyzing unit, the first data processing unit and the first protocol framing unit are connected in sequence;
the second protocol receiving and analyzing unit, the second data processing unit and the second protocol framing unit are connected in sequence;
the output end of the first UART receiver is connected to the first protocol receiving and analyzing unit;
the output end of the second UART receiver is connected to the second protocol receiving and analyzing unit.
Optionally, the communication transmitting unit includes a first UART transmitter and a communication transmitting port;
the output ends of the first protocol transmitting unit and the second protocol transmitting unit are connected to the input end of the first UART transmitter, and the output end of the first UART transmitter is connected to the communication transmitting port;
the communication sending port is used for outputting communication data.
Optionally, the electric energy meter further comprises a first UART baud rate generator and a second UART baud rate generator;
the first UART baud rate generator is used for generating a first baud rate for the first UART receiver and generating a first baud rate or a second baud rate for the first UART transmitter;
the second UART baud rate generator is configured to generate a second baud rate for the second UART receiver.
The second embodiment of the present invention provides a communication method compatible with 645 and 698 communication protocols based on the foregoing embodiments, the method includes:
receiving a communication protocol frame through a communication receiving port;
judging whether the received communication protocol frame is correct or not through a first UART receiver and a second UART receiver respectively;
and outputting the frame data to a corresponding protocol processing unit through a communication sending unit after the frame data is output to the corresponding protocol processing unit through the UART receiver which correctly receives the communication protocol frame.
Optionally, the determining, by the first UART receiver and the second UART receiver, whether the received communication protocol frame is correct includes the following steps:
if the communication protocol frame received by any UART receiver has byte receiving errors, the UART receiver finishes the data receiving process, and the communication protocol frame received by the other UART receiver is output to a protocol processing unit;
under the condition that no byte receiving error occurs in the communication protocol frame received by any UART receiver, the first UART receiver and the second UART receiver output the received communication protocol frame to the protocol processing unit, if the protocol processing unit analyzes the communication protocol frame transmitted by any UART receiver and an analysis error occurs, the receiving data flow of the UART receiver is finished, and the protocol processing unit processes the communication protocol frame transmitted by the other UART receiver.
Optionally, the outputting, by the UART receiver that correctly receives the communication protocol frame, the frame data to the corresponding protocol processing unit for processing includes the following steps:
analyzing the communication protocol frame through a protocol receiving and analyzing unit;
processing the analyzed communication protocol frame through a data processing unit to obtain response data;
and the response data is framed by the protocol framing unit and then output by the communication sending unit.
Optionally, the outputting by the communication sending unit includes the following steps:
judging the baud rate of the framed data;
if the baud rate of the data after framing is the first baud rate, directly transmitting the data after framing to a communication transmitting port through a first UART transmitter, and ending the communication;
if the baud rate of the framed data is the second baud rate, setting the baud rate of the first UART transmitter to be the second baud rate through the first UART baud rate generator, and transmitting the framed data to the communication transmitting port through the first UART transmitter;
after the data is sent, the baud rate of the first UART transmitter is set back to the first baud rate through the first UART baud rate generator, and the communication is finished.
Optionally, the first baud rate is 9600bps, and the second baud rate is 2400 bps.
The third embodiment of the invention provides a specific process for communication by using the electric energy meter and the method of the invention:
the receiving pin of the singlechip UART1 and the receiving pin of the UART2 are combined to be used as a communication receiving port which is connected with the RS485 receiving port. The transmitting pin of the UART1 of the singlechip is directly connected with the RS485 transmitting port, and the transmitting pin of the UART2 is irrelevant to the design and can be used for other functions. And if the RS485 communication port is a carrier or wireless module communication port, the communication receiving port and the transmitting port are connected with the receiving and transmitting ports of the corresponding modules.
When the 645 protocol frames of 2400bps are received by the communication receiving port, the communication process is as follows:
1. the UART1 and UART2 receiving pins receive bit streams at the same time and send the bit streams to corresponding UART receivers in the single chip microcomputer. The UART2 receiver receives the correct byte data. And UART1 is at 9600 baud, so byte reception errors occur at a high rate and byte data is not received.
2. If the byte code of 2400 baud rate accidentally appearing in the last step of the UART1 receiver is also correct for 9600 baud rate, the byte data is delivered to 698 protocol receiving frame analysis software for analysis, at this time, a frame error inevitably occurs, and 698 receiving data stream is ended;
3. in the step 1, byte data received by the UART2 receiver is analyzed by 645 protocol receiving frame analysis software, and after receiving a frame of data, the data frame is input to 645 data processing units for processing;
4. the 645 data processing unit outputs response data according to the received request frame, and inputs the response data to 645 protocol transmission framing software for processing;
5. after framing is carried out on data by 645 protocol sending framing software, setting the UART1 baud rate to 2400, and sending frame data to a communication sending port through a UART1 sender;
6. after the frame data is sent, the UART1 baud rate transmitter is set back to 9600bps, and then the communication is completed.
When the communication receiving port receives a 698 protocol frame of 9600bps, the communication process is as follows:
1. the UART1 and UART2 receiving pins receive bit streams at the same time and send the bit streams to corresponding UART receivers in the single chip microcomputer. The UART1 receiver receives the correct byte data. And UART2 is 2400 baud in rate, so byte reception errors occur at a large rate and byte data cannot be received.
2. If the byte code of 9600 baud rate accidentally appears in the last step of the UART2 receiver is also correct for 2400 baud rate, the byte data is delivered to 645 protocol receiving frame analysis software for analysis, at this time, a frame error inevitably occurs, and 645 receiving data stream is ended;
3. in step 1, the byte data received by the UART1 receiver is analyzed by 698 protocol received frame analysis software, and the data frame is input to the 698 data processing unit for processing;
4. 698 the data processing unit outputs response data according to the received request frame, and inputs the response data to 698 protocol sending framing software for processing;
5. 698 after framing the data, the protocol transmitting framing software transmits the frame data to a communication transmitting port through a UART1 transmitter, thereby completing the communication.
The electric energy meter adopting the scheme can be seamlessly connected with a new acquisition system and an old acquisition system and an existing management system. The existing system does not need to be modified, and the old acquisition system appears to be the table of the original 645 old protocol and the new acquisition system appears to be the table of 698 new protocol. The transformation cost of the existing system is saved, and management confusion is avoided. Meanwhile, the problem of double-protocol baud rate confusion in the test process is solved, and the modification 698 baud rate does not influence 645 completely, and vice versa.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (7)

1. A electric energy meter compatible with 645 and 698 communication protocols is characterized by comprising a communication receiving port, a first UART receiver, a second UART receiver, a protocol processing unit and a communication sending unit;
the receiving pins of the first UART receiver and the second UART receiver are connected in parallel and then connected to the communication receiving port, and the output ends of the first UART receiver and the second UART receiver are respectively connected to the protocol processing unit;
the first UART receiver and the second UART receiver are respectively used for receiving communication data of different protocols;
the protocol processing unit is used for processing the communication data transmitted by the first UART receiver or the second UART receiver and outputting the communication data through the communication transmitting unit;
the electric energy meter also comprises a first UART baud rate generator and a second UART baud rate generator;
the first UART baud rate generator is used for generating a first baud rate for the first UART receiver and generating a first baud rate or a second baud rate for the first UART transmitter;
the second UART baud rate generator is used for generating a second baud rate for the second UART receiver;
the protocol processing unit comprises a first protocol receiving and analyzing unit, a second protocol receiving and analyzing unit, a first data processing unit, a second data processing unit, a first protocol framing unit and a second protocol framing unit;
the first protocol receiving and analyzing unit, the first data processing unit and the first protocol framing unit are connected in sequence;
the second protocol receiving and analyzing unit, the second data processing unit and the second protocol framing unit are connected in sequence;
the output end of the first UART receiver is connected to the first protocol receiving and analyzing unit;
the output end of the second UART receiver is connected to the second protocol receiving and analyzing unit.
2. The electric energy meter according to claim 1, wherein the communication transmitting unit comprises a first UART transmitter and a communication transmitting port;
the output ends of the first protocol transmitting unit and the second protocol transmitting unit are connected to the input end of the first UART transmitter, and the output end of the first UART transmitter is connected to the communication transmitting port;
the communication sending port is used for outputting communication data.
3. A method of communicating using an electrical energy meter according to any one of claims 1-2, the method comprising:
receiving a communication protocol frame through a communication receiving port;
judging whether the received communication protocol frame is correct or not through a first UART receiver and a second UART receiver respectively;
and outputting the frame data to a corresponding protocol processing unit through a communication sending unit after the frame data is output to the corresponding protocol processing unit through the UART receiver which correctly receives the communication protocol frame.
4. The method of claim 3, wherein the determining whether the received communication protocol frame is correct by the first UART receiver and the second UART receiver comprises:
if the communication protocol frame received by any UART receiver has byte receiving errors, the UART receiver finishes the data receiving process, and the communication protocol frame received by the other UART receiver is output to a protocol processing unit;
under the condition that no byte receiving error occurs in the communication protocol frame received by any UART receiver, the first UART receiver and the second UART receiver output the received communication protocol frame to the protocol processing unit, if the protocol processing unit analyzes the communication protocol frame transmitted by any UART receiver and an analysis error occurs, the receiving data flow of the UART receiver is finished, and the protocol processing unit processes the communication protocol frame transmitted by the other UART receiver.
5. The method according to claim 4, wherein the outputting frame data to the corresponding protocol processing unit by the UART receiver correctly receiving the communication protocol frame comprises the following steps:
analyzing the communication protocol frame through a protocol receiving and analyzing unit;
processing the analyzed communication protocol frame through a data processing unit to obtain response data;
and the response data is framed by the protocol framing unit and then output by the communication sending unit.
6. The method of claim 5, wherein said output by the communication transmission unit comprises the steps of:
judging the baud rate of the framed data;
if the baud rate of the data after framing is the first baud rate, directly transmitting the data after framing to a communication transmitting port through a first UART transmitter, and ending the communication;
if the baud rate of the framed data is the second baud rate, setting the baud rate of the first UART transmitter to be the second baud rate through the first UART baud rate generator, and transmitting the framed data to the communication transmitting port through the first UART transmitter;
after the data is sent, the baud rate of the first UART transmitter is set back to the first baud rate through the first UART baud rate generator, and the communication is finished.
7. The method of claim 6, wherein the first baud rate is 9600bps and the second baud rate is 2400 bps.
CN201910406409.6A 2019-05-16 2019-05-16 645 and 698 communication protocol compatible electric energy meter and communication method Active CN110147341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910406409.6A CN110147341B (en) 2019-05-16 2019-05-16 645 and 698 communication protocol compatible electric energy meter and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910406409.6A CN110147341B (en) 2019-05-16 2019-05-16 645 and 698 communication protocol compatible electric energy meter and communication method

Publications (2)

Publication Number Publication Date
CN110147341A CN110147341A (en) 2019-08-20
CN110147341B true CN110147341B (en) 2021-03-26

Family

ID=67595629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910406409.6A Active CN110147341B (en) 2019-05-16 2019-05-16 645 and 698 communication protocol compatible electric energy meter and communication method

Country Status (1)

Country Link
CN (1) CN110147341B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108364454A (en) * 2018-03-02 2018-08-03 哈尔滨电工仪表研究所有限公司 A kind of intelligent protocol conversion equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8426678B2 (en) * 2002-09-18 2013-04-23 Mendel Biotechnology, Inc. Polynucleotides and polypeptides in plants
CN101277299B (en) * 2008-05-13 2011-12-21 珠海中慧微电子有限公司 Protocol conversion system and protocol conversion process
CN102768351B (en) * 2012-07-26 2015-08-19 深圳市航天泰瑞捷电子有限公司 The method of Function detection, system and intelligent fixture equipment is filled before a kind of ammeter
CN107070589A (en) * 2016-12-30 2017-08-18 国网浙江省电力公司电力科学研究院 A kind of electric energy meter adaptive approach, device and electric energy meter based on object-oriented agreement and legacy protocol
CN108089039B (en) * 2017-12-20 2020-10-27 宁波三星医疗电气股份有限公司 Method for shortening factory parameter setting time of electric energy meter
CN108989111B (en) * 2018-07-23 2021-07-27 重庆物奇科技有限公司 Method for simulating communication between nodes
CN108806224A (en) * 2018-08-09 2018-11-13 浙江八达电子仪表有限公司 Concentrator based on bandwidth carrier communication

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108364454A (en) * 2018-03-02 2018-08-03 哈尔滨电工仪表研究所有限公司 A kind of intelligent protocol conversion equipment

Also Published As

Publication number Publication date
CN110147341A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN202713318U (en) Telemetry and telecontrol single-inspection test device
CN101651683B (en) Method for generating analysis source code of signaling message
CN105917314A (en) Application error detection method for cloud streaming service, and apparatus and system therefor
CN103428627A (en) Method for transferring data in internet of things, internet of things system and corresponding device
CN108337120A (en) A kind of remote upgrade method of internet-of-things terminal equipment
WO2016123936A1 (en) Method, device, test board, and system for testing traffic of interface board
CN107592250B (en) Multi-rate self-adaptive test equipment based on aviation FC bus
CN105808396A (en) Chip debugging device, debugging method and SOC (System of Chip) chip system
CN112564772B (en) Satellite data acquisition system
KR20130021652A (en) Interface apparatus and method for converting a plurality of different vehicles diagnosis protocol to standard diagnosis protocol
CN109327338A (en) A kind of electricity information acquisition system master station method for testing pressure and system based on virtual terminal
CN113810788A (en) Intelligent ammeter information transmission method and device and terminal equipment
CN101729560A (en) Gateway equipment
CN110147341B (en) 645 and 698 communication protocol compatible electric energy meter and communication method
CN103024367B (en) Low-voltage differential signaling (LVDS) receiver, transmitter and method for receiving and transmitting LVDS
CN103532686B (en) Serial data transmission circuit and control method thereof with line sequence self-adaptive
KR20150004220A (en) Communication Device and Method for AMI(Advanced Metering Infrastructure) System
CN104796938A (en) Micropower wireless communication error rate detection analyzer
CN111741057A (en) Normalization acquisition system and method for multi-source Internet of things data
CN115657646A (en) Test method and device of CAN controller
CN105071974B (en) The method and command terminal of command terminal command and management based on RDSS
CN101706646A (en) Time integrated test system and method
CN113645052B (en) Firmware debugging method and related equipment
CN104363141B (en) A kind of FPGA verification methods and system based on processor system
CN102662716A (en) Method for realizing startup guiding control in computer system by using interface access

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
GR01 Patent grant
GR01 Patent grant