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 speed and stability of the microgrid system under network attacks, and achieving rapid response and improved security.
Patent Information
- Application Number
- CN202510654970.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-05-21
AI Technical Summary
The existing microgrid system has limited response speed and security risks under network communication attacks, making it difficult to meet the requirements of high real-time performance and stability.
A chip network communication attack defense system for microgrid systems is designed. By directly integrating communication attack detection, state correction and control logic into the hardware structure, including a communication and sampling unit, a communication attack detection unit, a microgrid state correction unit and a microgrid control unit, real-time detection and state correction of network communication attacks are achieved.
It significantly improves the response speed and operational stability of the microgrid system, reduces the security risks brought by software dependence, and is suitable for microgrid application scenarios with high real-time and anti-attack capabilities requirements.
Smart Images

Figure CN120639342A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of microgrid system operation control technology, and in particular to a chip network communication attack defense system for a microgrid system. Background Art
[0002] Currently, deterministic networking, as an emerging network communication architecture, uses technologies such as resource reservation, service guarantees, and explicit routing to ensure service quality. Consequently, it imposes stricter data transmission requirements: low packet loss rates and real-time information accuracy between end-to-end. However, microgrid systems are vulnerable to network communication attacks during data transmission, which can lead to system instability and compromise their safe and reliable operation.
[0003] Existing microgrid control technologies typically design a control strategy capable of withstanding network communication attacks. This strategy is then deployed within a general-purpose chip through software programming to achieve stable control of the microgrid system. However, this approach relies heavily on software instructions and the operating system's scheduling mechanisms, resulting in limited response speed and difficulty meeting high real-time requirements. Furthermore, this solution carries certain security risks. Injection of malicious code could cause system malfunction or even failure, further reducing the stability and security of the microgrid in the face of network communication attacks. Summary of the Invention
[0004] To address the problems in the existing technology, the embodiments of this article provide a chip network communication attack defense system for a microgrid system. This system can overcome the response delays and security risks brought about by the high dependence of existing anti-network communication attack algorithms on software systems, thereby improving the operational stability and anti-attack capabilities of the microgrid in complex network environments.
[0005] The embodiments of this specification provide a chip network communication attack defense system for a microgrid system, which is deployed on a target microgrid subsystem in 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 except the target microgrid subsystem;
[0007] The communication attack detection unit is used to determine a communication attack prediction value of the target microgrid subsystem according to the operating status and interaction data;
[0008] The microgrid state correction unit is used to calculate the operation state correction value of each target microgrid subsystem according to the communication attack prediction value of the target microgrid subsystem;
[0009] The microgrid control unit is used to generate a control signal of an operating state correction value of the target microgrid subsystem, and use the control signal to control the generator of the target microgrid subsystem.
[0010] Furthermore, the operating state 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;
[0011] The interaction data includes the multi-agent average voltage, the multi-agent average current, the multi-agent secondary controller voltage and the multi-agent secondary controller current of the other microgrid subsystems.
[0012] Furthermore, the communication attack prediction value includes 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.
[0013] Furthermore, the communication attack detection unit includes a plurality of neuron modules and four first adders ADD_1;
[0014] Each neuron module includes N first subtractor groups SUB_1 1,2,…,N , N first multiplier groups MUL_1 1,2,…,N , 5 second multipliers MUL_2 1,2,…,5 , a second adder ADD_2, an exponential function unit EXP with a natural function e as a base, and a square root calculation unit SQRT, wherein 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] The first subtractor group SUB_1 i The non-inverting terminal of each first subtractor in the operation state is respectively input with the voltage, current, multi-agent average voltage and multi-agent average current, and the inverting input terminal is respectively input with the central vector value corresponding to the voltage, current, multi-agent average voltage and multi-agent average current, wherein i represents the number of the target microgrid subsystem;
[0016] The first subtractor group SUB_1 jThe non-inverting input terminal of each first subtractor in the other microgrid subsystems is respectively input with 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, and the inverting input terminal is respectively input with the central 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, wherein j represents the number of a microgrid subsystem in the other microgrid subsystems;
[0017] The first subtractor group SUB_1 1,2,…,N The output end of each first subtractor is respectively connected to the first multiplier group MUL_1 1,2,…,N Two input terminals of the corresponding first multiplier;
[0018] The first multiplier group MUL_1 1,2,…,N The output end of each first multiplier is respectively connected to the corresponding non-inverting input end of the second adder ADD_2;
[0019] The output end of the second adder ADD_2 is connected to the input end of the square root calculation unit SQRT;
[0020] The output end of the square root calculation unit SQRT is connected to the second multiplier MUL_2 p The first input terminal of the second multiplier MUL_2 p The second input terminal is used to input the first parameter, and p is the number of the second multiplier;
[0021] The second multiplier MUL_2 p The output end of is connected to the input end of the exponential function unit EXP;
[0022] The output end of the exponential function unit EXP is connected to the second multiplier MUL_2 q The first input terminal of the second multiplier MUL_2 is connected to the first input terminal of the second multiplier MUL_2, wherein q represents the number of the second multiplier, q≠p, and the second multiplier 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 end of is connected to the vth non-inverting input end of the corresponding first adder ADD_1, where v represents the number of the neuron module;
[0024] The output end 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 cycle according to the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous cycle, the multi-agent secondary controller voltage of the previous cycle, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous cycle, 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 cycle according to the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous cycle, the multi-agent secondary controller voltage of the previous cycle, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous cycle, 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 cycle according to the current current of the target microgrid subsystem, the multi-agent average current of the previous cycle, the multi-agent secondary controller current of the previous cycle, the multi-agent average current and the multi-agent secondary controller current of the other microgrid subsystems in the previous cycle, 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 cycle according to the current current of the target microgrid subsystem, the multi-agent average current of the previous cycle, the multi-agent secondary controller current of the previous cycle, the multi-agent average current and the multi-agent secondary controller current of the other microgrid subsystems in the previous cycle, 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 according to the nominal voltage value of the microgrid system and the multi-agent average voltage of the target microgrid subsystem in the current cycle;
[0031] The multi-agent secondary PI current controller module is used to calculate the current correction value of the target microgrid subsystem according to the current current of the target microgrid subsystem and the multi-agent average current of the target microgrid subsystem in the current cycle.
[0032] Furthermore, the multi-agent average voltage calculation module includes N-1 second subtractor groups SUB_2 1,2,…,N-1 , 1 third subtractor SUB_3, 1 third adder ADD_3, 1 fourth adder ADD_4, N-1 third multipliers MUL_3 1,2,…,N-1 , a fourth multiplier MUL_4, a fifth multiplier MUL_5, a first differentiator ND_1, a first integrator IF_1 and a first zero-order holder ZOH_1, each second subtractor group includes three second subtractors;
[0033] The non-inverting input terminal of the third subtractor SUB_3 is used to input the current voltage of the target microgrid subsystem, and the inverting input terminal is connected to the first zero-order holder ZOH_1, which is used to store the average voltage of the multi-agent in the previous cycle;
[0034] The output end of the third subtractor SUB_3 is connected to the first input end of the fourth multiplier MUL_4, the second input end of the fourth multiplier MUL_4 is used to input the first positive gain, and the output end of the fourth multiplier MUL_4 is connected to the first input end of the third adder ADD_3;
[0035] Second subtractor group SUB_2 j The non-inverting input terminal of the first second subtractor is used to input the multi-agent average voltage of the j-th microgrid subsystem in the other microgrid subsystem in the previous cycle, and the inverting input terminal is connected to the first zero-order holder ZOH_1;
[0036] The second subtractor group SUB_2 j The output of the first second subtractor is combined with the output of the third multiplier MUL_3 j The first input terminal of the third multiplier MUL_3 is connected to j The second input terminal is used for inputting the first positive gain;
[0037] Second subtractor group SUB_2 j The non-inverting input terminal of the second subtractor in the other microgrid subsystems is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input terminal 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 second subtractor is connected to the third multiplier MUL_3 j The output terminal is connected to the inverting input terminal of the second subtractor group SUB_2 j The output of the second subtractor in the second subtractor group SUB_2 is connected j The output terminal of the third second subtractor in is connected to the j-th input terminal of the fourth adder ADD_4;
[0039] The output end of the fourth adder ADD_4 is connected to the first input end of the fifth multiplier MUL_5, the second input end of the fifth multiplier MUL_5 is used to input the second positive gain, and the output end of the fifth multiplier MUL_5 is connected to the second input end of the third adder ADD_3;
[0040] The input end of the first differentiator ND_1 is used to input the current voltage of the target microgrid subsystem, and the output end is connected to the third input end of the third adder ADD_3;
[0041] The fourth input terminal of the third adder ADD_3 is used to input the predicted value of the average voltage network communication attack;
[0042] The output end of the third adder ADD_3 is connected to the input end of the first integrator IF_1, and the output end of the first integrator IF_1 outputs the multi-agent average voltage of the target microgrid subsystem in the current cycle.
[0043] Furthermore, the multi-agent secondary controller voltage calculation module includes N-1 fourth subtractor groups 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 , a sixth adder ADD_6, a seventh adder ADD_7, a fifth subtractor SUB_5, a seventh multiplier MUL_7, an eighth multiplier MUL_8, a second differentiator ND_2, a second integrator IF_2 and a second zero-order holder ZOH_2, each fourth subtractor group including two fourth subtractors;
[0044] The non-inverting input terminal of the fifth subtractor ZUB_5 is used to input the current voltage of the target microgrid subsystem, and the inverting input terminal is connected to the second zero-order holder ZOH_2, which is used to store the multi-agent secondary controller voltage of the previous cycle;
[0045] The output end of the fifth subtractor SUB_5 is connected to the first input end of the seventh multiplier MUL_7, the second input end of the seventh multiplier MUL_7 is used to input the first positive gain, and the output end of the seventh multiplier MUL_7 is connected to the first input end of the sixth adder ADD_6;
[0046] Fourth subtractor group SUB_4 j The non-inverting input terminal of the first fourth subtractor is used to input the multi-agent average voltage of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the first zero-order holder ZOH_1 for inputting the multi-agent average voltage in the previous cycle;
[0047] Fourth subtractor group SUB_4 j The non-inverting input terminal of the second fourth subtractor in is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle of the other microgrid subsystems, and the inverting input terminal is connected to the second zero-order holder ZOH_2;
[0048] The fourth subtractor group SUB_4 j The output of the second subtractor is connected to the output of the sixth multiplier MUL_6 j The first input terminal of the sixth multiplier MUL_6 is connected to j The second input terminal is used for inputting the first positive gain;
[0049] Fifth adder ADD_5 j The first input of the fourth subtractor group SUB_4 j The first output terminal of the fourth subtractor is connected to the second input terminal of the sixth multiplier MUL_6 j The output end of is connected to the j-th input end of the seventh adder ADD_7;
[0050] an output end of the seventh adder ADD_7 connected to a first input end of the eighth multiplier MUL_8, a second input end of the eighth multiplier MUL_8 being used to input the second positive gain, and an output end of the eighth multiplier MUL_8 being connected to a second input end of the sixth adder ADD_6;
[0051] The input end of the second differentiator ND_2 is used to input the current voltage of the target microgrid subsystem, and the output end is connected to the third input end of the sixth adder ADD_6;
[0052] The fourth input terminal of the sixth adder ADD_6 is used to input the predicted value of the secondary controller voltage network communication attack;
[0053] The output end of the sixth adder ADD_6 is connected to the input end of the second integrator IF_2, and the output end of the second integrator IF_2 outputs the multi-agent secondary controller voltage of the target microgrid subsystem in the current cycle.
[0054] Furthermore, the multi-agent average current calculation module includes N-1 sixth subtractor groups SUB_6 1,2,…,N-1 , 1 seventh subtractor SUB_7, 1 eighth adder ADD_8, 1 ninth adder ADD_9, N-1 ninth multipliers MUL_9 1,2,…,N-1 , a tenth multiplier MUL_10, an eleventh multiplier MUL_11, a third differentiator ND_3, a third integrator IF_3 and a third zero-order holder ZOH_3, each sixth subtractor group includes three sixth subtractors;
[0055] The non-inverting input terminal of the seventh subtractor SUB_7 is used to input the current current of the target microgrid subsystem, and the inverting input terminal is connected to the third zero-order holder ZOH_3, and the third zero-order holder ZOH_3 is used to store the average current of the multi-agent in the previous cycle;
[0056] The output end of the seventh subtractor SUB_7 is connected to the first input end of the tenth multiplier MUL_10, the second input end of the tenth multiplier MUL_10 is used to input the first positive gain, and the output end of the tenth multiplier MUL_10 is connected to the first input end of the eighth adder ADD_8;
[0057] Sixth subtractor group SUB_6 j The non-inverting input terminal of the first sixth subtractor is used to input the multi-agent average current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the third zero-order holder ZOH_3;
[0058] The sixth subtractor group SUB_6 j The output of the first sixth subtractor is combined with the output of the ninth multiplier MUL_9 j The first input terminal of the ninth multiplier MUL_9 is connected to j The second input terminal is used for inputting the first positive gain;
[0059] Sixth subtractor group SUB_6 j The non-inverting input terminal of the second sixth subtractor is used to input the current 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 terminal is used to input the current of the multi-agent secondary controller 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 is connected to the ninth multiplier MUL_9 j The output terminal is connected to the inverting input terminal of the sixth subtractor group SUB_6 j The output of the second sixth subtractor in the sixth subtractor group SUB_6 is connected j The output terminal of the third sixth subtractor in is connected to the j-th input terminal of the ninth adder ADD_9;
[0061] The output end of the ninth adder ADD_9 is connected to the first input end of the eleventh multiplier MUL_11, the second input end of the eleventh multiplier MUL_11 is used to input the second positive gain, and the output end of the eleventh multiplier MUL_11 is connected to the second input end of the eighth adder ADD_8;
[0062] The input end of the third differentiator ND_3 is used to input the current current of the target microgrid subsystem, and the output end is connected to the third input end of the eighth adder ADD_8;
[0063] The fourth input terminal of the ninth adder ADD_9 is used to input the predicted value of the average current network communication attack;
[0064] The output end of the ninth adder ADD_9 is connected to the input end of the third integrator IF_3, and the output end 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 eighth subtractor groups 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 , an eleventh adder ADD_11, a twelfth adder ADD_12, a ninth subtractor SUB_9, a thirteenth multiplier MUL_13, a fourteenth multiplier MUL_14, a fourth differentiator ND_4, a fourth integrator IF_4 and a fourth zero-order holder ZOH_4, each eighth subtractor group including two eighth subtractors;
[0066] The non-inverting input terminal of the ninth subtractor SUB_9 is used to input the current current of the target microgrid subsystem, and the inverting input terminal is connected to the fourth zero-order holder ZOH_4, and the fourth zero-order holder ZOH_4 is used to store the current of the multi-agent secondary controller in the previous cycle;
[0067] The output end of the ninth subtractor SUB_9 is connected to the first input end of the thirteenth multiplier MUL_13, the second input end of the thirteenth multiplier MUL_13 is used to input the first positive gain, and the output end of the thirteenth multiplier MUL_13 is connected to the first input end of the eleventh adder ADD_11;
[0068] Eighth subtractor group SUB_8 j The non-inverting input terminal of the first eighth subtractor is used to input the multi-agent average current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the third zero-order holder ZOH_3 for inputting the multi-agent average current of the previous cycle;
[0069] Eighth subtractor group SUB_8 j The non-inverting input terminal of the second eighth subtractor is used to input the current 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 terminal is connected to the fourth zero-order holder ZOH_4;
[0070] The eighth subtractor group SUB_8 j The output of the second eighth subtractor is combined with the output of the twelfth multiplier MUL_12 j The first input terminal of the twelfth multiplier MUL_12 is connected to j The second input terminal is used for inputting the first positive gain;
[0071] Tenth adder ADD_10 j The first input terminal of the eighth subtractor group SUB_8 j The first output terminal of the eighth subtractor is connected to the second input terminal of the twelfth multiplier MUL_12 j The output end of is connected to the j-th input end of the twelfth adder ADD_12;
[0072] an output end of the twelfth adder ADD_12 connected to a first input end of the fourteenth multiplier MUL_14, a second input end of the fourteenth multiplier MUL_14 being used to input the second positive gain, and an output end of the fourteenth multiplier MUL_14 connected to a second input end of the eleventh adder ADD_11;
[0073] The input end of the fourth differentiator ND_4 is used to input the current current of the target microgrid subsystem, and the output end is connected to the third input end of the eleventh adder ADD_11;
[0074] The fourth input terminal of the eleventh adder ADD_11 is used to input the predicted value of the secondary controller current network communication attack;
[0075] The output end of the eleventh adder ADD_11 is connected to the input end of the fourth integrator IF_4, and the output end of the fourth integrator IF_4 outputs the multi-agent secondary controller current of the target microgrid subsystem in 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 terminal of the tenth subtractor SUB_10 is used to input the nominal voltage value, and the inverting input terminal is used to input the multi-agent average voltage of the target microgrid subsystem in the current cycle;
[0078] an output end of the tenth subtractor SUB_10 is connected to an input end of the fifth integrator IF_5, an output end of the fifth integrator IF_5 is connected to a first input end of the fifteenth multiplier MUL_15, a second input end of the fifteenth multiplier MUL_15 is used to input a first integral gain parameter, and an output end of the fifteenth multiplier MUL_15 is connected to a first input end of the thirteenth adder ADD_13;
[0079] The output end of the tenth subtractor SUB_10 is also connected to the first input end of the sixteenth multiplier MUL_16, the second input end of the sixteenth multiplier MUL_16 is used to input the first proportional gain parameter, and the output end of the sixteenth multiplier MUL_16 is connected to the second input end of the thirteenth adder ADD_13;
[0080] The output terminal of the thirteenth adder ADD_13 outputs the voltage correction value.
[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 terminal of the eleventh subtractor SUB_11 is used to input the current current value of the target microgrid subsystem, and the inverting input terminal is used to input the multi-agent average current of the target microgrid subsystem in the current cycle;
[0083] an output end of the eleventh subtractor SUB_11 is connected to an input end of the sixth integrator IF_6, an output end of the sixth integrator IF_6 is connected to a first input end of the seventeenth multiplier MUL_17, a second input end of the seventeenth multiplier MUL_17 is used to input a second integral gain parameter, and an output end of the seventeenth multiplier MUL_17 is connected to a first input end of the fourteenth adder ADD_14;
[0084] The output end of the eleventh subtractor SUB_11 is also connected to the first input end of the eighteenth multiplier MUL_18, the second input end of the eighteenth multiplier MUL_18 is used to input the second proportional gain parameter, and the output end of the eighteenth multiplier MUL_18 is connected to the second input end of the fourteenth adder ADD_14;
[0085] The output terminal of the fourteenth adder ADD_14 outputs the current correction value.
[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 、2 seventh integrators IF_7 1,2 , 2 symbolic function units F 1,2 , 2 absolute value units ABS 1,2 and PWM module;
[0087] A first input terminal of the nineteenth multiplier MUL_191 is used to input the current current of the target microgrid subsystem, a second input terminal is used to input the impedance value of the target microgrid subsystem, and an output terminal is connected to the non-inverting input terminal of the twelfth subtracter SUB_121;
[0088] The inverting input terminal of the twelfth subtractor SUB_121 is used to input the nominal voltage value of the microgrid system, and the output terminal is connected to the first input terminal of the fifteenth adder ADD_151;
[0089] The two input terminals of the fifteenth adder ADD_152 are respectively used to input the voltage correction value and the voltage correction value, and the output terminal is connected to the second input terminal of the fifteenth adder ADD_151;
[0090] The output end of the fifteenth adder ADD_151 is connected to the non-inverting input end of the twelfth subtractor SUB_122, the inverting input end of the twelfth subtractor SUB_122 is used to input the current voltage of the target microgrid subsystem, and the output end of the twelfth subtractor SUB_122 is connected to the non-inverting input end of the twelfth subtractor SUB_123;
[0091] The inverting input terminal of the twelfth subtractor SUB_123 is used to input the predicted value of the secondary controller voltage network communication attack, and the output terminal is connected to the non-inverting input terminal of the twelfth subtractor SUB_124;
[0092] An inverting input terminal of the twelfth subtractor SUB_124 is used to input the predicted value of the average voltage network communication attack, an output terminal of the twelfth subtractor SUB_124 is connected to a first input terminal of a nineteenth multiplier MUL_192, a second input terminal of the nineteenth multiplier MUL_192 is used to input a first gain parameter, an output terminal of the nineteenth multiplier MUL_192 is connected to an input terminal of an absolute value unit ABS1, an output terminal of the absolute value unit ABS1 is connected to a first input terminal of a nineteenth multiplier MUL_193, a second input terminal of the nineteenth multiplier MUL_193 is used to input a second gain parameter, and an output terminal of the nineteenth multiplier MUL_193 is connected to a first input terminal of a nineteenth multiplier MUL_194;
[0093] The output end of the twelfth subtractor SUB_124 is also connected to the input end of the sign function unit F1, and the output end of the sign function unit F1 is connected to the second input end of the nineteenth multiplier MUL_194;
[0094] The output terminal of the nineteenth multiplier MUL_194 is connected to the first input terminal of the fifteenth adder ADD_153;
[0095] The output end of the sign function unit F1 is also connected to the input end of the seventh integrator IF_71, the output end of the seventh integrator IF_71 is connected to the first input end of the nineteenth multiplier MUL_195, the second input end of the nineteenth multiplier MUL_195 is used to input the third gain parameter, and the output end of the nineteenth multiplier MUL_195 is connected to the second input end of the fifteenth adder ADD_153;
[0096] The output end of the fifteenth adder ADD_153 is connected to the non-inverting input end of the twelfth subtractor SUB_125, the inverting input end of the twelfth subtractor SUB_125 is used to input the current current of the target microgrid subsystem, and the output end of the twelfth subtractor SUB_125 is connected to the inverting input end of the twelfth subtractor SUB_126;
[0097] The two input terminals of the fifteenth adder ADD_154 are respectively 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, and the output terminal of the fifteenth adder ADD_154 is connected to the non-inverting input terminal of the twelfth subtractor SUB_126;
[0098] An output end of the twelfth subtractor SUB_126 is connected to a first input end of a nineteenth multiplier MUL_196, a second input end of the nineteenth multiplier MUL_196 is used to input a fourth gain parameter, an output end of the nineteenth multiplier MUL_196 is connected to an input end of an absolute value unit ABS2, an output end of the absolute value unit ABS2 is connected to a first input end of a nineteenth multiplier MUL_197, a second input end of the nineteenth multiplier MUL_197 is used to input a fifth gain parameter, and an output end of the nineteenth multiplier MUL_197 is connected to a first input end of a nineteenth multiplier MUL_198;
[0099] The output end of the twelfth subtractor SUB_126 is also connected to the input end of the sign function unit F2, and the output end of the sign function unit F2 is connected to the second input end of the nineteenth multiplier MUL_198;
[0100] The output terminal of the nineteenth multiplier MUL_198 is connected to the first input terminal of the fifteenth adder ADD_155;
[0101] The output end of the sign function unit F2 is also connected to the input end of the seventh integrator IF_72, the output end of the seventh integrator IF_72 is connected to the first input end of the nineteenth multiplier MUL_199, the second input end of the nineteenth multiplier MUL_199 is used to input the sixth gain parameter, and the output end of the nineteenth multiplier MUL_199 is connected to the second input end of the fifteenth adder ADD_155;
[0102] The output end of the fifteenth adder ADD_155 is connected to the input end of the PWM module;
[0103] The output end of the PWM module outputs the control signal.
[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 the microgrid system of the embodiment of this specification addresses the problem of system instability caused by network communication attacks on the microgrid, and designs a method that directly integrates the control strategy into the system hardware structure. Compared with the traditional solution that relies on software programming to implement control logic, the embodiment of this specification is implemented through hardware, which significantly improves the system's response speed and operational stability, while effectively avoiding the risks brought by software uncertainty and security vulnerabilities. The system is particularly suitable for microgrid application scenarios 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 exchange between subsystems, a communication and sampling unit was designed. To accurately detect 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 detect four types of network communication attacks that the microgrid subsystem may suffer during communication: secondary controller voltage network communication attacks, average voltage network communication attacks, secondary controller current network communication attacks, and average current network communication attacks.
[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. The system calculation state is dynamically compensated in combination with the attack observation results, thereby providing microgrid subsystem voltage and current correction values that are resistant to false data injection.
[0108] To ensure the stable operation of the microgrid system under network communication attacks, a microgrid control unit was designed. Based on the correction state output by the multi-agent microgrid state correction chip and combined with the observation results of network communication attacks, the control unit uses a super-helical sliding mode control algorithm to generate control signals. This achieves rapid convergence of the system state and effectively enhances the stability of the microgrid system under network communication attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0110] Figure 1This is a structural diagram of a chip network communication attack defense system for a microgrid system in an embodiment of this specification.
[0111] [Description of Reference Numerals]
[0112] 1. Communication and sampling unit;
[0113] 2. Communication attack detection unit;
[0114] 3. Microgrid state correction unit;
[0115] 4. Microgrid control unit. DETAILED DESCRIPTION
[0116] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of this document. Obviously, the embodiments described are only part of the embodiments of this document, not all of the embodiments. Based on the embodiments of this document, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this document.
[0117] The embodiments of this specification address the problem of system instability caused by network communication attacks during the information exchange process of the microgrid subsystem. The so-called network communication attack mainly refers to a false data injection attack, which interferes with the normal operation of the system by tampering with the data information between the microgrid subsystems. Specifically, the attack content includes tampering with four types of key state parameters such as secondary controller voltage, secondary controller current, microgrid subsystem average voltage and microgrid subsystem average current. Therefore, the attack is divided into four types of network communication attacks. The above-mentioned attacks not only undermine the stability and control accuracy of the system, but also pose severe challenges to the security and real-time performance of the microgrid.
[0118] To address the shortcomings of the aforementioned prior art, the present invention aims to provide a chip-based network communication attack defense system for microgrid systems. By integrating algorithmic logic directly into the chip's hardware structure, this embodiment avoids the uncertainties and security risks associated with traditional software-based programming, significantly improving the system's response speed and operational stability. This system is particularly suitable for microgrid system applications that place high demands on stability, real-time performance, and security when experiencing 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 except the target microgrid subsystem; wherein, 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 communication attack prediction value of the target microgrid subsystem based on the operating status and interaction data; wherein the communication attack prediction value includes the prediction value of the secondary controller voltage network communication attack, the prediction value of the average voltage network communication attack, the prediction value of the secondary controller current network communication attack, and the prediction 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 according to the communication attack prediction value of the target microgrid subsystem, and the operating state correction value includes the voltage and current correction value of the microgrid subsystem;
[0123] The microgrid control unit 4 is used to generate a control signal of the operating state correction value of the target microgrid subsystem, and use the control signal to control the generator of the target microgrid subsystem. Specifically, the control signal output by the PWM module in the microgrid control unit 4 adjusts the load and output state of the generator 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] Take the target microgrid subsystem as an example:
[0125] The communication attack detection unit includes a plurality of neuron modules and four first adders ADD_1;
[0126] Each neuron module includes N first subtractor groups SUB_1 1,2,…,N , N first multiplier groups MUL_1 1,2,…,N , 5 second multipliers MUL_2 1,2,…,5 , a second adder ADD_2, an exponential function unit EXP with a natural function e as a base, and a square root calculation unit SQRT, wherein 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] The first subtractor group SUB_1 i The non-inverting terminal of each first subtractor in the operation state is respectively input with the voltage, current, multi-agent average voltage and multi-agent average current, and the inverting input terminal is respectively input with the central vector value corresponding to the voltage, current, multi-agent average voltage and multi-agent average current, wherein i represents the number of the target microgrid subsystem;
[0128] The first subtractor group SUB_1 j The non-inverting input terminal of each first subtractor in the other microgrid subsystems is respectively input with 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, and the inverting input terminal is respectively input with the central 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, wherein j represents the number of a microgrid subsystem in the other microgrid subsystems;
[0129] The first subtractor group SUB_1 1,2,…,N The output end of each first subtractor is respectively connected to the first multiplier group MUL_1 1,2,…,N Two input terminals of the corresponding first multiplier;
[0130] The first multiplier group MUL_1 1,2,…,N The output end of each first multiplier is respectively connected to the corresponding non-inverting input end of the second adder ADD_2;
[0131] The output end of the second adder ADD_2 is connected to the input end of the square root calculation unit SQRT;
[0132] The output end of the square root calculation unit SQRT is connected to the second multiplier MUL_2 p The first input terminal of the second multiplier MUL_2 p The second input terminal is used to input the first parameter, and p is the number of the second multiplier;
[0133] The second multiplier MUL_2 p The output end of is connected to the input end of the exponential function unit EXP;
[0134] The output end of the exponential function unit EXP is connected to the second multiplier MUL_2 q The first input terminal of the second multiplier MUL_2 is connected to the first input terminal of the second multiplier MUL_2, wherein q represents the number of the second multiplier, q≠p, and the second multiplier 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 end of is connected to the vth non-inverting input end of the corresponding first adder ADD_1, where v represents the number of the neuron module;
[0136] The output end of the first adder ADD_1 outputs the corresponding communication attack prediction value.
[0137] The numerical value of the communication attack prediction value represents the magnitude of the cyber attack suffered by the microgrid subsystem, and the severity of the cyber attack can be quantified in advance by staff. Based on the quantified severity of the cyber attack, various cyber attacks of varying severity can be issued to the microgrid system through offline simulation. The communication and acquisition module then collects the aforementioned data of the microgrid system and sets initial values for the center vector value, first parameter, and second parameter in the method of the communication attack detection unit. The communication attack detection unit then predicts the communication attack prediction value based on the aforementioned data collected by the communication and acquisition module and the initial values of the center vector value, first parameter, and second parameter to obtain the communication attack prediction value. The predicted value is then compared with the actual value of the communication attack and iteratively trained on the center vector value, first parameter, and second parameter to obtain the optimal center vector value, first parameter, and second parameter. This ensures that the communication attack detection unit accurately estimates 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 the communication process.
[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 cycle according to the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous cycle, the multi-agent secondary controller voltage of the previous cycle, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous cycle, 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 cycle according to the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous cycle, the multi-agent secondary controller voltage of the previous cycle, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous cycle, 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 cycle according to the current current of the target microgrid subsystem, the multi-agent average current of the previous cycle, the multi-agent secondary controller current of the previous cycle, the multi-agent average current and the multi-agent secondary controller current of the other microgrid subsystems in the previous cycle, 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 cycle according to the current current of the target microgrid subsystem, the multi-agent average current of the previous cycle, the multi-agent secondary controller current of the previous cycle, the multi-agent average current and the multi-agent secondary controller current of the other microgrid subsystems in the previous cycle, 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 according to the nominal voltage value of the microgrid system and the multi-agent average voltage of the target microgrid subsystem in the current cycle;
[0144] The multi-agent secondary PI current controller module is used to calculate the current correction value of the target microgrid subsystem according to the current current of the target microgrid subsystem and the multi-agent average current of the target microgrid subsystem in the current cycle.
[0145] The multi-agent average voltage calculation module includes N-1 second subtractor groups SUB_2 1,2,…,N-1 , 1 third subtractor SUB_3, 1 third adder ADD_3, 1 fourth adder ADD_4, N-1 third multipliers MUL_3 1,2,…,N-1 , a fourth multiplier MUL_4, a fifth multiplier MUL_5, a first differentiator ND_1, a first integrator IF_1 and a first zero-order holder ZOH_1, each second subtractor group includes three second subtractors;
[0146] The non-inverting input terminal of the third subtractor SUB_3 is used to input the current voltage of the target microgrid subsystem, and the inverting input terminal is connected to the first zero-order holder ZOH_1, which is used to store the average voltage of the multi-agent in the previous cycle;
[0147] The output end of the third subtractor SUB_3 is connected to the first input end of the fourth multiplier MUL_4, the second input end of the fourth multiplier MUL_4 is used to input the first positive gain, and the output end of the fourth multiplier MUL_4 is connected to the first input end of the third adder ADD_3;
[0148] Second subtractor group SUB_2 j The non-inverting input terminal of the first second subtractor is used to input the multi-agent average voltage of the j-th microgrid subsystem in the other microgrid subsystem in the previous cycle, and the inverting input terminal is connected to the first zero-order holder ZOH_1;
[0149] The second subtractor group SUB_2 j The output of the first second subtractor is combined with the output of the third multiplier MUL_3 j The first input terminal of the third multiplier MUL_3 is connected to j The second input terminal is used for inputting the first positive gain;
[0150] Second subtractor group SUB_2 j The non-inverting input terminal of the second subtractor in the other microgrid subsystems is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input terminal 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 second subtractor is connected to the third multiplier MUL_3 j The output terminal is connected to the inverting input terminal of the second subtractor group SUB_2 j The output of the second subtractor in the second subtractor group SUB_2 is connected j The output terminal of the third second subtractor in is connected to the j-th input terminal of the fourth adder ADD_4;
[0152] The output end of the fourth adder ADD_4 is connected to the first input end of the fifth multiplier MUL_5, the second input end of the fifth multiplier MUL_5 is used to input the second positive gain, and the output end of the fifth multiplier MUL_5 is connected to the second input end of the third adder ADD_3;
[0153] The input end of the first differentiator ND_1 is used to input the current voltage of the target microgrid subsystem, and the output end is connected to the third input end of the third adder ADD_3;
[0154] The fourth input terminal of the third adder ADD_3 is used to input the predicted value of the average voltage network communication attack;
[0155] The output end of the third adder ADD_3 is connected to the input end of the first integrator IF_1, and the output end of the first integrator IF_1 outputs the multi-agent average voltage of the target microgrid subsystem in the current cycle.
[0156] The multi-agent secondary controller voltage calculation module includes N-1 fourth subtractor groups 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 , a sixth adder ADD_6, a seventh adder ADD_7, a fifth subtractor SUB_5, a seventh multiplier MUL_7, an eighth multiplier MUL_8, a second differentiator ND_2, a second integrator IF_2 and a second zero-order holder ZOH_2, each fourth subtractor group including two fourth subtractors;
[0157] The non-inverting input terminal of the fifth subtractor SUB_5 is used to input the current voltage of the target microgrid subsystem, and the inverting input terminal is connected to the second zero-order holder ZOH_2, which is used to store the multi-agent secondary controller voltage of the previous cycle;
[0158] The output end of the fifth subtractor SUB_5 is connected to the first input end of the seventh multiplier MUL_7, the second input end of the seventh multiplier MUL_7 is used to input the first positive gain, and the output end of the seventh multiplier MUL_7 is connected to the first input end of the sixth adder ADD_6;
[0159] Fourth subtractor group SUB_4 j The non-inverting input terminal of the first fourth subtractor is used to input the multi-agent average voltage of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the first zero-order holder ZOH_1 for inputting the multi-agent average voltage in the previous cycle;
[0160] Fourth subtractor group SUB_4 jThe non-inverting input terminal of the second fourth subtractor in is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle of the other microgrid subsystems, and the inverting input terminal is connected to the second zero-order holder ZOH_2;
[0161] The fourth subtractor group SUB_4 j The output of the second subtractor is connected to the output of the sixth multiplier MUL_6 j The first input terminal of the sixth multiplier MUL_6 is connected to j The second input terminal is used for inputting the first positive gain;
[0162] Fifth adder ADD_5 j The first input of the fourth subtractor group SUB_4 j The first output terminal of the fourth subtractor is connected to the second input terminal of the sixth multiplier MUL_6 j The output end of is connected to the j-th input end of the seventh adder ADD_7;
[0163] an output end of the seventh adder ADD_7 connected to a first input end of the eighth multiplier MUL_8, a second input end of the eighth multiplier MUL_8 being used to input the second positive gain, and an output end of the eighth multiplier MUL_8 being connected to a second input end of the sixth adder ADD_6;
[0164] The input end of the second differentiator ND_2 is used to input the current voltage of the target microgrid subsystem, and the output end is connected to the third input end of the sixth adder ADD_6;
[0165] The fourth input terminal of the sixth adder ADD_6 is used to input the predicted value of the secondary controller voltage network communication attack;
[0166] The output end of the sixth adder ADD_6 is connected to the input end of the second integrator IF_2, and the output end of the second integrator IF_2 outputs the multi-agent secondary controller voltage of the target microgrid subsystem in the current cycle.
[0167] The multi-agent average current calculation module includes N-1 sixth subtractor groups SUB_6 1,2,…,N-1 , 1 seventh subtractor SUB_7, 1 eighth adder ADD_8, 1 ninth adder ADD_9, N-1 ninth multipliers MUL_9 1,2,…,N-1, a tenth multiplier MUL_10, an eleventh multiplier MUL_11, a third differentiator ND_3, a third integrator IF_3 and a third zero-order holder ZOH_3, each sixth subtractor group includes three sixth subtractors;
[0168] The non-inverting input terminal of the seventh subtractor SUB_7 is used to input the current current of the target microgrid subsystem, and the inverting input terminal is connected to the third zero-order holder ZOH_3, and the third zero-order holder ZOH_3 is used to store the average current of the multi-agent in the previous cycle;
[0169] The output end of the seventh subtractor SUB_7 is connected to the first input end of the tenth multiplier MUL_10, the second input end of the tenth multiplier MUL_10 is used to input the first positive gain, and the output end of the tenth multiplier MUL_10 is connected to the first input end of the eighth adder ADD_8;
[0170] Sixth subtractor group SUB_6 j The non-inverting input terminal of the first sixth subtractor is used to input the multi-agent average current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the third zero-order holder ZOH_3;
[0171] The sixth subtractor group SUB_6 j The output of the first sixth subtractor is combined with the output of the ninth multiplier MUL_9 j The first input terminal of the ninth multiplier MUL_9 is connected to j The second input terminal is used for inputting the first positive gain;
[0172] Sixth subtractor group SUB_6 j The non-inverting input terminal of the second sixth subtractor is used to input the current 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 terminal is used to input the current of the multi-agent secondary controller 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 is connected to the ninth multiplier MUL_9 j The output terminal is connected to the inverting input terminal of the sixth subtractor group SUB_6 j The output of the second sixth subtractor in the sixth subtractor group SUB_6 is connected j The output terminal of the third sixth subtractor in is connected to the j-th input terminal of the ninth adder ADD_9;
[0174] The output end of the ninth adder ADD_9 is connected to the first input end of the eleventh multiplier MUL_11, the second input end of the eleventh multiplier MUL_11 is used to input the second positive gain, and the output end of the eleventh multiplier MUL_11 is connected to the second input end of the eighth adder ADD_8;
[0175] The input end of the third differentiator ND_3 is used to input the current current of the target microgrid subsystem, and the output end is connected to the third input end of the eighth adder ADD_8;
[0176] The fourth input terminal of the ninth adder ADD_9 is used to input the predicted value of the average current network communication attack;
[0177] The output end of the ninth adder ADD_9 is connected to the input end of the third integrator IF_3, and the output end 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 eighth subtractor groups 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 , an eleventh adder ADD_11, a twelfth adder ADD_12, a ninth subtractor SUB_9, a thirteenth multiplier MUL_13, a fourteenth multiplier MUL_14, a fourth differentiator ND_4, a fourth integrator IF_4 and a fourth zero-order holder ZOH_4, each eighth subtractor group including two eighth subtractors;
[0179] The non-inverting input terminal of the ninth subtractor SUB_9 is used to input the current current of the target microgrid subsystem, and the inverting input terminal is connected to the fourth zero-order holder ZOH_4, and the fourth zero-order holder ZOH_4 is used to store the current of the multi-agent secondary controller in the previous cycle;
[0180] The output end of the ninth subtractor SUB_9 is connected to the first input end of the thirteenth multiplier MUL_13, the second input end of the thirteenth multiplier MUL_13 is used to input the first positive gain, and the output end of the thirteenth multiplier MUL_13 is connected to the first input end of the eleventh adder ADD_11;
[0181] Eighth subtractor group SUB_8 jThe non-inverting input terminal of the first eighth subtractor is used to input the multi-agent average current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the third zero-order holder ZOH_3 for inputting the multi-agent average current of the previous cycle;
[0182] Eighth subtractor group SUB_8 j The non-inverting input terminal of the second eighth subtractor is used to input the current 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 terminal is connected to the fourth zero-order holder ZOH_4;
[0183] The eighth subtractor group SUB_8 j The output of the second eighth subtractor is combined with the output of the twelfth multiplier MUL_12 j The first input terminal of the twelfth multiplier MUL_12 is connected to j The second input terminal is used for inputting the first positive gain;
[0184] Tenth adder ADD_10 j The first input terminal of the eighth subtractor group SUB_8 j The first output terminal of the eighth subtractor is connected to the second input terminal of the twelfth multiplier MUL_12 j The output end of is connected to the j-th input end of the twelfth adder ADD_12;
[0185] an output end of the twelfth adder ADD_12 connected to a first input end of the fourteenth multiplier MUL_14, a second input end of the fourteenth multiplier MUL_14 being used to input the second positive gain, and an output end of the fourteenth multiplier MUL_14 connected to a second input end of the eleventh adder ADD_11;
[0186] The input end of the fourth differentiator ND_4 is used to input the current current of the target microgrid subsystem, and the output end is connected to the third input end of the eleventh adder ADD_11;
[0187] The fourth input terminal of the eleventh adder ADD_11 is used to input the predicted value of the secondary controller current network communication attack;
[0188] The output end of the eleventh adder ADD_11 is connected to the input end of the fourth integrator IF_4, and the output end of the fourth integrator IF_4 outputs the multi-agent secondary controller current of the target microgrid subsystem in 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 terminal of the tenth subtractor SUB_10 is used to input the nominal voltage value, and the inverting input terminal is used to input the multi-agent average voltage of the target microgrid subsystem in the current cycle;
[0191] an output end of the tenth subtractor SUB_10 is connected to an input end of the fifth integrator IF_5, an output end of the fifth integrator IF_5 is connected to a first input end of the fifteenth multiplier MUL_15, a second input end of the fifteenth multiplier MUL_15 is used to input a first integral gain parameter, and an output end of the fifteenth multiplier MUL_15 is connected to a first input end of the thirteenth adder ADD_13;
[0192] The output end of the tenth subtractor SUB_10 is also connected to the first input end of the sixteenth multiplier MUL_16, the second input end of the sixteenth multiplier MUL_16 is used to input the first proportional gain parameter, and the output end of the sixteenth multiplier MUL_16 is connected to the second input end of the thirteenth adder ADD_13;
[0193] The output terminal of the thirteenth adder ADD_13 outputs the voltage correction value.
[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 terminal of the eleventh subtractor SUB_11 is used to input the current current value of the target microgrid subsystem, and the inverting input terminal is used to input the multi-agent average current of the target microgrid subsystem in the current cycle;
[0196] an output end of the eleventh subtractor SUB_11 is connected to an input end of the sixth integrator IF_6, an output end of the sixth integrator IF_6 is connected to a first input end of the seventeenth multiplier MUL_17, a second input end of the seventeenth multiplier MUL_17 is used to input a second integral gain parameter, and an output end of the seventeenth multiplier MUL_17 is connected to a first input end of the fourteenth adder ADD_14;
[0197] The output end of the eleventh subtractor SUB_11 is also connected to the first input end of the eighteenth multiplier MUL_18, the second input end of the eighteenth multiplier MUL_18 is used to input the second proportional gain parameter, and the output end of the eighteenth multiplier MUL_18 is connected to the second input end of the fourteenth adder ADD_14;
[0198] The output terminal of the fourteenth adder ADD_14 outputs the current correction value.
[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 、2 seventh integrators IF_7 1,2 , 2 symbolic function units F 1,2 , 2 absolute value units ABS 1,2 and PWM module;
[0200] A first input terminal of the nineteenth multiplier MUL_191 is used to input the current current of the target microgrid subsystem, a second input terminal is used to input the impedance value of the target microgrid subsystem, and an output terminal is connected to the non-inverting input terminal of the twelfth subtracter SUB_121;
[0201] The inverting input terminal of the twelfth subtractor SUB_121 is used to input the nominal voltage value of the microgrid system, and the output terminal is connected to the first input terminal of the fifteenth adder ADD_151;
[0202] The two input terminals of the fifteenth adder ADD_152 are respectively used to input the voltage correction value and the voltage correction value, and the output terminal is connected to the second input terminal of the fifteenth adder ADD_151;
[0203] The output end of the fifteenth adder ADD_151 is connected to the non-inverting input end of the twelfth subtractor SUB_122, the inverting input end of the twelfth subtractor SUB_122 is used to input the current voltage of the target microgrid subsystem, and the output end of the twelfth subtractor SUB_122 is connected to the non-inverting input end of the twelfth subtractor SUB_123;
[0204] The inverting input terminal of the twelfth subtractor SUB_123 is used to input the predicted value of the secondary controller voltage network communication attack, and the output terminal is connected to the non-inverting input terminal of the twelfth subtractor SUB_124;
[0205] An inverting input terminal of the twelfth subtractor SUB_124 is used to input the predicted value of the average voltage network communication attack, an output terminal of the twelfth subtractor SUB_124 is connected to a first input terminal of a nineteenth multiplier MUL_192, a second input terminal of the nineteenth multiplier MUL_192 is used to input a first gain parameter, an output terminal of the nineteenth multiplier MUL_192 is connected to an input terminal of an absolute value unit ABS1, an output terminal of the absolute value unit ABS1 is connected to a first input terminal of a nineteenth multiplier MUL_193, a second input terminal of the nineteenth multiplier MUL_193 is used to input a second gain parameter, and an output terminal of the nineteenth multiplier MUL_193 is connected to a first input terminal of a nineteenth multiplier MUL_194;
[0206] The output end of the twelfth subtractor SUB_124 is also connected to the input end of the sign function unit F1, and the output end of the sign function unit F1 is connected to the second input end of the nineteenth multiplier MUL_194;
[0207] The output terminal of the nineteenth multiplier MUL_194 is connected to the first input terminal of the fifteenth adder ADD_153;
[0208] The output end of the sign function unit F1 is also connected to the input end of the seventh integrator IF_71, the output end of the seventh integrator IF_71 is connected to the first input end of the nineteenth multiplier MUL_195, the second input end of the nineteenth multiplier MUL_195 is used to input the third gain parameter, and the output end of the nineteenth multiplier MUL_195 is connected to the second input end of the fifteenth adder ADD_153;
[0209] The output end of the fifteenth adder ADD_153 is connected to the non-inverting input end of the twelfth subtractor SUB_125, the inverting input end of the twelfth subtractor SUB_125 is used to input the current current of the target microgrid subsystem, and the output end of the twelfth subtractor SUB_125 is connected to the inverting input end of the twelfth subtractor SUB_126;
[0210] The two input terminals of the fifteenth adder ADD_154 are respectively 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, and the output terminal of the fifteenth adder ADD_154 is connected to the non-inverting input terminal of the twelfth subtractor SUB_126;
[0211] An output end of the twelfth subtractor SUB_126 is connected to a first input end of a nineteenth multiplier MUL_196, a second input end of the nineteenth multiplier MUL_196 is used to input a fourth gain parameter, an output end of the nineteenth multiplier MUL_196 is connected to an input end of an absolute value unit ABS2, an output end of the absolute value unit ABS2 is connected to a first input end of a nineteenth multiplier MUL_197, a second input end of the nineteenth multiplier MUL_197 is used to input a fifth gain parameter, and an output end of the nineteenth multiplier MUL_197 is connected to a first input end of a nineteenth multiplier MUL_198;
[0212] The output end of the twelfth subtractor SUB_126 is also connected to the input end of the sign function unit F2, and the output end of the sign function unit F2 is connected to the second input end of the nineteenth multiplier MUL_198;
[0213] The output terminal of the nineteenth multiplier MUL_198 is connected to the first input terminal of the fifteenth adder ADD_155;
[0214] The output end of the sign function unit F2 is also connected to the input end of the seventh integrator IF_72, the output end of the seventh integrator IF_72 is connected to the first input end of the nineteenth multiplier MUL_199, the second input end of the nineteenth multiplier MUL_199 is used to input the sixth gain parameter, and the output end of the nineteenth multiplier MUL_199 is connected to the second input end of the fifteenth adder ADD_155;
[0215] The output end of the fifteenth adder ADD_155 is connected to the input end of the PWM module;
[0216] The output end of the PWM module outputs the control signal.
[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 values or experimental values, and the embodiments of this specification do not limit them.
[0218] After the construction of the above-mentioned operation unit, the chip network communication attack defense system i of the microgrid system 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 by network communication during the communication process.
[0219] The chip network communication attack defense system for the microgrid system of the embodiment of this specification addresses the problem of system instability caused by network communication attacks on the microgrid, and designs a method that directly integrates the control strategy into the system hardware structure. Compared with the traditional solution that relies on software programming to implement control logic, the embodiment of this specification is implemented through hardware, which significantly improves the system's response speed and operational stability, while effectively avoiding the risks brought by software uncertainty and security vulnerabilities. The system is particularly suitable for microgrid application scenarios 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 exchange between subsystems, a communication and sampling unit was designed. To accurately detect 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 detect four types of network communication attacks that the microgrid subsystem may suffer during communication: secondary controller voltage network communication attacks, average voltage network communication attacks, secondary controller current network communication attacks, and average current network communication attacks.
[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. The system calculation state is dynamically compensated in combination with the attack observation results, thereby providing microgrid subsystem voltage and current correction values that are resistant to false data injection.
[0222] To ensure the stable operation of the microgrid system under network communication attacks, a microgrid control unit was designed. Based on the correction state output by the multi-agent microgrid state correction chip and combined with the observation results of network communication attacks, the control unit uses a super-helical sliding mode control algorithm to generate control signals. This achieves rapid convergence of the system state 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 implemented. Specifically, a network communication attack defense circuit for the microgrid system is constructed based on the electronic components and connections in the aforementioned communication and sampling unit, communication attack detection unit, microgrid state correction unit, and microgrid control unit, and the network communication attack defense circuit for the microgrid system is implemented on the chip.
[0224] In actual implementation, the above chip can be deployed in a microgrid subsystem of a microgrid system to detect the network attack status of the microgrid subsystem and quickly converge the state of the microgrid subsystem when the microgrid subsystem is attacked by the network.
[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 art, and the detailed structures of the above electronic components are not described in the embodiments of this specification.
[0226] In the various embodiments of this document, the order of the sequence numbers of the above processes does not imply the order of execution. The order of execution 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 of this document.
[0227] It should also be understood that in the embodiments herein, the term "and / or" merely describes an association between associated objects, indicating that three possible relationships exist. For example, "A and / or B" could represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.
[0228] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel 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 convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0230] In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices, or units, or can be an electrical, mechanical, or other form of connection.
[0231] The units described as separate components may or may not be physically separate, and 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 may be selected according to actual needs to achieve the purpose of the embodiments herein.
[0232] In addition, the functional units in the various embodiments herein may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0233] If the integrated unit is implemented in the form of 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 article is essentially or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0234] This article uses specific embodiments to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for those skilled in the art, based on the ideas of this article, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation to this article.
Claims
1. A chip network communication attack defense system for a microgrid system, characterized in that: Deployed on the target microgrid subsystem in the microgrid system, it includes: a communication and sampling unit, a communication attack detection unit, a microgrid state correction unit, and a microgrid control unit; 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 except the target microgrid subsystem; The communication attack detection unit is used to determine a communication attack prediction value of the target microgrid subsystem according to the operating status and interaction data; The microgrid state correction unit is used to calculate the operation state correction value of each target microgrid subsystem according to the communication attack prediction value of the target microgrid subsystem; The microgrid control unit is used to generate a control signal of an operating state correction value of the target microgrid subsystem, and use the control signal to control the generator of the target microgrid subsystem.
2. The chip network communication attack defense system for a microgrid system according to claim 1, characterized in that: The operating state 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, the multi-agent average current, the multi-agent secondary controller voltage and the multi-agent secondary controller current of the other microgrid subsystems.
3. The chip network communication attack defense system for a microgrid system according to claim 2, characterized in that: The communication attack prediction value includes 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.
4. The chip network communication attack defense system for a microgrid system according to claim 3, characterized in that: The communication attack detection unit includes a plurality of neuron modules and four first adders ADD_1; Each neuron module includes N first subtractor groups SUB_1 1,2,…,N , N first multiplier groups MUL_1 1,2,…,N , 5 second multipliers MUL_2 1,2,…,5 , a second adder ADD_2, an exponential function unit EXP with a natural function e as a base, and a square root calculation unit SQRT, wherein 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; The first subtractor group SUB_1 i The non-inverting terminal of each first subtractor in the operation state is respectively input with the voltage, current, multi-agent average voltage and multi-agent average current, and the inverting input terminal is respectively input with the central vector value corresponding to the voltage, current, multi-agent average voltage and multi-agent average current, wherein i represents the number of the target microgrid subsystem; The first subtractor group SUB_1 j The non-inverting input terminal of each first subtractor in the other microgrid subsystems is respectively input with 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, and the inverting input terminal is respectively input with the central 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, wherein j represents the number of a microgrid subsystem in the other microgrid subsystems; The first subtractor group SUB_1 1,2,…,N The output end of each first subtractor is respectively connected to the first multiplier group MUL_1 1,2,…,N Two input terminals of the corresponding first multiplier; The first multiplier group MUL_1 1,2,…,N The output end of each first multiplier is respectively connected to the corresponding non-inverting input end of the second adder ADD_2; The output end of the second adder ADD_2 is connected to the input end of the square root calculation unit SQRT; The output end of the square root calculation unit SQRT is connected to the second multiplier MUL_2 p The first input terminal of the second multiplier MUL_2 p The second input terminal is used to input the first parameter, and p is the number of the second multiplier; The second multiplier MUL_2 p The output end of is connected to the input end of the exponential function unit EXP; The output end of the exponential function unit EXP is connected to the second multiplier MUL_2 q The first input terminal of the second multiplier MUL_2 is connected to the first input terminal of the second multiplier MUL_2, wherein q represents the number of the second multiplier, q≠p, and the second multiplier MUL_2 q The second input terminal is used to pass in the corresponding second parameter The second multiplier MUL_2 q The output end of is connected to the vth non-inverting input end of the corresponding first adder ADD_1, where v represents the number of the neuron module; The output end of the first adder ADD_1 outputs the corresponding communication attack prediction value.
5. The chip network communication attack defense system for a microgrid system according to claim 4, characterized in that: 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; The multi-agent average voltage calculation module is used to calculate the multi-agent average voltage of the target microgrid subsystem in the current cycle according to the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous cycle, the multi-agent secondary controller voltage of the previous cycle, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous cycle, and the predicted value of the average voltage network communication attack; 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 cycle according to the current voltage of the target microgrid subsystem, the multi-agent average voltage of the previous cycle, the multi-agent secondary controller voltage of the previous cycle, the multi-agent average voltage and multi-agent secondary controller voltage of the other microgrid subsystems in the previous cycle, and the predicted value of the secondary controller voltage network communication attack; The multi-agent average current calculation module is used to calculate the multi-agent average current of the target microgrid subsystem in the current cycle according to the current current of the target microgrid subsystem, the multi-agent average current of the previous cycle, the multi-agent secondary controller current of the previous cycle, the multi-agent average current and the multi-agent secondary controller current of the other microgrid subsystems in the previous cycle, and the predicted value of the average current network communication attack; 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 cycle according to the current current of the target microgrid subsystem, the multi-agent average current of the previous cycle, the multi-agent secondary controller current of the previous cycle, the multi-agent average current and the multi-agent secondary controller current of the other microgrid subsystems in the previous cycle, and the predicted value of the secondary controller current network communication attack; The multi-agent secondary PI voltage controller module is used to calculate the voltage correction value of the target microgrid subsystem according to the nominal voltage value of the microgrid system and the multi-agent average voltage of the target microgrid subsystem in the current cycle; The multi-agent secondary PI current controller module is used to calculate the current correction value of the target microgrid subsystem according to the current current of the target microgrid subsystem and the multi-agent average current of the target microgrid subsystem in the current cycle.
6. The chip network communication attack defense system for a microgrid system according to claim 5, characterized in that: The multi-agent average voltage calculation module includes N-1 second subtractor groups SUB_2 1,2,…,N-1 , 1 third subtractor SUB_3, 1 third adder ADD_3, 1 fourth adder ADD_4, N-1 third multipliers MUL_3 1,2,…,N-1 , a fourth multiplier MIL_4, a fifth multiplier MUL_5, a first differentiator ND_1, a first integrator IF_1 and a first zero-order holder ZOH_1, each second subtractor group includes three second subtractors; The non-inverting input terminal of the third subtractor SUB_3 is used to input the current voltage of the target microgrid subsystem, and the inverting input terminal is connected to the first zero-order holder ZOH_1, which is used to store the average voltage of the multi-agent in the previous cycle; The output end of the third subtractor SUB_3 is connected to the first input end of the fourth multiplier MUL_4, the second input end of the fourth multiplier MUL_4 is used to input the first positive gain, and the output end of the fourth multiplier MUL_4 is connected to the first input end of the third adder ADD_3; Second subtractor group SUB_2 j The non-inverting input terminal of the first second subtractor is used to input the multi-agent average voltage of the j-th microgrid subsystem in the other microgrid subsystem in the previous cycle, and the inverting input terminal is connected to the first zero-order holder ZOH_1; The second subtractor group SUB_2 j The output of the first second subtractor is combined with the output of the third multiplier MUL_3 j The first input terminal of the third multiplier MUL_3 is connected to j The second input terminal is used for inputting the first positive gain; Second subtractor group SUB_2 j The non-inverting input terminal of the second subtractor in the other microgrid subsystems is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle, and the inverting input terminal is used to input the multi-agent secondary controller voltage of the target microgrid subsystem in the previous cycle; Second subtractor group SUB_2 j The non-inverting input of the third second subtractor is connected to the third multiplier MUL_3 j The output terminal is connected to the inverting input terminal of the second subtractor group SUB_2 j The output of the second subtractor in the second subtractor group SUB_2 is connected j The output terminal of the third second subtractor in is connected to the j-th input terminal of the fourth adder ADD_4; The output end of the fourth adder ADD_4 is connected to the first input end of the fifth multiplier MUL_5, the second input end of the fifth multiplier MUL_5 is used to input the second positive gain, and the output end of the fifth multiplier MUL_5 is connected to the second input end of the third adder ADD_3; The input end of the first differentiator ND_1 is used to input the current voltage of the target microgrid subsystem, and the output end is connected to the third input end of the third adder ADD_3; The fourth input terminal of the third adder ADD_3 is used to input the predicted value of the average voltage network communication attack; The output end of the third adder ADD_3 is connected to the input end of the first integrator IF_1, and the output end of the first integrator IF_1 outputs the multi-agent average voltage of the target microgrid subsystem in the current cycle.
7. The chip network communication attack defense system for a microgrid system according to claim 6, characterized in that: The multi-agent secondary controller voltage calculation module includes N-1 fourth subtractor groups 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 , a sixth adder ADD_6, a seventh adder ADD_7, a fifth subtractor SUB_5, a seventh multiplier MUL_7, an eighth multiplier MUL_8, a second differentiator ND_2, a second integrator IF_2 and a second zero-order holder ZOH_2, each fourth subtractor group including two fourth subtractors; The non-inverting input terminal of the fifth subtractor SUB_5 is used to input the current voltage of the target microgrid subsystem, and the inverting input terminal is connected to the second zero-order holder ZOH_2, which is used to store the multi-agent secondary controller voltage of the previous cycle; The output end of the fifth subtractor SUB_5 is connected to the first input end of the seventh multiplier MUL_7, the second input end of the seventh multiplier MUL_7 is used to input the first positive gain, and the output end of the seventh multiplier MUL_7 is connected to the first input end of the sixth adder ADD_6; Fourth subtractor group SUB_4 j The non-inverting input terminal of the first fourth subtractor is used to input the multi-agent average voltage of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the first zero-order holder ZOH_1 for inputting the multi-agent average voltage in the previous cycle; Fourth subtractor group SUB_4 j The non-inverting input terminal of the second fourth subtractor in is used to input the multi-agent secondary controller voltage of the j-th microgrid subsystem in the previous cycle of the other microgrid subsystems, and the inverting input terminal is connected to the second zero-order holder ZOH_2; The fourth subtractor group SUB_4 j The output of the second subtractor is connected to the output of the sixth multiplier MUL_6 j The first input terminal of the sixth multiplier MUL_6 is connected to j The second input terminal is used for inputting the first positive gain; Fifth adder ADD_5 j The first input of the fourth subtractor group SUB_4 j The first output terminal of the fourth subtractor is connected to the second input terminal of the sixth multiplier MUL_6 j The output end of is connected to the j-th input end of the seventh adder ADD_7; an output end of the seventh adder ADD_7 connected to a first input end of the eighth multiplier MUL_8, a second input end of the eighth multiplier MUL_8 being used to input the second positive gain, and an output end of the eighth multiplier MUL_8 being connected to a second input end of the sixth adder ADD_6; The input end of the second differentiator ND_2 is used to input the current voltage of the target microgrid subsystem, and the output end is connected to the third input end of the sixth adder ADD_6; The fourth input terminal of the sixth adder ADD_6 is used to input the predicted value of the secondary controller voltage network communication attack; The output end of the sixth adder ADD_6 is connected to the input end of the second integrator IF_2, and the output end of the second integrator IF_2 outputs the multi-agent secondary controller voltage of the target microgrid subsystem in the current cycle.
8. The chip network communication attack defense system for a microgrid system according to claim 5, characterized in that: The multi-agent average current calculation module includes N-1 sixth subtractor groups SUB_6 1,2,…,N-1 , 1 seventh subtractor SUB_7, 1 eighth adder ADD_8, 1 ninth adder ADD_9, N-1 ninth multipliers MUL_9 1,2,…,N-1 , a tenth multiplier MUL_10, an eleventh multiplier MUL_11, a third differentiator ND_3, a third integrator IF_3 and a third zero-order holder ZOH_3, each sixth subtractor group includes three sixth subtractors; The non-inverting input terminal of the seventh subtractor SUB_7 is used to input the current current of the target microgrid subsystem, and the inverting input terminal is connected to the third zero-order holder ZOH_3, and the third zero-order holder ZOH_3 is used to store the average current of the multi-agent in the previous cycle; The output end of the seventh subtractor SUB_7 is connected to the first input end of the tenth multiplier MUL_10, the second input end of the tenth multiplier MUL_10 is used to input the first positive gain, and the output end of the tenth multiplier MUL_10 is connected to the first input end of the eighth adder ADD_8; Sixth subtractor group SUB_6 j The non-inverting input terminal of the first sixth subtractor is used to input the multi-agent average current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the third zero-order holder ZOH_3; The sixth subtractor group SUB_6 j The output of the first sixth subtractor is combined with the output of the ninth multiplier MUL_9 j The first input terminal of the ninth multiplier MUL_9 is connected to j The second input terminal is used for inputting the first positive gain; Sixth subtractor group SUB_6 j The non-inverting input terminal of the second sixth subtractor is used to input the current 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 terminal is used to input the current of the multi-agent secondary controller of the target microgrid subsystem in the previous cycle; Second subtractor group SUB_2 j The non-inverting input of the third sixth subtractor is connected to the ninth multiplier MUL_9 j The output terminal is connected to the inverting input terminal of the sixth subtractor group SUB_6 j The output of the second sixth subtractor in the sixth subtractor group SUB_6 is connected j The output terminal of the third sixth subtractor in is connected to the j-th input terminal of the ninth adder ADD_9; The output end of the ninth adder ADD_9 is connected to the first input end of the eleventh multiplier MUL_11, the second input end of the eleventh multiplier MUL_11 is used to input the second positive gain, and the output end of the eleventh multiplier MUL_11 is connected to the second input end of the eighth adder ADD_8; The input end of the third differentiator ND_3 is used to input the current current of the target microgrid subsystem, and the output end is connected to the third input end of the eighth adder ADD_8; The fourth input terminal of the ninth adder ADD_9 is used to input the predicted value of the average current network communication attack; The output end of the ninth adder ADD_9 is connected to the input end of the third integrator IF_3, and the output end of the third integrator IF_3 outputs the multi-agent average current of the target microgrid subsystem in the current cycle.
9. The chip network communication attack defense system for a microgrid system according to claim 8, characterized in that: The multi-agent secondary controller current calculation module includes N-1 eighth subtractor groups 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 , an eleventh adder ADD_11, a twelfth adder ADD_12, a ninth subtractor SUB_9, a thirteenth multiplier MUL_13, a fourteenth multiplier MUL_14, a fourth differentiator ND_4, a fourth integrator IF_4 and a fourth zero-order holder ZOH_4, each eighth subtractor group including two eighth subtractors; The non-inverting input terminal of the ninth subtractor SUB_9 is used to input the current current of the target microgrid subsystem, and the inverting input terminal is connected to the fourth zero-order holder ZOH_4, and the fourth zero-order holder ZOH_4 is used to store the current of the multi-agent secondary controller in the previous cycle; The output end of the ninth subtractor SUB_9 is connected to the first input end of the thirteenth multiplier MUL_13, the second input end of the thirteenth multiplier MUL_13 is used to input the first positive gain, and the output end of the thirteenth multiplier MUL_13 is connected to the first input end of the eleventh adder ADD_11; Eighth subtractor group SUB_8 j The non-inverting input terminal of the first eighth subtractor is used to input the multi-agent average current of the j-th microgrid subsystem in the other microgrid subsystems in the previous cycle, and the inverting input terminal is connected to the third zero-order holder ZOH_3 for inputting the multi-agent average current of the previous cycle; Eighth subtractor group SUB_8 j The non-inverting input terminal of the second eighth subtractor is used to input the current 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 terminal is connected to the fourth zero-order holder ZOH_4; The eighth subtractor group SUB_8 j The output of the second eighth subtractor is combined with the output of the twelfth multiplier MUL_12 j The first input terminal of the twelfth multiplier MUL_12 is connected to j The second input terminal is used for inputting the first positive gain; Tenth adder ADD_10 j The first input terminal of the eighth subtractor group SUB_8 j The first output terminal of the eighth subtractor is connected to the second input terminal of the twelfth multiplier MUL_12 j The output end of is connected to the j-th input end of the twelfth adder ADD_12; an output end of the twelfth adder ADD_12 connected to a first input end of the fourteenth multiplier MUL_14, a second input end of the fourteenth multiplier MUL_14 being used to input the second positive gain, and an output end of the fourteenth multiplier MUL_14 connected to a second input end of the eleventh adder ADD_11; The input end of the fourth differentiator ND_4 is used to input the current current of the target microgrid subsystem, and the output end is connected to the third input end of the eleventh adder ADD_11; The fourth input terminal of the eleventh adder ADD_11 is used to input the predicted value of the secondary controller current network communication attack; The output end of the eleventh adder ADD_11 is connected to the input end of the fourth integrator IF_4, and the output end of the fourth integrator IF_4 outputs the multi-agent secondary controller current of the target microgrid subsystem in the current cycle.
10. The chip network communication attack defense system for a microgrid system according to claim 5, characterized in that: 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; The non-inverting input terminal of the tenth subtractor SUB_10 is used to input the nominal voltage value, and the inverting input terminal is used to input the multi-agent average voltage of the target microgrid subsystem in the current cycle; an output end of the tenth subtractor SUB_10 is connected to an input end of the fifth integrator IF_5, an output end of the fifth integrator IF_5 is connected to a first input end of the fifteenth multiplier MUL_15, a second input end of the fifteenth multiplier MUL_15 is used to input a first integral gain parameter, and an output end of the fifteenth multiplier MUL_15 is connected to a first input end of the thirteenth adder ADD_13; The output end of the tenth subtractor SUB_10 is also connected to the first input end of the sixteenth multiplier MUL_16, the second input end of the sixteenth multiplier MUL_16 is used to input the first proportional gain parameter, and the output end of the sixteenth multiplier MUL_16 is connected to the second input end of the thirteenth adder ADD_13; The output terminal of the thirteenth adder ADD_13 outputs the voltage correction value.
11. The chip network communication attack defense system for a microgrid system according to claim 5, characterized in that: 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; The non-inverting input terminal of the eleventh subtractor SUB_11 is used to input the current current value of the target microgrid subsystem, and the inverting input terminal is used to input the multi-agent average current of the target microgrid subsystem in the current cycle; an output end of the eleventh subtractor SUB_11 is connected to an input end of the sixth integrator IF_6, an output end of the sixth integrator IF_6 is connected to a first input end of the seventeenth multiplier MUL_17, a second input end of the seventeenth multiplier MUL_17 is used to input a second integral gain parameter, and an output end of the seventeenth multiplier MUL_17 is connected to a first input end of the fourteenth adder ADD_14; The output end of the eleventh subtractor SUB_11 is also connected to the first input end of the eighteenth multiplier MUL_18, the second input end of the eighteenth multiplier MUL_18 is used to input the second proportional gain parameter, and the output end of the eighteenth multiplier MUL_18 is connected to the second input end of the fourteenth adder ADD_14; The output terminal of the fourteenth adder ADD_14 outputs the current correction value.
12. The chip network communication attack defense system for a microgrid system according to claim 5, characterized in that: 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 、2 seventh integrators IF_7 1,2 , 2 symbolic function units F 1,2 , 2 absolute value units ABS 1,2 and PWM module; A first input terminal of the nineteenth multiplier MUL_191 is used to input the current current of the target microgrid subsystem, a second input terminal is used to input the impedance value of the target microgrid subsystem, and an output terminal is connected to the non-inverting input terminal of the twelfth subtracter SUB_121; The inverting input terminal of the twelfth subtractor SUB_121 is used to input the nominal voltage value of the microgrid system, and the output terminal is connected to the first input terminal of the fifteenth adder ADD_151; The two input terminals of the fifteenth adder ADD_152 are respectively used to input the voltage correction value and the voltage correction value, and the output terminal is connected to the second input terminal of the fifteenth adder ADD_151; The output end of the fifteenth adder ADD_151 is connected to the non-inverting input end of the twelfth subtractor SUB_122, the inverting input end of the twelfth subtractor SUB_122 is used to input the current voltage of the target microgrid subsystem, and the output end of the twelfth subtractor SUB_122 is connected to the non-inverting input end of the twelfth subtractor SUB_123; The inverting input terminal of the twelfth subtractor SUB_123 is used to input the predicted value of the secondary controller voltage network communication attack, and the output terminal is connected to the non-inverting input terminal of the twelfth subtractor SUB_124; An inverting input terminal of the twelfth subtractor SUB_124 is used to input the predicted value of the average voltage network communication attack, an output terminal of the twelfth subtractor SUB_124 is connected to a first input terminal of a nineteenth multiplier MUL_192, a second input terminal of the nineteenth multiplier MUL_192 is used to input a first gain parameter, an output terminal of the nineteenth multiplier MUL_192 is connected to an input terminal of an absolute value unit ABS1, an output terminal of the absolute value unit ABS1 is connected to a first input terminal of a nineteenth multiplier MUL_193, a second input terminal of the nineteenth multiplier MUL_193 is used to input a second gain parameter, and an output terminal of the nineteenth multiplier MUL_193 is connected to a first input terminal of a nineteenth multiplier MUL_194; The output end of the twelfth subtractor SUB_124 is also connected to the input end of the sign function unit F1, and the output end of the sign function unit F1 is connected to the second input end of the nineteenth multiplier MUL_194; The output terminal of the nineteenth multiplier MUL_194 is connected to the first input terminal of the fifteenth adder ADD_153; The output end of the sign function unit F1 is also connected to the input end of the seventh integrator IF_71, the output end of the seventh integrator IF_71 is connected to the first input end of the nineteenth multiplier MUL_195, the second input end of the nineteenth multiplier MUL_195 is used to input the third gain parameter, and the output end of the nineteenth multiplier MUL_195 is connected to the second input end of the fifteenth adder ADD_153; The output end of the fifteenth adder ADD_153 is connected to the non-inverting input end of the twelfth subtractor SUB_125, the inverting input end of the twelfth subtractor SUB_125 is used to input the current current of the target microgrid subsystem, and the output end of the twelfth subtractor SUB_125 is connected to the inverting input end of the twelfth subtractor SUB_126; The two input terminals of the fifteenth adder ADD_154 are respectively 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, and the output terminal of the fifteenth adder ADD_154 is connected to the non-inverting input terminal of the twelfth subtractor SUB_126; An output end of the twelfth subtractor SUB_126 is connected to a first input end of a nineteenth multiplier MUL_196, a second input end of the nineteenth multiplier MUL_196 is used to input a fourth gain parameter, an output end of the nineteenth multiplier MUL_196 is connected to an input end of an absolute value unit ABS2, an output end of the absolute value unit ABS2 is connected to a first input end of a nineteenth multiplier MUL_197, a second input end of the nineteenth multiplier MUL_197 is used to input a fifth gain parameter, and an output end of the nineteenth multiplier MUL_197 is connected to a first input end of a nineteenth multiplier MUL_198; The output end of the twelfth subtractor SUB_126 is also connected to the input end of the sign function unit F2, and the output end of the sign function unit F2 is connected to the second input end of the nineteenth multiplier MUL_198; The output terminal of the nineteenth multiplier MUL_198 is connected to the first input terminal of the fifteenth adder ADD_155; The output end of the sign function unit F2 is also connected to the input end of the seventh integrator IF_72, the output end of the seventh integrator IF_72 is connected to the first input end of the nineteenth multiplier MUL_199, the second input end of the nineteenth multiplier MUL_199 is used to input the sixth gain parameter, and the output end of the nineteenth multiplier MUL_199 is connected to the second input end of the fifteenth adder ADD_155; The output end of the fifteenth adder ADD_155 is connected to the input end of the PWM module; The output end of the PWM module outputs the control signal.
13. The chip network communication attack defense system for a microgrid system according to claim 12, characterized in that: The control signal output by the PWM module adjusts the load and output state of the generator of the target microgrid subsystem.
Citation Information
Patent Citations
Completely distributed island micro-grid attack elasticity control system and method
CN116886360A
Visual analysis system and method for electric power big data
CN117114449A
Information risk assessment method suitable for power distribution network security defense
CN117544366A
Distribution network terminal attack consequence prediction and grading method
CN117834199A
Microgrid distributed control method and system based on multiple processes
CN119093515A