An intelligent power distribution terminal

Through the intelligent distribution terminal based on State Grid core, the problem of limited functions of traditional distribution terminals has been solved, independent intellectual property rights and rich functions have been achieved, and the high-performance demand of State Grid for distribution automation equipment is met. It has strong Anti-interference ability and high real-time performance.

CN112087052BActive Publication Date: 2024-11-15BEIJING SANQING INTERNET TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202010814389.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-13
Publication Date
2024-11-15
Estimated Expiration
2040-08-13

AI Technical Summary

Technical Problem

Traditional domestic power distribution terminals use imported MCU chips, lack independent intellectual property rights, and their expansion functions are limited, which cannot meet the needs of the State Grid for improving the functions and performance of distribution automation equipment, especially in information security and ubiquitous power Internet of Things access. aspect.

Method used

Design an intelligent power distribution terminal, designed based on State Grid Core for hardware and software architecture, including data acquisition, protection functions, communication and information security, historical data storage, fault recording, system parameters and remote upgrade modules, adopting preemptive multi-tasking The scheduling mechanism reserves extensible peripheral interfaces, supports State Grid hardware encryption chips, and realizes modular design and software function expansion.

Benefits of technology

It has achieved independent intellectual property rights, rich function expansion capabilities, strong anti-interference ability, high real-time and high reliability, meeting the application needs of a variety of power distribution automation terminals, and can accurately locate faults and respond in real-time data at milliseconds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112087052B_ABST
    Figure CN112087052B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent power distribution terminal, including: a data acquisition module for real-time data sampling; a protection function module for performing transient and steady-state algorithm analysis and logical judgment on the sampled real-time data to realize rapid identification and accurate isolation of distribution line faults; a communication and information security function module for monitoring, controlling and configuring parameters of the operating status of the distribution terminal; a historical data storage module for storing historical data; a fault recording module for recording distribution line faults; a system parameter module for setting system parameters; a BOOT remote upgrade module for completing the remote upgrade function of the main program; a liquid crystal display module for data display; an external forwarding device module for realizing external expansion tasks; each module provides an external interface function for application task calls. The present invention is based on the State Grid core for software and hardware architecture design, which can meet a variety of application requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power distribution equipment, and in particular to an intelligent power distribution terminal based on a "State Grid Core". Background Art

[0002] At present, the State Grid Corporation of China has increasingly higher requirements for the functions and performance of distribution automation equipment. Traditional domestic distribution terminals all use imported MCU chips, which have no independent intellectual property rights and limited expansion functions. "State Grid Core" is one of the application innovations of the State Grid Corporation of China in the construction of ubiquitous power Internet of Things. The development of intelligent distribution terminals based on "State Grid Core" (chip model: SCMXXX) can not only improve product functions and performance, but also have obvious advantages in information security and ubiquitous power Internet of Things access. Summary of the invention

[0003] The purpose of the present invention is to provide an intelligent power distribution terminal, which is designed based on the software and hardware architecture of the "State Grid Core" and has rich application functions and can meet the various application requirements of various distribution automation terminals.

[0004] To solve the above technical problems, the embodiments of the present invention provide the following solutions:

[0005] An intelligent power distribution terminal, including a data acquisition module based on a state-grid core and an embedded real-time operating system, a protection function module, a communication and information security function module, a historical data storage module, a fault recording module, a system parameter module, a BOOT remote upgrade module, a liquid crystal display module, and an external forwarding device module;

[0006] The data acquisition module is used for real-time data sampling;

[0007] The protection function module is used to perform transient and steady-state algorithm analysis and logic judgment on the sampled real-time data to achieve rapid identification and accurate isolation of distribution line faults;

[0008] The communication and information security function module is used for monitoring, controlling and parameter configuration of the operating status of the power distribution terminal;

[0009] The historical data storage module is used to store historical data;

[0010] The fault recording module is used to record the distribution line fault;

[0011] The system parameter module is used to set system parameters;

[0012] The BOOT remote upgrade module is used to complete the remote upgrade function of the main program and runs independently of the main program;

[0013] The liquid crystal display module is used to display data and realize human-computer interaction;

[0014] The external forwarding device module is used to implement external expansion tasks;

[0015] Each module includes an external interface and provides external interface functions for application tasks to call.

