CN114384836A - Domestic chip-based measurement and control device algorithm and data processing method - Google Patents

Domestic chip-based measurement and control device algorithm and data processing method Download PDF

Info

Publication number
CN114384836A
CN114384836A CN202111453705.5A CN202111453705A CN114384836A CN 114384836 A CN114384836 A CN 114384836A CN 202111453705 A CN202111453705 A CN 202111453705A CN 114384836 A CN114384836 A CN 114384836A
Authority
CN
China
Prior art keywords
data
measurement
domestic
control device
software
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
CN202111453705.5A
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.)
Anshan Power Supply Co Of State Grid Liaoning Electric Power Co
State Grid Corp of China SGCC
State Grid Liaoning Electric Power Co Ltd
Original Assignee
Anshan Power Supply Co Of State Grid Liaoning Electric Power Co
State Grid Corp of China SGCC
State Grid Liaoning Electric Power 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 Anshan Power Supply Co Of State Grid Liaoning Electric Power Co, State Grid Corp of China SGCC, State Grid Liaoning Electric Power Co Ltd filed Critical Anshan Power Supply Co Of State Grid Liaoning Electric Power Co
Priority to CN202111453705.5A priority Critical patent/CN114384836A/en
Publication of CN114384836A publication Critical patent/CN114384836A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention relates to a measurement and control device algorithm and a data processing method based on a domestic chip, wherein a measurement and control device hardware architecture and a software micro-service architecture based on the domestic chip are built, the calculation of remote measurement in the measurement and control device is completed by utilizing a Fourier algorithm to obtain the measurement and control quantity of the measurement and control device, hardware virtualization abstraction and application function APP deployment on demand are realized on the device, a hardware protection technology and a software safety protection technology based on a domestic chip hardware interface form are provided, the virtualization and application service are carried out on device hardware resources, a system internal interface and an external interface are built, and data are stored, processed and managed; the safety and the continuity of a supply chain of the transformer substation measuring and control device are guaranteed, the transition period is guaranteed to be stable, and the domestic transformer substation measuring and control device is dare to be on the international level gradually.

Description

