Chip network communication attack defense system of micro-grid system

By integrating a hardware-based communication attack defense system into the microgrid system, network attacks can be detected and corrected in real time, solving the problems of response delay and security risks of microgrid systems under network attacks, and achieving fast and stable system state control.

CN120639342BActive Publication Date: 2026-03-17INFORMATION & COMMUNICATION BRANCH STATE GRID JIBEI ELECTRIC POWER CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing microgrid systems are unable to meet high real-time requirements under network communication attacks, and there are response delays and security risks caused by software dependencies, which affect system stability and security.

Method used

Design a chip network communication attack defense system for microgrid systems, integrating a communication and sampling unit, a communication attack detection unit, a microgrid state correction unit, and a microgrid control unit. Implement control strategies through hardware, detect and correct network attacks in real time, and generate control signals to stabilize the system state.

Benefits of technology

It significantly improves the response speed and operational stability of microgrid systems, effectively avoids software uncertainties and security vulnerabilities, and enhances anti-attack capabilities, making it particularly suitable for microgrid application scenarios with high real-time and stability requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120639342B_ABST
    Figure CN120639342B_ABST
Patent Text Reader

Abstract

The present application relates to a chip network communication attack defense system of a micro-grid system, comprising a communication and sampling unit, a communication attack detection unit, a micro-grid state correction unit and a micro-grid control unit; the communication and sampling unit is used for collecting the running state of the target micro-grid subsystem and the interaction data between the target micro-grid subsystem and other micro-grid subsystems in the micro-grid system; the communication attack detection unit is used for determining the communication attack prediction value of the target micro-grid subsystem according to the running state and the interaction data; the micro-grid state correction unit is used for calculating the running state correction value of each target micro-grid subsystem according to the communication attack prediction value; the micro-grid control unit is used for generating the control signal of the running state correction value of the target micro-grid subsystem, and controlling the generator of the target micro-grid subsystem by using the control signal, so as to overcome the response delay and security risk caused by the high dependence of the existing anti-network communication attack algorithm on the software system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of microgrid system operation and control technology, and in particular to a chip network communication attack defense system for microgrid systems. Background Technology

[0002] Currently, deterministic networking, as an emerging network communication architecture, ensures server quality through technologies such as resource reservation, service assurance, and explicit routing, thus imposing stricter requirements on data transmission: low packet loss rate and real-time accuracy of information between ends. However, microgrid systems are vulnerable to network communication attacks in data transmission, which can lead to system instability and consequently affect their safe and reliable operation.

[0003] In existing microgrid control technologies, a common approach is to first design a control strategy resistant to network communication attacks, and then deploy this strategy into a general-purpose chip via software programming to achieve stable control of the microgrid system. However, this method heavily relies on software instructions and the operating system's scheduling mechanisms, resulting in limited response speed and difficulty in meeting high real-time requirements. Furthermore, this approach carries certain security risks; malicious code injection could lead to system malfunctions or even failure, further reducing the stability and security of the microgrid under network communication attack environments. Summary of the Invention

[0004] To address the problems in the prior art, this embodiment provides a chip network communication attack defense system for microgrid systems. This system can overcome the response delay and security risks caused by the high dependence of existing anti-network communication attack algorithms on software systems, thereby improving the operational stability and anti-attack capability of microgrids in complex network environments.

[0005] This specification provides a chip network communication attack defense system for a microgrid system, which is deployed on a target microgrid subsystem within the microgrid system and includes: a communication and sampling unit, a communication attack detection unit, a microgrid state correction unit, and a microgrid control unit.

[0006] The communication and sampling unit is used to collect the operating status of the target microgrid subsystem and the interaction data between the target microgrid subsystem and other microgrid subsystems in the microgrid system other than the target microgrid subsystem.

[0007] The communication attack detection unit is used to determine the predicted value of communication attacks on the target microgrid subsystem based on the operating status and interaction data.

[0008] The microgrid state correction unit is used to calculate the operating state correction value of each target microgrid subsystem based on the communication attack prediction value of the target microgrid subsystem;

[0009] The microgrid control unit is used to generate control signals for the operating status correction values ​​of the target microgrid subsystem, and to control the generators of the target microgrid subsystem using the control signals.

[0010] Furthermore, the operating state includes the current voltage and current of the target microgrid subsystem, as well as the multi-agent average voltage and multi-agent average current of the target microgrid subsystem calculated by the microgrid state correction unit in the previous cycle;

[0011] The interactive data includes the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of the other microgrid subsystems.

[0012] Furthermore, the predicted communication attack values ​​include predicted values ​​for secondary controller voltage network communication attacks, predicted values ​​for average voltage network communication attacks, predicted values ​​for secondary controller current network communication attacks, and predicted values ​​for average current network communication attacks.

[0013] Furthermore, the communication attack detection unit includes multiple neuron modules and four first adders ADD_1;

[0014] Each neuron module includes N groups of first subtractors, SUB_1 1,2,…,N N sets of first multipliers MUL_1 1,2,…,N 5 second multipliers MUL_2 1,2,…,5 The system includes one second adder ADD_2, one exponential function unit EXP with the natural function e as the base, and one square root calculation unit SQRT, where N represents the number of microgrid subsystems in the microgrid system. Each first subtractor group includes four first subtractors, and each first multiplier group includes four first multipliers.

[0015] First subtractor group SUB_1 i The non-inverting input of each first subtractor is respectively input to the voltage, current, average voltage of multiple agents and average current of multiple agents in the operating state, and the inverting input is respectively input to the center vector value corresponding to the voltage, current, average voltage of multiple agents and average current of multiple agents, where i represents the number of the target microgrid subsystem;

[0016] First subtractor group SUB_1 jThe non-inverting input of each first subtractor in the other microgrid subsystems is respectively input to the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of the j-th microgrid subsystem. The inverting input is respectively input to the center vector value corresponding to the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of the j-th microgrid subsystem, where j represents the number of one of the other microgrid subsystems.

[0017] First subtractor group SUB_1 1,2,…,N The output of each first subtractor is connected to the first multiplier group MUL_1. 1,2,…,N The two input terminals of the corresponding first multiplier;

[0018] The first multiplier group MUL_1 1,2,…,N The output of each first multiplier is connected to the corresponding non-inverting input of the second adder ADD_2;

[0019] The output of the second adder ADD_2 is connected to the input of the square root calculation unit SQRT;

[0020] The output of the square root calculation unit SQRT is connected to a second multiplier MUL_2. p The first input terminal, the second multiplier MUL_2 p The second input terminal is used to input the first parameter, where p is the number of the second multiplier;

[0021] The second multiplier MUL_2 p The output terminal is connected to the input terminal of the exponential function unit EXP;

[0022] The output of the exponential function unit EXP is connected to the second multiplier MUL_2 q The first input terminal is connected, where q represents the number of the second multiplier, q≠p, and the second multiplier is MUL_2. q The second input terminal is used to pass in the corresponding second parameter.

[0023] The second multiplier MUL_2 q The output terminal is connected to the v-th in-phase input terminal of the first adder ADD_1, where v represents the number of the neuron module;

[0024] The output of the first adder ADD_1 outputs the corresponding communication attack prediction value.

[0025] Furthermore, the microgrid state correction unit includes a multi-agent average voltage calculation module, a multi-agent secondary controller voltage calculation module, a multi-agent average current calculation module, a multi-agent secondary controller current calculation module, a multi-agent secondary PI voltage controller module, and a multi-agent secondary PI current controller module.

[0026] The multi-agent average voltage calculation module is used to calculate the multi-agent average voltage of the target microgrid subsystem in the current period based on the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous period, the multi-agent secondary controller voltage of the previous period, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous period, and the predicted value of the average voltage network communication attack.

[0027] The multi-agent secondary controller voltage calculation module is used to calculate the multi-agent average voltage of the target microgrid subsystem in the current period based on the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous period, the multi-agent secondary controller voltage of the previous period, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous period, and the predicted value of the secondary controller voltage network communication attack.

[0028] The multi-agent average current calculation module is used to calculate the multi-agent average current of the target microgrid subsystem in the current period based on the current of the target microgrid subsystem, the multi-agent average current of the previous period, the multi-agent secondary controller current of the previous period, the multi-agent average current and multi-agent secondary controller current of the other microgrid subsystems in the previous period, and the predicted value of the average current network communication attack.

[0029] The multi-agent secondary controller current calculation module is used to calculate the multi-agent average current of the target microgrid subsystem in the current period based on the current of the target microgrid subsystem, the multi-agent average current of the previous period, the multi-agent secondary controller current of the previous period, the multi-agent average current and multi-agent secondary controller current of the other microgrid subsystems in the previous period, and the predicted value of the secondary controller current network communication attack.

[0030] The multi-agent secondary PI voltage controller module is used to calculate the voltage correction value of the target microgrid subsystem based on the nominal voltage value of the microgrid system and the multi-agent average voltage of the target microgrid subsystem in the current period.

[0031] The multi-agent secondary PI current controller module is used to calculate the current correction value of the target microgrid subsystem based on the current current of the target microgrid subsystem and the multi-agent average current of the target microgrid subsystem in the current period.

[0032] Furthermore, the multi-agent average voltage calculation module includes N-1 second subtractor groups SUB_2. 1,2,…,N-1 One third subtractor SUB_3, one third adder ADD_3, one fourth adder ADD_4, and N-1 third multipliers MUL_3 1,2,…,N-1 One fourth multiplier MUL_4, one fifth multiplier MUL_5, one first differentiator ND_1, one first integrator IF_1 and one first zero-order hold ZOH_1, and each second subtractor group includes three second subtractors;

[0033] The non-inverting input of the third subtractor SUB_3 is used to input the current voltage of the target microgrid subsystem, and the inverting input is connected to the first zero-order hold ZOH_1. The first zero-order hold ZOH_1 is used to store the average voltage of the multi-agent system in the previous cycle.

[0034] The output of the third subtractor SUB_3 is connected to the first input of the fourth multiplier MUL_4, the second input of the fourth multiplier MUL_4 is used to input the first positive gain, and the output of the fourth multiplier MUL_4 is connected to the first input of the third adder ADD_3.

[0035] Second subtractor group SUB_2 j The non-inverting input of the first second subtractor in the other microgrid subsystems is used to input the average multi-agent voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input is connected to the first zero-order hold ZOH_1.

[0036] The second subtractor group SUB_2 j The output of the first subtractor in the second subtractor is connected to the output of the third multiplier MUL_3. j The first input terminal is connected to the third multiplier MUL_3. j The second input terminal is used to input the first positive gain;