[0016] Preferably, the hardware structure of the intelligent distribution terminal includes: a state grid core; an SRAM chip, two AD7616 chips, a parallel IO expansion chip, and a backplane bus connected to the state grid core through the FSMC peripheral bus; a large-capacity NorFlash chip, a state grid encryption chip SC1161Y, and a W5500 Ethernet connected to the state grid core through the SPI bus; a clock chip, a ferroelectric memory, and an external expansion port connected to the state grid core through the IIC bus; multiple RS232 / RS485 serial ports, a JTAG debugging interface, and multiple AI DC channels connected to the state grid core through the CAN bus.

[0017] Preferably, the application tasks include sampling and protection tasks, IEC101 / IEC104 main communication tasks, Flash read and write tasks, external expansion tasks, IO operation tasks, and line loss tasks; the application tasks adopt a preemptive multi-task scheduling mechanism, among which sampling and protection tasks enjoy the highest priority.

[0018] Preferably, the running environment of the application task includes an interruption mechanism, which has the highest priority and can preempt the running of any application task and cannot be interrupted;

[0019] The interruption mechanism includes sampling interruption, timing interruption, Ethernet communication interruption, and serial communication interruption.

[0020] Preferably, the data acquisition module includes two AD7616 chips arranged on an AC sampling board, the backplane bus adopts digital signals, the ADC sampling uses a full-wave Fourier algorithm to calculate the effective value, 256 sampling points per cycle, and single-line feeder terminals and multi-line station terminals can be used compatibly.

[0021] Preferably, the input interface of the protection function module includes sampled real-time data, input events, and protection parameters, and the output interface of the protection function module includes output events;

[0022] Among them, the sampled real-time data is used for transient and steady-state algorithm analysis and logical judgment of the fault line;

[0023] Input events include telesignaling events and time events, which are used as the judgment conditions for complex feeder automation functions; telesignaling events include switch opening and closing, phase overcurrent, zero-sequence overcurrent, line loss of voltage, and line reclosing; time events are periodic triggering or delayed triggering conditions, which are the time base for the internal logic operation of the module;

[0024] The protection parameters are set according to the actual situation of the distribution line and the functions to be switched on and off, and it has automatic verification and data backup functions;

[0025] Output events are external output signals, including relay action, fault time reporting, and signal reset.

[0026] Preferably, the communication and information security function module includes a business layer, an application layer, a protocol layer, an information security layer and a physical layer;

[0027] The physical layer is a raw data transceiver channel, which uses DMA for data transmission and reception and includes multiple communication ports. Each communication port includes a receiving buffer area and a parameter variable configuration area. After receiving the data, a message is issued to the application task.

[0028] The information security layer is used for processing information security services and encrypting and decrypting original messages. If the data only contains information security service data, the data is directly replied in the information security layer without passing the data to the upper layer. If the parameters show that the data is plain text, the information security layer is directly skipped;

[0029] The protocol layer is used for data format verification, disassembly and assembly of IEC101 / IEC104 protocol frame headers and frame tails, as well as disconnection reconnection and message retransmission;

[0030] The application layer is used for processing ASDU layer data in the IEC101 / IEC104 protocol. The two protocols share a set of ASDU layer protocols. The application layer evacuates data streams to different business layers for processing according to the ASDU type identifier, and encapsulates the ASDU type identifier information for the data of each business layer;

[0031] The business layer is used to install the IEC101 / IEC104 protocol message communication process execution business logic to achieve monitoring, control and parameter configuration of the operating status of the distribution terminal.

[0032] Preferably, the historical data storage module includes two storage spaces, namely an external FLASH chip and a ferroelectric FRAM memory. The ferroelectric FRAM memory is mainly used for storing system parameters and transformation ratio coefficients. The system parameters are divided into multiple fixed value areas according to requirements and defined to the ferroelectric FRAM memory for direct access by memory pointers. The external FLASH chip is used for storing historical data.

[0033] Preferably, all historical data is cached in the ferroelectric FRAM memory first, and the cached data is immediately moved to the external FLASH chip in the following three situations:

[0034] The cache reaches the threshold;

[0035] A power failure occurs;

[0036] File read event occurs.

[0037] Preferably, the BOOT remote upgrade module includes a redefined interrupt vector table, and directly jumps to the main program when there is no firmware upgrade flag;

[0038] Firmware upgrade includes factory firmware upgrade and remote firmware upgrade:

[0039] The factory firmware upgrade is first written into the BOOT remote upgrade module through the serial port or JLINK driver. The BOOT remote upgrade module receives the main program executable file, writes SRAM and on-chip Flash through the IEC101 / IEC104 protocol, and jumps to the main program to run normally after receiving;