Domestic chip-based measurement and control device algorithm and data processing method
Technical Field
The invention relates to the technical field of chips, in particular to a measurement and control device algorithm and a data processing method based on a domestic chip.
Background
Most of the chips in China are imported, so that an important short board is arranged in the field of core chips, a supply chain is limited by people, and serious risks are brought to the production and maintenance of electric power automation equipment. Although a large amount of spare chips are stocked by domestic manufacturers, the problem cannot be solved fundamentally, so that research on the domestic replacement technology of the core chips must be carried out.
The realization mode of the measurement and control function of the transformer substation in China goes through two stages of centralized type and unit type. In the 1980 s and before, the telecontrol function of the transformer substation is mainly realized by a centralized RTU device, and some measurement and signals of a secondary system of the transformer substation are collected by a transmitter and some digital interface circuits, so that the collected quantity is processed in a centralized way. The RTU device is divided into a remote signaling unit, a remote measuring unit, a remote control unit, a remote adjusting unit, etc. according to the function. Such a system is called a centralized RTU mode, and the RTU mode secondary system is complex in wiring and not beneficial to maintenance and expansion. In the early 1990 s, with the development of embedded processors and network communication technologies, a centralized RTU is changed to a unit type measurement and control device, and a measurement and control function forms a device independently according to a primary equipment object to complete measurement and control functions in an equipment interval. The object-oriented and layered distribution system mode greatly reduces secondary connecting cables, reduces the influence of electromagnetic interference on transmitted information, has higher reliability, is easy to use and convenient to manage and maintain, and is widely applied. The development of the power system has higher and higher requirements on the measurement and control functions of the transformer substation, from the early four-remote function to the functions of integrating anti-misoperation locking, synchronous closing of a breaker, power quality analysis and the like, the content of the measurement and control technology of the transformer substation is continuously rich, and the measurement and control precision and the requirements are higher and higher, so that the research on the algorithm of the measurement and control device based on a domestic chip and a data processing method is urgent.
Disclosure of Invention
The invention provides a measuring and controlling device algorithm and a data processing method based on a domestic chip, develops a measuring and controlling device adopting the domestic chip, ensures the safety and continuity of a supply chain, ensures the transition period to be stable, and keeps up with the international level.
In order to achieve the purpose, the invention adopts the following technical scheme:
a measurement and control device algorithm and a data processing method based on a domestic chip are carried out according to the following steps:
step 1, collecting detailed design parameters and methods of chips such as a domestic processor, an ADC, an FPGA, a memory, a communication (including an Ethernet and a serial bus), a power supply, a reference source, a clock, a logic device, an operational amplifier and the like, building a hardware structure of a transformer substation measurement and control device based on the domestic chip, completing a calculation method for measuring the domestic chip measurement and control device, and then realizing a precision self-adaptive compensation algorithm for the domestic ADC chip.
And 2, processing the interrupt resources based on the domestic processor, redesigning the measured data time mark of the domestic main processor, and deploying the main application functions APP of the measurement and control device as required.
And 3, operating and controlling primary equipment such as a breaker and a disconnecting link of the transformer substation, providing a hardware protection technology and a software safety protection technology based on a hardware interface form of a domestic chip, and virtualizing and applying service to hardware resources of the device.
And 4, establishing a system internal interface and an external interface for the transformer substation measurement and control device, and storing, processing and managing data.
According to the step 1, the processor comprises a management CPU and a DSP processor, the management CPU completes functions of communication, management, a man-machine interface and the like, the DSP completes real-time calculation and control, various intelligent IO modules complete analog quantity acquisition and switching quantity acquisition and control, and communicate with the management CPU and the DSP in a bus form, an OS core and a bare core are installed, a LINUX operating system is embedded in the OS core, an HMI, a communication module, an event recording module, an abnormity monitoring module, a signal exchange distribution management module, a device signal management module, a parameter setting value management module, a debugging and uploading and downloading module and a parameter exchange module are distributed to the OS core, a measurement and control application, a task management and scheduling module, a signal registration and exchange module, an abnormity monitoring module, a data exchange module, a peripheral access interface module, a parameter setting value management module, a debugging and downloading module and a time synchronization module are distributed to the bare core, the OS core and the bare core are both provided with BSP support packages and share the memory with each other.
In a measurement and control device, after input three-phase voltage current passes through low pass, discrete sampling of an ADC is converted into discrete signal points, after the discrete signal is subjected to fast Fourier transform, frequency and real parts and imaginary parts of each subharmonic are obtained through calculation, then single-phase voltage current effective values and power are calculated, then total active and reactive power is obtained through three-phase summation, for a periodic signal x (t), N points are sampled per cycle, and after equidistant discretization, values x0, x1, a.
N-1, where k is 0, 1.
U, I, P, Q calculates:
Figure BDA0003385928900000021
p, active power Q: reactive power U: voltage I: electric current
And correspondingly summing the active power and the reactive power of each phase to obtain the total active power and the total reactive power.
The measurement and control device reflects the steady-state data of the power system, the collected data mainly serve for monitoring and state estimation of the power system, and the updating period of the state estimation is more than second level. From the whole collection process of the power grid operation data, the power grid data are uploaded through a plurality of nodes, and each node has certain influence on power balance.
The temperature characteristics of a domestic ADC chip and a reference source are analyzed, modeling and characteristic curve fitting are carried out on chip characteristic indexes, sampling data are compensated by the front end according to the chip characteristics, measurement calculation data are corrected by the rear end, the temperature curve characteristics of the chip are compensated by adopting a precision self-adaptive compensation algorithm, so that the measurement precision is compensated.
According to step 2, for a terminal request that needs to intercept all requests destined to multiple ones of the processors, sending all terminal requests to the processor terminal scheduler according to a preset optimized arbitration rule and a sequenced sequence for scheduling to a processor for processing, wherein the information of each terminal request comprises a unique terminal request number byte or vector, the number byte or vector of the interrupt request comprises an IRQ _ IDO bit, a priority processing level bit, an interrupt distribution mode bit, a survival value bit and a non-delay flag bit of the interrupt request, scanning in clock period to obtain the information of interrupt request, transferring it to interrupt information register, and cleaning the interrupt request information in interrupt sensor, and redesigning an application data processing mechanism with larger time relevance such as an SOE time mark, a measurement time mark and the like according to the interrupt structure of the domestic processor.
According to the step 3, analyzing the characteristics of elements such as a domestic relay, an optocoupler device, a logic interface device and the like, researching a hardware protection technology and a software security protection technology based on a hardware interface form of a domestic chip, improving the reliability of a device control outlet through technical means of hierarchical starting, software and hardware positive and negative code checking, constructing a micro-service architecture, researching a realization technology of deploying a container layer on the basis of a BSP (base station server) driving layer and an operating system layer of a traditional device software architecture, abstracting software and hardware resources and data of the device to form a standard data interface, and enabling the service function of the measurement and control device to be according to a unified data interface on the basis; the device software is integrally designed according to a micro-service architecture, main functions of the device are designed into a plurality of applications APP, deployment and management are achieved as required, an APP service layer completes client registration, telemetering calculation APP, anti-error logic APP, APP delegation and expansion service, an application support service layer completes a rule engine, scheduling, notification alarm, log and expansion service, an OS system layer is composed of SylixOS/Linux and platform data abstraction, and a BSP drive layer completes ADC sampling data reading, DI plug-in communication, DO plug-in communication, network communication, peripheral access and data exchange between CPUs.
Establishing a system internal interface and a system external interface according to the step 4, wherein the system internal interface finishes main data interaction among software modules, the system external interface mainly comprises an external interface for establishing data storage and management software and an external interface for data real-time processing software, simultaneously receives and stores parameter information collected and sent by a plurality of external devices, receives a data processing result of the data real-time processing software, receives an external measurement and control software control instruction, receives a data frame multicast and sent by the external devices, buffers the parameter processing result multicast by the data processing software through storage software running on a database server, then leads the parameter processing result into a database in batch at regular time, reduces the calling times of the database interface, divides the software into a data storage part and a database management part, runs on the data server, and provides a database storage interface for real-time data processing of a real-time measuring and realizing system, the database management part is in a client/server mode, is connected to the data server through a network for management, completes real-time processing of data and processes various parameters received by the system in real time.
Compared with the prior art, the invention has the beneficial effects that:
1) a domestic chip is utilized to build a hardware framework of the transformer substation measurement and control device, and data processing, storage and management are completed;
2) the safety and the continuity of a supply chain of the transformer substation measuring and control device are guaranteed, the transition period is guaranteed to be stable, and the transformer substation measuring and control device can catch up with the international level.
Drawings
FIG. 1 is a general flow diagram of the present invention.
FIG. 2 is a diagram of the measurement and control device of the present invention.
FIG. 3 is a functional module distribution diagram of the measurement and control device based on the domestic chip according to the present invention.
FIG. 4 is a diagram of the microservice architecture of the measurement and control device of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the accompanying drawings:
fig. 1 is a schematic structural diagram of the present invention. The invention relates to a measurement and control device algorithm and a data processing method based on a domestic chip, which are carried out according to the following steps:
step 1, collecting detailed design parameters and methods of chips such as a domestic processor, an ADC, an FPGA, a memory, a communication (including an Ethernet and a serial bus), a power supply, a reference source, a clock, a logic device, an operational amplifier and the like, building a hardware structure of a transformer substation measurement and control device based on the domestic chip, completing a calculation method for measuring the domestic chip measurement and control device, and then realizing a precision self-adaptive compensation algorithm for the domestic ADC chip.
And 2, processing the interrupt resources based on the domestic processor, redesigning the measured data time mark of the domestic main processor, and deploying the main application functions APP of the measurement and control device as required.
And 3, operating and controlling primary equipment such as a breaker and a disconnecting link of the transformer substation, providing a hardware protection technology and a software safety protection technology based on a hardware interface form of a domestic chip, and virtualizing and applying service to hardware resources of the device.
And 4, establishing a system internal interface and an external interface for the transformer substation measurement and control device, and storing, processing and managing data.
According to the step 1, the processor comprises a management CPU and a DSP processor, the management CPU completes functions of communication, management, a man-machine interface and the like, the DSP completes real-time calculation and control, a Loongson 2K1000 is selected as a main processor, various intelligent IO modules complete analog quantity acquisition and switching quantity acquisition and control, and communicate with the management CPU and the DSP in a bus form, an OS core and a bare core are installed, an LINUX operating system is embedded in the OS core, an HMI, a communication module, an event recording module, an abnormity monitoring module, a signal exchange distribution management module, a device signal management module, a parameter constant value management module, a debugging and uploading and downloading module and a parameter exchange module are distributed to the OS core, a measurement and control application, a task management and scheduling module, a signal registration and exchange module, an abnormity monitoring module, a data exchange module, a peripheral access interface module, a parameter constant value management module, a debugging and downloading module and a time synchronization module are distributed to the bare core, the OS core and the bare core are both provided with BSP support packages and share the memory with each other.
In a measurement and control device, after input three-phase voltage current passes through low pass, discrete sampling of an ADC is converted into discrete signal points, after the discrete signal is subjected to fast Fourier transform, frequency and real parts and imaginary parts of each subharmonic are obtained through calculation, then single-phase voltage current effective values and power are calculated, then total active and reactive power is obtained through three-phase summation, for a periodic signal x (t), N points are sampled per cycle, and after equidistant discretization, values x0, x1, a.
N-1, where k is 0, 1.
V, I, P, Q calculates:
Figure BDA0003385928900000051
p, active power Q: reactive power U: voltage I: electric current
And correspondingly summing the active power and the reactive power of each phase to obtain the total active power and the total reactive power.
The measurement and control device reflects the steady-state data of the power system, the collected data mainly serve for monitoring and state estimation of the power system, and the updating period of the state estimation is more than second level. From the whole collection process of the power grid operation data, the power grid data are uploaded through a plurality of nodes, and each node has certain influence on power balance.
The analog quantities measured by the substation automation system mainly comprise alternating current voltage U, alternating current I, active power P, reactive power Q, power factor COS phi, frequency f and the like, and alternating current sampling technology is generally adopted for voltage, current and other electric quantities in the substation. The alternating current sampling technology is that alternating current voltage and current signals in a secondary circuit of a transformer are directly sampled, the signals are converted into digital quantity through A/D conversion, the digital quantity is calculated, and electric quantity values such as voltage, current, power, frequency and electric energy are obtained, a process layer electronic transformer and a merging unit in a transformer substation are applied, an alternating current sampling circuit of a spacer layer protection and measurement and control device moves forward, and alternating current sampling is achieved by adopting a digitization and networking method, but the technical principle is not fundamentally changed.
The calculation of the remote measurement in the measurement and control device mainly adopts Fourier algorithm. The fourier algorithm is a basic algorithm that is currently widely used in various ac electrical quantity calculations. The algorithm can extract fundamental wave components and harmonic wave components from periodic signals, can accurately measure power frequency quantity when direct current components and harmonic waves exist in a power grid, and can conveniently realize harmonic wave analysis.
The fourier series form of the periodic current and voltage signals x (t) of the power system can be expressed as:
Figure BDA0003385928900000061
namely, it is
Figure BDA0003385928900000062
Figure BDA0003385928900000063
Where x (T) represents the current or voltage signal of the power system cycle, T is the power system cycle, ω1Is the angular frequency of the periodic function and,
Figure BDA0003385928900000064
ωkphase angle of current or voltage of order k harmonics, k being the harmonic order, CkmCurrent or voltage amplitude of the k harmonic.
The following relationship can be obtained for the k harmonic:
ak=ckm cosφk;bk=-ckm sinφk
Figure BDA0003385928900000065
by using the orthogonality of the trigonometric functions, it is possible to obtain
Figure BDA0003385928900000066
And discretizing the x (t) by using a period of N points, wherein the discretized harmonic coefficient is as follows:
Figure BDA0003385928900000067
therefore, the amplitude, the phase angle and the effective value of the kth harmonic of the signal can be calculated:
amplitude value
Figure BDA0003385928900000068
Phase angle
Figure BDA00033859289000000611
Or
Figure BDA00033859289000000612
Effective value
Figure BDA0003385928900000071
Regardless of the effect of the dc component, the effective value of the ac periodic function is equal to the arithmetic square root of the sum of the squares of the effective values of the fundamental and harmonics in the signal, so the effective values of the voltage and current are:
Figure BDA0003385928900000072
where Uk and Ik are the effective values of the respective harmonic components, respectively.
The active power and the reactive power are algebraic sums of the active power and the reactive power of each harmonic, namely:
Figure BDA0003385928900000073
the alternating current signal is decomposed by the formula, and the harmonic waves of the voltage signal and the current signal, the total effective value, the active power, the reactive power and the power factor can be calculated.
The temperature characteristics of a domestic ADC chip and a reference source are analyzed, modeling and characteristic curve fitting are carried out on chip characteristic indexes, sampling data are compensated by the front end according to the chip characteristics, measurement calculation data are corrected by the rear end, the temperature curve characteristics of the chip are compensated by adopting a precision self-adaptive compensation algorithm, so that the measurement precision is compensated.
According to step 2, for a terminal request that needs to intercept all requests destined to multiple ones of the processors, sending all terminal requests to the processor terminal scheduler according to a preset optimized arbitration rule and a sequenced sequence for scheduling to a processor for processing, wherein the information of each terminal request comprises a unique terminal request number byte or vector, the number byte or vector of the interrupt request comprises an IRQ _ IDO bit, a priority processing level bit, an interrupt distribution mode bit, a survival value bit and a non-delay flag bit of the interrupt request, scanning in clock period to obtain the information of interrupt request, transferring it to interrupt information register, and cleaning the interrupt request information in interrupt sensor, and redesigning an application data processing mechanism with larger time relevance such as an SOE time mark, a measurement time mark and the like according to the interrupt structure of the domestic processor.
According to the step 3, analyzing the characteristics of elements such as a domestic relay, an optocoupler device, a logic interface device and the like, researching a hardware protection technology and a software security protection technology based on a hardware interface form of a domestic chip, improving the reliability of a device control outlet through technical means of hierarchical starting, software and hardware positive and negative code checking, constructing a micro-service architecture, researching a realization technology of deploying a container layer on the basis of a BSP (base station server) driving layer and an operating system layer of a traditional device software architecture, abstracting software and hardware resources and data of the device to form a standard data interface, and enabling the service function of the measurement and control device to be according to a unified data interface on the basis; the device software is integrally designed according to a micro-service architecture, main functions of the device are designed into a plurality of applications APP, deployment and management are achieved as required, an APP service layer completes client registration, telemetering calculation APP, anti-error logic APP, APP delegation and expansion service, an application support service layer completes a rule engine, scheduling, notification alarm, log and expansion service, an OS system layer is composed of SylixOS/Linux and platform data abstraction, and a BSP drive layer completes ADC sampling data reading, DI plug-in communication, DO plug-in communication, network communication, peripheral access and data exchange between CPUs.
Establishing a system internal interface and a system external interface according to the step 4, wherein the system internal interface finishes main data interaction among software modules, the system external interface mainly comprises an external interface for establishing data storage and management software and an external interface for data real-time processing software, simultaneously receives and stores parameter information collected and sent by a plurality of external devices, receives a data processing result of the data real-time processing software, receives an external measurement and control software control instruction, receives a data frame multicast and sent by the external devices, buffers the parameter processing result multicast by the data processing software through storage software running on a database server, then leads the parameter processing result into a database in batch at regular time, reduces the calling times of the database interface, divides the software into a data storage part and a database management part, runs on the data server, and provides a database storage interface for real-time data processing of a real-time measuring and realizing system, the database management part is in a client/server mode, is connected to the data server through a network for management, completes real-time processing of data and processes various parameters received by the system in real time.
The following examples are carried out on the premise of the technical scheme of the invention, and detailed embodiments and specific operation processes are given, but the scope of the invention is not limited to the following examples. The methods used in the following examples are conventional methods unless otherwise specified.
[ examples ] A method for producing a compound
As shown in fig. 1, the detailed parameters and design methods of chips such as a domestic processor, an ADC, an FPGA, a memory, a communication (including an ethernet and a serial bus), a power supply, a reference source, a clock, a logic device, an operational amplifier and the like required by the analysis and control device are selected, a domestic chip loongson 2K1000 is selected as a main processor, a hardware structure is built, a hardware resource virtualization abstraction technology, an application system and a software packaging technology are researched, the calculation of remote measurement in the measurement and control device is completed by using a fourier algorithm, the measurement and control quantity of the measurement and control device is obtained, the overall architecture design of device software is formed, and hardware virtualization abstraction and application function APP deployment as required are realized on the device; meanwhile, key technical researches such as measurement algorithm, data processing, control safety protection and the like are developed aiming at a domestic processor and an interface chip, the measurement and control application service function is completed, and algorithm at two sides, precision compensation, synchronous calculation, a starting time scale, time scales at two sides, data interaction, hardware protection and software checking sampling processing are realized.