[0037] Second subtractor group SUB_2 j The non-inverting input of the second subtractor in the other microgrid subsystem is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input is used to input the multi-agent secondary controller voltage of the target microgrid subsystem in the previous cycle.

[0038] Second subtractor group SUB_2 j The non-inverting input of the third subtractor in the third multiplier MUL_3 is connected to the third multiplier MUL_3. j The output terminal is connected to the inverting input terminal, and the inverting input terminal is connected to the second subtractor group SUB_2. j The output of the second subtractor in the second subtractor group is connected to SUB_2. j The output of the third subtractor in the second subtractor is connected to the j-th input of the fourth adder ADD_4;

[0039] The output of the fourth adder ADD_4 is connected to the first input of the fifth multiplier MUL_5, the second input of the fifth multiplier MUL_5 is used to input the second positive gain, and the output of the fifth multiplier MUL_5 is connected to the second input of the third adder ADD_3.

[0040] The input terminal of the first differentiator ND_1 is used to input the current voltage of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the third adder ADD_3;

[0041] The fourth input of the third adder ADD_3 is used to input the predicted value of the average voltage network communication attack;

[0042] The output of the third adder ADD_3 is connected to the input of the first integrator IF_1, and the output of the first integrator IF_1 outputs the multi-agent average voltage of the target microgrid subsystem for the current period.

[0043] Furthermore, the voltage calculation module of the multi-agent secondary controller includes N-1 groups of fourth subtractors, SUB_4. 1,2,…,N-1 N-1 fifth adders ADD_5 1,2,…,N-1 N-1 sixth multipliers MUL_6 1,2,…,N-1 The system includes one sixth adder (ADD_6), one seventh adder (ADD_7), one fifth subtractor (SUB_5), one seventh multiplier (MUL_7), one eighth multiplier (MUL_8), one second differentiator (ND_2), one second integrator (IF_2), and one second zero-order hold (ZOH_2). Each fourth subtractor group consists of two fourth subtractors.

[0044] The non-inverting input of the fifth subtractor ZUB_5 is used to input the current voltage of the target microgrid subsystem, and the inverting input is connected to the second zero-order hold ZOH_2, which is used to store the voltage of the multi-agent secondary controller in the previous cycle.

[0045] The output of the fifth subtractor SUB_5 is connected to the first input of the seventh multiplier MUL_7, the second input of the seventh multiplier MUL_7 is used to input the first positive gain, and the output of the seventh multiplier MUL_7 is connected to the first input of the sixth adder ADD_6.

[0046] Fourth subtractor group SUB_4 j The non-inverting input of the first fourth subtractor in the other microgrid subsystems is used to input the average voltage of the multi-agents in the previous cycle of the j-th microgrid subsystem, and the inverting input is connected to the first zero-order hold ZOH_1 to input the average voltage of the multi-agents in the previous cycle.

[0047] Fourth subtractor group SUB_4 j The non-inverting input of the second fourth subtractor is used to input the voltage of the multi-agent secondary controller of the j-th microgrid subsystem in the previous cycle of the other microgrid subsystems, and the inverting input is connected to the second zero-order hold ZOH_2.

[0048] The fourth subtractor group SUB_4 j The output of the second subtractor in the second subtractor is connected to the sixth multiplier MUL_6. j The first input terminal is connected to the sixth multiplier MUL_6. j The second input terminal is used to input the first positive gain;

[0049] Fifth adder ADD_5 j The first input terminal in the fourth subtractor group SUB_4 j The output of the first fourth subtractor is connected, and the second input is connected to the sixth multiplier MUL_6. j The output terminal is connected to the j-th input terminal of the seventh adder ADD_7;

[0050] The output of the seventh adder ADD_7 is connected to the first input of the eighth multiplier MUL_8, the second input of the eighth multiplier MUL_8 is used to input the second positive gain, and the output of the eighth multiplier MUL_8 is connected to the second input of the sixth adder ADD_6.

[0051] The input terminal of the second differentiator ND_2 is used to input the current voltage of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the sixth adder ADD_6;

[0052] The fourth input of the sixth adder ADD_6 is used to input the predicted value of the secondary controller voltage network communication attack;

[0053] The output of the sixth adder ADD_6 is connected to the input of the second integrator IF_2, and the output of the second integrator IF_2 outputs the multi-agent secondary controller voltage of the target microgrid subsystem for the current cycle.

[0054] Furthermore, the multi-agent average current calculation module includes N-1 sixth subtractor groups SUB_6. 1,2,…,N-1 One seventh subtractor SUB_7, one eighth adder ADD_8, one ninth adder ADD_9, and N-1 ninth multipliers MUL_9 1,2,…,N-1 One tenth multiplier MUL_10, one eleventh multiplier MUL_11, one third differentiator ND_3, one third integrator IF_3, and one third zeroth-order hold ZOH_3; each sixth subtractor group includes three sixth subtractors.

[0055] The non-inverting input of the seventh subtractor SUB_7 is used to input the current current of the target microgrid subsystem, and the inverting input is connected to the third zero-order hold ZOH_3, which is used to store the average current of the multi-agent system in the previous cycle.

[0056] The output of the seventh subtractor SUB_7 is connected to the first input of the tenth multiplier MUL_10, the second input of the tenth multiplier MUL_10 is used to input the first positive gain, and the output of the tenth multiplier MUL_10 is connected to the first input of the eighth adder ADD_8.

[0057] Sixth subtractor group SUB_6 j The non-inverting input of the first sixth subtractor in the other microgrid subsystems is used to input the average current of the multi-agent agents in the previous cycle of the j-th microgrid subsystem, and the inverting input is connected to the third zero-order hold ZOH_3.

[0058] The sixth subtractor group SUB_6 j The output of the first sixth subtractor in the middle is connected to the ninth multiplier MUL_9 j The first input terminal is connected to the ninth multiplier MUL_9. j The second input terminal is used to input the first positive gain;

[0059] Sixth subtractor group SUB_6 j The non-inverting input of the second sixth subtractor in the other microgrid subsystem is used to input the multi-agent secondary controller current of the j-th microgrid subsystem in the previous cycle, and the inverting input is used to input the multi-agent secondary controller current of the target microgrid subsystem in the previous cycle.

[0060] Second subtractor group SUB_2 j The non-inverting input of the third sixth subtractor in the Ninth Multiplier MUL_9 is connected to the Ninth Multiplier MUL_9. j The output terminal is connected to the inverting input terminal, and the inverting input terminal is connected to the sixth subtractor group SUB_6. j The output of the second sixth subtractor in the set is connected to the sixth subtractor group SUB_6. j The output of the third sixth subtractor is connected to the j-th input of the ninth adder ADD_9;

[0061] The output of the ninth adder ADD_9 is connected to the first input of the eleventh multiplier MUL_11, the second input of the eleventh multiplier MUL_11 is used to input the second positive gain, and the output of the eleventh multiplier MUL_11 is connected to the second input of the eighth adder ADD_8.

[0062] The input terminal of the third differentiator ND_3 is used to input the current of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the eighth adder ADD_8;

[0063] The fourth input of the ninth adder ADD_9 is used to input the predicted value of the average current network communication attack;

[0064] The output of the ninth adder ADD_9 is connected to the input of the third integrator IF_3, and the output of the third integrator IF_3 outputs the multi-agent average current of the target microgrid subsystem in the current cycle.

[0065] Furthermore, the multi-agent secondary controller current calculation module includes N-1 groups of eighth subtractors, SUB_8. 1,2,…,N-1 N-1 tenth adders ADD_10 1,2,…,N-1 N-1 twelfth multipliers MUL_12 1,2,…,N-1 The system consists of one eleventh adder (ADD_11), one twelfth adder (ADD_12), one ninth subtractor (SUB_9), one thirteenth multiplier (MUL_13), one fourteenth multiplier (MUL_14), one fourth differentiator (ND_4), one fourth integrator (IF_4), and one fourth zeroth-order hold (ZOH_4). Each eighth subtractor group includes two eighth subtractors.

[0066] The non-inverting input of the ninth subtractor SUB_9 is used to input the current of the target microgrid subsystem, and the inverting input is connected to the fourth zero-order hold ZOH_4. The fourth zero-order hold ZOH_4 is used to store the current of the multi-agent secondary controller in the previous cycle.

[0067] The output of the ninth subtractor SUB_9 is connected to the first input of the thirteenth multiplier MUL_13, the second input of the thirteenth multiplier MUL_13 is used to input the first positive gain, and the output of the thirteenth multiplier MUL_13 is connected to the first input of the eleventh adder ADD_11.

[0068] Subtractor group SUB_8 j The non-inverting input of the first eighth subtractor in the other microgrid subsystems is used to input the average current of the multi-agent in the previous cycle of the j-th microgrid subsystem, and the inverting input is connected to the third zero-order hold ZOH_3 to input the average current of the multi-agent in the previous cycle.

[0069] Subtractor group SUB_8 j The non-inverting input of the second eighth subtractor is used to input the multi-agent secondary controller current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input is connected to the fourth zero-order hold ZOH_4.

[0070] The eighth subtractor group SUB_8 j The output of the second eighth subtractor in the middle is connected to the twelfth multiplier MUL_12 j The first input terminal is connected to the twelfth multiplier MUL_12. j The second input terminal is used to input the first positive gain;

[0071] The tenth adder ADD_10 j The first input terminal in the eighth subtractor group SUB_8 j The output of the first eighth subtractor is connected, and the second input is connected to the twelfth multiplier MUL_12. j The output terminal is connected to the j-th input terminal of the twelfth adder ADD_12;

[0072] The output of the twelfth adder ADD_12 is connected to the first input of the fourteenth multiplier MUL_14, the second input of the fourteenth multiplier MUL_14 is used to input the second positive gain, and the output of the fourteenth multiplier MUL_14 is connected to the second input of the eleventh adder ADD_11.

[0073] The input terminal of the fourth differentiator ND_4 is used to input the current of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the eleventh adder ADD_11.

[0074] The fourth input of the eleventh adder ADD_11 is used to input the predicted value of the secondary controller current network communication attack;

[0075] The output of the eleventh adder ADD_11 is connected to the input of the fourth integrator IF_4, and the output of the fourth integrator IF_4 outputs the current of the multi-agent secondary controller of the target microgrid subsystem for the current cycle.

