CN202693677U - Three-phase electronic electric energy meter - Google Patents

Three-phase electronic electric energy meter Download PDF

Info

Publication number
CN202693677U
CN202693677U CN 201220157288 CN201220157288U CN202693677U CN 202693677 U CN202693677 U CN 202693677U CN 201220157288 CN201220157288 CN 201220157288 CN 201220157288 U CN201220157288 U CN 201220157288U CN 202693677 U CN202693677 U CN 202693677U
Authority
CN
China
Prior art keywords
communication interface
chip microcomputer
energy meter
communication
module
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.)
Expired - Fee Related
Application number
CN 201220157288
Other languages
Chinese (zh)
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.)
SHENZHEN TECHRISE ELECTRONICS CO Ltd
Original Assignee
SHENZHEN TECHRISE ELECTRONICS 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 SHENZHEN TECHRISE ELECTRONICS CO Ltd filed Critical SHENZHEN TECHRISE ELECTRONICS CO Ltd
Priority to CN 201220157288 priority Critical patent/CN202693677U/en
Application granted granted Critical
Publication of CN202693677U publication Critical patent/CN202693677U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model is suitable for the field of electric energy metering. The utility model provides a three-phase electronic electric energy meter, comprising a one-chip microcomputer and a metering module, a data storage module, a display module and a power supply module which are respectively connected with the one-chip microcomputer. The three-phase electronic electric energy meter also comprises a communication interface module connected between the one-chip microcomputer and a main station; the communication interface module comprises a first communication interface used for receiving the data of a preset communication protocol, a communication interface used for receiving the data of another communication protocol and a protocol identification unit used for identifying the present communication protocol; and the one-chip microcomputer controls the baud rate of the first communication interface to be consistent with the baud rate required by the main station according to the communication protocol identified by the protocol identification unit. When power is supplied, the main station is monitored by a core CPU processor to send communication data, simultaneous reception by an UART interface and a simulation UART interface is employing for identifying two different communication protocols, and the compatibility of two communication protocols is achieved.

Description