Claims (5)

1. A measurement and control device algorithm and a data processing method based on a domestic chip are characterized by comprising the following steps:
step 1, collecting detailed design parameters and methods of chips such as a domestic processor, an ADC, an FPGA, a memory, a communication (including an Ethernet and a serial bus), a power supply, a reference source, a clock, a logic device, an operational amplifier and the like, building a hardware structure of a transformer substation measurement and control device based on the domestic chip, completing a calculation method for measuring the domestic chip measurement and control device, and then realizing a precision self-adaptive compensation algorithm for the domestic ADC chip.
And 2, processing the interrupt resources based on the domestic processor, redesigning the measured data time mark of the domestic main processor, and deploying the main application functions APP of the measurement and control device as required.
And 3, operating and controlling primary equipment such as a breaker and a disconnecting link of the transformer substation, providing a hardware protection technology and a software safety protection technology based on a hardware interface form of a domestic chip, and virtualizing and applying service to hardware resources of the device.
And 4, establishing a system internal interface and an external interface for the transformer substation measurement and control device, and storing, processing and managing data.
2. The method as claimed in claim 1, wherein the processor comprises a management CPU and a DSP processor according to step 1, the management CPU performs communication, management, man-machine interface, and other functions, the DSP performs real-time calculation and control, various intelligent IO modules perform analog acquisition, switching value acquisition and control, and communicate with the management CPU and the DSP via a bus, an OS core and a bare core are installed, an LINUX operating system is embedded in the OS core, and an HMI, a communication module, an event recording module, an anomaly monitoring module, a signal exchange distribution management module, a device signal management module, a parameter setting value management module, a debugging and loading/unloading module, and a parameter switching module are distributed to the OS core, a measurement and control application, a task management and scheduling module, a signal registration and switching module, an anomaly monitoring module, a data switching module, a measurement and control application, a task management and scheduling module, a signal registration and switching module, a parameter setting value management module, and a parameter switching module, The peripheral access interface module, the parameter fixed value management module, the debugging and downloading module and the time synchronization module are distributed to the bare core, and the OS core and the bare core are both provided with BSP support packages to share the memory mutually.
In a measurement and control device, after input three-phase voltage current passes through low pass, discrete sampling of an ADC is converted into discrete signal points, after the discrete signal is subjected to fast Fourier transform, frequency and real parts and imaginary parts of each subharmonic are obtained through calculation, then single-phase voltage current effective values and power are calculated, then total active and reactive power is obtained through three-phase summation, for a periodic signal x (t), N points are sampled per cycle, and after equidistant discretization, values x0, x1, a.
N-1, where k is 0, 1.
U, I, P, Q calculates:
Figure FDA0003385928890000021
p, active power Q: reactive power U: voltage I: electric current
And correspondingly summing the active power and the reactive power of each phase to obtain the total active power and the total reactive power.
The measurement and control device reflects the steady-state data of the power system, the collected data mainly serve for monitoring and state estimation of the power system, and the updating period of the state estimation is more than second level. From the whole collection process of the power grid operation data, the power grid data are uploaded through a plurality of nodes, and each node has certain influence on power balance.
The temperature characteristics of a domestic ADC chip and a reference source are analyzed, modeling and characteristic curve fitting are carried out on chip characteristic indexes, sampling data are compensated by the front end according to the chip characteristics, measurement calculation data are corrected by the rear end, the temperature curve characteristics of the chip are compensated by adopting a precision self-adaptive compensation algorithm, so that the measurement precision is compensated.
3. The method as claimed in claim 1, wherein according to step 2, all terminal requests to be intercepted are sent to a plurality of processors in the processor, and all terminal requests are sent to the processor terminal scheduler in a sequence according to a preset optimized arbitration rule to be scheduled to the processor for processing, the information of each terminal request includes a unique terminal request number byte or vector, the number byte or vector of the interrupt request includes an IRQ _ IDO bit of the interrupt request, a priority processing level bit, a mode bit for distributing interrupt to the processors, a survival value bit and a non-delay flag bit, and the information is scanned in a clock cycle to obtain the information of the interrupt request, which is transferred to an interrupt information register and clears the information of the interrupt request in the interrupt sensor, and redesigning an application data processing mechanism with larger time relevance such as an SOE time mark, a measurement time mark and the like according to the interrupt structure of the domestic processor.
4. The algorithm and the data processing method of the measurement and control device based on the domestic chip as claimed in claim 1, wherein according to step 3, the characteristics of elements such as a domestic relay, an optocoupler device and a logic interface device are analyzed, a hardware protection technology and a software security protection technology based on a hardware interface form of the domestic chip are researched, the reliability of a device control outlet is improved through the technical means of hierarchical starting and software and hardware positive and negative code verification, a micro-service architecture is constructed, the implementation technology of a deployment container layer is researched on the basis of a BSP (base station protocol) driving layer and an operating system layer of a traditional device software architecture, software and hardware resources and data of the device are abstracted to form a standard data interface, and the service function of the measurement and control device is based on a unified data interface; the device software is integrally designed according to a micro-service architecture, main functions of the device are designed into a plurality of applications APP, deployment and management are achieved as required, an APP service layer completes client registration, telemetering calculation APP, anti-error logic APP, APP delegation and expansion service, an application support service layer completes a rule engine, scheduling, notification alarm, log and expansion service, an OS system layer is composed of SylixOS/Linux and platform data abstraction, and a BSP drive layer completes ADC sampling data reading, DI plug-in communication, DO plug-in communication, network communication, peripheral access and data exchange between CPUs.
5. The method as claimed in claim 1, wherein a system internal interface and a system external interface are established according to step 4, the system internal interface completes the main data interaction among the software modules, the system external interface mainly comprises an external interface for establishing data storage and management software and an external interface for data real-time processing software, and simultaneously receives and stores the parameter information collected and transmitted by a plurality of external devices, receives the data processing result of the data real-time processing software, receives the external control software control instruction, receives the data frame multicast and transmitted by the external devices, buffers the parameter processing result multicast by the data processing software through the storage software running on the database server, and then leads the parameter processing result into the database in batch at regular time to reduce the calling times of the database interface, the software is divided into two parts of data storage and database management, the data storage part runs on a data server and provides a database storage interface for real-time data processing of the real-time data processing system, and the database management part is in a client/server mode, is connected to the data server through a network and manages the data, completes the real-time processing of the data and processes various parameters received by the system in real time.
CN202111453705.5A 2021-12-01 2021-12-01 Domestic chip-based measurement and control device algorithm and data processing method Pending CN114384836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111453705.5A CN114384836A (en) 2021-12-01 2021-12-01 Domestic chip-based measurement and control device algorithm and data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111453705.5A CN114384836A (en) 2021-12-01 2021-12-01 Domestic chip-based measurement and control device algorithm and data processing method

