CN110147341A - A kind of electric energy meter and communication means of the communication protocol of compatibility 645 and 698 - Google Patents
A kind of electric energy meter and communication means of the communication protocol of compatibility 645 and 698 Download PDFInfo
- Publication number
- CN110147341A CN110147341A CN201910406409.6A CN201910406409A CN110147341A CN 110147341 A CN110147341 A CN 110147341A CN 201910406409 A CN201910406409 A CN 201910406409A CN 110147341 A CN110147341 A CN 110147341A
- Authority
- CN
- China
- Prior art keywords
- uart
- communication
- data
- baud rate
- receiver
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/15—Plc structure of the system
- G05B2219/15027—RS485, MPI multipoint interface, multiple transmitters, receivers connected
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33176—Rs485, mpi multipoint, multidrop interface
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
- Communication Control (AREA)
Abstract
The invention discloses the electric energy meters and communication means of a kind of communication protocol of compatibility 645 and 698, are related to electric energy meter technical field, and the electric energy meter includes communications reception mouth, the first UART receiver and the 2nd UART receiver, and protocol processing unit communicates transmission unit;It is connected to the communications reception mouth after the reception foot of the first UART receiver and the 2nd UART receiver is in parallel, the output end of the first UART receiver and the 2nd UART receiver is respectively connected to protocol processing unit;The first UART receiver and the 2nd UART receiver are respectively used to be properly received the communication data of different agreement;The protocol processing unit exports communication data by the communication transmission unit for handling the communication data that the first UART receiver or the 2nd UART receiver transmit, and by the communication data.Electric energy meter of the present invention and method change traditional UART port and the one-to-one method of communications reception mouth, and it is compatible 645 and 698 two kind of agreement that no setting is required.
Description
Technical field
The present invention relates to electric energy meter technical field, the electric energy meter of especially a kind of communication protocol of compatibility 645 and 698 and communication
Method.
Background technique
In existing scheme, each only one Baud rate generator of communications reception mouth parses physical layer word inside electric energy meter
Joint number evidence necessarily causes synchronization that can only parse a kind of communication protocol.So being needed in laboratory before installation to electric energy meter again
Secondary energization and artificial setting, or encrypted and be arranged by acquisition system after installation.Two kinds of settings all refer to repairing for a large amount of associated softwares
Change.When 645 old agreement acquisition systems upgrade to 698 new agreement in the future, mounted electric energy meter is also modified into back 9600 bauds
Rate.In addition, electric energy meter whole-life cycle fee major part link will by communication reading power meters internal information, if it exists two
The electric energy meter of the baud rate configuration of kind rate, then need to modify many management softwares to bring unpredictable management to adapt to
It is chaotic.
In addition in laboratory test, after modifying 645 agreement baud rates, 698 agreement baud rates are also modified, and are caused original
698 protocol test softwares operate normally, but use 698 test software communication mistakes after 645 agreements.698 bauds are modified in turn
Rate also results in 645 original test software communication mistakes, causes confusion.
Summary of the invention
In view of the above drawbacks of the prior art, it is an object of the invention to provide a kind of communication protocols of compatibility 645 and 698
Electric energy meter and communication means, realize that no setting is required i.e. compatible 645 and 698 two kind of agreement, and full decoupled two kinds of agreements
Baud rate, solve the problems, such as confusion.
An object of the present invention is that technical solution in this way is realized, a kind of communication protocol of compatibility 645 and 698
Electric energy meter, the electric energy meter include communications reception mouth, the first UART receiver and the 2nd UART receiver, protocol processing unit,
Communicate transmission unit;
The communications reception is connected to after the reception foot of the first UART receiver and the 2nd UART receiver is in parallel
Mouthful, the output end of the first UART receiver and the 2nd UART receiver is respectively connected to protocol processing unit;
The first UART receiver and the 2nd UART receiver are respectively used to be properly received the communication data of different agreement;
The protocol processing unit is for handling the communication that the first UART receiver or the 2nd UART receiver transmit
Data, and the communication data is exported into communication data by the communication transmission unit.
Optionally, the protocol processing unit includes that the first agreement receives resolution unit, and second protocol receives resolution unit,
First data processing unit, the second data processing unit, the first agreement Framing unit, second protocol Framing unit;
First agreement receives resolution unit, the first data processing unit, the first agreement Framing unit and is sequentially connected;
The second protocol receives resolution unit, the second data processing unit, second protocol Framing unit and is sequentially connected;
The output end of the first UART receiver is connected to first agreement and receives resolution unit;
The output end of the 2nd UART receiver is connected to the second protocol and receives resolution unit.
Optionally, the communication transmission unit includes that the first UART transmitter and communication send mouth;
The output end of the first agreement transmission unit and second protocol transmission unit is connected to the first UART hair
The input terminal of device is sent, the output end of the first UART transmitter is connected to the communication and sends mouth;
The communication sends mouth for exporting communication data.
Optionally, the electric energy meter also includes the first UART Baud rate generator and the 2nd UART Baud rate generator;
The first UART Baud rate generator is used to generate the first baud rate, Yi Jiwei for the first UART receiver
The first UART transmitter generates the first baud rate or the second baud rate;
The 2nd UART Baud rate generator is used to generate the second baud rate for the 2nd UART receiver.
It is realized the second object of the present invention is to technical solution in this way, a kind of communication protocol of compatibility 645 and 698
Communication means, this method include:
Communication protocol frame is received by communications reception mouth;
Whether the communication protocol frame received respectively by the first UART receiver and the judgement of the 2nd UART receiver is correct;
Frame data are output to corresponding protocol processes by the UART receiver by having correctly received the communication protocol frame
Frame data are passed through into communication transmission unit output after cell processing.
Optionally, described to pass through the first UART receiver and the communication protocol frame that receives of the 2nd UART receiver judgement is
It is no correct, it comprises the following steps:
If byte, which occurs, in communication protocol frame received by any UART receiver receives mistake, which is connect
Receiving data flow terminates, and is exported by the communication protocol frame that another UART receiver receives to protocol processing unit, and;
In the case that the communication protocol frame received by any UART receiver does not occur byte reception mistake, first
UART receiver and the 2nd UART receiver export the communication protocol frame received to protocol processing unit, if protocol processes list
There is parsing mistake in the communication protocol frame that any UART receiver of element resolution transmits, then the reception data flow of the UART receiver
Terminate, the communication protocol frame that protocol processing unit transmits another UART receiver is handled.
Optionally, frame data are output to correspondence by the UART receiver by having correctly received the communication protocol frame
Protocol processing unit processing, comprise the following steps:
Resolution unit is received by agreement to parse communication protocol frame;
Processing is carried out according to the communication protocol frame after parsing by data processing unit and obtains response data;
Pass through communication transmission unit output after response data is carried out framing by agreement Framing unit.
Optionally, described by communication transmission unit output, it comprises the following steps:
The baud rate of data after judging framing;
The baud rate of data after framing is that the data if the first baud rate after direct framing pass through the first UART transmission
Device is sent to communication and sends mouth, terminates this communication;
If the baud rate of the data after framing is the second baud rate, pass through the first UART Baud rate generator for first
The Configuration of baud rate of UART transmitter is the second baud rate, sends communication by the first UART transmitter for the data after framing
Send mouth;
After pending data has been sent, the Configuration of baud rate of the first UART transmitter is returned by the first UART Baud rate generator
First baud rate terminates this communication.
Optionally, first baud rate is 9600bps, and second baud rate is 2400bps.
By adopting the above-described technical solution, the present invention has the advantage that: electric energy meter of the present invention and method change biography
The UART port and the one-to-one method of communications reception mouth of system, the side of single communications reception mouth data is parsed using dual uart mouth parallel
Method, not only no setting is required i.e. compatible 645 and 698 two kind of agreement, and the full decoupled baud rate of two kinds of agreements, solves
Chaotic problem.
Other advantages, target and feature of the invention will be illustrated in the following description to a certain extent, and
And to a certain extent, based on will be apparent to those skilled in the art to investigating hereafter, Huo Zheke
To be instructed from the practice of the present invention.
Detailed description of the invention
Detailed description of the invention of the invention is as follows:
Fig. 1 is electric energy meter block diagram of the invention.
Specific embodiment
Present invention will be further explained below with reference to the attached drawings and examples.
Electric energy meter communication interface includes RS485 interface, carrier module interface and wireless module communication interface.There are communications to connect
The problem that mouth agreement cannot be compatible with by 645 old Protocol interims to 698 new agreements.
645 require port baud rate for 2400bps, and 698 require 9600bps.For acquiring adopting for electric energy meter data
Collecting system is also divided into two kinds of baud rates by new and old agreement.The acquisition system of 645 agreements cannot acquire the electric energy meter of 9600bps, and 698
The acquisition system of agreement cannot acquire the electric energy meter of 2400bps.Electric energy meter when leaving the factory because not can determine that its adopting installation
Collecting system is without can determine that baud rate.
Therefore the present invention proposes a kind of electric energy meter of communication protocol of compatibility 645 and 698, as shown in Figure 1, the electric energy meter includes
Communications reception mouth, the first UART receiver and the 2nd UART receiver, protocol processing unit communicate transmission unit;
The communications reception is connected to after the reception foot of the first UART receiver and the 2nd UART receiver is in parallel
Mouthful, the output end of the first UART receiver and the 2nd UART receiver is respectively connected to protocol processing unit;
The first UART receiver and the 2nd UART receiver are respectively used to be properly received the communication data of different agreement;
The protocol processing unit is for handling the communication that the first UART receiver or the 2nd UART receiver transmit
Data, and the communication data is exported into communication data by the communication transmission unit.
Optionally, the protocol processing unit includes that the first agreement receives resolution unit, and second protocol receives resolution unit,
First data processing unit, the second data processing unit, the first agreement Framing unit, second protocol Framing unit;
First agreement receives resolution unit, the first data processing unit, the first agreement Framing unit and is sequentially connected;
The second protocol receives resolution unit, the second data processing unit, second protocol Framing unit and is sequentially connected;
The output end of the first UART receiver is connected to first agreement and receives resolution unit;
The output end of the 2nd UART receiver is connected to the second protocol and receives resolution unit.
Optionally, the communication transmission unit includes that the first UART transmitter and communication send mouth;
The output end of the first agreement transmission unit and second protocol transmission unit is connected to the first UART hair
The input terminal of device is sent, the output end of the first UART transmitter is connected to the communication and sends mouth;
The communication sends mouth for exporting communication data.
Optionally, the electric energy meter also includes the first UART Baud rate generator and the 2nd UART Baud rate generator;
The first UART Baud rate generator is used to generate the first baud rate, Yi Jiwei for the first UART receiver
The first UART transmitter generates the first baud rate or the second baud rate;
The 2nd UART Baud rate generator is used to generate the second baud rate for the 2nd UART receiver.
Second embodiment of the invention proposes a kind of leading to for communication protocol of compatibility 645 and 698 on the basis of previous embodiment
Letter method, this method include:
Communication protocol frame is received by communications reception mouth;
Whether the communication protocol frame received respectively by the first UART receiver and the judgement of the 2nd UART receiver is correct;
Frame data are output to corresponding protocol processes by the UART receiver by having correctly received the communication protocol frame
Frame data are passed through into communication transmission unit output after cell processing.
Optionally, described to pass through the first UART receiver and the communication protocol frame that receives of the 2nd UART receiver judgement is
It is no correct, it comprises the following steps:
If byte, which occurs, in communication protocol frame received by any UART receiver receives mistake, which is connect
Receiving data flow terminates, and is exported by the communication protocol frame that another UART receiver receives to protocol processing unit, and;
In the case that the communication protocol frame received by any UART receiver does not occur byte reception mistake, first
UART receiver and the 2nd UART receiver export the communication protocol frame received to protocol processing unit, if protocol processes list
There is parsing mistake in the communication protocol frame that any UART receiver of element resolution transmits, then the reception data flow of the UART receiver
Terminate, the communication protocol frame that protocol processing unit transmits another UART receiver is handled.
Optionally, frame data are output to correspondence by the UART receiver by having correctly received the communication protocol frame
Protocol processing unit processing, comprise the following steps:
Resolution unit is received by agreement to parse communication protocol frame;
Processing is carried out according to the communication protocol frame after parsing by data processing unit and obtains response data;
Pass through communication transmission unit output after response data is carried out framing by agreement Framing unit.
Optionally, described by communication transmission unit output, it comprises the following steps:
The baud rate of data after judging framing;
The baud rate of data after framing is that the data if the first baud rate after direct framing pass through the first UART transmission
Device is sent to communication and sends mouth, terminates this communication;
If the baud rate of the data after framing is the second baud rate, pass through the first UART Baud rate generator for first
The Configuration of baud rate of UART transmitter is the second baud rate, sends communication by the first UART transmitter for the data after framing
Send mouth;
After pending data has been sent, the Configuration of baud rate of the first UART transmitter is returned by the first UART Baud rate generator
First baud rate terminates this communication.
Optionally, first baud rate is 9600bps, and second baud rate is 2400bps.
Third embodiment of the invention proposes the detailed process communicated using electric energy meter of the present invention and method:
Single-chip microcontroller UART1 is received into foot and UART2 reception foot and is risen as communications reception mouth, communications reception mouth connection
RS485 receiving port.The transmission foot of the UART1 of single-chip microcontroller is directly connected to RS485 and sends mouth, and UART2 transmission foot is unrelated with the design,
It can be used for other function.If above-mentioned RS485 port is carrier wave or wireless module port, communications reception mouth and transmission
Mouth connection respective modules send and receive mouth.
When communications reception mouth receives 645 protocol frame of 2400bps, communication process is as follows:
1, UART1 and UART2 receives foot and receives bit stream simultaneously, is sent into corresponding UART receiver inside single-chip microcontroller.UART2
Receiver receives correct byte data.And UART1 is 9600 baud rates, so there is byte and receives mistake and fail in maximum probability
Receive byte data.
If 2, accidentally there is the bytecode of 2400 baud rates for 9600 baud rates in previous step in UART1 receiver
It is correctly, then to transfer to 698 agreement receiving frame analysis softwares to parse the byte data, necessarily occur frame mistake at this time,
698 reception data flows terminate;
3, in step 1, the byte data that UART2 receiver receives transfers to 645 agreement receiving frame analysis softwares to be parsed,
After having received a frame data, data frame is input to 645 data processing units and is handled;
4, claim frame exports response data to 645 data processing units based on the received, and response data is input to 645 agreements
Framing software is sent to be handled;
5, after 645 agreements send framing software to data progress framing, setting UART1 baud rate is 2400, by frame data
Communication, which is sent to, by UART1 transmitter sends mouth;
6, after UART1 baud rate transmitter is set back 9600bps after frame data have been sent, this communication is completed.
When communications reception mouth receives 698 protocol frame of 9600bps, communication process is as follows:
1, UART1 and UART2 receives foot and receives bit stream simultaneously, is sent into corresponding UART receiver inside single-chip microcontroller.UART1
Receiver receives correct byte data.And UART2 is 2400 baud rates, so there is byte and receives mistake and fail in maximum probability
Receive byte data.
If 2, accidentally there is the bytecode of 9600 baud rates for 2400 baud rates in previous step in UART2 receiver
It is correctly, then to transfer to 645 agreement receiving frame analysis softwares to parse the byte data, necessarily occur frame mistake at this time,
645 reception data flows terminate;
3, in step 1, the byte data that UART1 receiver receives transfers to 698 agreement receiving frame analysis softwares to be parsed,
And data frame is input to 698 data processing units and is handled;
4, claim frame exports response data to 698 data processing units based on the received, and response data is input to 698 agreements
Framing software is sent to be handled;
5,698 agreements are sent after framing software carries out framing to data, are sent by UART1 transmitter frame data to logical
After letter sends mouth, this communication is completed.
The new and old two kinds of acquisition systems of access and existing management system that can be seamless using the electric energy meter of this programme.It is not required to
Existing system is modified, the table of the old agreement in original 645 is appeared in old acquisition system, is appeared in new acquisition system
The table of 698 new agreements.Existing system improvement cost is saved, managerial confusion is avoided.It also solves simultaneously double in test process
Agreement baud rate confusion problem, 698 baud rates of modification do not influence 645 completely, and vice versa.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
Finally it should be noted that: the above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, to the greatest extent
Invention is explained in detail referring to above-described embodiment for pipe, it should be understood by those ordinary skilled in the art that: still
It can be with modifications or equivalent substitutions are made to specific embodiments of the invention, and without departing from any of spirit and scope of the invention
Modification or equivalent replacement, should all cover within the scope of the claims of the present invention.
Claims (9)
1. a kind of electric energy meter of the communication protocol of compatibility 645 and 698, which is characterized in that the electric energy meter includes communications reception mouth, the
One UART receiver and the 2nd UART receiver, protocol processing unit communicate transmission unit;
It is connected to the communications reception mouth after the reception foot of the first UART receiver and the 2nd UART receiver is in parallel, institute
The output end for stating the first UART receiver and the 2nd UART receiver is respectively connected to protocol processing unit;
The first UART receiver and the 2nd UART receiver are respectively used to receive the communication data of different agreement;
The protocol processing unit is used to handle the communication data that the first UART receiver or the 2nd UART receiver transmit,
And the communication data is exported into communication data by the communication transmission unit.
2. a kind of electric energy meter of the communication protocol of compatibility 645 and 698 according to claim 1, which is characterized in that the agreement
Processing unit includes that the first agreement receives resolution unit, and second protocol receives resolution unit, the first data processing unit, the second number
According to processing unit, the first agreement Framing unit, second protocol Framing unit;
First agreement receives resolution unit, the first data processing unit, the first agreement Framing unit and is sequentially connected;
The second protocol receives resolution unit, the second data processing unit, second protocol Framing unit and is sequentially connected;
The output end of the first UART receiver is connected to first agreement and receives resolution unit;
The output end of the 2nd UART receiver is connected to the second protocol and receives resolution unit.
3. a kind of electric energy meter of the communication protocol of compatibility 645 and 698 according to claim 2, which is characterized in that the communication
Transmission unit includes that the first UART transmitter and communication send mouth;
The output end of the first agreement transmission unit and second protocol transmission unit is connected to the first UART transmitter
Input terminal, the output end of the first UART transmitter is connected to the communication and sends mouth;
The communication sends mouth for exporting communication data.
4. a kind of electric energy meter of the communication protocol of compatibility 645 and 698 according to claim 1, which is characterized in that the electric energy
Table also includes the first UART Baud rate generator and the 2nd UART Baud rate generator;
The first UART Baud rate generator is used to generate the first baud rate for the first UART receiver, and is described
First UART transmitter generates the first baud rate or the second baud rate;
The 2nd UART Baud rate generator is used to generate the second baud rate for the 2nd UART receiver.
5. a kind of communication means using the described in any item electric energy meters of claim 1-4, which is characterized in that this method includes:
Communication protocol frame is received by communications reception mouth;
Whether the communication protocol frame received respectively by the first UART receiver and the judgement of the 2nd UART receiver is correct;
Frame data are output to corresponding protocol processing unit by the UART receiver by having correctly received the communication protocol frame
Frame data are passed through into communication transmission unit output after processing.
6. according to the method described in claim 5, it is characterized in that, described pass through the first UART receiver and the 2nd UART reception
Whether the communication protocol frame that device judgement receives is correct, comprises the following steps:
If byte, which occurs, in communication protocol frame received by any UART receiver receives mistake, which receives number
Terminate according to process, is exported by the communication protocol frame that another UART receiver receives to protocol processing unit, and;
In the case that the communication protocol frame received by any UART receiver does not occur byte reception mistake, the first UART
Receiver and the 2nd UART receiver export the communication protocol frame received to protocol processing unit, if protocol processing unit solution
It analyses the communication protocol frame that any UART receiver transmits and parsing mistake occurs, then the reception data flow knot of the UART receiver
Beam, the communication protocol frame that protocol processing unit transmits another UART receiver are handled.
7. according to the method described in claim 6, it is characterized in that, described by having correctly received the communication protocol frame
Frame data are output to corresponding protocol processing unit and handled by UART receiver, are comprised the following steps:
Resolution unit is received by agreement to parse communication protocol frame;
Processing is carried out according to the communication protocol frame after parsing by data processing unit and obtains response data;
Pass through communication transmission unit output after response data is carried out framing by agreement Framing unit.
8. including following step the method according to the description of claim 7 is characterized in that described exported by communication transmission unit
It is rapid:
The baud rate of data after judging framing;
The baud rate of data after framing is that the data if the first baud rate after direct framing pass through the first UART transmitter hair
It is sent to communication and sends mouth, terminate this communication;
If the baud rate of the data after framing is the second baud rate, the first UART is sent out by the first UART Baud rate generator
The Configuration of baud rate for sending device is the second baud rate, sends communication by the first UART transmitter for the data after framing and sends
Mouthful;
After pending data has been sent, the Configuration of baud rate of the first UART transmitter is returned first by the first UART Baud rate generator
Baud rate terminates this communication.
9. according to the method described in claim 8, it is characterized in that, first baud rate is 9600bps, second baud
Rate is 2400bps.
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 true CN110147341A (en) | 2019-08-20 |
CN110147341B 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 (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277299A (en) * | 2008-05-13 | 2008-10-01 | 珠海中慧微电子有限公司 | Protocol conversion system and protocol conversion process |
CN102768351A (en) * | 2012-07-26 | 2012-11-07 | 深圳市航天泰瑞捷电子有限公司 | Method, system and intelligent tool device for detecting prior mounting function of electric meter |
US8426678B2 (en) * | 2002-09-18 | 2013-04-23 | Mendel Biotechnology, Inc. | Polynucleotides and polypeptides in plants |
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 |
CN108089039A (en) * | 2017-12-20 | 2018-05-29 | 宁波三星医疗电气股份有限公司 | A kind of electric energy meter that shortens dispatches from the factory the method for parameter setting time |
CN108364454A (en) * | 2018-03-02 | 2018-08-03 | 哈尔滨电工仪表研究所有限公司 | A kind of intelligent protocol conversion equipment |
CN108806224A (en) * | 2018-08-09 | 2018-11-13 | 浙江八达电子仪表有限公司 | Concentrator based on bandwidth carrier communication |
CN108989111A (en) * | 2018-07-23 | 2018-12-11 | 重庆物奇科技有限公司 | A kind of method communicated between analog node |
-
2019
- 2019-05-16 CN CN201910406409.6A patent/CN110147341B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8426678B2 (en) * | 2002-09-18 | 2013-04-23 | Mendel Biotechnology, Inc. | Polynucleotides and polypeptides in plants |
CN101277299A (en) * | 2008-05-13 | 2008-10-01 | 珠海中慧微电子有限公司 | Protocol conversion system and protocol conversion process |
CN102768351A (en) * | 2012-07-26 | 2012-11-07 | 深圳市航天泰瑞捷电子有限公司 | Method, system and intelligent tool device for detecting prior mounting function of electric meter |
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 |
CN108089039A (en) * | 2017-12-20 | 2018-05-29 | 宁波三星医疗电气股份有限公司 | A kind of electric energy meter that shortens dispatches from the factory the method for parameter setting time |
CN108364454A (en) * | 2018-03-02 | 2018-08-03 | 哈尔滨电工仪表研究所有限公司 | A kind of intelligent protocol conversion equipment |
CN108989111A (en) * | 2018-07-23 | 2018-12-11 | 重庆物奇科技有限公司 | A kind of method communicated between analog node |
CN108806224A (en) * | 2018-08-09 | 2018-11-13 | 浙江八达电子仪表有限公司 | Concentrator based on bandwidth carrier communication |
Also Published As
Publication number | Publication date |
---|---|
CN110147341B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109768970B (en) | Configurable universal protocol generation method | |
CN103530216B (en) | A kind of PCIE based on UVM verifies system | |
CN101651683B (en) | Method for generating analysis source code of signaling message | |
CN111083161A (en) | Data transmission processing method and device and Internet of things equipment | |
CN103259700A (en) | Avionics full-duplex switched ethernet network | |
CN101680775A (en) | Method and system of reading of utility meter data over a network | |
CN109327338A (en) | A kind of electricity information acquisition system master station method for testing pressure and system based on virtual terminal | |
CN102820959A (en) | Method for performing large data volume communication between Modbus master station and Modbus slave station | |
CN109639737A (en) | Agreement generating device, the method for converting protocol of data collection station and configuration method | |
CN207369070U (en) | A kind of multiple-energy-source information acquisition control system | |
KR20130021652A (en) | Interface apparatus and method for converting a plurality of different vehicles diagnosis protocol to standard diagnosis protocol | |
CN106205105A (en) | The data concentrator of multiple data form | |
CN102694695A (en) | Serial communication configuration and debugging method based on Ethernet communication protocol | |
CN102053935A (en) | MODBUS serial communication protocol-based communication method | |
CN106598889A (en) | SATA (Serial Advanced Technology Attachment) master controller based on FPGA (Field Programmable Gate Array) sandwich plate | |
CN105335316A (en) | Motor assembling line serial port server based on cloud computation | |
CN112564772B (en) | Satellite data acquisition system | |
CN113810788A (en) | Intelligent ammeter information transmission method and device and terminal equipment | |
CN106160852B (en) | A kind of network system and its remote upgrade method of transmission device | |
CN104580187A (en) | Method for achieving interaction of external devices of different MODULEBUS protocols and server | |
CN110365103A (en) | A kind of wireless universal type low-power consumption power dispatching data transmitting device and control method | |
CN102594871B (en) | A kind of data encapsulation method, system, adapter and Internet of things middleware | |
CN101072135A (en) | Wireless LAN testing method and system | |
CN110147341A (en) | A kind of electric energy meter and communication means of the communication protocol of compatibility 645 and 698 | |
CN115657646B (en) | Test method and device of CAN controller |
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 |