[0040] During the remote firmware upgrade, the main program runs normally, receives the new firmware program, writes SRAM and on-chip Flash, and after receiving, the device restarts, reloads the BOOT remote upgrade module and jumps to the updated main program.

[0041] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0042] 1) The software and hardware architecture is designed based on the "State Grid Core", with independent intellectual property rights and reserved for a variety of scalable peripheral interfaces, which is easy to access the State Grid hardware encryption chip and support future information security expansion functions;

[0043] 2) PCB wiring is simple and has strong anti-interference ability;

[0044] 3) It adopts the scheduling mechanism of interrupt plus preemptive application tasks, which has the characteristics of high real-time performance and high reliability;

[0045] 4) Modular design is carried out according to the smallest functional unit, and there is no coupling relationship between modules, which is easy to expand and upgrade software functions;

[0046] 5) Meet the requirements of fault location and real-time data response with millisecond accuracy;

[0047] 6) Rich application functions, which can meet various application requirements of various distribution automation terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 It is a schematic diagram of the structural framework of an intelligent power distribution terminal provided by an embodiment of the present invention;

[0050] Figure 2 is a schematic diagram of the hardware architecture of an intelligent power distribution terminal provided by an embodiment of the present invention;

[0051] Figure 3 The present invention provides a schematic diagram of the structure of a backplane digital bus of an AC sampling board. DETAILED DESCRIPTION

[0052] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0053] An embodiment of the present invention provides an intelligent power distribution terminal, such as Figure 1 As shown, the intelligent power distribution terminal includes a data acquisition module based on the State Grid core and an embedded real-time operating system, a protection function module, a communication and information security function module, a historical data storage module, a fault recording module, a system parameter module, a BOOT remote upgrade module, a liquid crystal display module, and an external forwarding device module;

[0054] Among them, the data acquisition module is used for real-time data sampling;

[0055] The protection function module is used to perform transient and steady-state algorithm analysis and logical judgment on the sampled real-time data to achieve rapid identification and accurate isolation of distribution line faults;

[0056] The communication and information security function module is used for monitoring, controlling and parameter configuration of the operating status of the power distribution terminal;

[0057] The historical data storage module is used to store historical data;

[0058] The fault recording module is used to record the faults of the distribution lines;

[0059] The system parameter module is used to set system parameters;

[0060] The BOOT remote upgrade module is used to complete the remote upgrade function of the main program and runs independently of the main program;

[0061] The liquid crystal display module is used for data display and human-computer interaction;

[0062] The external forwarding device module is used to implement external expansion tasks;

[0063] Each module includes an external interface and provides external interface functions for application tasks to call.

[0064] The intelligent power distribution terminal provided in the embodiment of the present invention is designed based on the software and hardware architecture of the "State Grid Core", has independent intellectual property rights and reserves a variety of expandable peripheral interfaces, which is easy to access the State Grid hardware encryption chip and support future information security expansion functions. The intelligent power distribution terminal is modularly designed according to the smallest functional unit, and there is no coupling relationship between modules, which is easy to expand and upgrade software functions. In actual applications, the intelligent power distribution terminal can achieve millisecond-level fault location and real-time data response requirements, and has rich application functions to meet a variety of application needs.

[0065] Figure 2 FIG. 1 is a schematic diagram of the hardware architecture of an intelligent power distribution terminal provided by an embodiment of the present invention. Figure 2 As shown, the hardware structure of the intelligent distribution terminal is designed and developed based on the "State Grid Core" (chip model: SCMXXX), including: the State Grid core; an SRAM chip, two AD7616 chips, a parallel IO expansion chip, and a backplane bus connected to the State Grid core through the FSMC peripheral bus; a large-capacity NorFlash chip, a State Grid encryption chip SC1161Y, and a W5500 Ethernet connected to the State Grid core through the SPI bus; a clock chip, a ferroelectric memory, and an external expansion port connected to the State Grid core through the IIC bus; multiple RS232 / RS485 serial ports, a JTAG debugging interface, and multiple AI DC channels connected to the State Grid core through the CAN bus.

[0066] It should be noted that the above hardware architecture is only a preferred embodiment of the present invention and does not constitute a limitation of the present invention. The intelligent power distribution terminal provided by the present invention can also be implemented using other hardware architectures based on the State Grid core, as long as it can meet the corresponding functional modules, which will not be repeated here.