[0076] Furthermore, the multi-agent secondary PI voltage controller module includes a tenth subtractor SUB_10, a fifteenth multiplier MUL_15, a sixteenth multiplier MUL_16, a thirteenth adder ADD_13, and a fifth integrator IF_5;

[0077] The non-inverting input of the tenth subtractor SUB_10 is used to input the nominal voltage value, and the inverting input is used to input the multi-agent average voltage of the target microgrid subsystem in the current cycle.

[0078] The output of the tenth subtractor SUB_10 is connected to the input of the fifth integrator IF_5. The output of the fifth integrator IF_5 is connected to the first input of the fifteenth multiplier MUL_15. The second input of the fifteenth multiplier MUL_15 is used to input the first integral gain parameter. The output of the fifteenth multiplier MUL_15 is connected to the first input of the thirteenth adder ADD_13.

[0079] The output of the tenth subtractor SUB_10 is also connected to the first input of the sixteenth multiplier MUL_16. The second input of the sixteenth multiplier MUL_16 is used to input the first proportional gain parameter. The output of the sixteenth multiplier MUL_16 is connected to the second input of the thirteenth adder ADD_13.

[0080] The voltage correction value is output at the output terminal of the thirteenth adder ADD_13.

[0081] Furthermore, the multi-agent secondary PI current controller module includes an eleventh subtractor SUB_11, a seventeenth multiplier MUL_17, an eighteenth multiplier MUL_18, a fourteenth adder ADD_14, and a sixth integrator IF_6;

[0082] The non-inverting input of the eleventh subtractor SUB_11 is used to input the current value of the target microgrid subsystem, and the inverting input is used to input the multi-agent average current of the target microgrid subsystem in the current period.

[0083] The output of the eleventh subtractor SUB_11 is connected to the input of the sixth integrator IF_6. The output of the sixth integrator IF_6 is connected to the first input of the seventeenth multiplier MUL_17. The second input of the seventeenth multiplier MUL_17 is used to input the second integral gain parameter. The output of the seventeenth multiplier MUL_17 is connected to the first input of the fourteenth adder ADD_14.

[0084] The output of the eleventh subtractor SUB_11 is also connected to the first input of the eighteenth multiplier MUL_18. The second input of the eighteenth multiplier MUL_18 is used to input the second proportional gain parameter. The output of the eighteenth multiplier MUL_18 is connected to the second input of the fourteenth adder ADD_14.

[0085] The current correction value is output at the output terminal of the fourteenth adder ADD_14.

[0086] Furthermore, the microgrid control unit includes six twelfth subtractors SUB_12. 1,2,…,6 5 fifteenth adders ADD_15 1,2,…,5 9 nineteenth multipliers MUL_19 1,2,…,9 Two seventh integrators IF_7 1,2 2 symbolic function units F 1,2 2 absolute value units ABS 1,2 and PWM module;

[0087] The first input of the nineteenth multiplier MUL_191 is used to input the current of the target microgrid subsystem, the second input is used to input the impedance value of the target microgrid subsystem, and the output is connected to the non-inverting input of the twelfth subtractor SUB_121.

[0088] The inverting input of the twelfth subtractor SUB_121 is used to input the nominal voltage value of the microgrid system, and the output is connected to the first input of the fifteenth adder ADD_151.

[0089] The two input terminals of the fifteenth adder ADD_152 are used to input the voltage correction value and the voltage correction value, respectively, and the output terminal is connected to the second input terminal of the fifteenth adder ADD_151;

[0090] The output of the fifteenth adder ADD_151 is connected to the non-inverting input of the twelfth subtractor SUB_122. The inverting input of the twelfth subtractor SUB_122 is used to input the current voltage of the target microgrid subsystem. The output of the twelfth subtractor SUB_122 is connected to the non-inverting input of the twelfth subtractor SUB_123.

[0091] The inverting input of the twelfth subtractor SUB_123 is used to input the predicted value of the secondary controller voltage network communication attack, and the output is connected to the non-inverting input of the twelfth subtractor SUB_124.

[0092] The inverting input of the twelfth subtractor SUB_124 is used to input the predicted value of the average voltage network communication attack. The output of the twelfth subtractor SUB_124 is connected to the first input of the nineteenth multiplier MUL_192. The second input of the nineteenth multiplier MUL_192 is used to input the first gain parameter. The output of the nineteenth multiplier MUL_192 is connected to the input of the absolute value unit ABS1. The output of the absolute value unit ABS1 is connected to the first input of the nineteenth multiplier MUL_193. The second input of the nineteenth multiplier MUL_193 is used to input the second gain parameter. The output of the nineteenth multiplier MUL_193 is connected to the first input of the nineteenth multiplier MUL_194.

[0093] The output of the twelfth subtractor SUB_124 is also connected to the input of the sign function unit F1, and the output of the sign function unit F1 is connected to the second input of the nineteenth multiplier MUL_194.

[0094] The output of the nineteenth multiplier MUL_194 is connected to the first input of the fifteenth adder ADD_153;

[0095] The output of the sign function unit F1 is also connected to the input of the seventh integrator IF_71. The output of the seventh integrator IF_71 is connected to the first input of the nineteenth multiplier MUL_195. The second input of the nineteenth multiplier MUL_195 is used to input the third gain parameter. The output of the nineteenth multiplier MUL_195 is connected to the second input of the fifteenth adder ADD_153.

[0096] The output of the fifteenth adder ADD_153 is connected to the non-inverting input of the twelfth subtractor SUB_125. The inverting input of the twelfth subtractor SUB_125 is used to input the current of the target microgrid subsystem. The output of the twelfth subtractor SUB_125 is connected to the inverting input of the twelfth subtractor SUB_126.

[0097] The two inputs of the fifteenth adder ADD_154 are used to input the predicted value of the secondary controller current network communication attack and the predicted value of the average current network communication attack, respectively. The output of the fifteenth adder ADD_154 is connected to the non-inverting input of the twelfth subtractor SUB_126.

[0098] The output of the twelfth subtractor SUB_126 is connected to the first input of the nineteenth multiplier MUL_196. The second input of the nineteenth multiplier MUL_196 is used to input the fourth gain parameter. The output of the nineteenth multiplier MUL_196 is connected to the input of the absolute value unit ABS2. The output of the absolute value unit ABS2 is connected to the first input of the nineteenth multiplier MUL_197. The second input of the nineteenth multiplier MUL_197 is used to input the fifth gain parameter. The output of the nineteenth multiplier MUL_197 is connected to the first input of the nineteenth multiplier MUL_198.

[0099] The output of the twelfth subtractor SUB_126 is also connected to the input of the sign function unit F2, and the output of the sign function unit F2 is connected to the second input of the nineteenth multiplier MUL_198.

[0100] The output of the nineteenth multiplier MUL_198 is connected to the first input of the fifteenth adder ADD_155;

[0101] The output of the sign function unit F2 is also connected to the input of the seventh integrator IF_72. The output of the seventh integrator IF_72 is connected to the first input of the nineteenth multiplier MUL_199. The second input of the nineteenth multiplier MUL_199 is used to input the sixth gain parameter. The output of the nineteenth multiplier MUL_199 is connected to the second input of the fifteenth adder ADD_155.

[0102] The output of the fifteenth adder ADD_155 is connected to the input of the PWM module;

[0103] The control signal is output from the output terminal of the PWM module.

[0104] Furthermore, the control signal output by the PWM module adjusts the load and output state of the generator of the target microgrid subsystem.

[0105] The chip network communication attack defense system for microgrid systems described in this specification addresses the issue of system instability caused by network communication attacks on microgrids. It designs a system by directly integrating control strategies into the system hardware structure. Compared to traditional solutions that rely on software programming to implement control logic, this specification's hardware implementation significantly improves system response speed and operational stability, while effectively mitigating risks arising from software uncertainties and security vulnerabilities. This system is particularly suitable for microgrid applications with high requirements for real-time performance, stability, and anti-attack capabilities.

[0106] To achieve real-time acquisition of key states such as voltage and current in the microgrid subsystem and data interaction between subsystems, a communication and sampling unit was designed. To accurately observe network communication attacks on the microgrid system, a communication attack detection unit was designed. Based on the operating status of the microgrid system, it can accurately observe four types of network communication attacks suffered by the microgrid subsystem during communication, including: secondary controller voltage network communication attack, average voltage network communication attack, secondary controller current network communication attack, and average current network communication attack.

[0107] Based on the observation results of network communication attacks, a microgrid state correction unit is designed to further calculate the multi-agent average voltage, multi-agent secondary controller voltage, multi-agent average current, and multi-agent secondary controller current of the microgrid subsystem. Combined with the attack observation results, the system calculation state is dynamically compensated, thereby providing voltage and current correction values ​​of the microgrid subsystem with anti-spoof data injection capability.

[0108] To ensure the stable operation of a microgrid system under network communication attacks, a microgrid control unit was designed. This control unit, based on the corrected state output from a multi-agent microgrid state correction chip and combined with network communication attack observations, employs a superspiral sliding mode control algorithm to generate control signals. This achieves rapid system state convergence and effectively enhances the stability of the microgrid system under network communication attacks. Attached Figure Description

[0109] To more clearly illustrate the technical solutions in the embodiments or prior art described herein, the accompanying drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this article. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0110] Figure 1This is a schematic diagram of the structure of a chip network communication attack defense system for a microgrid system according to an embodiment of this specification.

[0111] [Explanation of Labels in the Attached Image]

[0112] 1. Communication and sampling unit;

[0113] 2. Communication attack detection unit;

[0114] 3. Microgrid status correction unit;

[0115] 4. Microgrid control unit. Detailed Implementation

[0116] The technical solutions in the embodiments described below will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments described herein, and not all of the embodiments. Based on the embodiments described herein, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this document.

[0117] This specification addresses the issue of system instability caused by network communication attacks during information exchange within microgrid subsystems. Network communication attacks primarily refer to spoofed data injection attacks, which interfere with normal system operation by tampering with data information between microgrid subsystems. Specifically, the attacks involve altering four key state parameters: secondary controller voltage, secondary controller current, average voltage of the microgrid subsystem, and average current of the microgrid subsystem. Therefore, this type of attack is categorized into four types of network communication attacks. These attacks not only compromise system stability and control accuracy but also pose a serious challenge to the security and real-time performance of the microgrid.

[0118] To address the shortcomings of the existing technology, the purpose of this specification is to provide a chip-based network communication attack defense system for microgrid systems. This specification's embodiments integrate the algorithm logic directly into the chip hardware structure, avoiding the uncertainties and security risks associated with traditional software programming methods. This significantly improves the system's response speed and operational stability, making it particularly suitable for microgrid system applications that require high stability, real-time performance, and security when subjected to network communication attacks.

[0119] like Figure 1 As shown, the chip network communication attack defense system of the microgrid system includes: a communication and sampling unit 1, a communication attack detection unit 2, a microgrid state correction unit 3, and a microgrid control unit 4;

[0120] The communication and sampling unit 1 is used to collect the operating status of the target microgrid subsystem and the interaction data between the target microgrid subsystem and other microgrid subsystems in the microgrid system, excluding the target microgrid subsystem itself. The operating status includes the current voltage and current of the target microgrid subsystem and the multi-agent average voltage and multi-agent average current of the target microgrid subsystem calculated by the microgrid state correction unit in the previous cycle. The interaction data includes the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of the other microgrid subsystems.

[0121] The communication attack detection unit 2 is used to determine the predicted value of the communication attack on the target microgrid subsystem based on the operating status and interaction data; wherein, the predicted value of the communication attack includes the predicted value of the secondary controller voltage network communication attack, the predicted value of the average voltage network communication attack, the predicted value of the secondary controller current network communication attack, and the predicted value of the average current network communication attack.

[0122] The microgrid state correction unit 3 is used to calculate the operating state correction value of each target microgrid subsystem based on the communication attack prediction value of the target microgrid subsystem. The operating state correction value includes the voltage and current correction values ​​of the microgrid subsystem.

[0123] The microgrid control unit 4 is used to generate control signals for the operation state correction values ​​of the target microgrid subsystem. The control signals are used to control the generators of the target microgrid subsystem. Specifically, the control signals output by the PWM module in the microgrid control unit 4 adjust the load and output state of the generators of the target microgrid subsystem, thereby achieving rapid convergence of the system state and effectively enhancing the stability of the microgrid system under network communication attacks.

[0124] Taking the target microgrid subsystem as an example:

[0125] The communication attack detection unit includes multiple neuron modules and four first adders ADD_1;

[0126] Each neuron module includes N groups of first subtractors, SUB_1 1,2,…,N N sets of first multipliers MUL_1 1,2,…,N 5 second multipliers MUL_2 1,2,…,5 The system includes one second adder ADD_2, one exponential function unit EXP with the natural function e as the base, and one square root calculation unit SQRT, where N represents the number of microgrid subsystems in the microgrid system. Each first subtractor group includes four first subtractors, and each first multiplier group includes four first multipliers.

[0127] First subtractor group SUB_1 i The non-inverting input of each first subtractor is respectively input to the voltage, current, average voltage of multiple agents and average current of multiple agents in the operating state, and the inverting input is respectively input to the center vector value corresponding to the voltage, current, average voltage of multiple agents and average current of multiple agents, where i represents the number of the target microgrid subsystem;

[0128] First subtractor group SUB_1 j The non-inverting input of each first subtractor in the other microgrid subsystems is respectively input to the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of the j-th microgrid subsystem. The inverting input is respectively input to the center vector value corresponding to the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of the j-th microgrid subsystem, where j represents the number of one of the other microgrid subsystems.

[0129] First subtractor group SUB_1 1,2,…,N The output of each first subtractor is connected to the first multiplier group MUL_1. 1,2,…,N The two input terminals of the corresponding first multiplier;

[0130] The first multiplier group MUL_1 1,2,…,N The output of each first multiplier is connected to the corresponding non-inverting input of the second adder ADD_2;

[0131] The output of the second adder ADD_2 is connected to the input of the square root calculation unit SQRT;

[0132] The output of the square root calculation unit SQRT is connected to a second multiplier MUL_2. p The first input terminal, the second multiplier MUL_2 p The second input terminal is used to input the first parameter, where p is the number of the second multiplier;

[0133] The second multiplier MUL_2 p The output terminal is connected to the input terminal of the exponential function unit EXP;

[0134] The output of the exponential function unit EXP is connected to the second multiplier MUL_2 q The first input terminal is connected, where q represents the number of the second multiplier, q≠p, and the second multiplier is MUL_2. q The second input terminal is used to pass in the corresponding second parameter.

[0135] The second multiplier MUL_2 q The output terminal is connected to the v-th in-phase input terminal of the first adder ADD_1, where v represents the number of the neuron module;

[0136] The output of the first adder ADD_1 outputs the corresponding communication attack prediction value.

[0137] The predicted communication attack value represents the magnitude of the cyberattack suffered by the microgrid subsystem. The severity of the cyberattack can be quantified in advance by staff. Based on the quantified severity, various levels of cyberattacks can be launched into the microgrid system through offline simulation. The communication and acquisition module collects this data from the microgrid system. Initial values ​​for the center vector value, first parameter, and second parameter in the communication attack detection unit's method are then set. The communication attack detection unit predicts the attack based on the collected data and the initial values ​​of the center vector value, first parameter, and second parameter. This predicted value is then compared with the actual attack value, and the center vector value, first parameter, and second parameter are iteratively trained to obtain the optimal values. This ensures that the communication attack detection unit accurately predicts the secondary controller voltage network communication attack, average voltage network communication attack, secondary controller current network communication attack, and average current network communication attack suffered by the microgrid system during communication.

[0138] Furthermore, the microgrid state correction unit includes a multi-agent average voltage calculation module, a multi-agent secondary controller voltage calculation module, a multi-agent average current calculation module, a multi-agent secondary controller current calculation module, a multi-agent secondary PI voltage controller module, and a multi-agent secondary PI current controller module.

[0139] The multi-agent average voltage calculation module is used to calculate the multi-agent average voltage of the target microgrid subsystem in the current period based on the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous period, the multi-agent secondary controller voltage of the previous period, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous period, and the predicted value of the average voltage network communication attack.

[0140] The multi-agent secondary controller voltage calculation module is used to calculate the multi-agent average voltage of the target microgrid subsystem in the current period based on the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous period, the multi-agent secondary controller voltage of the previous period, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous period, and the predicted value of the secondary controller voltage network communication attack.

[0141] The multi-agent average current calculation module is used to calculate the multi-agent average current of the target microgrid subsystem in the current period based on the current of the target microgrid subsystem, the multi-agent average current of the previous period, the multi-agent secondary controller current of the previous period, the multi-agent average current and multi-agent secondary controller current of the other microgrid subsystems in the previous period, and the predicted value of the average current network communication attack.

[0142] The multi-agent secondary controller current calculation module is used to calculate the multi-agent average current of the target microgrid subsystem in the current period based on the current of the target microgrid subsystem, the multi-agent average current of the previous period, the multi-agent secondary controller current of the previous period, the multi-agent average current and multi-agent secondary controller current of the other microgrid subsystems in the previous period, and the predicted value of the secondary controller current network communication attack.

[0143] The multi-agent secondary PI voltage controller module is used to calculate the voltage correction value of the target microgrid subsystem based on the nominal voltage value of the microgrid system and the multi-agent average voltage of the target microgrid subsystem in the current period.

[0144] The multi-agent secondary PI current controller module is used to calculate the current correction value of the target microgrid subsystem based on the current current of the target microgrid subsystem and the multi-agent average current of the target microgrid subsystem in the current period.

[0145] The multi-agent average voltage calculation module includes N-1 second subtractor groups SUB_2 1,2,…,N-1 One third subtractor SUB_3, one third adder ADD_3, one fourth adder ADD_4, and N-1 third multipliers MUL_3 1,2,…,N-1 One fourth multiplier MUL_4, one fifth multiplier MUL_5, one first differentiator ND_1, one first integrator IF_1 and one first zero-order hold ZOH_1, and each second subtractor group includes three second subtractors;

[0146] The non-inverting input of the third subtractor SUB_3 is used to input the current voltage of the target microgrid subsystem, and the inverting input is connected to the first zero-order hold ZOH_1. The first zero-order hold ZOH_1 is used to store the average voltage of the multi-agent system in the previous cycle.

[0147] The output of the third subtractor SUB_3 is connected to the first input of the fourth multiplier MUL_4, the second input of the fourth multiplier MUL_4 is used to input the first positive gain, and the output of the fourth multiplier MUL_4 is connected to the first input of the third adder ADD_3.

[0148] Second subtractor group SUB_2 j The non-inverting input of the first second subtractor in the other microgrid subsystems is used to input the average multi-agent voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input is connected to the first zero-order hold ZOH_1.

[0149] The second subtractor group SUB_2 j The output of the first subtractor in the second subtractor is connected to the output of the third multiplier MUL_3. j The first input terminal is connected to the third multiplier MUL_3. j The second input terminal is used to input the first positive gain;

[0150] Second subtractor group SUB_2 j The non-inverting input of the second subtractor in the other microgrid subsystem is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input is used to input the multi-agent secondary controller voltage of the target microgrid subsystem in the previous cycle.

[0151] Second subtractor group SUB_2 j The non-inverting input of the third subtractor in the third multiplier MUL_3 is connected to the third multiplier MUL_3. j The output terminal is connected to the inverting input terminal, and the inverting input terminal is connected to the second subtractor group SUB_2. j The output of the second subtractor in the second subtractor group is connected to SUB_2. j The output of the third subtractor in the second subtractor is connected to the j-th input of the fourth adder ADD_4;

[0152] The output of the fourth adder ADD_4 is connected to the first input of the fifth multiplier MUL_5, the second input of the fifth multiplier MUL_5 is used to input the second positive gain, and the output of the fifth multiplier MUL_5 is connected to the second input of the third adder ADD_3.

[0153] The input terminal of the first differentiator ND_1 is used to input the current voltage of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the third adder ADD_3;

[0154] The fourth input of the third adder ADD_3 is used to input the predicted value of the average voltage network communication attack;

[0155] The output of the third adder ADD_3 is connected to the input of the first integrator IF_1, and the output of the first integrator IF_1 outputs the multi-agent average voltage of the target microgrid subsystem for the current period.

[0156] The voltage calculation module of the multi-agent secondary controller includes N-1 groups of fourth subtractors SUB_4. 1,2,…,N-1 N-1 fifth adders ADD_5 1,2,…,N-1 N-1 sixth multipliers MUL_6 1,2,…,N-1 The system includes one sixth adder (ADD_6), one seventh adder (ADD_7), one fifth subtractor (SUB_5), one seventh multiplier (MUL_7), one eighth multiplier (MUL_8), one second differentiator (ND_2), one second integrator (IF_2), and one second zero-order hold (ZOH_2). Each fourth subtractor group consists of two fourth subtractors.

[0157] The non-inverting input of the fifth subtractor SUB_5 is used to input the current voltage of the target microgrid subsystem, and the inverting input is connected to the second zero-order hold ZOH_2, which is used to store the voltage of the multi-agent secondary controller in the previous cycle.

[0158] The output of the fifth subtractor SUB_5 is connected to the first input of the seventh multiplier MUL_7, the second input of the seventh multiplier MUL_7 is used to input the first positive gain, and the output of the seventh multiplier MUL_7 is connected to the first input of the sixth adder ADD_6.

[0159] Fourth subtractor group SUB_4 j The non-inverting input of the first fourth subtractor in the other microgrid subsystems is used to input the average voltage of the multi-agents in the previous cycle of the j-th microgrid subsystem, and the inverting input is connected to the first zero-order hold ZOH_1 to input the average voltage of the multi-agents in the previous cycle.

[0160] Fourth subtractor group SUB_4 jThe non-inverting input of the second fourth subtractor is used to input the voltage of the multi-agent secondary controller of the j-th microgrid subsystem in the previous cycle of the other microgrid subsystems, and the inverting input is connected to the second zero-order hold ZOH_2.

[0161] The fourth subtractor group SUB_4 j The output of the second subtractor in the second subtractor is connected to the sixth multiplier MUL_6. j The first input terminal is connected to the sixth multiplier MUL_6. j The second input terminal is used to input the first positive gain;

[0162] Fifth adder ADD_5 j The first input terminal in the fourth subtractor group SUB_4 j The output of the first fourth subtractor is connected, and the second input is connected to the sixth multiplier MUL_6. j The output terminal is connected to the j-th input terminal of the seventh adder ADD_7;

[0163] The output of the seventh adder ADD_7 is connected to the first input of the eighth multiplier MUL_8, the second input of the eighth multiplier MUL_8 is used to input the second positive gain, and the output of the eighth multiplier MUL_8 is connected to the second input of the sixth adder ADD_6.

[0164] The input terminal of the second differentiator ND_2 is used to input the current voltage of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the sixth adder ADD_6;

[0165] The fourth input of the sixth adder ADD_6 is used to input the predicted value of the secondary controller voltage network communication attack;

[0166] The output of the sixth adder ADD_6 is connected to the input of the second integrator IF_2, and the output of the second integrator IF_2 outputs the multi-agent secondary controller voltage of the target microgrid subsystem for the current cycle.

[0167] The multi-agent average current calculation module includes N-1 sixth subtractor groups SUB_6 1,2,…,N-1 One seventh subtractor SUB_7, one eighth adder ADD_8, one ninth adder ADD_9, and N-1 ninth multipliers MUL_9 1,2,…,N-1One tenth multiplier MUL_10, one eleventh multiplier MUL_11, one third differentiator ND_3, one third integrator IF_3, and one third zeroth-order hold ZOH_3; each sixth subtractor group includes three sixth subtractors.

[0168] The non-inverting input of the seventh subtractor SUB_7 is used to input the current current of the target microgrid subsystem, and the inverting input is connected to the third zero-order hold ZOH_3, which is used to store the average current of the multi-agent system in the previous cycle.

[0169] The output of the seventh subtractor SUB_7 is connected to the first input of the tenth multiplier MUL_10, the second input of the tenth multiplier MUL_10 is used to input the first positive gain, and the output of the tenth multiplier MUL_10 is connected to the first input of the eighth adder ADD_8.

[0170] Sixth subtractor group SUB_6 j The non-inverting input of the first sixth subtractor in the other microgrid subsystems is used to input the average current of the multi-agent agents in the previous cycle of the j-th microgrid subsystem, and the inverting input is connected to the third zero-order hold ZOH_3.

[0171] The sixth subtractor group SUB_6 j The output of the first sixth subtractor in the middle is connected to the ninth multiplier MUL_9 j The first input terminal is connected to the ninth multiplier MUL_9. j The second input terminal is used to input the first positive gain;

[0172] Sixth subtractor group SUB_6 j The non-inverting input of the second sixth subtractor in the other microgrid subsystem is used to input the multi-agent secondary controller current of the j-th microgrid subsystem in the previous cycle, and the inverting input is used to input the multi-agent secondary controller current of the target microgrid subsystem in the previous cycle.

[0173] Second subtractor group SUB_2 j The non-inverting input of the third sixth subtractor in the Ninth Multiplier MUL_9 is connected to the Ninth Multiplier MUL_9. j The output terminal is connected to the inverting input terminal, and the inverting input terminal is connected to the sixth subtractor group SUB_6. j The output of the second sixth subtractor in the set is connected to the sixth subtractor group SUB_6. j The output of the third sixth subtractor is connected to the j-th input of the ninth adder ADD_9;

[0174] The output of the ninth adder ADD_9 is connected to the first input of the eleventh multiplier MUL_11, the second input of the eleventh multiplier MUL_11 is used to input the second positive gain, and the output of the eleventh multiplier MUL_11 is connected to the second input of the eighth adder ADD_8.

[0175] The input terminal of the third differentiator ND_3 is used to input the current of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the eighth adder ADD_8;

[0176] The fourth input of the ninth adder ADD_9 is used to input the predicted value of the average current network communication attack;

[0177] The output of the ninth adder ADD_9 is connected to the input of the third integrator IF_3, and the output of the third integrator IF_3 outputs the multi-agent average current of the target microgrid subsystem in the current cycle.

[0178] The multi-agent secondary controller current calculation module includes N-1 groups of eighth subtractors, SUB_8. 1,2,…,N-1 N-1 tenth adders ADD_10 1,2,…,N-1 N-1 twelfth multipliers MUL_12 1,2,…,N-1 The system consists of one eleventh adder (ADD_11), one twelfth adder (ADD_12), one ninth subtractor (SUB_9), one thirteenth multiplier (MUL_13), one fourteenth multiplier (MUL_14), one fourth differentiator (ND_4), one fourth integrator (IF_4), and one fourth zeroth-order hold (ZOH_4). Each eighth subtractor group includes two eighth subtractors.

[0179] The non-inverting input of the ninth subtractor SUB_9 is used to input the current of the target microgrid subsystem, and the inverting input is connected to the fourth zero-order hold ZOH_4. The fourth zero-order hold ZOH_4 is used to store the current of the multi-agent secondary controller in the previous cycle.

[0180] The output of the ninth subtractor SUB_9 is connected to the first input of the thirteenth multiplier MUL_13, the second input of the thirteenth multiplier MUL_13 is used to input the first positive gain, and the output of the thirteenth multiplier MUL_13 is connected to the first input of the eleventh adder ADD_11.

[0181] Subtractor group SUB_8 jThe non-inverting input of the first eighth subtractor in the other microgrid subsystems is used to input the average current of the multi-agent in the previous cycle of the j-th microgrid subsystem, and the inverting input is connected to the third zero-order hold ZOH_3 to input the average current of the multi-agent in the previous cycle.

[0182] Subtractor group SUB_8 j The non-inverting input of the second eighth subtractor is used to input the multi-agent secondary controller current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input is connected to the fourth zero-order hold ZOH_4.

[0183] The eighth subtractor group SUB_8 j The output of the second eighth subtractor in the middle is connected to the twelfth multiplier MUL_12 j The first input terminal is connected to the twelfth multiplier MUL_12. j The second input terminal is used to input the first positive gain;

[0184] The tenth adder ADD_10 j The first input terminal in the eighth subtractor group SUB_8 j The output of the first eighth subtractor is connected, and the second input is connected to the twelfth multiplier MUL_12. j The output terminal is connected to the j-th input terminal of the twelfth adder ADD_12;

[0185] The output of the twelfth adder ADD_12 is connected to the first input of the fourteenth multiplier MUL_14, the second input of the fourteenth multiplier MUL_14 is used to input the second positive gain, and the output of the fourteenth multiplier MUL_14 is connected to the second input of the eleventh adder ADD_11.

[0186] The input terminal of the fourth differentiator ND_4 is used to input the current of the target microgrid subsystem, and the output terminal is connected to the third input terminal of the eleventh adder ADD_11.

[0187] The fourth input of the eleventh adder ADD_11 is used to input the predicted value of the secondary controller current network communication attack;

[0188] The output of the eleventh adder ADD_11 is connected to the input of the fourth integrator IF_4, and the output of the fourth integrator IF_4 outputs the current of the multi-agent secondary controller of the target microgrid subsystem for the current cycle.

[0189] The multi-agent secondary PI voltage controller module includes a tenth subtractor SUB_10, a fifteenth multiplier MUL_15, a sixteenth multiplier MUL_16, a thirteenth adder ADD_13, and a fifth integrator IF_5;

[0190] The non-inverting input of the tenth subtractor SUB_10 is used to input the nominal voltage value, and the inverting input is used to input the multi-agent average voltage of the target microgrid subsystem in the current cycle.

[0191] The output of the tenth subtractor SUB_10 is connected to the input of the fifth integrator IF_5. The output of the fifth integrator IF_5 is connected to the first input of the fifteenth multiplier MUL_15. The second input of the fifteenth multiplier MUL_15 is used to input the first integral gain parameter. The output of the fifteenth multiplier MUL_15 is connected to the first input of the thirteenth adder ADD_13.

[0192] The output of the tenth subtractor SUB_10 is also connected to the first input of the sixteenth multiplier MUL_16. The second input of the sixteenth multiplier MUL_16 is used to input the first proportional gain parameter. The output of the sixteenth multiplier MUL_16 is connected to the second input of the thirteenth adder ADD_13.

[0193] The voltage correction value is output at the output terminal of the thirteenth adder ADD_13.

[0194] The multi-agent secondary PI current controller module includes an eleventh subtractor SUB_11, a seventeenth multiplier MUL_17, an eighteenth multiplier MUL_18, a fourteenth adder ADD_14, and a sixth integrator IF_6.

[0195] The non-inverting input of the eleventh subtractor SUB_11 is used to input the current value of the target microgrid subsystem, and the inverting input is used to input the multi-agent average current of the target microgrid subsystem in the current period.

[0196] The output of the eleventh subtractor SUB_11 is connected to the input of the sixth integrator IF_6. The output of the sixth integrator IF_6 is connected to the first input of the seventeenth multiplier MUL_17. The second input of the seventeenth multiplier MUL_17 is used to input the second integral gain parameter. The output of the seventeenth multiplier MUL_17 is connected to the first input of the fourteenth adder ADD_14.

[0197] The output of the eleventh subtractor SUB_11 is also connected to the first input of the eighteenth multiplier MUL_18. The second input of the eighteenth multiplier MUL_18 is used to input the second proportional gain parameter. The output of the eighteenth multiplier MUL_18 is connected to the second input of the fourteenth adder ADD_14.

[0198] The current correction value is output at the output terminal of the fourteenth adder ADD_14.

[0199] The microgrid control unit includes six twelfth subtractors SUB_12. 1,2,…,6 5 fifteenth adders ADD_15 1,2,…,5 9 nineteenth multipliers MUL_19 1,2,…,9 Two seventh integrators IF_7 1,2 2 symbolic function units F 1,2 2 absolute value units ABS 1,2 and PWM module;

[0200] The first input of the nineteenth multiplier MUL_191 is used to input the current of the target microgrid subsystem, the second input is used to input the impedance value of the target microgrid subsystem, and the output is connected to the non-inverting input of the twelfth subtractor SUB_121.

[0201] The inverting input of the twelfth subtractor SUB_121 is used to input the nominal voltage value of the microgrid system, and the output is connected to the first input of the fifteenth adder ADD_151.

[0202] The two input terminals of the fifteenth adder ADD_152 are used to input the voltage correction value and the voltage correction value, respectively, and the output terminal is connected to the second input terminal of the fifteenth adder ADD_151;

[0203] The output of the fifteenth adder ADD_151 is connected to the non-inverting input of the twelfth subtractor SUB_122. The inverting input of the twelfth subtractor SUB_122 is used to input the current voltage of the target microgrid subsystem. The output of the twelfth subtractor SUB_122 is connected to the non-inverting input of the twelfth subtractor SUB_123.

[0204] The inverting input of the twelfth subtractor SUB_123 is used to input the predicted value of the secondary controller voltage network communication attack, and the output is connected to the non-inverting input of the twelfth subtractor SUB_124.

[0205] The inverting input of the twelfth subtractor SUB_124 is used to input the predicted value of the average voltage network communication attack. The output of the twelfth subtractor SUB_124 is connected to the first input of the nineteenth multiplier MUL_192. The second input of the nineteenth multiplier MUL_192 is used to input the first gain parameter. The output of the nineteenth multiplier MUL_192 is connected to the input of the absolute value unit ABS1. The output of the absolute value unit ABS1 is connected to the first input of the nineteenth multiplier MUL_193. The second input of the nineteenth multiplier MUL_193 is used to input the second gain parameter. The output of the nineteenth multiplier MUL_193 is connected to the first input of the nineteenth multiplier MUL_194.

[0206] The output of the twelfth subtractor SUB_124 is also connected to the input of the sign function unit F1, and the output of the sign function unit F1 is connected to the second input of the nineteenth multiplier MUL_194.

[0207] The output of the nineteenth multiplier MUL_194 is connected to the first input of the fifteenth adder ADD_153;

[0208] The output of the sign function unit F1 is also connected to the input of the seventh integrator IF_71. The output of the seventh integrator IF_71 is connected to the first input of the nineteenth multiplier MUL_195. The second input of the nineteenth multiplier MUL_195 is used to input the third gain parameter. The output of the nineteenth multiplier MUL_195 is connected to the second input of the fifteenth adder ADD_153.

[0209] The output of the fifteenth adder ADD_153 is connected to the non-inverting input of the twelfth subtractor SUB_125. The inverting input of the twelfth subtractor SUB_125 is used to input the current of the target microgrid subsystem. The output of the twelfth subtractor SUB_125 is connected to the inverting input of the twelfth subtractor SUB_126.

[0210] The two inputs of the fifteenth adder ADD_154 are used to input the predicted value of the secondary controller current network communication attack and the predicted value of the average current network communication attack, respectively. The output of the fifteenth adder ADD_154 is connected to the non-inverting input of the twelfth subtractor SUB_126.

[0211] The output of the twelfth subtractor SUB_126 is connected to the first input of the nineteenth multiplier MUL_196. The second input of the nineteenth multiplier MUL_196 is used to input the fourth gain parameter. The output of the nineteenth multiplier MUL_196 is connected to the input of the absolute value unit ABS2. The output of the absolute value unit ABS2 is connected to the first input of the nineteenth multiplier MUL_197. The second input of the nineteenth multiplier MUL_197 is used to input the fifth gain parameter. The output of the nineteenth multiplier MUL_197 is connected to the first input of the nineteenth multiplier MUL_198.

[0212] The output of the twelfth subtractor SUB_126 is also connected to the input of the sign function unit F2, and the output of the sign function unit F2 is connected to the second input of the nineteenth multiplier MUL_198.

[0213] The output of the nineteenth multiplier MUL_198 is connected to the first input of the fifteenth adder ADD_155;

[0214] The output of the sign function unit F2 is also connected to the input of the seventh integrator IF_72. The output of the seventh integrator IF_72 is connected to the first input of the nineteenth multiplier MUL_199. The second input of the nineteenth multiplier MUL_199 is used to input the sixth gain parameter. The output of the nineteenth multiplier MUL_199 is connected to the second input of the fifteenth adder ADD_155.

[0215] The output of the fifteenth adder ADD_155 is connected to the input of the PWM module;

[0216] The control signal is output from the output terminal of the PWM module.

[0217] It should be noted that the first integral gain parameter, the first proportional gain parameter, the second integral gain parameter, the second proportional gain parameter, and the first to sixth gain parameters in the embodiments of this specification can all be empirical or experimental values, and the embodiments of this specification do not impose any restrictions.

[0218] After the above-mentioned computing unit is built, the chip network communication attack defense system i deployed in the target microgrid subsystem i is responsible for maintaining the voltage of the target microgrid subsystem i at the voltage reference value when the target microgrid subsystem i is attacked during communication.

[0219] The chip network communication attack defense system for microgrid systems described in this specification addresses the issue of system instability caused by network communication attacks on microgrids. It designs a system by directly integrating control strategies into the system hardware structure. Compared to traditional solutions that rely on software programming to implement control logic, this specification's hardware implementation significantly improves system response speed and operational stability, while effectively mitigating risks arising from software uncertainties and security vulnerabilities. This system is particularly suitable for microgrid applications with high requirements for real-time performance, stability, and anti-attack capabilities.

[0220] To achieve real-time acquisition of key states such as voltage and current in the microgrid subsystem and data interaction between subsystems, a communication and sampling unit was designed. To accurately observe network communication attacks on the microgrid system, a communication attack detection unit was designed. Based on the operating status of the microgrid system, it can accurately observe four types of network communication attacks suffered by the microgrid subsystem during communication, including: secondary controller voltage network communication attack, average voltage network communication attack, secondary controller current network communication attack, and average current network communication attack.

[0221] Based on the observation results of network communication attacks, a microgrid state correction unit is designed to further calculate the multi-agent average voltage, multi-agent secondary controller voltage, multi-agent average current, and multi-agent secondary controller current of the microgrid subsystem. Combined with the attack observation results, the system calculation state is dynamically compensated, thereby providing voltage and current correction values ​​of the microgrid subsystem with anti-spoof data injection capability.

[0222] To ensure the stable operation of a microgrid system under network communication attacks, a microgrid control unit was designed. This control unit, based on the corrected state output from a multi-agent microgrid state correction chip and combined with network communication attack observations, employs a superspiral sliding mode control algorithm to generate control signals. This achieves rapid system state convergence and effectively enhances the stability of the microgrid system under network communication attacks.

[0223] Based on the same inventive concept, embodiments of this specification also provide a chip on which the aforementioned chip network communication attack defense system for a microgrid system is formed. Specifically, according to the electronic components and their connections in the aforementioned communication and sampling unit, communication attack detection unit, microgrid state correction unit, and microgrid control unit, a network communication attack defense circuit for a microgrid system is constructed, and this circuit is formed on the chip.

[0224] In practical implementation, the aforementioned chip can be deployed in the microgrid subsystem of a microgrid system to detect network attack status of the microgrid subsystem and enable rapid convergence of the microgrid subsystem status when it is subjected to a network attack.

[0225] It should be understood that the structures of electronic components such as adders, subtractors, and multipliers in the embodiments of this specification are common knowledge in the field, and the detailed structures of the above electronic components will not be described in the embodiments of this specification.

[0226] In the various embodiments described herein, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments described herein.

[0227] It should also be understood that, in the embodiments herein, the term "and / or" is merely a description of the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following associated objects have an "or" relationship.

[0228] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this document.

[0229] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0230] In the embodiments provided herein, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, devices, or units, or they may be electrical, mechanical, or other forms of connection.

[0231] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments described herein, depending on actual needs.

[0232] Furthermore, the functional units in the various embodiments of this document can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0233] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this paper, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this paper. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0234] This document uses specific embodiments to illustrate the principles and implementation methods of this document. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this document. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this document. Therefore, the content of this specification should not be construed as a limitation of this document.

Claims

1. A chip network communication attack defense system of a microgrid system, characterized by, The target micro-grid subsystem deployed in the micro-grid system comprises a communication and sampling unit, a communication attack detection unit, a micro-grid state correction unit and a micro-grid control unit. The communication and sampling unit is configured to collect an operating state of the target micro-grid subsystem and interaction data between the target micro-grid subsystem and other micro-grid subsystems in the micro-grid system except the target micro-grid subsystem, wherein the operating state comprises a current voltage and current of the target micro-grid subsystem and a multi-agent average voltage and a multi-agent average current of the target micro-grid subsystem calculated by the micro-grid state correction unit in a previous period, and the interaction data comprises a multi-agent average voltage, a multi-agent average current, a multi-agent secondary controller voltage and a multi-agent secondary controller current of the other micro-grid subsystems. The communication attack detection unit is configured to determine a communication attack prediction value of the target micro-grid subsystem according to the operating state and the interaction data, wherein the communication attack prediction value comprises a prediction value of a secondary controller voltage network communication attack, a prediction value of an average voltage network communication attack, a prediction value of a secondary controller current network communication attack and a prediction value of an average current network communication attack. The micro-grid state correction unit is configured to calculate an operating state correction value of each target micro-grid subsystem according to the communication attack prediction value of the target micro-grid subsystem, wherein the operating state correction value comprises a micro-grid subsystem voltage and current correction value. The micro-grid control unit is configured to generate a control signal of the operating state correction value of the target micro-grid subsystem, and control a generator of the target micro-grid subsystem by using the control signal. The communication attack detection unit includes a plurality of neuron modules and four first adders ; Each neuron module includes N one first subtractor group , N one first multiplier group , 5 second multipliers , one second adder , one exponential function unit with base of natural function e , and one root calculation unit , wherein N represents the number of micro-grid subsystems in the micro-grid system, each first subtractor group includes 4 first subtractors, and each first multiplier group includes 4 first multipliers; The first subtracter group The non-inverting input terminals of each first subtracter are respectively inputted with the voltage, the current, the multi-agent average voltage and the multi-agent average current in the running state, and the inverting input terminals are respectively inputted with the corresponding center vector values of the voltage, the current, the multi-agent average voltage and the multi-agent average current, wherein, i The number of the target micro-grid subsystem is represented. First subtractor group The non-inverting input of each of the first subtractors in the system is respectively input to the first subtractor in the other microgrid subsystems. j The multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of each microgrid subsystem are input to the inverting input terminal respectively. j The center vector values ​​corresponding to the multi-agent average voltage, multi-agent average current, multi-agent secondary controller voltage, and multi-agent secondary controller current of each microgrid subsystem are as follows: j This indicates the number of one of the other microgrid subsystems; the output of each first subtractor of the first subtractor set is connected to two input terminals of a corresponding first multiplier of the first multiplier set the output of each first subtractor of the first subtractor set is connected to two input terminals of a corresponding first multiplier of the first multiplier set the output of each first subtractor of the first subtractor set is connected to two input terminals of a corresponding first multiplier of the first multiplier set said first multiplier set the output of each first multiplier is connected to said second adder a respective in-phase input the output of the second adder is connected to the input of the square root calculation unit ​ the output of the square root calculation unit is connected to a first input of the second multiplier a second input of the second multiplier is used to pass in the first parameter, p is the number of the second multiplier; an output of the second multiplier is connected to an input of the exponential function unit ​ the output of the exponential function unit is connected to a first input of a second multiplier wherein denotes the number of the second multiplier, the second input of the second multiplier is used for passing in a corresponding second parameter; the output of said second multiplier is connected to a first in-phase input of said first adder of a corresponding said first adder v wherein v denotes the number of the neuron module; the first adder outputs the corresponding communication attack prediction value; The micro-grid state correction unit comprises a multi-agent average voltage calculation module, a multi-agent secondary controller voltage calculation module, a multi-agent average current calculation module, a multi-agent secondary controller current calculation module, a multi-agent secondary PI voltage controller module and a multi-agent secondary PI current controller module. The multi-agent average voltage calculation module is configured to calculate a multi-agent average voltage of a current period of the target micro-grid subsystem according to a current voltage of the target micro-grid subsystem, a multi-agent average voltage of a previous period, a multi-agent secondary controller voltage of the previous period, a multi-agent average voltage and a multi-agent secondary controller voltage of the other micro-grid subsystems in the previous period and a prediction value of the average voltage network communication attack. The multi-agent secondary controller voltage calculation module is configured to calculate a multi-agent average voltage of a current period of the target micro-grid subsystem according to a current voltage of the target micro-grid subsystem, a multi-agent average voltage of a previous period, a multi-agent secondary controller voltage of the previous period, a multi-agent average voltage and a multi-agent secondary controller voltage of the other micro-grid subsystems in the previous period and a prediction value of the secondary controller voltage network communication attack. The multi-agent average current calculation module is configured to calculate the multi-agent average current of the target micro-grid subsystem in the current period according to the current of the target micro-grid subsystem, the multi-agent average current of the last period, the multi-agent secondary controller current of the last period, the multi-agent average current and the multi-agent secondary controller current of the other micro-grid subsystems in the last period, and the predicted value of the average current network communication attack. The multi-agent secondary controller current calculation module is configured to calculate the multi-agent average current of the target micro-grid subsystem in the current period according to the current of the target micro-grid subsystem, the multi-agent average current of the last period, the multi-agent secondary controller current of the last period, the multi-agent average current and the multi-agent secondary controller current of the other micro-grid subsystems in the last period, and the predicted value of the secondary controller current network communication attack. The multi-agent secondary PI voltage controller module is configured to calculate the voltage correction value of the target micro-grid subsystem according to the nominal voltage value of the micro-grid system and the multi-agent average voltage of the target micro-grid subsystem in the current period. The multi-agent secondary PI current controller module is configured to calculate the current correction value of the target micro-grid subsystem according to the current of the target micro-grid subsystem and the multi-agent average current of the target micro-grid subsystem in the current period. 2.The microgrid system's chip network communication attack defense system of claim 1, wherein, The multi-agent average voltage calculation module comprises N -1 second subtracter group , 1 third subtracter , 1 third adder , 1 fourth adder , N -1 third multiplier , 1 fourth multiplier , 1 fifth multiplier , 1 first differentiator , 1 first integrator and 1 first zero-order holder Each second subtracter group comprises 3 second subtracters; The third subtractor The non-inverting input of the third operational amplifier is used to input the current voltage of the target micro-grid subsystem, and the inverting input is connected with the first zero-order holder The first zero-order holder is used to save the multi-agent average voltage of the last period. the output of the third subtractor is connected to a first input of the fourth multiplier a second input of the fourth multiplier is used for inputting a first positive gain, the output of the fourth multiplier is connected to a first input of the third adder ​ The second subtracter group The in-phase input end of the first second subtracter in the first micro-grid subsystem is used for inputting the multi-agent average voltage of the previous period of the other micro-grid subsystems j The anti-phase input end is connected with the first zero-order holder ​ the output of the first second subtractor in the second subtractor set is connected to a first input of a third multiplier a second input of the third multiplier is used for inputting the first positive gain; a second subtractor group the in-phase input end of the second subtractor in the second group is used for inputting the multi-agent secondary controller voltage of the previous period of the first micro-grid subsystem in the other micro-grid subsystem j the in-phase input end of the second subtractor in the second group is used for inputting the multi-agent secondary controller voltage of the previous period of the first micro-grid subsystem in the other micro-grid subsystem a third one of the second subtractor group is connected to an in-phase input of a third multiplier and an output of a second one of the second subtractor group is connected to an anti-phase input of the third multiplier and an output of a third one of the second subtractor group is connected to a first input of a fourth adder j ​ the output of the fourth adder is connected to a first input of the fifth multiplier a second input of the fifth multiplier is configured to input a second positive gain, the output of the fifth multiplier is connected to a second input of the third adder ​ The first differentiator The input end of the first differentiator is used for inputting the current voltage of the target micro-grid subsystem, and the output end is connected with the third input end of the third adder ​ the third adder a fourth input for inputting a predicted value of the average voltage network communication attack; The output end of the third adder is connected with the input end of the first integrator , and the output end of the first integrator outputs the multi-agent average voltage of the current period of the target micro-grid subsystem. 3.The microgrid system's chip network communication attack defense system of claim 2, wherein, The multi-agent secondary controller voltage calculation module comprises N -1 fourth subtracter group , N -1 fifth adder , N -1 sixth multiplier , 1 sixth adder , 1 seventh adder , 1 fifth subtracter , 1 seventh multiplier , 1 eighth multiplier , 1 second differentiator , 1 second integrator and 1 second zero-order holder , each fourth subtracter group comprises 2 fourth subtracters; The fifth subtractor The non-inverting input of the fifth comparator is used for inputting the current voltage of the target micro-grid subsystem, and the inverting input is connected with the second zero-order holder The second zero-order holder is used for saving the voltage of the multi-agent secondary controller in the last period. the output of the fifth subtractor is connected to a first input of the seventh multiplier a second input of the seventh multiplier is used for inputting a first positive gain, the output of the seventh multiplier is connected to a first input of the sixth adder ​ Fourth subtractor group The non-inverting input of the first fourth subtractor in the system is used to input the first subtractor in the other microgrid subsystems. j The average voltage of the multi-agent system in the previous cycle of the microgrid subsystem, the inverting input terminal and the first zero-order hold Connected to the input of the average voltage of the multi-agent system in the previous cycle; Fourth subtractor group The non-inverting input of the second fourth subtractor in the system is used to input the first subtractor in the other microgrid subsystems. j The voltage of the multi-agent secondary controller of the microgrid subsystem in the previous cycle, the inverting input terminal and the second zero-order hold Connected; the output of the second second subtractor in the fourth subtractor set is connected to a first input of a sixth multiplier a second input of the sixth multiplier is used for inputting the first positive gain a fifth adder a first input of said fifth adder is connected to an output of said fourth subtractor a second input of said fifth adder is connected to an output of said sixth multiplier an output of said fifth adder is connected to a first input of said seventh adder a second input of said seventh adder is connected to an output of said fifth multiplier j an output of said seventh adder is connected to an input of said first comparator the output of the seventh adder is connected to a first input of the eighth multiplier a second input of the eighth multiplier is for inputting the second positive gain, the output of the eighth multiplier is connected to a second input of the sixth adder ​ The second differentiator The input end of the second differentiator is used for inputting the current voltage of the target micro-grid subsystem, and the output end is connected with the third input end of the sixth adder The input end of the second differentiator is used for inputting the current voltage of the target micro-grid subsystem, and the output end is connected with the third input end of the sixth adder the sixth adder a fourth input for inputting a predicted value of the secondary controller voltage network communication attack; the output of the sixth adder is connected to the input of the second integrator the output of the second integrator outputs the multi-agent secondary controller voltage of the current period of the target micro-grid subsystem. 4.The microgrid system's chip network communication attack defense system of claim 1, wherein, The multi-agent average current calculation module comprises N -1 sixth subtracter group , 1 seventh subtracter , 1 eighth adder , 1 ninth adder , N -1 ninth multiplier , 1 tenth multiplier , 1 eleventh multiplier , 1 third differentiator , 1 third integrator and 1 third zero-order holder Each sixth subtracter group comprises 3 sixth subtracters; the seventh subtracter the non-inverting input of the seventh operational amplifier is configured to receive the current of the target micro-grid subsystem, and the inverting input of the seventh operational amplifier is connected to the third zero-order holder the third zero-order holder configured to save the multi-agent average current of the last period the output of the seventh subtracter is connected to a first input of the tenth multiplier a second input of the tenth multiplier is used for inputting a first positive gain, the output of the tenth multiplier is connected to a first input of the eighth adder ​ a sixth subtracter group The in-phase input terminal of the first sixth subtracter in the sixth subtracter group is used for inputting the multi-agent average current of the previous period of the other micro-grid subsystem j connected with the third zero-order holder ​ the output terminal of the first sixth subtracter in the sixth subtracter group is connected with the first input terminal of the ninth multiplier , and the second input terminal of the ninth multiplier is used for inputting the first positive gain; a sixth subtractor group the in-phase input terminal of the second sixth subtractor in the sixth subtractor group is used for inputting the multi-agent secondary controller current of the previous period of the other micro-grid subsystem j the in-phase input terminal of the second sixth subtractor in the sixth subtractor group is used for inputting the multi-agent secondary controller current of the previous period of the other micro-grid subsystem a second subtractor group the non-inverting input of the third sixth subtractor in the sixth subtractor group is connected to the output of the ninth multiplier the output of the second sixth subtractor in the sixth subtractor group the output of the third sixth subtractor in the sixth subtractor group is connected to the first input of the ninth adder j ​ the output of the ninth adder is connected to a first input of the eleventh multiplier a second input of the eleventh multiplier is for inputting a second positive gain, the output of the eleventh multiplier is connected to a second input of the eighth adder ​ The third differentiator The input end of the third differentiator is used for inputting the current of the target micro-grid subsystem, and the output end is connected with the third input end of the eighth adder ​ the ninth adder a fourth input for inputting a predicted value of the average current network communication attack; The output of the ninth adder is connected to the input of the third integrator , and the output of the third integrator outputs the multi-agent average current of the current period of the target micro-grid subsystem.

5. The chip network communication attack defense system of the microgrid system of claim 4, wherein, The multi-agent secondary controller current calculation module comprises N - 1 eighth subtracter group , N - 1 tenth adder , N - 1 twelfth multiplier , 1 eleventh adder , 1 twelfth adder , 1 ninth subtracter , 1 thirteenth multiplier , 1 fourteenth multiplier , 1 fourth differentiator , 1 fourth integrator , and 1 fourth zero-order holder Each eighth subtracter group comprises 2 eighth subtracters; The ninth subtractor The non-inverting input of the fourth operational amplifier is used for inputting the current of the target micro-grid subsystem, and the inverting input is connected with the fourth zero-order holder The fourth zero-order holder is used for saving the multi-agent secondary controller current of the last period. the output of the ninth subtracter is connected to a first input of the thirteenth multiplier a second input of the thirteenth multiplier is used for inputting a first positive gain, the output of the thirteenth multiplier is connected to a first input of the eleventh adder ​ Eighth subtractor group The non-inverting input of the first eighth subtractor in the system is used to input the first subtractor in the other microgrid subsystems. j The average current of the multi-agent system in the previous cycle of the microgrid subsystem, the inverting input terminal and the third zero-order hold Connected to the input of the average current of the multi-agent system in the previous cycle; eighth subtracter group the in-phase input terminal of the second eighth subtracter in the eighth subtracter group is used for inputting the multi-agent secondary controller current of the previous period of the other micro-grid subsystem j connected with the fourth zero-order holder ​ The eighth subtractor group The output of the second eighth subtractor is connected to the twelfth multiplier. The first input terminal is connected to the twelfth multiplier. The second input terminal is used to input the first positive gain; a tenth adder a first input of said tenth adder is connected to an output of a first eighth subtractor of said eighth subtractor group a second input of said tenth adder is connected to an output of a twelfth multiplier of said twelfth multiplier group an output of said tenth adder is connected to a first input of a twelfth adder a second input of said twelfth adder is connected to an output of a thirteenth multiplier of said thirteenth multiplier group j an output of said twelfth adder is connected to an input of a thirteenth adder the twelfth adder the output of the twelfth multiplier the first input of the twelfth multiplier the second input of the twelfth multiplier for inputting the second positive gain the output of the twelfth multiplier is connected to the second input of the eleventh adder the output of the twelfth multiplier The fourth differentiator The input end of the fourth differentiator is used for inputting the current of the target micro-grid subsystem, and the output end is connected with the third input end of the eleventh adder ​ the eleventh adder a fourth input for inputting a predicted value of the secondary controller current network communication attack; the eleventh adder is connected with the input end of the fourth integrator , and the output end of the fourth integrator outputs the multi-agent secondary controller current of the current period of the target micro-grid subsystem.

6. The chip network communication attack defense system of the micro-grid system according to claim 1, wherein The multi-agent secondary PI voltage controller module comprises a tenth subtractor , a fifteenth multiplier , a sixteenth multiplier , a thirteenth adder , and a fifth integrator ; the tenth subtractor the non-inverting input end of the comparator is used for inputting the nominal voltage value, and the inverting input end is used for inputting the multi-agent average voltage of the target micro-grid subsystem in the current period; the output of the tenth subtractor is connected to the input of the fifth integrator the output of the fifth integrator is connected to a first input of the fifteenth multiplier a second input of the fifteenth multiplier is used for inputting a first integration gain parameter, the output of the fifteenth multiplier is connected to a first input of the thirteenth adder ​ the output of the tenth subtractor is also connected to a first input of the sixteenth multiplier a second input of the sixteenth multiplier is for inputting a first proportional gain parameter, the output of the sixteenth multiplier is connected to a second input of the thirteenth adder ​ the thirteenth adder outputs the voltage correction value.

7. The chip network communication attack defense system of the micro-grid system according to claim 1, wherein The multi-agent secondary PI current controller module comprises an eleventh subtractor , a seventeenth multiplier , an eighteenth multiplier , a fourteenth adder , and a sixth integrator ; the eleventh subtractor the non-inverting input end of the twelfth comparator is used for inputting the current current value of the target micro-grid subsystem, and the inverting input end is used for inputting the current period multi-agent average current of the target micro-grid subsystem; the output of the eleventh multiplier is connected to the input of the sixth integrator , the output of the sixth integrator is connected to a first input of the seventeenth multiplier , a second input of the seventeenth multiplier is for inputting a second integration gain parameter, the output of the seventeenth multiplier is connected to a first input of the fourteenth adder ; the eleventh subtractor is further connected to a first input of the eighteenth multiplier a second input of the eighteenth multiplier is for inputting a second proportional gain parameter, an output of the eighteenth multiplier is connected to a second input of the fourteenth adder ​ The output terminal of the fourteenth adder outputs the current correction value. 8.The microgrid system's chip network communication attack defense system of claim 1, wherein, The micro-grid control unit includes 6 twelfth subtractors 5 fifteenth adders , 9 nineteenth multipliers , 2 seventh integrators , 2 sign function units , 2 absolute value units and PWM modules Nineteenth multiplier A first input of the nineteenth multiplier is configured to receive a current of the target microgrid subsystem, a second input of the nineteenth multiplier is configured to receive an impedance of the target microgrid subsystem, and an output of the nineteenth multiplier is connected to an in-phase input of a twelfth subtractor The twelfth subtractor is configured to receive a voltage of the target microgrid subsystem. the twelfth subtractor the inverting input terminal of the twelfth comparator is configured to receive a nominal voltage value of the micro-grid system, and the output terminal is connected to the first input terminal of the fifteenth adder the first input terminal of the fifteenth adder fifteenth adder The two inputs of the fifteenth adder are respectively used for inputting the voltage correction value and the voltage correction value, and the output is connected with the second input of the fifteenth adder ​ the output of the fifteenth adder is connected with the non-inverting input of the twelfth subtractor , the inverting input of the twelfth subtractor is used for inputting the current voltage of the target micro-grid subsystem, the output of the twelfth subtractor is connected with the non-inverting input of the twelfth subtractor . the twelfth subtractor has an inverting input for inputting the predicted value of the secondary controller voltage network communication attack and an output connected to a non-inverting input of the twelfth subtractor ​ the twelfth subtractor has an inverting input for inputting a predicted value of the average voltage network communication attack, the twelfth subtractor has an output connected to a first input of a nineteenth multiplier , the nineteenth multiplier has a second input for inputting a first gain parameter, the nineteenth multiplier has an output connected to an input of an absolute value unit , the absolute value unit has an output connected to a first input of a nineteenth multiplier , the nineteenth multiplier has a second input for inputting a second gain parameter, the nineteenth multiplier has an output connected to a first input of a nineteenth multiplier . the output of the twelfth subtractor is also connected to an input of a sign function unit the output of the sign function unit is connected to a second input of the nineteenth multiplier ​ the output of the nineteenth multiplier is connected to a first input of a fifteenth adder ​ the output of the sign function unit is also connected to the input of a seventh integrator the output of the seventh integrator is connected to the first input of a nineteenth multiplier the second input of the nineteenth multiplier is used to input a third gain parameter, the output of the nineteenth multiplier is connected to the second input of the fifteenth adder ; the output of the fifteenth adder is connected with the non-inverting input of the twelfth subtractor , the inverting input of the twelfth subtractor is used for inputting the current of the target micro-grid subsystem, the output of the twelfth subtractor is connected with the inverting input of the twelfth subtractor . fifteenth adder two input terminals for inputting the predicted value of the secondary controller current network communication attack and the predicted value of the average current network communication attack, respectively, an output terminal of the fifteenth adder connected with an in-phase input terminal of the twelfth subtractor ​ the output of the twelfth subtracter is connected to a first input of a nineteenth multiplier a second input of the nineteenth multiplier is for inputting a fourth gain parameter, an output of the nineteenth multiplier is connected to an input of an absolute value unit an output of the absolute value unit is connected to a first input of a nineteenth multiplier a second input of the nineteenth multiplier is for inputting a fifth gain parameter, an output of the nineteenth multiplier is connected to a first input of a nineteenth multiplier ​ the twelfth subtracter the output of the twelfth subtracter is also connected to an input of a sign function unit the output of the sign function unit is connected to a second input of the nineteenth multiplier ​ the output of the nineteenth multiplier is connected to a first input of a fifteenth adder ​ the output of the sign function unit is also connected to the input of a seventh integrator the output of the seventh integrator is connected to the first input of a nineteenth multiplier the second input of the nineteenth multiplier is used for inputting a sixth gain parameter, the output of the nineteenth multiplier is connected to the second input of the fifteenth adder ​ the fifteenth adder an output end of the fifteenth adder is connected with an input end of the PWM module The output end of the PWM module outputs the control signal. 9.The microgrid system's chip network communication attack defense system of claim 8, wherein, The control signal output by the PWM module adjusts the load and output state of the generator of the target micro-grid subsystem. The control signal output by the PWM module adjusts the load and output state of the generator of the target micro-grid subsystem.

Citation Information

Patent Citations

  • Visual analysis system and method for electric power big data

    CN117114449A

  • Power grid system control method and device considering deterministic network communication attack

    CN119644814A