Serial communication method for field of metering

A serial port communication and field technology, applied in the field of communication, can solve the problem of large amount of data, achieve the effect of small cost and improve the speed of data interaction

Active Publication Date: 2013-12-04
HANGZHOU VANGO TECH
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Reading some address data is to read effective value data and power value data, etc. The update speed is fast, frequent reading is required, and the amount of data is large, and each slave device is different. For read operations, a large number of read operations need to be supported

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Serial communication method for field of metering
  • Serial communication method for field of metering
  • Serial communication method for field of metering

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] See figure 1 As shown, it is a schematic diagram of the implementation of the present invention in a three-phase four-wire electric energy metering application. In a specific application, a master device (MCU, microcontroller) simultaneously controls up to 4 slave devices (ie metering) via UART communication. Chip), and the master device is isolated from the slave device by optocoupler. In the figure, RX refers to the master device receiving and the slave device sending, and TX refers to the master device sending and the slave device receiving.

[0026] For example, to realize the control of the slave device, the read / write / broadcast operation of the slave device by the master device is realized through a frame with a length of 8 bytes. Only these 8 bytes can be used to control the UART communication interface of a master device. Up to four slave devices. The structure of the 8-byte frame is shown in Table 1.

[0027] Table 1: 8-byte frame sent by external MCU to slave dev...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a serial communication method for the field of metering. The serial communication method is applied to reading, writing and broadcasting operations among a master device and slave devices in electric energy metering, wherein the master device and the slave devices are in communication through a signal frame. The signal frame comprises a frame header, control information, operation target addresses, a data section and checking information, wherein the control information includes operation commands and slave device address information. By the method, the master device can control as many as four slave devices, different control operations can be performed, the information is exchanged at lower cost, and data interchange is accelerated.

Description

【Technical Field】 [0001] The invention belongs to the field of communication technology, and particularly refers to a communication method between a microcontroller (MCU) and an electric energy measurement chip in the electric energy measurement field. 【Background technique】 [0002] In the non-SOC electric energy measurement application system, the single-phase electric energy meter can be composed of a microcontroller (MCU) and a single-phase metering chip and other devices or circuits. The three-phase electric energy meter can be composed of a microcontroller and three or four single-phase Metering chip and other devices or circuit composition. And there are three communication methods between the microcontroller and the metering chip: UART, SPI and single wire. [0003] The characteristics of the UART mode are: full duplex, slow speed, but only two wires are needed to achieve communication; [0004] The characteristics of SPI mode are: full duplex, fast speed, but four wires ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
Inventor 黄苏芳杨昆赵岩
Owner HANGZHOU VANGO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products