Distributed measurement and control device
Through multi-core heterogeneous design, the processing cores with division of labor and cooperation process real-time and non-real-time tasks in distributed measurement and control devices, solving the problem of resource preemption in the existing technology, realizing efficient real-time processing and complex data calculation of the power grid, and expanding the Feature development.
Patent Information
- Application Number
- CN202420247326.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2034-01-31
AI Technical Summary
Existing distributed measurement and control devices use a single core for data processing, causing real-time tasks and non-real-time tasks to compete for hardware resources. They cannot meet the real-time requirements of the power grid and data processing needs, and functional development is limited.
Adopting a multi-core heterogeneous design, the first processing core is responsible for real-time task processing, and the second processing core is responsible for complex non-real-time task processing. Communication is carried out through the serial port channel to ensure the division of labor between real-time tasks and non-real-time tasks and avoid hardware resource preemption. .
It achieves efficient processing of real-time tasks and complex data processing in the power grid, broadens the functional development limits of the device, meets the real-time decision-making needs of the power grid, and realizes an intelligent distributed smart grid.
Smart Images

Figure CN221707921U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of power grids, and in particular to a distributed measurement and control device. Background Art
[0002] In the field of power grids, distributed measurement and control devices are widely used because of their flexible installation methods and protection strategies that do not rely on master stations.
[0003] However, the existing distributed measurement and control devices use a single core for data processing. Real-time tasks such as relay control, logic processing of switching quantities, and comparison of analog quantities with threshold values compete with non-real-time tasks such as generation of recording files and communication with the main station for hardware resources. As a result, the power grid can neither meet the real-time requirements of the measurement and control devices nor the requirements of data processing, and functional development is limited. Utility Model Content
[0004] In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a distributed measurement and control device that can not only meet the strong real-time task processing requirements of the power grid, but also process complex data at the same time.
[0005] To solve the above problems, the technical solution adopted by the utility model is as follows: a distributed measurement and control device, including: a real-time processing module, including a first processing core, and an analog quantity acquisition unit, a switch quantity acquisition unit, a relay output unit and a first storage unit electrically connected to the first processing core, the first processing core is used for processing real-time tasks, the analog quantity acquisition unit is used for analog quantity acquisition, the switch quantity acquisition unit is used for switch quantity acquisition, the relay output unit is used for output of control signals, and the first storage unit is used for storing real-time data; a data processing module, including a second processing core, and a second storage unit and a communication unit electrically connected to the second processing core, the second processing core is connected to the first processing core through a serial port channel, the second storage unit is used for storing non-real-time data, and the communication unit is used for external transmission of non-real-time data.
[0006] Compared with the prior art, the beneficial effect of the utility model is that: the processor adopts a multi-core heterogeneous design, the first processing core is responsible for processing real-time tasks, and the second processing core is responsible for processing non-real-time tasks with more complex calculations. The two processing cores cooperate and divide the work, so that the distributed measurement and control device can not only process real-time tasks such as switch quantity logic processing, comparison of input voltage and threshold value, and Fourier calculation in the power grid in real time, but also can simultaneously generate waveform files and process non-real-time tasks that require complex calculations for communication with the main station. Real-time tasks and non-real-time tasks will not squeeze each other's hardware resources, which is convenient for function expansion.
[0007] In the above-mentioned distributed measurement and control device, the first storage unit includes a constant value memory, and the constant value memory is used to store constant values required to be used in real-time task processing.
[0008] In the above-mentioned distributed measurement and control device, the first storage unit includes a report memory, and the report memory is used to store report data generated by real-time task processing.
[0009] In the above-mentioned distributed measurement and control device, the first processing core and the second processing core are communicatively connected via at least two serial port channels, the first serial port channel is used to transmit telemetry data and telesignaling data to the second processing core, the first serial port channel is also used to receive remote control data transmitted by the second processing core, and the second serial port channel is used to transmit recording data to the second processing core.
[0010] In the above-mentioned distributed measurement and control device, the communication unit includes a serial port communication unit and a network port communication unit.
[0011] In the above-mentioned distributed measurement and control device, the serial port communication unit is a 101 protocol serial port communication unit.
[0012] In the above-mentioned distributed measurement and control device, the network port communication unit is a 104-protocol network port communication unit.
[0013] The utility model is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a principle block diagram of a distributed measurement and control device according to an embodiment of the utility model;
[0015] Figure 2 The data processing flow chart of the embodiment of the utility model. DETAILED DESCRIPTION
[0016] The embodiments of the present invention are described in detail below. Figure 1, an embodiment of the utility model provides a distributed measurement and control device, including a real-time processing module and a data processing module. The real-time processing module includes a first processing core, and an analog quantity acquisition unit, a switch quantity acquisition unit, a relay output unit and a first storage unit electrically connected to the first processing core. The data processing module includes a second processing core, and a second storage unit and a communication unit electrically connected to the second processing core. The first processing core is used for processing real-time tasks, such as logical calculations in power grid control, comparison of input quantities with threshold values, and execution of relay control. The second processing core is used for processing non-real-time tasks, such as communication with a master station and generation of recording files. The first processing core and the second processing core communicate with each other through a serial port channel, and the telesignaling data to be transmitted to the master station and the recording data to be used to generate the recording file are transmitted to the second processing core.
[0017] The above-mentioned distributed measurement and control device, through the dual-core heterogeneous design of the first processing core and the second processing core, the two cores work together to respectively process simple calculations with high real-time requirements and complex data processing that requires a large amount of hardware resources, thereby avoiding the competition between real-time tasks and non-real-time tasks for hardware resources. The measurement and control device can not only meet the high real-time requirements of some real-time decisions of the power grid, but also perform complex data calculations and processing, broaden the functional development restrictions of the device, and facilitate the realization of a more intelligent distributed smart grid. It is understandable that the demand for hardware resources for real-time tasks is lower than that for non-real-time tasks, so the number of hardware resources and data processing capabilities of the first processing core are generally lower than those of the second processing core, that is, the first processing core and the second processing core form a large and small core heterogeneous structure, such as the first processing core can use Cortex-M4, and the second processing core can use Cortex-M7. The first processing core and the second processing core can be of the same architecture or different architectures, such as ARM architecture, FPGA architecture, X86 architecture or DSP architecture.
[0018] In this embodiment, the first processing core uses the FreeRTOS operating system, and the second processing core uses the LINUX operating system. Figure 2The first processing core includes a Fourier calculation unit and a logic processing unit, wherein the Fourier calculation unit is mainly used for harmonic analysis, and the logic processing unit is mainly used for switch logic control of various relays and circuit breakers in the power grid. The Fourier calculation unit and the logic processing unit are both composed of various hardware resources such as gate circuits, multipliers and adders in the first processing core. According to the control requirements, the required integrated circuit wiring structure is generated through the hardware description language and EDA tools. The analog quantity of the power system equipment collected by the analog quantity acquisition unit is transmitted to the Fourier calculation unit for calculation to generate telemetry data, and is transmitted to the logic processing unit together with the switch quantity collected by the switch quantity acquisition unit for logic calculation to generate telesignaling data, recording data, report data and relay control signals, wherein the telesignaling data, telemetry data and recording data are transmitted to the second processing core through the serial port channel, the report data is sent to the first storage unit for storing real-time data for storage, and the relay control signal is sent to the relay output unit for output, so as to realize the relay control of the power system equipment and circuit breakers and other devices in the switch cabinet. The first storage unit includes a constant value storage and a report storage. The report data is stored in the report storage. The constant value storage is used to store some constant values required by the logic processing unit to perform logic operations, such as the threshold value of the binary input.
[0019] It can be understood that the analog quantity unit may include several AD converters or conversion circuits, and the switch quantity acquisition unit should be composed of isolators of various voltage levels, such as photoelectric couplers.
[0020] Reference Figure 1 and Figure 2 The second processing core includes a data processing unit, which is used to perform further complex data processing on the telesignaling data, telemetering data and recording data to form a recording file, and store the recording file in the second storage unit for storing non-real-time data. The data processing unit is also responsible for the control of sending and receiving communication data with the master station. In this embodiment, the first processing core and the second processing core communicate through two serial port channels, wherein the first serial port channel is a full-duplex or half-duplex channel, the first processing core can pass the telemetering data and telesignaling data to the second processing core through the first serial port channel, and the second processing core can also pass the control information of the master station to the logic processing unit through the first serial port channel, and output it through the relay output unit, so as to realize manual control of some equipment in the power grid, or modify some threshold values in the fixed value memory. The second serial port channel is a simplex channel, and the first processing core passes the recording data to the second processing core through the second serial port channel.
[0021] Reference Figure 1In this embodiment, the second processing core communicates with the main station through serial port and Ethernet. The communication unit includes a serial port communication unit and a network port communication unit. The serial port communication unit needs to meet the 101 protocol, and the network port communication unit needs to meet the 104 protocol.
[0022] It should be noted that in the description of the present invention, if there are any orientation descriptions, such as up, down, front, back, left, right, etc., the orientations or positional relationships indicated are all based on the orientations or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed or operated in a specific orientation, and cannot be understood as a limitation on the present invention.
[0023] In the description of the present utility model, "several" means one or more, "more" means two or more, "greater than", "less than", "exceed" etc. are understood to exclude the number itself, and "above", "below", "within" etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used to distinguish the technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0024] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0025] The above-mentioned implementation modes are only preferred implementation modes of the present invention, and cannot be used to limit the protection scope of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.
Claims
1. A distributed measurement and control device, characterized in that: include: The real-time processing module comprises a first processing core, and an analog quantity acquisition unit, a switch quantity acquisition unit, a relay output unit and a first storage unit electrically connected to the first processing core, wherein the first processing core is used for processing real-time tasks, the analog quantity acquisition unit is used for collecting analog quantities, the switch quantity acquisition unit is used for collecting switch quantities, the relay output unit is used for outputting control signals, and the first storage unit is used for storing real-time data; The data processing module includes a second processing core, and a second storage unit and a communication unit electrically connected to the second processing core. The second processing core is communicatively connected to the first processing core via a serial port channel. The second storage unit is used for storing non-real-time data, and the communication unit is used for external transmission of non-real-time data.
2. The distributed measurement and control device according to claim 1, characterized in that: The first storage unit includes a constant value memory, and the constant value memory is used to store constant values required to be used in real-time task processing.
3. The distributed measurement and control device according to claim 1, characterized in that: The first storage unit includes a report memory, and the report memory is used to store report data generated by real-time task processing.
4. The distributed measurement and control device according to claim 1, characterized in that: The first processing core and the second processing core are communicatively connected via at least two serial port channels, the first serial port channel is used to transmit telemetry data and telesignaling data to the second processing core, the first serial port channel is also used to receive remote control data transmitted by the second processing core, and the second serial port channel is used to transmit waveform data to the second processing core.
5. The distributed measurement and control device according to claim 1, characterized in that: The communication unit includes a serial port communication unit and a network port communication unit.
6. The distributed measurement and control device according to claim 5, characterized in that: The serial port communication unit is a 101 protocol serial port communication unit.
7. The distributed measurement and control device according to claim 5, characterized in that: The network port communication unit is a 104 protocol network port communication unit.