[0067] In the embodiment of the present invention, the application tasks mainly include sampling and protection tasks, IEC101 / IEC104 main communication tasks, Flash read and write tasks, external expansion tasks, IO operation tasks, line loss tasks, etc. Each application task adopts a preemptive multi-task scheduling mechanism. To ensure the accuracy and real-time performance of fault identification, sampling and protection tasks enjoy the highest priority.

[0068] The operating environment of the application task includes an interrupt mechanism, which is the guarantee of the real-time performance of the system, has the highest priority, can preempt the operation of any application task and cannot be interrupted. In the embodiment of the present invention, the interrupt mechanism includes sampling interrupt, timing interrupt, Ethernet communication interrupt, serial communication interrupt, etc. The present invention adopts an interrupt plus preemptive application task scheduling mechanism, which has the characteristics of high real-time performance and high reliability.

[0069] Specifically, all application tasks are designed without any delay operation, ensuring that each application task is completed and enters the suspended state in the shortest possible time. Application tasks interact with each other using a message mechanism. When the CPU is idle, all application tasks are in a suspended state. When an interrupt or application task is executed and another application task needs to be started, the message mechanism is used to wake up the application task for execution once. The application task execution order is preempted according to the priority level, and application tasks of the same priority level are executed in rotation according to time slices.

[0070] Furthermore, if Figure 3 As shown, the data acquisition module includes two AD7616 chips arranged on the AC sampling board, the backplane bus adopts digital signals, the ADC sampling uses the full-wave Fourier algorithm to calculate the effective value, 256 sampling points per cycle, and the single-line feeder terminal (FTU) and the multi-line station terminal (DTU) can be compatible. The PCB in the embodiment of the present invention has the advantages of simple wiring and strong anti-interference ability.

[0071] Further, the input interface of the protection function module includes sampled real-time data, input events, and protection parameters, and the output interface of the protection function module includes output events;

[0072] Among them, the sampled real-time data is used for transient and steady-state algorithm analysis and logical judgment of the fault line;

[0073] Input events include telesignaling events and time events, which are used as the judgment conditions for complex feeder automation functions; telesignaling events include switch opening and closing, phase overcurrent, zero-sequence overcurrent, line loss of voltage, and line reclosing; time events are periodic triggering or delayed triggering conditions, which are the time base for the internal logic operation of the module;

[0074] The protection parameters are set according to the actual situation of the distribution line and the functions to be switched in and out, and have automatic verification and data backup functions. In addition, it can also prompt the user of unreasonable protection parameters set, and realize dual backup of ferroelectric and off-chip Flash.

[0075] Output events are external output signals, including relay action, fault time reporting, and signal reset.

[0076] Furthermore, the communication and information security function module adopts the IEC101 / IEC104 protocol and can be connected to the power distribution master station and engineering operation and maintenance software at the same time. The IEC101 / IEC104 protocol shares a communication task. According to the data flow processing method, the module includes a 5-layer structure model, namely the business layer, application layer, protocol layer, information security layer and physical layer.

[0077] Among them, the physical layer is the original data receiving and sending channel. The data receiving and sending adopts DMA mode and includes multiple communication ports. Each communication port includes a receiving buffer area and a parameter variable configuration area. After receiving the data, a message is issued to the application task.

[0078] The information security layer is used for information security business processing (for example, the processing of information security business of the State Grid encryption chip SC1161Y) and encryption and decryption of original messages. If the data only contains information security business data, the data is directly replied in the information security layer without passing the data to the upper layer. If the parameter shows that the data is plain text, the information security layer is directly skipped;

[0079] The protocol layer is used for data format verification, disassembly and assembly of IEC101 / IEC104 protocol frame headers and frame tails, as well as disconnection reconnection and message retransmission.

[0080] The application layer is used to process the ASDU layer data in the IEC101 / IEC104 protocol. The two protocols share a set of ASDU layer protocols. The application layer evacuates the data stream to different business layers for processing according to the ASDU type identifier, and encapsulates the ASDU type identifier information for the data of each business layer;

[0081] The business layer is used to install the IEC101 / IEC104 protocol message communication process to execute business logic and realize the monitoring, control and parameter configuration of the operating status of the distribution terminal.

[0082] Furthermore, the historical data storage module includes two storage spaces, namely an external FLASH chip and a ferroelectric FRAM memory. The ferroelectric FRAM memory is mainly used to store system parameters and ratio coefficients. The system parameters are divided into multiple fixed value areas according to requirements and defined to the ferroelectric FRAM memory for direct access by memory pointers. The external FLASH chip is used to store historical data.