Publications (1)

Publication Number Publication Date
CN114384836A true CN114384836A (en) 2022-04-22

Family

ID=81196499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111453705.5A Pending CN114384836A (en) 2021-12-01 2021-12-01 Domestic chip-based measurement and control device algorithm and data processing method

Country Status (1)

Country Link
CN (1) CN114384836A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695341A (en) * 2022-08-23 2023-02-03 中国电子科技集团公司第十研究所 Domestic SRIO exchange chip port recovery method, equipment and medium
CN116298825A (en) * 2023-05-08 2023-06-23 杭州长川科技股份有限公司 Chip test system and method, device, drive access device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695341A (en) * 2022-08-23 2023-02-03 中国电子科技集团公司第十研究所 Domestic SRIO exchange chip port recovery method, equipment and medium
CN115695341B (en) * 2022-08-23 2024-04-09 中国电子科技集团公司第十研究所 Method, equipment and medium for recovering port of domestic SRIO exchange chip
CN116298825A (en) * 2023-05-08 2023-06-23 杭州长川科技股份有限公司 Chip test system and method, device, drive access device and method
CN116298825B (en) * 2023-05-08 2023-10-20 杭州长川科技股份有限公司 Chip test system and method, device, drive access device and method

Similar Documents

Publication Publication Date Title
CN114384836A (en) Domestic chip-based measurement and control device algorithm and data processing method
CN101242317B (en) Time device precision and stability monitoring method
CN103675522A (en) Bay-orient intelligent substation multifunctional secondary device and sampling platform
CN102209074A (en) All-digital dynamic simulation system of power system
CN103036216B (en) System and clock synchronization method applied to intelligentized converting station digitization busbar differential protection
CN201199639Y (en) Test control apparatus for transforming plant capable of implementing anti-error closedown function
CN205160090U (en) Incessant little electric wire netting grid -connected interface integrated device of stable state has
CN201569691U (en) Electric power quality monitoring and synchronous phasor monitoring device of power system
CN113012414A (en) Modular energy acquisition and control terminal supporting real-time reporting of household meter power failure information
CN109521272A (en) A kind of synchronous phasor measuring device
CN208890843U (en) A kind of edge calculations system based on mist node
CN103294025A (en) Intelligent management and control system and method of energy consumption of internet of things
CN105553761A (en) IEC61850 conformance testing hardware platform
CN103178542B (en) Control method of distributed power grid-connection interface system
Yunshuo et al. Research on distribution power quality monitoring based on distribution internet of things
CN204068987U (en) The power distribution automation debugging of GPRS wireless public network communication module and checkout gear
CN202393853U (en) Digitalized relay protection tester of transformer station
Balan et al. Design of a novel IEC 61850 based merging unit for substation automation
CN109149637A (en) Open monitoring management grid-connected system and its monitoring management method
Liang et al. Distributed communication power monitoring system based on big data technology
Song et al. Research on multi-parameter data monitoring system of distribution station based on edge computing
CN210273606U (en) Symmetrical double-cabinet station terminal
CN205160091U (en) Little electric wire netting grid -connected interface integrated device
Lijun et al. A new wide area measurement system model based on common information model
CN105631767A (en) Inspection decision platform used for transformer substation virtual circuit verification and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication