[go: up one dir, main page]

CN105871893A - Electric system measurement and communication integrated chip supporting IEC61850 - Google Patents

Electric system measurement and communication integrated chip supporting IEC61850 Download PDF

Info

Publication number
CN105871893A
CN105871893A CN201610326983.7A CN201610326983A CN105871893A CN 105871893 A CN105871893 A CN 105871893A CN 201610326983 A CN201610326983 A CN 201610326983A CN 105871893 A CN105871893 A CN 105871893A
Authority
CN
China
Prior art keywords
communication
module
data
iec61850
chip
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.)
Pending
Application number
CN201610326983.7A
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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201610326983.7A priority Critical patent/CN105871893A/en
Publication of CN105871893A publication Critical patent/CN105871893A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0631Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

本发明公开了一种支持IEC61850的电力系统测量与通信一体化芯片,包括采集模块、存储模块、处理模块、加密解密模块、通信模块、以太网模块、传输模块和片内总线。采集模块包括测量模拟信号的模数转换器ADC、采集数字信号的通用数字输入输出端口GPIO;片内总线包括AHB高速系统总线与APB低速外设总线,通过两个AHB2APB桥进行连接。该芯片实现了模拟信号测量、数字信号测量、IEC103数据包转换、IEC61850数据包转换等功能,具有体积小、成本低、功耗低、使用方便、通讯灵活、可靠性强、安全性高等特点。

The invention discloses an integrated power system measurement and communication chip supporting IEC61850, which includes an acquisition module, a storage module, a processing module, an encryption and decryption module, a communication module, an Ethernet module, a transmission module and an on-chip bus. The acquisition module includes an analog-to-digital converter ADC for measuring analog signals, and a general-purpose digital input and output port GPIO for acquiring digital signals; the on-chip bus includes AHB high-speed system bus and APB low-speed peripheral bus, connected through two AHB2APB bridges. The chip realizes the functions of analog signal measurement, digital signal measurement, IEC103 data packet conversion, IEC61850 data packet conversion, etc. It has the characteristics of small size, low cost, low power consumption, convenient use, flexible communication, strong reliability and high security.

Description

一种支持IEC61850的电力系统测量与通信一体化芯片An integrated chip for power system measurement and communication supporting IEC61850

技术领域technical field

本发明涉及电力通信的技术领域,特别涉及一种支持IEC61850的电力系统测量与通信一体化芯片。The invention relates to the technical field of power communication, in particular to an integrated chip for power system measurement and communication supporting IEC61850.

背景技术Background technique

IEC103通信协议和IEC61850通信协议是电力系统通信网络中两种重要的通信标准。目前,电力系统的很多测量、保护设备都采用IEC103通信标准,并逐步向IEC61850通信标准转换。以数字化变电站为例,系统的运行数据(三相电压、电流、开关状态等)数据的需要从电子互感器进行采集,通过站内网络进行传输、接收设备接收或应用设备对数据进行处理,实现监控或发出动作命令,整个通信过程是建立在IEC61850的通信规范上进行的。目前的设备都是从传感器采集数据,但不支持数据的IEC103和IEC61850规范转换,需要外接规约转换器,存在硬件线路连接复杂、结构复杂、体积大、投入成本高等问题。IEC103 communication protocol and IEC61850 communication protocol are two important communication standards in power system communication network. At present, many measurement and protection equipment in the power system adopt the IEC103 communication standard, and gradually convert to the IEC61850 communication standard. Taking the digital substation as an example, the system's operating data (three-phase voltage, current, switch status, etc.) needs to be collected from the electronic transformer, transmitted through the network in the station, received by the receiving device or processed by the application device to realize monitoring Or issue an action command, the entire communication process is based on the IEC61850 communication specification. The current equipment collects data from sensors, but does not support IEC103 and IEC61850 standard conversion of data, and requires an external protocol converter. There are problems such as complex hardware circuit connections, complex structures, large volumes, and high investment costs.

随着电力自动化设备片上系统的快速发展,将电力系统的测量和通信功能芯片化,设计一种能够采集模拟信号、数字信号,并将采集数据转换为符合IEC103协议和IEC61850协议数据包的芯片,有助于降低变电站智能设备的开发成本和难度、缩短开发周期、简化硬件电路。此外,将安全模块集成到芯片中,有助于提高电力系统通信数据的安全性和可靠性。With the rapid development of the system-on-chip of power automation equipment, the measurement and communication functions of the power system are chip-based, and a chip that can collect analog signals and digital signals and convert the collected data into data packets conforming to the IEC103 protocol and the IEC61850 protocol is designed. It helps to reduce the development cost and difficulty of substation intelligent equipment, shorten the development cycle, and simplify the hardware circuit. In addition, integrating a security module into the chip helps to improve the security and reliability of power system communication data.

发明内容Contents of the invention

本发明的目的在于克服现有技术的缺点与不足,提供一种支持IEC61850的电力系统测量与通信一体化芯片。The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and provide an integrated chip for power system measurement and communication supporting IEC61850.

本发明的目的通过下述技术方案实现:The object of the present invention is achieved through the following technical solutions:

一种支持IEC61850的电力系统测量与通信一体化芯片,所述一体化芯片包括采集模块、存储模块、处理模块、加密解密模块、通信模块、以太网模块、传输模块和片内总线;An integrated chip for power system measurement and communication supporting IEC61850, the integrated chip includes an acquisition module, a storage module, a processing module, an encryption and decryption module, a communication module, an Ethernet module, a transmission module and an on-chip bus;

所述片内总线包括AHB高速系统总线与APB低速外设总线,通过两个AHB2APB桥AHB2APB Bridege 0和AHB2APB Bridege 1进行连接;The on-chip bus includes an AHB high-speed system bus and an APB low-speed peripheral bus, connected through two AHB2APB bridges AHB2APB Bridege 0 and AHB2APB Bridege 1;

所述采集模块包括模数转换器ADC、通用数字输入输出端口GPIO,分别用于测量模拟信号和采集数字信号;The acquisition module includes an analog-to-digital converter ADC and a general-purpose digital input and output port GPIO, which are respectively used for measuring analog signals and collecting digital signals;

所述存储模块包括嵌入式快速存储器EFLASH、只读存储器ROM、静态随机存储器SRAM,用于数据和程序的存储;The storage module includes an embedded fast memory EFLASH, a read-only memory ROM, and a static random access memory SRAM for storing data and programs;

所述处理模块为高性能ARM926EJS微处理器,将采集的数据转换为符合IEC103通信协议和IEC61850通信协议的数据包;The processing module is a high-performance ARM926EJS microprocessor, which converts the collected data into data packets conforming to the IEC103 communication protocol and the IEC61850 communication protocol;

所述加密解密模块为高级加密解密AES单元,用于实现通信数据的加密和解密功能;The encryption and decryption module is an advanced encryption and decryption AES unit, which is used to realize the encryption and decryption functions of communication data;

所述通信模块包括通用异步收发传输器UART 0和UART 1、串行外设接口SPI、双向串行接口I2C;Described communication module comprises universal asynchronous transceiver transmitter UART 0 and UART 1, serial peripheral interface SPI, two-way serial interface I2C;

所述以太网模块包括物理地址访问控制器MAC与物理层收发控制器PHY;The Ethernet module includes a physical address access controller MAC and a physical layer transceiver controller PHY;

所述传输模块为直接存储器访问控制器DMA;The transmission module is a direct memory access controller DMA;

所述高性能ARM926EJS微处理器、嵌入式快速存储器EFLASH、只读存储器ROM、静态随机存储器SRAM、高级加密解密AES单元、物理地址访问控制器MAC、直接存储器访问控制器DMA和所述AHB高速系统总线连接,所述通用异步收发传输器UART 0、串行外设接口SPI、双向串行接口I2C、通用数字输入输出端口GPIO和所述APB低速系统总线连接并通过AHB2APBBridege 0和所述AHB高速系统总线连接,所述通用异步收发传输器UART 1、模数转换器ADC、物理层收发控制器PHY和所述APB低速系统总线连接并通过AHB2APB Bridege 1和所述AHB高速系统总线连接。The high-performance ARM926EJS microprocessor, embedded fast memory EFLASH, read-only memory ROM, static random access memory SRAM, advanced encryption and decryption AES unit, physical address access controller MAC, direct memory access controller DMA and the AHB high-speed system Bus connection, the universal asynchronous transceiver transmitter UART 0, serial peripheral interface SPI, bidirectional serial interface I2C, general purpose digital input and output port GPIO and the APB low-speed system bus are connected and passed through AHB2APBBridege 0 and the AHB high-speed system Bus connection, the UART 1, the analog-to-digital converter ADC, the physical layer transceiver controller PHY are connected to the APB low-speed system bus and connected to the AHB high-speed system bus through AHB2APB Bridege 1.

进一步地,所述模数转换器ADC用于测量模拟信号,为6个通道16位模数转换器,每个通道采样率高达16K,输入电压范围设置为+/-10V或+/-5V;Further, the analog-to-digital converter ADC is used to measure analog signals, and is a 16-bit analog-to-digital converter with 6 channels, and the sampling rate of each channel is as high as 16K, and the input voltage range is set to +/-10V or +/-5V;

所述通用数字输入输出端口GPIO用于采集数字信号,为32个32位的数字量输入输出口,输入电压范围为0~3.3V。The general-purpose digital input and output ports GPIO are used for collecting digital signals, and are 32 32-bit digital input and output ports, and the input voltage range is 0-3.3V.

进一步地,所述嵌入式快速存储器EFLASH为片内集成2M EFLASH,用于存储boot loader程序和规约转换配置文件;Further, the embedded fast memory EFLASH is an on-chip integrated 2M EFLASH for storing boot loader programs and protocol conversion configuration files;