[0083] Usually, all historical data is cached in the ferroelectric FRAM memory first, and the cached data is immediately moved to the external FLASH chip in the following three situations:

[0084] The cache reaches the threshold;

[0085] A power failure occurs;

[0086] File read event occurs.

[0087] The historical data storage function is a separate task, which is mainly responsible for the operation of the external FLASH chip. This task receives messages from other tasks and chooses to store all or part of the cached data in the external FLASH chip. The NOR type FLASH is used outside the chip. In order to efficiently use the storage space, the file system is not used. In addition, except for the files of the synchronous line loss module and the recording files, all other historical data are saved in the FLASH chip as original data.

[0088] As an implementation method of the present invention, the memory of the State Grid Core SCMXXX chip is 1MB, of which 0-128K is the BOOT storage space and 128K-1MB is the main program storage space. When the system of the present invention is running, the BOOT remote upgrade module is first executed. The BOOT remote upgrade module includes a redefined interrupt vector table, and directly jumps to the main program when there is no firmware upgrade flag.

[0089] Firmware upgrade includes factory firmware upgrade and remote firmware upgrade:

[0090] The factory firmware upgrade is first written into the BOOT remote upgrade module through the serial port or JLINK driver. The BOOT remote upgrade module receives the main program executable file through the IEC101 / IEC104 protocol, writes SRAM and on-chip Flash, and jumps to the main program to run normally after receiving.

[0091] During remote firmware upgrade, the main program runs normally, receives the new firmware program, writes SRAM and on-chip Flash, and after receiving, the device restarts, reloads the BOOT remote upgrade module and jumps to the updated main program.

[0092] In summary, the intelligent power distribution terminal provided by the embodiment of the present invention has the following advantages:

[0093] 1) The software and hardware architecture is designed based on the "State Grid Core", with independent intellectual property rights and reserved for a variety of scalable peripheral interfaces, which is easy to access the State Grid hardware encryption chip and support future information security expansion functions;

[0094] 2) PCB wiring is simple and has strong anti-interference ability;

[0095] 3) It adopts the scheduling mechanism of interrupt plus preemptive application tasks, which has the characteristics of high real-time performance and high reliability;

[0096] 4) Modular design is carried out according to the smallest functional unit, and there is no coupling relationship between modules, which is easy to expand and upgrade software functions;

[0097] 5) Meet the requirements of fault location and real-time data response with millisecond accuracy;

[0098] 6) Rich application functions, which can meet various application requirements of various distribution automation terminals.

[0099] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An intelligent power distribution terminal, characterized in that: It includes data acquisition module based on the State Grid core and embedded real-time operating system, protection function module, communication and information security function module, historical data storage module, fault recording module, system parameter module, BOOT remote upgrade module, LCD display module, and external forwarding device module; The data acquisition module is used for real-time data sampling; The protection function module is used to perform transient and steady-state algorithm analysis and logic judgment on the sampled real-time data to achieve rapid identification and accurate isolation of distribution line faults; The communication and information security function module is used for monitoring, controlling and parameter configuration of the operating status of the power distribution terminal; The historical data storage module is used to store historical data; The fault recording module is used to record the distribution line fault; The system parameter module is used to set system parameters; The BOOT remote upgrade module is used to complete the remote upgrade function of the main program and runs independently of the main program; The liquid crystal display module is used to display data and realize human-computer interaction; The external forwarding device module is used to implement external expansion tasks; Each module includes an external interface and provides external interface functions for application tasks to call; The hardware structure of the intelligent power distribution terminal includes: a state-grid core; an SRAM chip, two AD7616 chips, a parallel IO expansion chip, and a backplane bus connected to the state-grid core through the FSMC peripheral bus; a large-capacity NorFlash chip, a state-grid encryption chip SC1161Y, and a W5500 Ethernet connected to the state-grid core through the SPI bus; a clock chip, a ferroelectric memory, and an external expansion port connected to the state-grid core through the IIC bus; multiple RS232 / RS485 serial ports, a JTAG debugging interface, and multiple AI DC channels connected to the state-grid core through the CAN bus; The input interface of the protection function module includes sampled real-time data, input events, and protection parameters, and the output interface of the protection function module includes output events; wherein the sampled real-time data is used for transient and steady-state algorithm analysis and logical judgment of the fault line; the input events include remote signaling events and time events, which are used as the discrimination conditions of complex feeder automation functions; the remote signaling events include switch opening and closing, phase overcurrent, zero-sequence overcurrent, line loss of pressure, and line reclosing; the time event is a regular trigger or delayed trigger condition, which is the time reference for the internal logic operation of the module; the protection parameters are set according to the actual situation of the distribution line and the functions to be put in and out, and have automatic verification and data backup functions; the output event is an external output signal, including relay action, fault time reporting, and signal reset; The communication and information security function module includes a business layer, an application layer, a protocol layer, an information security layer and a physical layer; the physical layer is the original data transceiver channel, and the data transceiver adopts the DMA method, including multiple communication ports, each of which includes a receiving buffer area and a parameter variable configuration area, and publishes a message to the application task after receiving the data; the information security layer is used for processing information security services and encrypting and decrypting original messages. If the data only contains information security service data, then the data is directly replied in the information security layer without passing the data to the upper layer. If the parameter shows that the data is plain text, the information security layer is directly skipped; the protocol layer is used for processing information security services and encrypting and decrypting original messages. If the data only contains information security service data, then the data is directly replied in the information security layer without passing the data to the upper layer. If the parameter shows that the data is plain text, then the information security layer is directly skipped; The protocol layer is used for data format verification and disassembly and assembly of IEC101 / IEC104 protocol frame headers and frame tails, as well as disconnection reconnection and message retransmission; the application layer is used for processing ASDU layer data in IEC101 / IEC104 protocol. The two protocols share a set of ASDU layer protocols. The application layer evacuates data streams to different business layers for processing according to the ASDU type identifier, and encapsulates the ASDU type identifier information for the data of each business layer; the business layer is used to install the IEC101 / IEC104 protocol message communication process to execute business logic, and realize the monitoring, control and parameter configuration of the operating status of the distribution terminal; The BOOT remote upgrade module includes a redefined interrupt vector table, and directly jumps to the main program to run when there is no firmware upgrade mark; the firmware upgrade includes two situations: the factory firmware upgrade and the remote firmware upgrade: the factory firmware upgrade is first burned into the BOOT remote upgrade module through the serial port or JLINK driver, and the BOOT remote upgrade module receives the main program executable file, writes SRAM and on-chip Flash through the IEC101 / IEC104 protocol, and jumps to the main program to run normally after the reception is completed; during the remote firmware upgrade, the main program runs normally, and the main program receives the new firmware program, writes SRAM and on-chip Flash, and the device restarts after the reception is completed, reloads the BOOT remote upgrade module and jumps to the updated main program.

2. The intelligent power distribution terminal according to claim 1, characterized in that: The application tasks include sampling and protection tasks, IEC101 / IEC104 main communication tasks, Flash read and write tasks, external expansion tasks, IO operation tasks, and line loss tasks; the application tasks adopt a preemptive multi-task scheduling mechanism, among which the sampling and protection tasks enjoy the highest priority.

3. The intelligent power distribution terminal according to claim 2, characterized in that: The running environment of the application task includes an interruption mechanism, which has the highest priority and can preempt the running of any application task and cannot be interrupted; The interruption mechanism includes sampling interruption, timing interruption, Ethernet communication interruption, and serial communication interruption.

4. The intelligent power distribution terminal according to claim 1, characterized in that: The data acquisition module includes two AD7616 chips arranged on an AC sampling board. The backplane bus adopts digital signals. The ADC sampling uses a full-wave Fourier algorithm to calculate the effective value. There are 256 sampling points per cycle. Single-line feeder terminals and multi-line station terminals can be used compatibly.

5. The intelligent power distribution terminal according to claim 1, characterized in that: The historical data storage module includes two storage spaces, namely an external FLASH chip and a ferroelectric FRAM memory. The ferroelectric FRAM memory is mainly used to store system parameters and ratio coefficients. The system parameters are divided into multiple fixed value areas according to requirements and defined in the ferroelectric FRAM memory for direct access by memory pointers. The external FLASH chip is used to store historical data.

6. The intelligent power distribution terminal according to claim 5, characterized in that: All historical data is first cached in the ferroelectric FRAM memory. The cached data will be immediately moved to the external FLASH chip in the following three situations: The cache reaches the threshold; A power failure occurs; File read event occurs.

Citation Information

Patent Citations

  • Method and system for managing a power grid

    AU2015230786A1

  • Electric force special public network communication secure gateway

    CN101494624A

  • Unified platform of intelligent power distribution terminal based on 32 bit microprocessor and real time operating system (RTOS)

    CN102736595A

  • Modularized intelligent power distribution terminal based on bus port

    CN102738894A

  • Terminal fusion system applied to distribution network

    CN102882274A