A kind of three phases electronic energy meter
Technical field
The utility model belongs to the electric energy metrical field, relates in particular to a kind of three phases electronic energy meter.
Background technology
Occur without the electronic electric energy meter product that utilizes the compatible two kinds of communications protocol of the same communication interface realization of single-chip microcomputer temporarily in the prior art.
The utility model content
In view of this, provide a kind of three phases electronic energy meter that adopts same communication interface can realize two kinds of communications protocol compatibilities.
The utility model is achieved in that a kind of three phases electronic energy meter, comprises single-chip microcomputer and the metering module, data memory module, display module and the power module that are connected with described single-chip microcomputer respectively; Described three phases electronic energy meter also comprises: be connected to the communication interface module between described single-chip microcomputer and the main website; Described communication interface module comprises:
Be used for receiving the first communication interface of a kind of communications protocol data that arranged,
Be used for receiving the second communication interface of another kind of communications protocol data, and
Be used for identifying the protocol identification unit of current communications protocol;
The baud rate that the communications protocol that described single-chip microcomputer recognizes according to described protocol identification unit is controlled described the first communication interface is consistent with the baud rate of main website request.
Further, described the first communication interface is the UART communication interface.
Further, described the second communication interface comprises: timer and make single-chip microcomputer immediately learn the interrupter of extraneous data input signal by down trigger.
Further, described UART communication interface comprises: be used for communication conversion chip and peripheral circuit that the simulating signal of Transistor-Transistor Logic level signal that single-chip microcomputer is sent and long-distance transmissions is changed mutually.
In the utility model, three phases electronic energy meter is identified the compatible communication of different communication speeds and different communications protocol by UART communication interface and the simulation UART interface that cooperates timer to form by interrupt interface; In the Power supply situation, the communication data by core CPU processor master station issues receives to identify two kinds of different communications protocol by hard UART interface simultaneously with simulation UART interface; Two kinds of communications protocol compatibilities have been realized.
Description of drawings
Fig. 1 is the modular structure synoptic diagram of the three phases electronic energy meter that provides of the utility model embodiment;
Fig. 2 is the circuit diagram of timer and interrupter in the three phases electronic energy meter that provides of the utility model embodiment;
Fig. 3 is the circuit diagram of the middle UART communication interface of the three phases electronic energy meter that provides of the utility model embodiment;
Fig. 4 is the workflow diagram of the three phases electronic energy meter that provides of the utility model embodiment;
Fig. 5 is the assembly structure figure of the three phases electronic energy meter that provides of the utility model embodiment.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the utility model, and be not used in restriction the utility model.
Fig. 1 shows the modular structure of the three phases electronic energy meter that the utility model embodiment provides, and for convenience of explanation, only shows the part relevant with the utility model.
Three phases electronic energy meter comprises: single-chip microcomputer 1 and the metering module 3 that is connected with single-chip microcomputer 1 respectively, data memory module 4, display module 5 and power module 6; Three phases electronic energy meter also comprises: be connected to the communication interface module 2 between single-chip microcomputer 1 and the main website 7; Wherein, communication interface module 2 comprises: be used for receiving the first communication interface of a kind of communications protocol data that arranged, be used for receiving the second communication interface 23 of another kind of communications protocol data, and the protocol identification unit 22 that is used for identifying current communications protocol; The baud rate that the communications protocol that single-chip microcomputer 1 recognizes according to protocol identification unit 22 is controlled the first communication interface is consistent with the baud rate that main website 7 asks.
In the utility model, the first communication interface is UART communication interface 21; The second communication interface 23 comprises: timer 2 31 and make single-chip microcomputer immediately learn the interrupter 232 of extraneous data input signal by down trigger.
As an embodiment of the present utility model, wherein a kind of communications protocol refers to the DTL/645 communications protocol; Another kind of communications protocol refers to the IEC62056 communications protocol.
In the utility model, the UART communication interface comprises: be used for communication conversion chip U313 and peripheral circuit that the simulating signal of Transistor-Transistor Logic level signal that single-chip microcomputer is sent and long-distance transmissions is changed mutually.Wherein, U313 is RS485 communication conversion chip, but the Transistor-Transistor Logic level signal that it is responsible for that single-chip microcomputer is sent converts the simulating signal of long-distance transmissions to, simultaneously the analog signal conversion of the long-distance transmissions that receives can be become the Transistor-Transistor Logic level signal, its adopts half-duplex mode of operation namely to receive only at one time or sends.
The simulation UART interface that the three phases electronic energy meter that the utility model provides cooperates timer to form by one road hardware UART communication interface and a hard interrupt interface is identified the compatible communication of different communication speeds and different communications protocol: in the Power supply situation, the communication data that issues by core CPU processor master station receives to identify two kinds of different communications protocol with simulation UART interface the time by hard UART interface; The compatible two kinds of communications protocol of same communication interface have been realized.
Fig. 2 is the circuit diagram of timer and interrupter in the three phases electronic energy meter that provides of the utility model; In the digital received and sent process, interruption and timing function are extremely important: in receiving course, can make single-chip microcomputer immediately learn extraneous data input signal by down trigger, then by timer according to agreement baud rate data with clock information in turn, be accumulated into byte data, all byte datas are received the composition Frame, through resolving the True Data that obtains extraneous input.In process of transmitting, in turn Frame resolved into byte at output IO mouth according to the baud rate of arranging by timer and send, finish the corresponding of data communication.Finish the process of whole data communication through above transmitting-receiving.
Fig. 3 is the circuit diagram of the middle UART communication interface of the three phases electronic energy meter that provides of the utility model; The UART communication interface comprises chip SN75LBC184P and peripheral circuit thereof; Chip SN75LBC184P comprises 8 pins, and the 1st pin RO meets RXD1A, and the 2nd pin RE_ and the 3rd pin DE meet CTL1A after connecting, and the 4th pin DI meets TXD1A, and the 5th pin GND connects 485 ground, and the 6th pin A is connected to A0 by resistance R 351 and PTC1 successively; The 7th pin B is connected to B0 by resistance R 350 and PTC2 successively, the 8th pin VCC is connected to 485 ground by capacitor C 301, and voltage stabilizing diode TVS1 and voltage stabilizing diode TVS2 are connected in series between the link of the link of resistance R 350 and PTC2 and resistance R 351 and PTC1; The ground that is connected in series termination 485 of voltage stabilizing diode TVS1 and voltage stabilizing diode TVS2; G1 and G2 are connected in series between B0 and the A0.
In order to follow further instruction, it is as follows now to describe its principle of work in detail in conjunction with the circuit of Fig. 2 and Fig. 3: utilize differential signal to realize Long-range Data Transmission.At first, U313 converts the analog difference signal of A/B input to the Transistor-Transistor Logic level signal during data receiver, inputs to single-chip microcomputer from the RI pin, and single-chip microcomputer obtains the active data group and resolves.Then, the data returned according to the data analysis request after resolving and organization need of single-chip microcomputer.At last, single-chip microcomputer is crossed the RO pin with the data communication device of preparing to send and is transferred to U313, and U313 is responsible for converting the Transistor-Transistor Logic level signal to analog difference signal from the output of A/B mouth, thereby realizes Long-range Data Transmission.
Fig. 4 is the workflow diagram of the three phases electronic energy meter that provides of the utility model; It is as follows now in conjunction with Fig. 4 in detail its principle of work to be described in detail: system power-on reset, system initialization, the identification current process, if communication receiving process, the then reception of Frame the first byte, hard UART interface and simulation UART interface data receive, and identify current communications protocol and communication interface baud rate, data receiver.Process.Send, switch to the reception original state, detect whether power down, if, then be in power-down state, if not, then get back to identification current process step; If not the communication receiving process then enters the idle condition treatment step, then enter and detect whether power down step.
The three phases electronic energy meter that the utility model provides enters normal mode of operation under power supply state, the communication data frame of core CPU processor Real Time Monitoring main website; When three phases electronic energy meter monitors main website request of data is arranged, open hardware UART mouth receiving circuit and receive the DTL/645 communications protocol data that arranged, the simulation UART mouth that uses simultaneously hard interruption and timer to cooperate carries out the fixedly baud rate of IEC62056 communications protocol and is the communication data frame of 300bps; Hard UART mouth and the data that simulation UART mouth receives are carried out protocol identification, determine which kind of agreement current communication is, as then hardware UART communication interface baud rate is switched to the baud rate of main website request for the IEC62056 communications protocol; Receive complete main website communication request command frame, carry out data analysis and return the normal response data; Electronic electric energy meter automatically switches to accepting state after communication is complete and whether the Real Time Monitoring main website initiates new communication request.
Fig. 5 is the assembly structure of the three phases electronic energy meter that provides of the utility model; Three phases electronic energy meter mainly is comprised of measuring unit, data processing unit etc.,, the reactive energy meritorious except metering, also has timesharing, measures the two or more functions such as requirement, and can show, store and export data.Three phases electronic energy meter RS485 communication interface uses the communication of hard UART mouth, receive link increase by one hard in fracture identify communications protocol.The three phases electronic energy meter that adopts the utility model to provide has the following advantages: good compatibility: can compatible DTL/645 and IEC62056 communications protocol; Simplify as far as possible hardware design circuit, reduce hardware cost; The external interface simple operations is more convenient.
In the utility model, three phases electronic energy meter is identified the compatible communication of different communication speeds and different communications protocol by UART communication interface and the simulation UART interface that cooperates timer to form by interrupt interface; In the Power supply situation, the communication data by core CPU processor master station issues receives to identify two kinds of different communications protocol by hard UART interface simultaneously with simulation UART interface; Two kinds of communications protocol compatibilities have been realized.
The above only is preferred embodiment of the present utility model; not in order to limit the utility model; all any modifications of within spirit of the present utility model and principle, doing, be equal to and replace and improvement etc., all should be included within the protection domain of the present utility model.

Claims (4)

1. a three phases electronic energy meter is characterized in that, comprises single-chip microcomputer and the metering module, data memory module, display module and the power module that are connected with described single-chip microcomputer respectively; Described three phases electronic energy meter also comprises: be connected to the communication interface module between described single-chip microcomputer and the main website;
Described communication interface module comprises:
Be used for receiving the first communication interface of a kind of communications protocol data that arranged,
Be used for receiving the second communication interface of another kind of communications protocol data, and
Be used for identifying the protocol identification unit of current communications protocol;
The baud rate that the communications protocol that described single-chip microcomputer recognizes according to described protocol identification unit is controlled described the first communication interface is consistent with the baud rate of main website request.
2. three phases electronic energy meter as claimed in claim 1 is characterized in that, described the first communication interface is the UART communication interface.
3. three phases electronic energy meter as claimed in claim 1 or 2 is characterized in that, described the second communication interface comprises: timer and make single-chip microcomputer immediately learn the interrupter of extraneous data input signal by down trigger.
4. three phases electronic energy meter as claimed in claim 2, it is characterized in that described UART communication interface comprises: be used for communication conversion chip and peripheral circuit that the simulating signal of Transistor-Transistor Logic level signal that single-chip microcomputer is sent and long-distance transmissions is changed mutually.
CN 201220157288 2012-04-13 2012-04-13 Three-phase electronic electric energy meter Expired - Fee Related CN202693677U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220157288 CN202693677U (en) 2012-04-13 2012-04-13 Three-phase electronic electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220157288 CN202693677U (en) 2012-04-13 2012-04-13 Three-phase electronic electric energy meter

Publications (1)

Publication Number Publication Date
CN202693677U true CN202693677U (en) 2013-01-23

Family

ID=47549278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220157288 Expired - Fee Related CN202693677U (en) 2012-04-13 2012-04-13 Three-phase electronic electric energy meter

Country Status (1)

Country Link
CN (1) CN202693677U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103954832A (en) * 2014-04-01 2014-07-30 浙江恒业电子有限公司 Three-phase carrier wave electric energy meter system
CN112291130A (en) * 2020-12-03 2021-01-29 国创新能源汽车智慧能源装备创新中心(江苏)有限公司 Networking system and method of field bus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103954832A (en) * 2014-04-01 2014-07-30 浙江恒业电子有限公司 Three-phase carrier wave electric energy meter system
CN112291130A (en) * 2020-12-03 2021-01-29 国创新能源汽车智慧能源装备创新中心(江苏)有限公司 Networking system and method of field bus
CN112291130B (en) * 2020-12-03 2022-04-01 国创移动能源创新中心(江苏)有限公司 Networking system and method of field bus

Similar Documents

Publication Publication Date Title
CN204350048U (en) A kind of wired home management of power use device towards cloud service
CN103592549A (en) Intelligent power system fault recorder
CN102739290A (en) Interactive terminal with power line carrier communication access function
CN102722167A (en) Integrated controller for floor
CN202693677U (en) Three-phase electronic electric energy meter
CN201845233U (en) Internet-of-things data acquisition control instrument
CN202120438U (en) Intelligent centralized meter reading terminal
CN202600960U (en) Electricity consumption information acquisition terminal capable of supporting optical fiber communication
CN204279131U (en) A kind of entire car controller of pure electric automobile
CN206741692U (en) The energy data extraction element of electric energy meter
CN202816136U (en) Energy information collecting device
CN213399965U (en) Infrared intelligent network acquisition terminal
CN204721367U (en) Width funtion based on ethernet ip v6 communication protocol is powered concentrator
CN204302969U (en) The USB/RS232-CAN translation debugging device of various configurations mode
CN203276525U (en) Embedded test system convenient for near-field data transmission
CN202939792U (en) Single-phase dual-channel communication module
CN207649880U (en) A kind of optical module test system of changeable circuit
CN203572895U (en) Intelligent power system fault recorder
CN203910010U (en) Intelligent community electricity-consumption information acquisition system
CN202872774U (en) Interactive terminal with power line carrier communication access function
CN203012013U (en) ARM-based multi-user intelligent electric meter
CN202735799U (en) Integrated controller for floor
CN206686163U (en) Multiple terminals wireless monitor system based on ZigBee
CN202650220U (en) Intelligent access equipment for Internet of Things
CN202584404U (en) Wireless water meter acquisition and control device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130123

Termination date: 20160413