所述只读存储器ROM为片内集成16KB ROM,用于存储一体化芯片的控制程序;The read-only memory ROM is an integrated 16KB ROM in the chip, which is used to store the control program of the integrated chip;

所述静态随机存储器SRAM为片内集成16KB SRAM,用于规约转换中数据的存储。The static random access memory (SRAM) is an on-chip integrated 16KB SRAM, which is used for data storage during protocol conversion.

进一步地,所述高性能ARM926EJS微处理器的控制程序在Keil4开发环境下编写,芯片嵌入UCOS-II实时操作程序,ARM处理器控制采集模块采集数据并存储在片内存储器中,然后将采集到的数据转换为符合IEC103通信协议和IEC61850通信协议的数据包,最后控制以太网模块和通信接口发出数据包。Further, the control program of the high-performance ARM926EJS microprocessor is written under the Keil4 development environment, the chip is embedded in the UCOS-II real-time operating program, and the ARM processor controls the acquisition module to collect data and store it in the on-chip memory, and then the collected The data is converted into a data packet conforming to the IEC103 communication protocol and the IEC61850 communication protocol, and finally the Ethernet module and the communication interface are controlled to send the data packet.

进一步地,所述高级加密解密AES单元采用128bits的分组长度和128bits密钥长度的AES算法,加密模式采用CBC分组模式,用于实现通信数据的加密和解密功能,AES单元对IEC103数据包和IEC61850数据包分别加密。Further, the advanced encryption and decryption AES unit adopts the AES algorithm with a packet length of 128bits and a key length of 128bits, and the encryption mode adopts the CBC grouping mode, which is used to realize the encryption and decryption functions of communication data. Data packets are encrypted individually.

进一步地,所述通信模块的UART 0用于发送高级加密解密AES单元对IEC103数据包进行加密后得到的数据包,所述通信模块的UART 1、SPI、I2C为扩展接口,用于与外设连接通信。Further, the UART 0 of the communication module is used to send the data packet obtained after the advanced encryption and decryption AES unit encrypts the IEC103 data packet, and the UART 1, SPI, and I2C of the communication module are expansion interfaces for communicating with peripherals Connect communication.

进一步地,所述以太网模块包括2个10/100M物理地址访问控制器MAC和2个物理层收发控制器PHY,分别支持以太网口以及光纤口连接,用于发送高级加密解密AES单元对IEC61850数据包进行加密后得到的数据包。Further, the Ethernet module includes two 10/100M physical address access controllers MAC and two physical layer transceiver controllers PHY, which respectively support Ethernet port and optical fiber port connection, and are used to send advanced encryption and decryption AES units to IEC61850 The data packet obtained after the data packet is encrypted.

进一步地,所述直接存储器访问控制器DMA包含4个通道DMA,其中,通道0将模数转换器ADC的测量数据传输至静态随机存储器SRAM中,通道1将通用数字输入输出端口GPIO、UART 0、SPI、I2C的测量数据传输至静态随机存储器SRAM中,通道3将高性能ARM926EJS微处理器转换得到的IEC103数据包和IEC61850数据包传输至高级加密解密AES单元。Further, the direct memory access controller DMA includes 4 channels DMA, wherein, channel 0 transmits the measurement data of the analog-to-digital converter ADC to the static random access memory SRAM, and channel 1 transmits the general digital input and output ports GPIO, UART 0 , SPI, and I2C measurement data are transmitted to SRAM, and channel 3 transmits the IEC103 data packets and IEC61850 data packets converted by the high-performance ARM926EJS microprocessor to the advanced encryption and decryption AES unit.

本发明相对于现有技术具有如下的优点及效果:Compared with the prior art, the present invention has the following advantages and effects:

(1)本发明将采集的模拟、数字数据直接转换为符合IEC103协议和IEC61850协议的数据包,无需外接规约转换器,降低了开发难度、缩短了开发周期。(1) The present invention directly converts the collected analog and digital data into data packets conforming to the IEC103 protocol and the IEC61850 protocol, without the need for an external protocol converter, which reduces the development difficulty and shortens the development cycle.

(2)本发明集成了PHY芯片,支持以太网口和光纤通信,简化了硬件电路、降低了开发成本。(2) The present invention integrates a PHY chip, supports Ethernet port and optical fiber communication, simplifies hardware circuits, and reduces development costs.

(3)本发明集成了高级加密解密AES单元,能够对数据进行加密处理,提高了通信的可靠性和安全性。(3) The present invention integrates an advanced encryption and decryption AES unit, which can encrypt data and improve the reliability and security of communication.

附图说明Description of drawings

图1是本发明公开的一种支持IEC61850的电力系统测量与通信一体化芯片的结构框图。Fig. 1 is a structural block diagram of a power system measurement and communication integrated chip supporting IEC61850 disclosed by the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

实施例Example

本发明公开的一种支持IEC61850的电力系统测量与通信一体化芯片的结构图如图1所示,所述芯片包括采集模块、存储模块、处理模块、加密解密模块、通信模块、以太网模块、传输模块和片内总线。The structural diagram of a power system measurement and communication integrated chip supporting IEC61850 disclosed by the present invention is shown in Figure 1. The chip includes an acquisition module, a storage module, a processing module, an encryption and decryption module, a communication module, an Ethernet module, Transport modules and on-chip bus.

所述片内总线包括AHB高速系统总线与APB低速外设总线,通过两个AHB2APB桥AHB2APB Bridege 0和AHB2APB Bridege 1进行连接。The on-chip bus includes an AHB high-speed system bus and an APB low-speed peripheral bus, which are connected through two AHB2APB bridges, AHB2APB Bridege 0 and AHB2APB Bridege 1.

所述采集模块包括模数转换器ADC、通用数字输入输出端口GPIO。The acquisition module includes an analog-to-digital converter ADC and a general-purpose digital input and output port GPIO.

所述存储模块包括嵌入式快速存储器EFLASH、只读存储器ROM、静态随机存储器SRAM,用于数据和程序的存储。The storage module includes an embedded fast memory EFLASH, a read-only memory ROM, and a static random access memory SRAM for storing data and programs.

所述处理模块为高性能ARM926EJS微处理器,将采集的数据转换为符合IEC103通信协议和IEC61850通信协议的数据包。The processing module is a high-performance ARM926EJS microprocessor, which converts the collected data into data packets conforming to the IEC103 communication protocol and the IEC61850 communication protocol.

所述加密解密模块为高级加密解密AES单元。The encryption and decryption module is an advanced encryption and decryption AES unit.

所述通信模块包括通用异步收发传输器UART 0和UART 1、串行外设接口SPI、双向串行接口I2C。The communication module includes UART 0 and UART 1, a serial peripheral interface SPI, and a bidirectional serial interface I2C.

所述以太网模块包括物理地址访问控制器MAC、物理层收发控制器PHY。The Ethernet module includes a physical address access controller MAC and a physical layer transceiver controller PHY.

所述传输模块为直接存储器访问控制器DMA。The transmission module is a direct memory access controller DMA.

所述高性能ARM926EJS微处理器、嵌入式快速存储器EFLASH、只读存储器ROM、静态随机存储器SRAM、高级加密解密AES单元、物理地址访问控制器MAC、直接存储器访问控制器DMA和所述AHB高速系统总线连接,所述通用异步收发传输器UART 0、串行外设接口SPI、双向串行接口I2C、通用数字输入输出端口GPIO和所述APB低速系统总线连接并通过AHB2APBBridege 0和所述AHB高速系统总线连接,所述通用异步收发传输器UART 1、模数转换器ADC、物理层收发控制器PHY和所述APB低速系统总线连接并通过AHB2APB Bridege 1和所述AHB高速系统总线连接。The high-performance ARM926EJS microprocessor, embedded fast memory EFLASH, read-only memory ROM, static random access memory SRAM, advanced encryption and decryption AES unit, physical address access controller MAC, direct memory access controller DMA and the AHB high-speed system Bus connection, the universal asynchronous transceiver transmitter UART 0, serial peripheral interface SPI, bidirectional serial interface I2C, general purpose digital input and output port GPIO and the APB low-speed system bus are connected and passed through AHB2APBBridege 0 and the AHB high-speed system Bus connection, the UART 1, the analog-to-digital converter ADC, the physical layer transceiver controller PHY are connected to the APB low-speed system bus and connected to the AHB high-speed system bus through AHB2APB Bridege 1.

上述采集模块包括模数转换器ADC和通用数字输入输出端口GPIO,其中,所述模数转换器ADC用于测量模拟信号,为6个通道16位模数转换器,每个通道采样率高达16K,输入电压范围可设置为+/-10V或+/-5V;The above acquisition module includes an analog-to-digital converter ADC and a general-purpose digital input and output port GPIO, wherein the analog-to-digital converter ADC is used to measure analog signals, and is a 16-bit analog-to-digital converter with 6 channels, and the sampling rate of each channel is up to 16K , the input voltage range can be set to +/-10V or +/-5V;

所述通用数字输入输出端口GPIO用于采集数字信号,为32个32位的数字量输入输出口,输入电压范围为0~3.3V。The general-purpose digital input and output ports GPIO are used for collecting digital signals, and are 32 32-bit digital input and output ports, and the input voltage range is 0-3.3V.

所述嵌入式快速存储器EFLASH为片内集成2M EFLASH,用于存储bootloader程序和规约转换配置文件;The embedded fast memory EFLASH is an on-chip integrated 2M EFLASH for storing bootloader programs and protocol conversion configuration files;

所述只读存储器ROM为片内集成的16KB ROM,用于存储一体化芯片的控制程序;The read-only memory ROM is a 16KB ROM integrated in the chip, which is used to store the control program of the integrated chip;

所述静态随机存储器SRAM为片内集成16KB SRAM,用于规约转换中数据的存储。The static random access memory (SRAM) is an on-chip integrated 16KB SRAM, which is used for data storage during protocol conversion.

所述高性能ARM926EJS微处理器的控制程序在Keil4开发环境下编写,芯片嵌入UCOS-II实时操作程序,ARM处理器控制采集模块采集数据并存储在片内存储器中,然后将采集到的数据转换为符合IEC103通信协议和IEC61850通信协议的数据包,最后控制以太网模块和通信接口发出数据包。The control program of the high-performance ARM926EJS microprocessor is written under the Keil4 development environment, the chip is embedded in the UCOS-II real-time operating program, and the ARM processor controls the acquisition module to collect data and store it in the on-chip memory, and then convert the collected data In order to comply with the data packets of the IEC103 communication protocol and the IEC61850 communication protocol, finally control the Ethernet module and the communication interface to send the data packets.

所述高级加密解密AES单元采用128bits的分组长度和128bits密钥长度的AES算法,加密模式采用CBC分组模式,用于实现通信数据的加密和解密功能,AES单元对IEC103数据包和IEC61850数据包分别加密。The advanced encryption and decryption AES unit adopts the AES algorithm with a packet length of 128bits and a key length of 128bits, and the encryption mode adopts the CBC packet mode, which is used to realize the encryption and decryption functions of communication data. encryption.

所述通信模块的UART 0用于发送AES单元对IEC103数据包进行加密后得到的数据包,所述通信模块的UART 1、SPI、I2C为扩展接口,用于与外设连接通信。The UART 0 of the communication module is used to send the data packet obtained after the AES unit encrypts the IEC103 data packet, and the UART 1, SPI, and I2C of the communication module are expansion interfaces for connecting and communicating with peripherals.

所述以太网模块包括2个10/100M物理地址访问控制器MAC和2个物理层收发控制器PHY,分别支持以太网口以及光纤口连接,用于发送高级加密解密AES单元对IEC61850数据包进行加密后得到的数据包。The Ethernet module includes two 10/100M physical address access controllers MAC and two physical layer transceiver controllers PHY, which respectively support Ethernet port and optical fiber port connections, and are used to send advanced encryption and decryption AES units to perform IEC61850 data packets Encrypted data packets.

所述直接存储器访问控制器DMA包含4个通道DMA,其中,通道0将模数转换器ADC的测量数据传输至静态随机存储器SRAM中,通道1将通用数字输入输出端口GPIO、UART 0、SPI、I2C的测量数据传输至静态随机存储器SRAM中,通道3将高性能ARM926EJS微处理器转换得到的IEC103数据包和IEC61850数据包传输至高级加密解密AES单元。The direct memory access controller DMA includes 4 channels DMA, wherein, the channel 0 transmits the measurement data of the analog-to-digital converter ADC to the static random access memory SRAM, and the channel 1 transmits the general digital input and output ports GPIO, UART 0, SPI, The measured data of I2C is transmitted to SRAM, and the channel 3 transmits the IEC103 data packet and IEC61850 data packet converted by the high-performance ARM926EJS microprocessor to the advanced encryption and decryption AES unit.

上述一体化芯片正常工作流程如下:The normal working process of the above-mentioned integrated chip is as follows:

(1)ARM控制ADC采集每个通道的模拟信号并通过DMA通道0传输至SRAM存储,ARM控制GPIO、UART 0、SPI、I2C等接口采集数字信号并通过DMA通道1传输至SRAM存储。(1) ARM controls the ADC to collect the analog signal of each channel and transmits it to SRAM storage through DMA channel 0, and ARM controls GPIO, UART 0, SPI, I2C and other interfaces to collect digital signals and transmits it to SRAM storage through DMA channel 1.

(2)ARM读取SRAM中存储的数据,将采集到数据转换为符合IEC103通信协议和IEC61850通信协议的数据包,数据保存在SRAM中。(2) ARM reads the data stored in SRAM, converts the collected data into data packets conforming to IEC103 communication protocol and IEC61850 communication protocol, and stores the data in SRAM.

(3)ARM通过DMA通道3将存储在SRAM中的IEC103数据包和IEC61850数据包传输至AES单元进行加密。(3) ARM transmits the IEC103 data packet and IEC61850 data packet stored in the SRAM to the AES unit through DMA channel 3 for encryption.

(4)加密后的IEC103数据包通过由ARM控制串口UART 1发送,加密后的IEC61850数据包由ARM控制MAC和PHY芯片进行发送,支持以太网口和光纤接口。(4) The encrypted IEC103 data packet is sent through the ARM control serial port UART 1, and the encrypted IEC61850 data packet is sent by the ARM control MAC and PHY chip, and supports Ethernet port and optical fiber interface.

上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.

Claims (8)

