CN205920159U - A generic interface for electric energy meter - Google Patents

A generic interface for electric energy meter Download PDF

Info

Publication number
CN205920159U
CN205920159U CN201620954878.3U CN201620954878U CN205920159U CN 205920159 U CN205920159 U CN 205920159U CN 201620954878 U CN201620954878 U CN 201620954878U CN 205920159 U CN205920159 U CN 205920159U
Authority
CN
China
Prior art keywords
interface
communication
electric energy
energy meter
self
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
CN201620954878.3U
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.)
Guizhou Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guizhou Power Grid 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 Guizhou Power Grid Co Ltd, Holley Technology Co Ltd filed Critical Electric Power Research Institute of Guizhou Power Grid Co Ltd
Priority to CN201620954878.3U priority Critical patent/CN205920159U/en
Application granted granted Critical
Publication of CN205920159U publication Critical patent/CN205920159U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model provides a generic interface for electric energy meter belongs to the power equipment field. Including communication main control chip and communication interface, communication interface links to each other with communication main control chip's input interface including the receive port and the self -defined pin that are used for receiving the communication request, receive port, still is connected with memory chip at communication main control chip's input interface, and communication main control chip still is equipped with the control port that heavily defines communication interface, and the control port links to each other with self -defined pin. Heavily define self -defined pin through the control port for self -defined pin with treat that the interface definition that the transmission equipment used is in full accord, make the electric energy meter to accomplish communication through the interface after the heavy definition because the data interface type of different disposition of equipments is different, through above -mentioned structural limit's generic interface, improved electric energy meter communication interface to different interface compatibility, also improved the suitability under the multiple use of electric energy meter.

Description

General-purpose interface for electric energy meter
Technical field
This utility model belongs to field of electrical equipment, particularly to the general-purpose interface for electric energy meter.
Background technology
With the development of the Internet, the application of electric energy meter is more and more intelligent, and the scene of scene application and functional requirement become Change increasingly faster, the application scenarios corresponding to communication interface that existing electric energy meter is used and channel saturation, new Under overall situation change, Internet of Things and big data etc. have been that thing connects it is therefore desirable to increase extendible module in the trend that must go Mouthful, to be applied to the future application scenarios such as Internet of Things, big data.
The interface definition that existing electric energy meter agrees to change module in position is fixing, is substantially universal asynchronous receiving-transmitting and passes Defeated device (universal asynchronous receiver/transmitter, uart) combines what other control lines were realized. For the module of other high speeds some, its interface may be the interface of more high speed, such as Serial Peripheral Interface (SPI) (serial Peripheral interface, spi) etc. will produce limitation in communication, lead to not apply this module.
Utility model content
In order to solve shortcoming and defect present in prior art, this utility model provides general for improving electric energy meter The general-purpose interface of property.
In order to reach above-mentioned technical purpose, this utility model provides the general-purpose interface for electric energy meter, described general connects Mouth includes the communication main control chip being located in electric energy meter, and the communication interface being connected with described main control chip;
Described communication interface includes the receiving port and self-defined pin for receiving communication request, described receiving port with The input interface of described communication main control chip is connected, and is also associated with connecing for storage in the input interface of described communication main control chip The storage chip of mouth definition, described communication main control chip is additionally provided with the control port that communication interface is redefined, described control Port processed is connected with described self-defined pin;
The pin vcc provided with high level in described communication interface, and the pin gnd being grounded.
Optionally, two self-defined pins are at least included in described communication interface.
Optionally, when described communication interface be uart interface when, described self-defined pin include rxd, txd, rst and set.
Optionally, when described communication interface is spi interface, described self-defined pin includes clk, sda, sdo and cs.
Optionally, when described communication interface is iic interface, described self-defined pin includes sda, sclk and wp.
The technical scheme that this utility model provides has the benefit that
By control port, self-defined pin is redefined so that self-defined pin is connect with transfer device use to be passed Mouth defines completely the same so that electric energy meter can complete to communicate by the interface after redefining, the number being used due to distinct device According to interface type, different, the general-purpose interface being limited by said structure, improves electric energy meter communication interface simultaneous to distinct interface Capacitive, also improves the suitability under multiple use of electric energy meter.
Brief description
In order to be illustrated more clearly that the technical solution of the utility model, required use in embodiment being described below Accompanying drawing be briefly described it should be apparent that, drawings in the following description be only some embodiments of the present utility model, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the structural representation of the general-purpose interface for electric energy meter that this utility model provides;
Fig. 2 is the schematic flow sheet of the communication means being communicated based on general-purpose interface that this utility model provides.
Specific embodiment
For making structure of the present utility model and advantage clearer, below in conjunction with accompanying drawing, structure of the present utility model is made It is further described through.
Embodiment one
This utility model provides the general-purpose interface for electric energy meter, as shown in figure 1, described general-purpose interface includes being located at electricity Communication main control chip in energy table, and the communication interface being connected with described main control chip;
Described communication interface includes the receiving port and self-defined pin for receiving communication request, described receiving port with The input interface of described communication main control chip is connected, and is also associated with connecing for storage in the input interface of described communication main control chip The storage chip of mouth definition, described communication main control chip is additionally provided with the control port that communication interface is redefined, described control Port processed is connected with described self-defined pin;
The pin vcc provided with high level in described communication interface, and the pin gnd being grounded.
In force, there is circumscribed defect to solve electric energy meter interface in prior art, the utility model proposes A kind of general-purpose interface for electric energy meter, with the rs485 interface that is arranged on before on electric energy meter, infrared interface and replaceable Unlike module interface, this general-purpose interface can be applied to including uart, spi, iic (inter-integrated Circuit, IC bus) in a series of interior data communication interfaces with more high scalability, versatility and permissible Different from the used communication interface of the equipment that electric energy meter enters row data communication according to waiting, be capable of active carries out interface pin Redefine, to adapt to new communication interfaces.In order to realize above-mentioned functions, this general-purpose interface and the communication master control core being located in electric energy meter Piece is connected.Include receiving port and self-defined pin in communication interface.Communication main control chip is provided with input interface and output Interface, input interface is connected with the receiving port in communication interface, in order to receive what other equipment sent at receiving port Data transfer request.
Input interface is also connected with the storage chip of the interface definition that is stored with.Here interface definition refers to currently to commonly use logical The pin definitions that letter interface uses.And communication main control chip on be additionally provided with control port, so communication main control chip from Input interface obtains the communication request that transfer device to be passed sends, and determines that communication is used according to the specific character section in transmission request Interface type, and then from storage chip obtain interface definition corresponding with interface type, eventually through control port to general The label of the self-defined pin in interface is modified, so that the interface definition that self-defined pin is used with transfer device to be passed Completely the same so that electric energy meter can by the interface after redefining complete communicate, due to distinct device use data-interface Type is different, and the general-purpose interface being limited by said structure improves the compatibility to distinct interface for the electric energy meter communication interface, Improve the suitability under multiple use of electric energy meter.
Optionally, two self-defined pins are at least included in described communication interface.
In force, the communication interface that current electric energy meter can use is minimum to be two communication lines, therefore limits here Fixed general-purpose interface hereinbefore at least includes two self-defined pins, to adapt to most communications request.
The communication interface that electric energy meter can use at present mainly includes uart, spi and iic, therefore when in electric energy meter Communication main control chip when to get the interface definition of transfer device to be passed be uart interface, need corresponding will be fixed for self-defined pin Justice is rxd, txd, rst and set.When the interface definition that the communication main control chip in electric energy meter gets transfer device to be passed is During spi interface, needing corresponding is clk, sda, sdo and cs by self-defined pin definitions.When the communication master control in electric energy meter When the interface definition that chip gets transfer device to be passed is iic interface, needs are corresponding to be defined three in self-defined pin For sda, sclk and wp, and remaining self-defined pin is left a blank.Here the pin using for distinct interface proposing Definition, is all the technology general knowledge in this area, the just not reinflated description of specific pin definitions title.
The utility model proposes for the general-purpose interface of electric energy meter, including communication main control chip and communication interface, communication Interface includes the receiving port and self-defined pin for receiving communication request, and receiving port is connect with the input of the main control chip that communicates Mouth is connected, and is also associated with storage chip in the input interface of communication main control chip, and communication main control chip is additionally provided with to communication interface The control port being redefined, control port is connected with self-defined pin.Weight is carried out by control port to self-defined pin Definition is so that self-defined pin is completely the same with the interface definition that transfer device to be passed uses so that electric energy meter can be by resetting Interface after justice completes to communicate, because the data interface type that distinct device uses is different, by said structure limit general Interface, improves the compatibility to distinct interface for the electric energy meter communication interface, also improves the suitable under multiple use of electric energy meter The property used.
Embodiment two
In order to make general-purpose interface complete self-defined pin is redefined, this utility model embodiment also provides a set of communication Method, as shown in Fig. 2 specifically including:
21st, make receiving port receive the communication request that transfer device to be passed sends, communication request is sent to communication master control core Piece, communication request includes the interface type that transfer device to be passed uses.
22nd, communication main control chip obtains, according to communication request, the communication interface standard that transfer device to be passed uses, according to communication Interface standard extracts interface definition from storage chip.
23rd, interface definition is transmitted to control port, make the label according to interface definition to self-defined pin for the control port Modify.
Optionally, described interface type includes uart, spi and iic.
The utility model proposes for the communication means of electric energy meter, sending including making receiving port receive transfer device to be passed Communication request and communication request is sent to communication main control chip, communication main control chip obtains according to communication request and to be transmitted sets The standby communication interface standard using, extracts interface definition according to communication interface standard from storage chip, make control port according to Interface definition is modified to the label of self-defined pin.Because communication request includes the interface class that transfer device to be passed uses Type, is therefore redefined to self-defined pin by control port so that self-defined pin is connect with transfer device use to be passed Mouth defines completely the same so that electric energy meter can complete to communicate by the interface after redefining, the number being used due to distinct device According to interface type, different, the general-purpose interface being limited by said structure, improves electric energy meter communication interface simultaneous to distinct interface Capacitive, also improves the suitability under multiple use of electric energy meter.
Each sequence number in above-described embodiment is for illustration only, the elder generation during not representing the assembling of each part or using Order afterwards.
The foregoing is only embodiment of the present utility model, not in order to limit this utility model, all in this utility model Spirit and principle within, any modification, equivalent substitution and improvement made etc., should be included in protection model of the present utility model Within enclosing.

Claims (5)

1. it is used for the general-purpose interface of electric energy meter it is characterised in that described general-purpose interface includes the communication master control being located in electric energy meter Chip, and the communication interface being connected with described main control chip;
Described communication interface includes the receiving port and self-defined pin for receiving communication request, described receiving port with described The input interface of communication main control chip is connected, and it is fixed for memory interface to be also associated with the input interface of described communication main control chip The storage chip of justice, described communication main control chip is additionally provided with the control port that communication interface is redefined, described control end Mouth is connected with described self-defined pin;
The pin vcc provided with high level in described communication interface, and the pin gnd being grounded.
2. the general-purpose interface for electric energy meter according to claim 1 is it is characterised in that at least wrap in described communication interface Include two self-defined pins.
3. the general-purpose interface for electric energy meter according to claim 1 is it is characterised in that working as described communication interface is uart During interface, described self-defined pin includes rxd, txd, rst and set.
4. the general-purpose interface for electric energy meter according to claim 1 is it is characterised in that working as described communication interface is spi During interface, described self-defined pin includes clk, sda, sdo and cs.
5. the general-purpose interface for electric energy meter according to claim 1 is it is characterised in that working as described communication interface is iic During interface, described self-defined pin includes sda, sclk and wp.
CN201620954878.3U 2016-08-26 2016-08-26 A generic interface for electric energy meter Active CN205920159U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620954878.3U CN205920159U (en) 2016-08-26 2016-08-26 A generic interface for electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620954878.3U CN205920159U (en) 2016-08-26 2016-08-26 A generic interface for electric energy meter

Publications (1)

Publication Number Publication Date
CN205920159U true CN205920159U (en) 2017-02-01

Family

ID=57869251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620954878.3U Active CN205920159U (en) 2016-08-26 2016-08-26 A generic interface for electric energy meter

Country Status (1)

Country Link
CN (1) CN205920159U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147957A (en) * 2019-12-24 2020-05-12 金卡智能集团股份有限公司 Gas meter data acquisition device with universal communication interface

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147957A (en) * 2019-12-24 2020-05-12 金卡智能集团股份有限公司 Gas meter data acquisition device with universal communication interface
CN111147957B (en) * 2019-12-24 2022-02-22 金卡智能集团股份有限公司 Gas meter data acquisition device with universal communication interface

Similar Documents

Publication Publication Date Title
CN106066840A (en) A kind of method switching electronic equipment master slave mode and a kind of electronic equipment
CN104318301B (en) TF card having communication function
CN108255754B (en) A kind of I3C main equipment of compatible I2C, I3C master-slave equipment communication system and method
CN207926624U (en) Vehicle netbios and automobile
CN101820460A (en) Module for realizing SPI interface
CN105446930A (en) Single selection end SPI (Serial Peripheral Interface) master-slave multi-machine bidirectional communication method
CN105446929A (en) Port multiplexing circuit capable of supporting SPI, I2C, I2CL and UART protocols
CN205920159U (en) A generic interface for electric energy meter
CN106126446A (en) A kind of USB device and the method identifying MacOS system thereof
CN206294300U (en) A kind of set CARPLAY communications and the device of USB transmission
CN103942173A (en) Circuit and switching method of serial interface receiving states on basis of switching from USB to high-speed CAN and UART serial interface
CN103076800A (en) Vehicle-mounted intelligent device and vehicle data identification system
CN106199177A (en) General-purpose interface for electric energy meter
CN107704407A (en) A kind of system and method for being used for data processing between SPI and UART
CN112346403A (en) Extend module connecting circuit
CN204808005U (en) Motion control card based on wifi wireless communication
CN104022933B (en) A kind of vehicle bus debugging system changed based on multimode signal
CN202696609U (en) Optical fiber concentrator
CN108234262A (en) A kind of data/address bus based on optical fiber transmission extends device and method
CN107391424A (en) A kind of read-only card reader and its implementation
CN207543138U (en) A kind of data transmission system of more industrial bus
CN206627797U (en) A kind of multi-path data acquiring system based on Modbus
CN102012890A (en) Universal serial bus (USB) data transmission method for composite keyboard and fingerprint recognizer
CN201830287U (en) Controller area network (CAN) open-RS232 gateway
CN201813396U (en) CANopen-CAN (controller area network) gateway

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: No.17 Binhe Road, Nanming District, Guiyang City, Guizhou Province

Patentee after: Guizhou Power Grid Co.,Ltd.

Address before: 550000 No. 251, Jiefang Road, Guiyang, Guizhou

Patentee before: ELECTRIC POWER RESEARCH INSTITUTE, GUIZHOU POWER GRID Co.,Ltd.

Patentee before: Holley Technology Ltd.