1.一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,所述一体化芯片包括采集模块、存储模块、处理模块、加密解密模块、通信模块、以太网模块、传输模块和片内总线;1. A power system measurement and communication integrated chip supporting IEC61850, characterized in that, the integrated chip includes an acquisition module, a storage module, a processing module, an encryption and decryption module, a communication module, an Ethernet module, a transmission module and a chip internal bus; 所述片内总线包括AHB高速系统总线与APB低速外设总线,通过两个AHB2APB桥AHB2APB Bridege 0和AHB2APB Bridege 1进行连接;The on-chip bus includes an AHB high-speed system bus and an APB low-speed peripheral bus, connected through two AHB2APB bridges AHB2APB Bridege 0 and AHB2APB Bridege 1; 所述采集模块包括模数转换器ADC、通用数字输入输出端口GPIO,分别用于测量模拟信号和采集数字信号;The acquisition module includes an analog-to-digital converter ADC and a general-purpose digital input and output port GPIO, which are respectively used for measuring analog signals and collecting digital signals; 所述存储模块包括嵌入式快速存储器EFLASH、只读存储器ROM、静态随机存储器SRAM,用于数据和程序的存储;The storage module includes an embedded fast memory EFLASH, a read-only memory ROM, and a static random access memory SRAM for storing data and programs; 所述处理模块为高性能ARM926EJS微处理器,将采集的数据转换为符合IEC103通信协议和IEC61850通信协议的数据包;The processing module is a high-performance ARM926EJS microprocessor, which converts the collected data into data packets conforming to the IEC103 communication protocol and the IEC61850 communication protocol; 所述加密解密模块为高级加密解密AES单元,用于实现通信数据的加密和解密功能;The encryption and decryption module is an advanced encryption and decryption AES unit, which is used to realize the encryption and decryption functions of communication data; 所述通信模块包括通用异步收发传输器UART 0和UART 1、串行外设接口SPI、双向串行接口I2C;Described communication module comprises universal asynchronous transceiver transmitter UART 0 and UART 1, serial peripheral interface SPI, two-way serial interface I2C; 所述以太网模块包括物理地址访问控制器MAC与物理层收发控制器PHY;The Ethernet module includes a physical address access controller MAC and a physical layer transceiver controller PHY; 所述传输模块为直接存储器访问控制器DMA;The transmission module is a direct memory access controller DMA; 所述高性能ARM926EJS微处理器、嵌入式快速存储器EFLASH、只读存储器ROM、静态随机存储器SRAM、高级加密解密AES单元、物理地址访问控制器MAC、直接存储器访问控制器DMA和所述AHB高速系统总线连接,所述通用异步收发传输器UART 0、串行外设接口SPI、双向串行接口I2C、通用数字输入输出端口GPIO和所述APB低速系统总线连接并通过AHB2APBBridege 0和所述AHB高速系统总线连接,所述通用异步收发传输器UART 1、模数转换器ADC、物理层收发控制器PHY和所述APB低速系统总线连接并通过AHB2APB Bridege 1和所述AHB高速系统总线连接。The high-performance ARM926EJS microprocessor, embedded fast memory EFLASH, read-only memory ROM, static random access memory SRAM, advanced encryption and decryption AES unit, physical address access controller MAC, direct memory access controller DMA and the AHB high-speed system Bus connection, the universal asynchronous transceiver transmitter UART 0, serial peripheral interface SPI, bidirectional serial interface I2C, general purpose digital input and output port GPIO and the APB low-speed system bus are connected and passed through AHB2APBBridege 0 and the AHB high-speed system Bus connection, the UART 1, the analog-to-digital converter ADC, the physical layer transceiver controller PHY are connected to the APB low-speed system bus and connected to the AHB high-speed system bus through AHB2APB Bridege 1. 2.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,所述模数转换器ADC用于测量模拟信号,为6个通道16位模数转换器,每个通道采样率高达16K,输入电压范围设置为+/-10V或+/-5V;2. A kind of power system measurement and communication integrated chip supporting IEC61850 according to claim 1, characterized in that, the analog-to-digital converter ADC is used to measure analog signals, and is a 16-bit analog-to-digital converter with 6 channels , the sampling rate of each channel is up to 16K, and the input voltage range is set to +/-10V or +/-5V; 所述通用数字输入输出端口GPIO用于采集数字信号,为32个32位的数字量输入输出口,输入电压范围为0~3.3V。The general-purpose digital input and output ports GPIO are used for collecting digital signals, and are 32 32-bit digital input and output ports, and the input voltage range is 0-3.3V. 3.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,3. A kind of power system measurement and communication integrated chip supporting IEC61850 according to claim 1, characterized in that, 所述嵌入式快速存储器EFLASH为片内集成2M EFLASH,用于存储bootloader程序和规约转换配置文件;The embedded fast memory EFLASH is an on-chip integrated 2M EFLASH for storing bootloader programs and protocol conversion configuration files; 所述只读存储器ROM为片内集成16KB ROM,用于存储一体化芯片的控制程序;The read-only memory ROM is an integrated 16KB ROM in the chip, which is used to store the control program of the integrated chip; 所述静态随机存储器SRAM为片内集成16KB SRAM,用于规约转换中数据的存储。The static random access memory (SRAM) is an on-chip integrated 16KB SRAM, which is used for data storage during protocol conversion. 4.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,4. A kind of power system measurement and communication integration chip supporting IEC61850 according to claim 1, characterized in that, 所述高性能ARM926EJS微处理器的控制程序在Keil4开发环境下编写,芯片嵌入UCOS-II实时操作程序,ARM处理器控制采集模块采集数据并存储在片内存储器中,然后将采集到的数据转换为符合IEC103通信协议和IEC61850通信协议的数据包,最后控制以太网模块和通信接口发出数据包。The control program of the high-performance ARM926EJS microprocessor is written under the Keil4 development environment, the chip is embedded in the UCOS-II real-time operating program, and the ARM processor controls the acquisition module to collect data and store it in the on-chip memory, and then convert the collected data In order to comply with the data packets of the IEC103 communication protocol and the IEC61850 communication protocol, finally control the Ethernet module and the communication interface to send the data packets. 5.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,5. A kind of power system measurement and communication integrated chip supporting IEC61850 according to claim 1, characterized in that, 所述高级加密解密AES单元采用128bits的分组长度和128bits密钥长度的AES算法,加密模式采用CBC分组模式,用于实现通信数据的加密和解密功能,对IEC103数据包和IEC61850数据包分别加密。The advanced encryption and decryption AES unit adopts the AES algorithm with a packet length of 128bits and a key length of 128bits, and the encryption mode adopts the CBC packet mode, which is used to realize the encryption and decryption functions of communication data, and encrypts IEC103 data packets and IEC61850 data packets respectively. 6.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,6. A power system measurement and communication integrated chip supporting IEC61850 according to claim 1, characterized in that, 所述通信模块的UART 0用于发送高级加密解密AES单元对IEC103数据包进行加密后得到的数据包,所述通信模块的UART 1、SPI、I2C为扩展接口,用于与外设连接通信。The UART 0 of the communication module is used to send the data packet obtained after the advanced encryption and decryption AES unit encrypts the IEC103 data packet, and the UART 1, SPI, and I2C of the communication module are expansion interfaces for connecting and communicating with peripherals. 7.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,7. A kind of power system measurement and communication integrated chip supporting IEC61850 according to claim 1, characterized in that, 所述以太网模块包括2个10/100M物理地址访问控制器MAC和2个物理层收发控制器PHY,分别支持以太网口以及光纤口连接,用于发送高级加密解密AES单元对IEC61850数据包进行加密后得到的数据包。The Ethernet module includes two 10/100M physical address access controllers MAC and two physical layer transceiver controllers PHY, which respectively support Ethernet port and optical fiber port connections, and are used to send advanced encryption and decryption AES units to perform IEC61850 data packets Encrypted data packets. 8.根据权利要求1所述的一种支持IEC61850的电力系统测量与通信一体化芯片,其特征在于,8. A power system measurement and communication integrated chip supporting IEC61850 according to claim 1, characterized in that, 所述直接存储器访问控制器DMA包含4个通道DMA,其中,通道0将模数转换器ADC的测量数据传输至静态随机存储器SRAM中,通道1将通用数字输入输出端口GPIO、UART 0、SPI、I2C的测量数据传输至静态随机存储器SRAM中,通道3将高性能ARM926EJS微处理器转换得到的IEC103数据包和IEC61850数据包传输至高级加密解密AES单元。The direct memory access controller DMA includes 4 channels DMA, wherein, the channel 0 transmits the measurement data of the analog-to-digital converter ADC to the static random access memory SRAM, and the channel 1 transmits the general digital input and output ports GPIO, UART 0, SPI, The measured data of I2C is transmitted to SRAM, and the channel 3 transmits the IEC103 data packet and IEC61850 data packet converted by the high-performance ARM926EJS microprocessor to the advanced encryption and decryption AES unit.
CN201610326983.7A 2016-05-17 2016-05-17 Electric system measurement and communication integrated chip supporting IEC61850 Pending CN105871893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610326983.7A CN105871893A (en) 2016-05-17 2016-05-17 Electric system measurement and communication integrated chip supporting IEC61850

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610326983.7A CN105871893A (en) 2016-05-17 2016-05-17 Electric system measurement and communication integrated chip supporting IEC61850

Publications (1)

Publication Number Publication Date
CN105871893A true CN105871893A (en) 2016-08-17

Family

ID=56635155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610326983.7A Pending CN105871893A (en) 2016-05-17 2016-05-17 Electric system measurement and communication integrated chip supporting IEC61850

Country Status (1)

Country Link
CN (1) CN105871893A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302485A (en) * 2016-08-19 2017-01-04 长园深瑞继保自动化有限公司 OPC standard and the bi-directional conversion system of power remote agreement
CN106650411A (en) * 2016-11-24 2017-05-10 天津津航计算技术研究所 Verification system for cryptographic algorithms
CN113742280A (en) * 2021-07-14 2021-12-03 江西昌河航空工业有限公司 Dual ARM system capable of customizing communication protocol
CN113836081A (en) * 2021-09-29 2021-12-24 南方电网数字电网研究院有限公司 System-on-a-chip architecture
CN117176331A (en) * 2023-11-03 2023-12-05 江苏高昕建筑系统有限公司 Electric digital data processing device and processing method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143526A1 (en) * 2004-12-14 2006-06-29 Woon-Seob So Apparatus for developing and verifying system-on-chip for internet phone
CN102012882A (en) * 2009-09-08 2011-04-13 同方股份有限公司 Method for high-speed data stream encryption transmission based on system-on-chip
CN103368974A (en) * 2013-07-30 2013-10-23 国家电网公司 Device for supporting IEC61850 protocol based on FPGA (Field Programmable Gata Array)
CN103441573A (en) * 2013-08-01 2013-12-11 国家电网公司 Network processor based on standard IEC61850

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143526A1 (en) * 2004-12-14 2006-06-29 Woon-Seob So Apparatus for developing and verifying system-on-chip for internet phone
CN102012882A (en) * 2009-09-08 2011-04-13 同方股份有限公司 Method for high-speed data stream encryption transmission based on system-on-chip
CN103368974A (en) * 2013-07-30 2013-10-23 国家电网公司 Device for supporting IEC61850 protocol based on FPGA (Field Programmable Gata Array)
CN103441573A (en) * 2013-08-01 2013-12-11 国家电网公司 Network processor based on standard IEC61850

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张晓飞: "《电站监控系统中通讯协议转换器的研究与开发》", 《河北工业大学硕士学位论文》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302485A (en) * 2016-08-19 2017-01-04 长园深瑞继保自动化有限公司 OPC standard and the bi-directional conversion system of power remote agreement
CN106302485B (en) * 2016-08-19 2019-06-25 长园深瑞继保自动化有限公司 The bi-directional conversion system of OPC standard and power remote agreement
CN106650411A (en) * 2016-11-24 2017-05-10 天津津航计算技术研究所 Verification system for cryptographic algorithms
CN113742280A (en) * 2021-07-14 2021-12-03 江西昌河航空工业有限公司 Dual ARM system capable of customizing communication protocol
CN113742280B (en) * 2021-07-14 2023-07-28 江西昌河航空工业有限公司 Dual ARM system capable of customizing communication protocol
CN113836081A (en) * 2021-09-29 2021-12-24 南方电网数字电网研究院有限公司 System-on-a-chip architecture
CN113836081B (en) * 2021-09-29 2024-01-23 南方电网数字电网研究院有限公司 System-on-chip architecture
CN117176331A (en) * 2023-11-03 2023-12-05 江苏高昕建筑系统有限公司 Electric digital data processing device and processing method thereof
CN117176331B (en) * 2023-11-03 2024-02-02 江苏高昕建筑系统有限公司 Electric digital data processing device and processing method thereof

Similar Documents

Publication Publication Date Title
CN105871893A (en) Electric system measurement and communication integrated chip supporting IEC61850
CN105869385A (en) Electrical power system data acquisition and transmission on-chip system supporting IEC61850
CN206541145U (en) A kind of multi channel signals synchronous
US9639447B2 (en) Trace data export to remote memory using remotely generated reads
CN103616591B (en) A simulation device and simulation method for the characteristics of a smart substation merging unit
US20150127993A1 (en) Trace Data Export to Remote Memory Using Memory Mapped Write Transactions
CN108303935A (en) A kind of vibrating controller based on multinuclear SoC processors
CN102665292B (en) Sensor node device for wireless sensor network and operation method of sensor node device
CN204423111U (en) A kind of SOC (system on a chip) be applied in intelligent grid concentrator
CN105720563B (en) A multi-principle relay protection chip based on FPGA and method thereof
CN203433398U (en) Digital grain depot temperature-humidity monitoring system based on AT89C52 and DHT11
CN103368974A (en) Device for supporting IEC61850 protocol based on FPGA (Field Programmable Gata Array)
CN205754417U (en) An integrated chip for power system measurement and communication supporting IEC61850
CN110825005A (en) A Data Acquisition System Based on STM32 and LWIP
CN203772429U (en) Single-bus temperature monitoring device
CN205751237U (en) A kind of power system of data acquisition supporting IEC61850 agreement and transmission SOC(system on a chip)
CN104267312A (en) Embedded travelling wave distance measuring device based on LVDS high-speed sampling
CN201698207U (en) Analog Acquisition Module Based on FPGA
CN104483541A (en) GPRS (General Packet Radio Service) electric power acquisition system
CN101315555A (en) USB Communication System and Working Method of Excitation Controller Based on DSP Chip
CN204406391U (en) A kind of data of optical fiber gyroscope R-T unit based on SPI
CN205403986U (en) Cable terminal temperature monitoring system
CN202617363U (en) Wireless sensor network sensing node apparatus
CN208110323U (en) A vibration controller based on multi-core SoC processor
CN201773394U (en) A PROFIBUS bus interface device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160817

RJ01 Rejection of invention patent application after publication