A dynamic electromagnetic protection method and system for an industrial computer
By using sensor arrays and machine learning algorithms to monitor the electromagnetic signals of the industrial control computer in real time and dynamically switch communication lines, the problem of being unable to predictively switch before electromagnetic shocks arrives is solved, thus achieving stability and anti-interference capability of the industrial control computer's communication link.
Patent Information
- Application Number
- CN202611352213.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technology cannot predictively switch communication lines before an electromagnetic shock arrives, leading to interruptions in control command transmission and causing production line shutdowns.
The system collects electromagnetic signals from the industrial control computer in real time using a sensor array, performs time-frequency domain conversion, extracts frequency change information and amplitude peak values, uses a support vector machine algorithm to classify interference precursor features, combines a multilayer perceptron model to predict electromagnetic shock intensity, and dynamically switches to a physically isolated communication link.
It achieves dynamic characterization of electromagnetic interference precursors, solves the problem of disconnect between perception and early warning and underlying hardware actions, and realizes differentiated protection based on physical link status to adapt to electromagnetic shocks of different intensities.
Smart Images

Figure CN123185051A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electromagnetic protection technology for industrial control computers, and in particular to a dynamic electromagnetic protection method and system for industrial control computers. Background Technology
[0002] Industrial control systems are the nerve center of modern manufacturing and production, and the absolute stability of their communication links is crucial for ensuring industrial safety. In the field of pre-diagnosis and health management of industrial control computers, real-time monitoring and fault prediction of the electromagnetic environment of communication links have become core technical means to ensure system reliability.
[0003] In complex industrial environments with dense equipment and harsh conditions, industrial control computers are constantly threatened by various sudden electromagnetic interferences. Current electromagnetic protection methods primarily focus on post-incident software algorithm compensation or communication protocol retransmission, with protective measures mainly limited to the data processing level. However, in scenarios involving sudden bursts of high-intensity physical electromagnetic shocks, the lack of substantial physical isolation means that these post-incident compensation methods cannot predictively switch communication lines before the electromagnetic shock reaches them, leading to interruptions in control command transmission and directly causing production line shutdowns.
[0004] In summary, existing technologies have the problem of being unable to predictively switch communication lines before an electromagnetic shock arrives. Summary of the Invention
[0005] This invention provides a dynamic electromagnetic protection method and system for industrial control computers to solve the problem of being unable to predictively switch communication lines before electromagnetic shocks arrive.
[0006] Firstly, in order to solve the above-mentioned technical problems, the present invention provides a dynamic electromagnetic protection method for industrial control computers, comprising: The real-time electromagnetic signals from the industrial control computer's peripherals are acquired and converted into the time-frequency domain to obtain a frequency domain feature sequence. The frequency abrupt change information and amplitude peak value of the frequency domain feature sequence are extracted and concatenated into an initial feature matrix. The initial feature matrix is classified using a support vector machine algorithm. If the classification result is interference precursor class, the initial feature matrix is determined as interference precursor feature vector. The interference precursor feature vector is regressed and predicted to obtain a predicted electromagnetic shock intensity sequence. If the maximum value of the predicted electromagnetic shock intensity sequence is greater than a preset interference intensity threshold, the interference precursor feature vector is encapsulated into an instruction to obtain a hardware switching instruction. The hardware switching instruction is then prioritized to obtain the instruction execution priority. According to the execution priority of the instruction, the hardware switching instruction is issued to disconnect the ordinary communication line, the signal attenuation caused by the disconnection of the ordinary communication line is obtained, the backup cable loop is matched and closed according to the signal attenuation, a physically isolated communication link is obtained, the industrial control computer control instruction to be transmitted is obtained, and the industrial control computer control instruction is transmitted through the physically isolated communication link.
[0007] Secondly, the present invention provides a dynamic electromagnetic protection system for an industrial control computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements a dynamic electromagnetic protection method for an industrial control computer as described above.
[0008] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a dynamic electromagnetic protection method for an industrial control computer as described above.
[0009] Compared with the prior art, the present invention has the following beneficial effects: (1) This invention collects environmental electromagnetic signals in real time through a sensor array and extracts frequency domain features by performing fast Fourier transform. It also extracts frequency change information and amplitude peak value, and constructs interference precursor feature vectors by classifying and screening interference precursor samples through support vector machine. This realizes the dynamic and static joint characterization of electromagnetic interference precursors and solves the problem of precursor identification lag caused by existing electromagnetic monitoring methods that rely only on a single threshold or time domain feature.
[0010] (2) This invention uses a multi-layer perceptron model to regress the feature vector of interference precursors to predict the electromagnetic shock intensity sequence of future multiple cycles, and directly converts the prediction results into hardware switching instructions with timing constraints, thus opening up a closed-loop link from spectrum perception to physical layer control and solving the problem of disconnect between perception warning and underlying hardware action.
[0011] (3) This invention dynamically matches the backup cable loop corresponding to the anti-interference level by collecting the signal attenuation amplitude at the moment the solid-state switching switch disconnects the line, thereby realizing a differentiated protection strategy based on the physical link status and solving the problem that fixed backup lines cannot adapt to electromagnetic shocks of different intensities. Attached Figure Description
[0012] Figure 1 This is a flowchart illustrating a dynamic electromagnetic protection method for an industrial control computer, provided as an embodiment of the present invention. Detailed Implementation
[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0014] Reference Figure 1 The first embodiment of the present invention provides a dynamic electromagnetic protection method for industrial control computers, comprising the following steps: S11, acquire real-time electromagnetic signals from the industrial control computer's periphery and perform time-frequency domain conversion to obtain a frequency domain feature sequence, extract the frequency change information and amplitude peak value of the frequency domain feature sequence, and splice them into an initial feature matrix; S12, the initial feature matrix is classified using the support vector machine algorithm. If the classification result is a disturbance precursor class, the initial feature matrix is determined as the disturbance precursor feature vector. S13, perform regression prediction on the interference precursor feature vector to obtain a predicted electromagnetic shock intensity sequence. If the maximum value of the predicted electromagnetic shock intensity sequence is greater than a preset interference intensity threshold, encapsulate the interference precursor feature vector into an instruction to obtain a hardware switching instruction. Calculate the priority of the hardware switching instruction to obtain the instruction execution priority. S14, according to the execution priority of the instruction, issue the hardware switching instruction to disconnect the ordinary communication line, obtain the signal attenuation amplitude caused by the disconnection of the ordinary communication line, match and close the backup cable loop according to the signal attenuation amplitude to obtain the physical isolation communication link, obtain the industrial control computer control instruction to be transmitted, and transmit the industrial control computer control instruction through the physical isolation communication link.
[0015] It should be noted that the physical basis for the predictive switching described in this method is not to compete with the propagation speed of electromagnetic waves, but rather based on the detectable precursor stages in the physical evolution of industrial electromagnetic interference events. In typical industrial control interference scenarios such as arc discharge, switching operations, and inverter startup, there is a development process of hundreds of microseconds to milliseconds between the initial discharge of the interference source and the full coupling of energy to the communication line. During this process, the electromagnetic radiation spectrum of the interference source exhibits a temporal characteristic of evolution from high-frequency abrupt changes to broadband energy dissipation. The frequency abrupt changes and amplitude peaks in the frequency domain feature sequence are the early spectral representations of this evolution process. This method distinguishes the aforementioned precursor features from normal environmental signals through support vector machine classification, and maps the precursor features to a future impact intensity sequence through multilayer perceptron regression prediction, completing the physical switching of the communication line before the interference energy reaches the destructive threshold.
[0016] In step S11, real-time electromagnetic signals from the industrial control computer's peripherals are acquired and converted to the time-frequency domain to obtain a frequency domain feature sequence. The frequency abrupt change information and amplitude peak values of the frequency domain feature sequence are extracted and concatenated into an initial feature matrix, including: The real-time electromagnetic signals acquired by the sensor array are resampled to obtain a sampled signal sequence; The sampled signal sequence is denoised, smoothed, and truncated within a target time window to obtain the truncated electromagnetic signal; The intercepted electromagnetic signal is subjected to a fast Fourier transform to obtain a frequency domain feature sequence.
[0017] It should be noted that the sensor array deployed around the industrial control computer consists of multiple broadband electromagnetic field probes, covering a frequency range of 10kHz to 6GHz. These probes are distributed around the industrial control computer cabinet to acquire electromagnetic signals from multiple directions in space. Each probe continuously collects environmental electromagnetic signals at a preset sampling rate. To reduce the computational overhead of subsequent frequency domain transformation, a polyphase filtering resampling algorithm is used to decimate the original high-sampling-rate signal. Specifically, an analog signal with an original sampling rate of 500MHz is converted from analog to digital and then decimated and anti-aliasing filtered using the polyphase filtering resampling algorithm, resulting in a sampled signal sequence with a sampling rate of 100MHz. The preset resampling rate is determined based on the Nyquist sampling theorem and must be greater than twice the highest frequency component of interest. For scenarios where common electromagnetic interference frequencies in industrial control environments are concentrated in the 10kHz to 50MHz range, a sampling rate of 100MHz can reduce the data volume to 20% of the original data volume while retaining effective spectral information, significantly reducing the processing pressure on the subsequent fast Fourier transform calculation unit.
[0018] Specifically, the resampled signal sequence contains environmental background noise and requires quality assessment and preprocessing. The signal-to-noise ratio (SNR) of the current sampled signal sequence is calculated and compared to a preset noise threshold. The preset noise threshold is 15 dB, determined based on measured statistical analysis of electromagnetic background noise in industrial control workshops. In typical industrial workshops, the SNR of electromagnetic background noise under no-load conditions is usually between 18 dB and 25 dB. Setting the threshold to 15 dB effectively identifies high-noise periods while preserving weak signals. If the SNR is below 15 dB, it indicates excessive environmental noise. A wavelet thresholding denoising algorithm is then used to perform multi-scale decomposition of the sampled signal sequence. The noisy input sequence is decomposed into 5 levels using a dB4 wavelet basis function. A soft thresholding function is applied to the detail coefficients at each level to remove high-frequency noise coefficients before reconstruction, resulting in an output signal sequence with improved SNR. This smoothing process can improve the signal-to-noise ratio by 5 dB to 12 dB, preventing weak, real electromagnetic features from being drowned out by background noise. If the signal-to-noise ratio is not less than 15dB, skip the denoising step and proceed directly to the subsequent processing.
[0019] It should be noted that after denoising, the target time window can be truncated. The signal sequence is scanned using a dual-threshold energy detection algorithm. The preset high energy detection threshold is 3 times the average energy of the signal sequence, and the preset low energy detection threshold is 1.5 times the average energy of the signal sequence. When three consecutive sampling points of signal energy exceed the high threshold, the sampling point that first exceeds the high threshold is locked as the pulse arrival time, and the pulse arrival time is taken as the center point of the window. If the signal energy only exceeds the low threshold but does not reach the high threshold, monitoring continues until the high threshold condition is met or the signal energy falls back below the low threshold. After determining the center point of the window, the window is extended forward by 500 sampling points and backward by 500 sampling points, constructing a target time window with a length of 1001 sampling points. The window length of 1001 sampling points was set based on statistical analysis of the duration of typical electromagnetic interference pulses. In industrial control environments, the full width at half maximum (FWHM) of electromagnetic interference pulses is typically 5μs to 20μs, corresponding to 500 to 2000 sampling points at a 100MHz sampling rate. 1001 sampling points can completely cover the complete pulse waveform of most interference events. A Hamming window function was applied within this window for truncation. The Hamming window has a sidelobe suppression ratio of 43dB, which effectively suppresses spectral leakage at the truncation edge, resulting in the truncated electromagnetic signal.
[0020] It should be noted that a Fast Fourier Transform (FFT) is performed on the intercepted electromagnetic signal to map the time-domain waveform to a frequency-domain representation. The FFT uses a radix-2 decimation-time algorithm, with 1001 transform points (the same as the window length). If insufficient, zeros are padded to powers of 2, resulting in 1024 points. The input is a time-domain sequence of 1001 sample points. The amplitude and phase spectra of each frequency component are calculated, outputting a frequency-domain feature sequence of length 512. Each frequency point corresponds to a frequency resolution of approximately 97.66 kHz (100 MHz / 1024 ≈ 90 MHz). Each element F in the frequency-domain feature sequence... i Includes amplitude value A i and phase value φ i That is, F i =(A i ,φ i ), where A i = , φ i =arctan(Im i / Re i ), Re i and Im i These are the real and imaginary parts of the i-th frequency point output by the Fast Fourier Transform, respectively. The frequency domain feature sequence reveals the spectral structure of the electromagnetic signal, accurately reflecting the carrier frequency distribution, bandwidth range, and energy distribution characteristics of each frequency band, providing a highly discriminative frequency domain data foundation for subsequent interference precursor identification.
[0021] In one implementation, extracting the frequency abrupt change information and amplitude peak value of the frequency domain feature sequence includes: Perform first-order difference calculation on the frequency domain feature sequence to obtain the frequency point energy difference sequence; Extract the frequency point location index and difference amplitude from the frequency point energy difference sequence that are greater than a preset mutation threshold to form frequency mutation information; A local extremum search is performed on the frequency domain feature sequence, and the amplitude values of the top preset number of extremum points are selected and determined as the amplitude peak values.
[0022] Specifically, the amplitude spectrum of the frequency domain feature sequence reflects the energy distribution at each frequency point, and drastic changes in energy between adjacent frequency points are a typical dynamic characteristic of impending electromagnetic interference. The amplitude value Ai of each element Fi in the frequency domain feature sequence is extracted to construct the amplitude sequence A = A0, A1, ..., A 511 Perform first-order difference calculation on the amplitude sequence, iterating through adjacent frequency points i and i+1, and calculate ΔA sequentially. i =A i+1 -A i It outputs a frequency point energy difference sequence with a length of 511. The computational complexity of the first-order difference calculation is O(N), which can be completed in real time on an embedded industrial control processor.
[0023] It should be noted that, when traversing the frequency point energy difference sequence, the absolute value of each difference |ΔA i The threshold is compared with a preset mutation threshold. The preset mutation threshold is set to 20, which is determined based on the following criteria: Statistical analysis of common interference types in industrial control workshops is performed, and 200 samples of each of three typical electromagnetic interference events—arc discharge, switching operation, and inverter startup—are collected. The statistical distribution of the first-order difference in the frequency domain is calculated for each sample. The median absolute values of the differences corresponding to the three types of interference are 18.3, 22.7, and 19.1, respectively. The integer closest to their mean, 20, is taken as the general mutation threshold. When |ΔAi|>20, the frequency point location index i and the difference amplitude ΔAi corresponding to this difference are extracted as a mutation record. After traversal, all mutation records are sorted in ascending order by frequency point index to form frequency mutation information. The number of elements contained therein depends on the number of mutation frequency points in the actual electromagnetic environment, and in typical interference scenarios, it usually contains 3 to 8 mutation frequency points.
[0024] Specifically, for the amplitude sequence A = A0, A1, ..., A of the frequency domain feature sequence 511 Perform a local extremum search. Scan from A1 to A510. For any frequency point i, if A510 satisfies... i >A i-1 And A i >A i+1 If frequency point i is determined to be a local maximum, then the corresponding amplitude value A is set.i Add to the candidate extreme point set. The preset selection quantity is 3. Sort the candidate extreme points in descending order of amplitude value, and select the top 3 extreme points whose amplitude values are determined as the peak amplitude. The rationale for selecting the top 3 extreme points is that in the typical electromagnetic interference spectrum of an industrial control environment, the peak values of concentrated energy distribution usually do not exceed 3 main peaks; taking the top 3 extreme values is sufficient to fully characterize the main features of the frequency domain static energy distribution.
[0025] It should be noted that the frequency mutation information, including the frequency point location index and the difference amplitude, along with the extreme point amplitude values of the amplitude peaks, describes the frequency domain characteristics from both dynamic and static dimensions. First, the frequency mutation information is encoded, extracting the difference amplitude values of all mutation records and arranging them in frequency point index order. If the number of mutation records is less than three, zero values are used to fill the three dimensions. Then, the three amplitude peak values are appended to the difference amplitude data to construct an initial feature matrix of dimension 6. If there are more than three actual mutation records in the frequency mutation information, the three records with the largest absolute difference amplitude values are selected for concatenation.
[0026] It should be noted that the original composition of frequency mutation information includes two parts: frequency point location index and difference magnitude. When constructing the initial feature matrix, only the difference magnitude value is extracted for concatenation, and the frequency point location index is only used for sorting to ensure that the mutation information is arranged in ascending order of frequency bands. The difference magnitude value itself retains the quantitative information of the mutation intensity at each frequency point. The radial basis function kernel function of the support vector machine algorithm can implicitly learn the distribution characteristics of mutations in the spectrum based on the combination patterns between dimensions by mapping low-dimensional features to a high-dimensional space. Therefore, explicitly retaining the location index will not significantly improve classification performance.
[0027] It should be noted that the original frequency mutation information consists of two parts: the frequency point location index and the difference magnitude. When constructing the initial feature matrix, only the difference magnitude is extracted for concatenation, and the frequency point location index is only used for sorting to ensure that the mutation information is arranged in ascending order of frequency bands. The difference magnitude itself retains the quantitative information of the mutation intensity at each frequency point. The radial basis function (RBF) of the support vector machine algorithm, by mapping low-dimensional features to a high-dimensional space, can implicitly learn the distribution characteristics of mutations in the spectrum based on the combination patterns between dimensions. Therefore, explicitly retaining the location index does not significantly improve classification performance.
[0028] In step S12, the initial feature matrix is classified using a support vector machine algorithm. If the classification result is a precursor to interference, the initial feature matrix is determined as a precursor to interference feature vector, including: The frequency abrupt change information and the amplitude peak value are concatenated in one dimension to construct an initial feature matrix; The initial feature matrix is mapped to a high-dimensional space using a radial basis kernel function to obtain a high-dimensional mapping matrix; The high-dimensional mapping matrix is classified using a hyperplane based on a preset classification decision boundary to obtain the feature vector of interference precursors.
[0029] Specifically, the Support Vector Machine (SVM) algorithm uses the Radial Basis Function (RBF) kernel to map low-dimensional input data to a high-dimensional feature space. The rationale for choosing the RBF kernel is that, compared to linear kernels, it can handle linearly inseparable classification problems with low feature dimensions; and compared to multinomial kernels, it only requires adjusting one hyperparameter, γ, and is insensitive to feature scaling. The expression for the RBF kernel is K(x, x...). i )=exp(-γ||xx i || 2 ), where γ is the kernel width parameter, controlling the influence range of a single training sample. A larger γ value results in a more complex decision boundary; a smaller γ value results in a smoother decision boundary. The preset γ value is 0.125, set based on the optimal parameters obtained through grid search cross-validation of the feature distribution of the training samples. The search range is 0.01, 0.05, 0.1, 0.125, 0.2, 0.5, 1.0. Five-fold cross-validation results show that the validation set classification accuracy is highest at γ=0.125, reaching 94.2%. When γ=0.05, the model is underfitting, with validation accuracy below 88%; when γ>0.5, the model is overfitting, with training accuracy approaching 100% but validation accuracy dropping below 90%.
[0030] An initial feature matrix of dimension 6 is input into the kernel function. Using the support vector set constructed during the pre-set training phase as support points, the kernel function values between the current input sample and each support vector are calculated to obtain a high-dimensional mapping matrix. The support vector set is constructed by collecting 1200 sets of electromagnetic signal samples with known labels during the model training phase, including 600 sets of normal environment samples and 600 sets of interference precursor samples. All 1200 sets of samples are randomly shuffled and divided into training and test sets at a ratio of 60% to 40%. Five-fold cross-validation is used to search for the hyperparameter γ on the training set. After selecting the optimal γ, the final model is retrained on the full training set. The classification accuracy and false alarm rate are evaluated on the test set. The training uses a sequential minimum optimization algorithm, decomposing the original quadratic programming problem into the smallest subproblems for iterative solution. Each time, the two Lagrange multipliers that most severely violate the Kuhn-Tucker condition are selected for optimization until all multipliers satisfy the convergence condition. The convergence condition is set to a duality gap of less than 10. -6 The maximum number of iterations can reach 5000. After training, samples with Lagrange multipliers greater than zero are selected as support vectors. In 1200 sets of samples, the number of support vectors accounts for approximately 40% to 55% of the total number of samples. During online inference, only the kernel function values between the input samples and the support vectors need to be calculated and weighted, and the number of kernel function calculations in a single inference is equal to the number of support vectors.
[0031] The high-dimensional mapping matrix is classified using a hyperplane based on a preset classification decision boundary to obtain the classification result.
[0032] It should be noted that in the high-dimensional feature space, a pre-defined classification decision boundary divides the space into two regions: a disturbance precursor class and a non-disturbance precursor class. The high-dimensional mapping matrix is then input into the classification decision function f(x) = Σα. i ·y i ·K(x i ,x)+b, where α i For the Lagrange multipliers of support vectors, y i For the class labels of the support vectors, K(x) i Let f(x) be the kernel function value and b be the bias term. Calculate the value of f(x). If f(x) > 0, the current sample is determined to belong to the interference precursor class; if f(x) ≤ 0, it is determined to belong to the normal environment class, and the classification result is output. The classification accuracy on the test set is not less than 93.5%, and the false alarm rate is not higher than 6.5%. When the classification result is the interference precursor class, the initial feature matrix is determined as the interference precursor feature vector, and the subsequent multilayer perceptron regression prediction step is entered. When the classification result is the normal environment class, return to step S11 to continue collecting the next frame of electromagnetic signals.
[0033] In step S13, the interference precursor feature vector is regressed and predicted to obtain a predicted electromagnetic shock intensity sequence. If the maximum value of the predicted electromagnetic shock intensity sequence is greater than a preset interference intensity threshold, the interference precursor feature vector is encapsulated into an instruction to obtain a hardware switching instruction. The hardware switching instruction is then prioritized to obtain the instruction execution priority.
[0034] In one implementation, regression prediction of the interference precursor feature vector yields a predicted electromagnetic shock intensity sequence, including: The interference precursor feature vector is obtained by weighting and nonlinearly activating the first hidden layer of the preset multilayer perceptron model. The intermediate feature vector is transformed layer by layer by subsequent hidden layers, and the initial impact intensity sequence is obtained by regression mapping of the output layer. The initial shock intensity sequence is filtered by moving average to obtain the predicted electromagnetic shock intensity sequence.
[0035] It should be noted that the multilayer perceptron model employs a dual-hidden-layer structure to learn the nonlinear mapping relationship between interference precursor features and the intensity of future electromagnetic shocks. The input layer receives interference precursor feature vectors with a dimension of 6. The first hidden layer contains 64 neurons, each fully connected to the input layer, and the output of the j-th neuron is h. j 1 =ReLU(W j 1 ·x+b j 1 ), where W j 1 b is the weight vector of the first hidden layer. j 1 The bias term is ReLU(·), which is a linear rectified activation function, i.e., ReLU(z) = max(0,z). The first hidden layer contains a total of 6 × 64 + 64 = 448 trainable parameters. The choice of 64 neurons is based on the following criteria: comparative experiments were conducted with the number of hidden layer neurons set to 16, 32, 64, 96, and 128 respectively. Under the condition of a training set size of 800 samples, 64 neurons achieved the optimal balance between regression mean squared error and model generalization ability. Further increasing the number of neurons no longer significantly reduced the error, but the training time increased linearly. After completing the weighted summation and activation of the first hidden layer, the output is an intermediate feature vector with a dimension of 64.
[0036] Specifically, the second hidden layer contains 32 neurons, receiving a 64-dimensional intermediate feature vector as input. Each neuron performs a weighted summation of the intermediate feature vector and applies the ReLU activation function for non-linear transformation, outputting a 32-dimensional deep feature representation. The second hidden layer contains 64×32+32=2080 trainable parameters. The network employs a pyramidal structure design with layer-by-layer dimensionality reduction, progressively compressing from 64 dimensions to 32 dimensions to extract the core abstract features required for electromagnetic shock intensity prediction, reducing information redundancy while suppressing the risk of overfitting. The output layer contains 200 neurons and does not use an activation function. It receives a 32-dimensional deep feature representation and performs a fully connected regression mapping, outputting an initial shock intensity sequence with a 200-dimensional output. Each of the 200 neurons in the output layer has independent weight parameters. Each neuron corresponds to the predicted electromagnetic shock intensity value for a specific future sampling period. The k-th element in the sequence represents the predicted electromagnetic shock intensity value at the k-th sampling period, i.e., the k×10μs time, in V / m. This fully connected regression structure can independently infer intensity values at different future times from the same deep feature representation, with implicit correlations between predictions at different times through shared deep feature representations. The linear activation output is chosen instead of ReLU because electromagnetic shock intensity values are physically continuous positive real numbers, and linear output can fully preserve numerical range and gradient information. A prediction step size of 200 corresponds to a total prediction horizon of 2ms, covering the entire chain latency from feature extraction and model inference to solid-state switching execution. The overall network structure is 6-64-32-200, with a total number of trainable parameters of 448 + 2080 + 32 × 200 + 200 = 9128.
[0037] It should be noted that the training of the multilayer perceptron model was completed offline on the industrial control computer. To prevent overfitting, an L2 regularization strategy was adopted during training, with the regularization coefficient preset to 0.0001. An early stopping strategy was also employed, terminating training when the mean square error of the validation set did not decrease for 10 consecutive rounds. The training dataset was constructed by deploying electromagnetic field probes in the industrial control workshop to continuously collect electromagnetic signals, recording electromagnetic field strength data within consecutive sampling periods at 10μs intervals. A 6-dimensional frequency domain feature vector was obtained by performing frequency domain feature extraction on the electromagnetic signal of each sampling period, serving as the model input. The field strength data of the next 200 sampling periods were used as regression labels. The binary classification labels used for SVM classification were determined according to the following annotation protocol: the arrival time of an electromagnetic shock event was defined as T0, the moment when the field strength first exceeded the preset interference intensity threshold of 75V / m; sampling frames within the time window from 500μs to 100μs before T0 were labeled as interference precursors; and sampling frames more than 10ms before any shock event were labeled as normal environment. The field strength data for the MLP regression labels were collected using calibrated electromagnetic field probes deployed in the industrial control room. The probes have an accuracy of ±0.5V / m and are calibrated annually. A total of 800 valid samples were collected and trained using the stochastic gradient descent algorithm. The initial learning rate was set to 0.001, the batch size was 32, and the mean squared error loss function was used. The learning rate employed an exponential decay scheduling strategy, decreasing to 0.5 times its current value every 50 rounds. After training, the model weights and bias parameters were permanently stored in the industrial control computer's memory for online inference. During online inference, a single forward propagation involved approximately 9128 multiply-accumulate operations, and the inference time did not exceed 400μs under the condition that the embedded industrial control processor's main frequency was not less than 200MHz.
[0038] It should be noted that the initial shock intensity sequence directly output by the output layer may contain high-frequency micro-fluctuations introduced by the randomness of the model parameters, which need to be smoothed in the time domain by moving average filtering. The input initial shock intensity sequence is 200 units in length, with a sliding window length of 5 and a step size of 1. Starting from the 3rd position of the sequence, the arithmetic mean of 5 consecutive elements within the window is calculated sequentially and used to replace the original value at the center of the window. For positions where the first and last two elements of the sequence cannot form a complete window, the original value is retained without smoothing. After traversing the entire sequence, a predicted electromagnetic shock intensity sequence of length 200 is output. A sliding window length of 5 corresponds to a time span of 50 μs, which effectively filters out random fluctuation components with frequencies higher than 20 kHz while preserving the main trend of the sequence. After smoothing, the maximum value in the predicted electromagnetic shock intensity sequence is extracted using a global maximum value search algorithm that traverses 200 elements. Assuming the extracted maximum value is 85 V / m, and the preset interference intensity threshold is 75 V / m, since 85 V / m is greater than 75 V / m, the triggering condition is met. The preset interference strength threshold of 75V / m was determined based on the following calibration procedure: Reference electromagnetic field probes were deployed in the industrial control workshop, and the bit error rate (BER) of ordinary unshielded communication lines was recorded under different field strengths. When the field strength was between 68V / m and 72V / m, the BER began to rise significantly to 10. -3 The bit error rate exceeds 10 at field strengths of 73V / m to 77V / m. -2 Therefore, 75V / m is set as the interference strength threshold to ensure that the handover is triggered before the communication reliability deteriorates to an unacceptable level.
[0039] In one implementation, the interference precursor feature vector is encapsulated into instructions to obtain hardware switching instructions, including: The interference precursor feature vector is matched with a preset hardware response configuration table to obtain the target switching node identifier; The hardware response delay is obtained by querying the preset hardware response configuration table based on the target switching node identifier. Obtain the current switching link status, and encapsulate the hardware switching instruction based on the target switching node identifier, the hardware response delay, and the current switching link status.
[0040] Specifically, once the predicted electromagnetic shock intensity meets the triggering conditions, the interference precursor feature vector is extracted and input into a preset hardware response configuration table for feature matching. The preset hardware response configuration table stores the mapping relationship between each typical interference precursor feature pattern and its corresponding switching node identifier. This mapping relationship is constructed as follows: during the offline phase, independent shock tolerance tests are performed on each sensor channel. Interference signals of known intensity are applied sequentially at six preset locations in the industrial control computer cabinet using a standard electromagnetic pulse generator. The switching target node that generates the minimum communication bit error rate is recorded, and this node is taken as the optimal switching target node under the interference conditions of that channel location. The criterion for determining the optimal switching node is that, under the same interference conditions, the bit error rate of the industrial control computer communication link is lowest after switching to this node. The interference precursor feature vectors collected in each location test are used as typical patterns and paired one-to-one with the optimal switching node identifiers and stored in the configuration table. During online matching, the Euclidean distance between the current interference precursor feature vector and each pattern in the configuration table is calculated, and the switching node identifier corresponding to the pattern with the smallest distance is taken as the target switching node identifier.
[0041] It should be noted that the preset hardware response configuration table also stores the hardware response delay parameters of the solid-state switching switches corresponding to each switching node identifier. These delay parameters are obtained through offline calibration. Test switching commands are sent sequentially to each solid-state switching switch, and a high-precision timer records the time interval from command issuance to switching completion. Each node is measured 50 times, and the average value is taken. For example, the hardware response delay corresponding to the target switching node is found to be 0.5ms, which combines the solid-state switching switch's setup time of 0.2ms and electrical settling time of 0.3ms.
[0042] Specifically, the switching link status register of the current communication system is read through the industrial control computer's underlying hardware control interface to obtain the binary code identifying the current line status. The switching link status includes three values: normal line connectivity, backup line connectivity, and intermediate switching state. The read switching link status identifier, target switching node identifier, and hardware response delay parameters are concatenated and encapsulated according to a preset instruction frame format into a hardware switching instruction containing a command header, node identifier field, delay time field, link status field, and checksum tail. In the preset instruction frame format, the command header is a fixed 4-byte hexadecimal synchronization code AA5501FF, the node identifier field is 1 byte, the delay time field is 2 bytes, the link status field is 1 byte, and the checksum tail uses a 1-byte cyclic redundancy check code. The total instruction frame length is 9 bytes.
[0043] In one implementation, the hardware switching instruction is prioritized to obtain the instruction execution priority, including: The hardware switching command is deconstructed according to the protocol, and the command encoding sequence is extracted; The instruction encoding sequence is input into a preset priority mapping matrix for projection calculation to obtain the instruction execution priority.
[0044] It should be noted that, to ensure the orderly execution of handover actions in a multi-concurrent command environment, the hardware handover commands need to be prioritized. First, the hardware handover commands are deconstructed according to the protocol. Following a preset command frame format, the command header and checksum are extracted from the command frame, and a delay time field and a link status field (3 bytes in total) are extracted. These 3 bytes are then expanded into a 24-bit binary encoded sequence, with each bit taking the value 0 or 1. This command encoded sequence fully represents the time constraints and path direction information of the hardware handover action.
[0045] Specifically, the preset priority mapping matrix is a fixed weight matrix with a dimension of 24×4. This matrix is loaded into memory from the configuration data file during the initialization phase of the industrial control computer. The element values of the weight matrix are pre-determined based on the analytic hierarchy process (AHP), which decomposes the factors affecting instruction priority into three criterion layers: latency urgency, link switching complexity, and target node security level. The weight allocation of each criterion is calculated through pairwise comparison matrices, and finally mapped to the values of a 24×4 projection matrix.
[0046] For example, in one specific embodiment, when the delay time field is 0x05DC (binary 0000010111011100, corresponding to 1500μs) and the link status field is 0x02 (binary 00000010), the 24-bit instruction encoding sequence is 000001011101110000000010. This encoding sequence is multiplied by the preset priority mapping matrix M to obtain the priority evaluation vector (0.31, 0.47, 0.72, 0.58), with the maximum value of 0.72 located at index 2, corresponding to high priority. The above matrix is fixed in the configuration file. Those skilled in the art can adjust the values of the comparison matrix according to the actual industrial control scenario, recalculate the weights, and generate the matrix values according to the above method.
[0047] Specifically, the elements of the preset priority mapping matrix M (24×4) are constructed as follows. First, the unit bit weight wᵢ of the i-th row (i=0,1,23, corresponding to the bit order of the 24-bit code) is defined: When 0≤i≤15, the corresponding delay time field is wᵢ=0.54 / 16=0.03375; when 16≤i≤23, the corresponding link status field is wᵢ=(0.20+0.26) / 8=0.0575. Next, the projection coefficient p(i,j) is defined as follows: when 0≤i≤15, p(i,j)=(i+1)×αⱼ; when 16≤i≤23, p(i,j)=(i-15)×βⱼ.
[0048] Where j=0,1,2,3 are column indices, corresponding to low priority, medium priority, high priority, and urgent priority, respectively. αⱼ and βⱼ are the projection scaling factors for the delay time group and link state group, respectively. In a specific embodiment, α=(0.25,0.50,1.00,2.00), β=(0.25,0.50,1.00,2.00). The physical meaning of the (i+1) factor is the binary weight of the i-th bit in the delay time field (biti corresponds to a value of 2). i The higher the bit order, the greater the contribution to priority evaluation, which conforms to the encoding convention of high-order bytes carrying higher-weight time information in industrial control instructions. The (i-15) factor is similarly applied to the 8-bit encoding of the link status field.
[0049] The formula for calculating matrix element m(i,j) is: m(i,j) = wᵢ × p(i,j). Substituting the expression for wᵢ, we obtain the explicit calculation formula for m(i,j): when 0 ≤ i ≤ 15, m(i,j) = 0.03375 × (i + 1) × αⱼ; when 16 ≤ i ≤ 23, m(i,j) = 0.0575 × (i - 15) × βⱼ. The above formula fully defines the 96 elements of the preset priority mapping matrix M. The 24 × 4 matrix M is fixed in the configuration file. The values of αⱼ and βⱼ can be adjusted according to the on-site working conditions during the initialization phase. Those skilled in the art can adjust the values of the comparison matrix to recalculate wᵢ according to the actual industrial control scenario, or adjust the scaling factors of αⱼ and βⱼ according to the characteristics of the communication protocol, and then calculate the matrix value element by element according to the above formula.
[0050] It should be noted that the correspondence between the 24-bit instruction encoding sequence and the three criteria of the above-mentioned hierarchical analysis method is as follows: bits 0 to 15 (16 bits in total) are derived from the delay time field of the hardware switching instruction, corresponding to the delay time urgency criterion (normalized weight 0.54); bits 16 to 23 (8 bits in total) are derived from the link status field. Since the encoded value of this field reflects both the switching topology complexity of the communication path and the security protection level of the target node, these 8 bits together carry the judgment information of two dimensions: the link switching complexity criterion (weight 0.20) and the target node security level criterion (weight 0.26).
[0051] For example, in one specific embodiment, the pairwise comparison matrix takes the following values: a weight ratio of delay urgency to link switching complexity of 3, a weight ratio of delay urgency to target node security level of 2, and a weight ratio of link switching complexity to target node security level of 1. The calculated normalized weight vector of the three criteria is (0.54, 0.20, 0.26), and the consistency ratio CR = 0.02, which is less than 0.1, passes the consistency check. The criterion weights are expanded into a 24×4 projection matrix based on the byte-level correspondence. This matrix is fixed in the configuration file, and those skilled in the art can adjust the values of the pairwise comparison matrix and recalculate the weights according to the actual industrial control scenario. A 24-bit instruction encoding sequence is used as a row vector, and matrix multiplication is performed with a 24×4 priority mapping matrix to output a 4-bit priority evaluation vector. The four elements of the priority evaluation vector are traversed, and the index position of the element with the largest value is determined using a maximum value index extraction algorithm. There are four preset priority levels: index 0 corresponds to low priority, index 1 corresponds to medium priority, index 2 corresponds to high priority, and index 3 corresponds to urgent priority. The instruction execution priority is obtained by directly mapping the extracted index position.
[0052] In step S14, the hardware switching instruction is issued according to the instruction execution priority to disconnect the ordinary communication line, the signal attenuation amplitude caused by the disconnection of the ordinary communication line is obtained, the backup cable loop is matched and closed according to the signal attenuation amplitude to obtain a physically isolated communication link, the industrial control computer control instruction to be transmitted is obtained, and the industrial control computer control instruction is transmitted through the physically isolated communication link.
[0053] It should be noted that after obtaining the instruction execution priority, it is submitted to the instruction scheduling queue along with the hardware switching instruction. The instruction scheduling queue arranges the instructions to be executed in descending order of priority, with urgent priority instructions being retrieved first and low priority instructions being retrieved last. After the instruction at the head of the queue is retrieved, it enters the send-ready state and sends a level signal to the target register address corresponding to the instruction through the industrial control computer's underlying hardware control interface, triggering the solid-state switch to perform a disconnection action.
[0054] In one implementation, a physically isolated communication link is obtained by matching and closing a backup cable loop based on the signal attenuation amplitude, including: The signal attenuation amplitude is input into a preset anti-interference level mapping table to obtain the target anti-interference level. Search the backup cable resource pool for backup cable loops that meet the target anti-interference level; The corresponding control node of the backup cable loop is closed to obtain the connectivity status parameters; The physical isolation communication link is confirmed based on the connectivity status parameters.
[0055] It should be noted that at the instant a normal communication line is disconnected, a 1024-point residual voltage signal at both ends of the line is acquired via an analog-to-digital converter at a sampling rate of 100MHz and then processed using a Fast Fourier Transform. The steady-state operating voltage amplitude measured when the line was operating normally before the disconnection is used as the reference benchmark V. ref The average voltage amplitude of the residual voltage signal acquired after disconnection in the 50kHz to 50MHz frequency band is taken as V. residual According to the formula, the attenuation amplitude = 20 × log 10 (V ref / V residual Calculate the signal attenuation amplitude, expressed in dB. The signal attenuation amplitude reflects the current electromagnetic coupling strength after the line is disconnected. A larger attenuation amplitude indicates a stronger electromagnetic shock to the line, requiring a higher level of interference immunity from the backup cable. ref The value depends on the physical layer standard of the industrial control computer's current communication interface. During system initialization, the rated operating voltage amplitude of each communication port is read from the configuration file. For example, for the RS-232 interface V... ref Take 12V, for RS-485 interface V ref Take 5V, for the CAN bus interface V ref Use 3.5V. For scenarios where multiple types of communication ports coexist on the same industrial control computer, sample each port independently and calculate its respective attenuation amplitude. The signal attenuation amplitude reflects the electromagnetic coupling strength at the time of disconnection.
[0056] A preset anti-interference level mapping table segments the attenuation range with the anti-interference level: an attenuation less than 10dB corresponds to Level 1 anti-interference requirement; an attenuation between 10dB and 20dB corresponds to Level 2; an attenuation between 20dB and 30dB corresponds to Level 3; and an attenuation greater than 30dB corresponds to Level 4. This mapping table is based on laboratory test data of cable shielding effectiveness: Level 1 corresponds to single-layer aluminum foil wrapping shielding (approximately 30dB shielding effectiveness); Level 2 corresponds to double-layer copper mesh braided shielding (approximately 50dB shielding effectiveness); Level 3 corresponds to copper tape longitudinal wrapping plus copper mesh braided composite shielding (approximately 70dB shielding effectiveness); and Level 4 corresponds to fully enclosed metal armor shielding (greater than 90dB shielding effectiveness). For example, if the currently acquired signal attenuation is 12dB, falling within the 10dB to 20dB range, the target anti-interference level is matched to Level 2.
[0057] Specifically, the industrial control computer has a pre-set backup cable resource pool. This resource pool stores the physical identifier, anti-interference level, current occupancy status, and corresponding control node address of the backup cables in the form of a data table. After obtaining a target anti-interference level of level two, the resource pool is searched for backup cable loops with matching anti-interference level and currently idle status, using level two as the search criterion. If multiple backup cable loops meet the criteria, the loop with the control node address closest to the target solid-state switching node is selected first to minimize the switching action path length. If no idle backup cable meets the criteria, a level three backup cable loop is matched for upward compatibility. If no level three loop is idle, a level four backup cable loop is matched for upward compatibility. If no level four loop is idle, the highest level alarm is triggered and the industrial control computer's safety shutdown procedure is executed. After a match is found, the control node address of the backup cable loop is locked.
[0058] It should be noted that the industrial control computer's underlying hardware control interface sends a closed control level signal to the control node corresponding to the matched backup cable loop, driving the solid-state switch connected to that node to conduct, thus connecting the backup cable loop to the communication link. After the switch is completed, a 50mA DC test current is injected into the backup cable loop through a constant current source, and the steady-state voltage drop across the loop is collected using a voltage sampling circuit. The test current value and the collected voltage drop value are input into the resistance calculation model, and the loop's DC resistance is calculated according to Ohm's law R=U / I. Simultaneously, the actual conduction current flowing through the loop is collected by a current transformer. The loop's DC resistance data and conduction current data are used as connectivity parameters.
[0059] Specifically, a weighted comprehensive evaluation of connectivity parameters is performed. Loop DC resistance data and conduction current data are input into a preset state evaluation matrix for weighted summation. The state score ranges from 0 to 100, with a preset connectivity threshold of 80 points. The weight coefficients of the preset state evaluation matrix are determined based on the analytic hierarchy process (AHP), and the evaluation criteria include the degree of resistance deviation from the rated value and conduction current stability. For example, in one specific embodiment, the weight of the loop DC resistance deviation is 0.6, and the weight of conduction current stability is 0.4. The reason for assigning a higher weight to the resistance deviation is that the loop DC resistance directly reflects the conductivity integrity of the physical link. Physical faults such as cable breakage, loose connectors, or oxidation are initially manifested as an abnormal increase in resistance. Fluctuations in conduction current may be caused by transient noise from the test current source. Therefore, the resistance deviation serves as the primary basis for connectivity judgment, while conduction current stability serves as an auxiliary verification indicator.
[0060] The status score is calculated using the formula S = 100 × (0.6 × exp(-|R-12.5| / 12.5) + 0.4 × (I / 50)), where R is the measured DC resistance of the circuit (rated value 12.5Ω), and I is the measured conduction current (rated value 50mA). A score exceeding 80 indicates that both resistance deviation and current attenuation are within acceptable ranges. Those skilled in the art can adjust the rated values and weights according to the actual cable specifications. The calculated status score is compared with a preset connectivity threshold of 80. For example, if the measured DC resistance of the circuit is 15Ω and the conduction current is 48mA, the weighted sum results in a status score of 85, which is greater than the 80-point threshold, confirming connectivity. Simultaneously, the grounding status of the isolation shield layer of the backup cable circuit is obtained through a grounding resistance detection circuit. Test current is injected into both ends of the shield layer, and the voltage drop is measured to calculate the grounding resistance value. If the grounding resistance value is less than 4Ω, the shield layer grounding status is determined to be good, further confirming the electromagnetic shielding integrity of the physically isolated communication link.
[0061] After confirming the physical isolation communication link is established, the system acquires the control commands from the industrial control computer's (ICC) business layer. These control commands are operational instructions that the ICC needs to send to the remote execution node during normal operation, such as valve opening adjustment commands, motor speed control commands, and emergency stop commands. The ICC control commands are input into the Manchester encoding model, and the command data is modulated using a preset clock frequency of 10MHz. A synchronization header and cyclic redundancy check (CRC) are added, and a control command encoded frame conforming to the underlying communication protocol is output. The encoded command frame is converted into a differential level signal and sent to the remote execution node through the confirmed physical isolation communication link. The receiving end uses a differential signal decoding algorithm to reconstruct the original control command, completing reliable command transmission even under electromagnetic intrusion (EMI) conditions.
[0062] In summary, this invention discloses a dynamic electromagnetic protection method for industrial control computers. This invention collects environmental electromagnetic signals using a sensor array and performs time-frequency domain conversion to extract joint dynamic and static frequency domain features. It then uses support vector machine classification and multilayer perceptron regression prediction to determine the intensity of electromagnetic shocks and generates hardware switching instructions when a threshold is exceeded. Based on priority, a solid-state switching switch is driven to disconnect ordinary communication lines, and a backup cable loop is closed according to the signal attenuation amplitude to form a physically isolated communication link. This achieves a complete closed loop from sensing electromagnetic interference precursors to predictively switching physical layer communication lines.
[0063] The second embodiment of the present invention provides a dynamic electromagnetic protection system for an industrial control computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the dynamic electromagnetic protection method for an industrial control computer as described above.
[0064] It should be noted that the dynamic electromagnetic protection system for industrial control computers provided in this embodiment of the invention is used to execute all the process steps of the dynamic electromagnetic protection method for industrial control computers in the above embodiment. The working principles and beneficial effects of the two correspond one-to-one, so they will not be described again.
[0065] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A dynamic electromagnetic protection method for industrial control computers, characterized in that, include: The real-time electromagnetic signals from the industrial control computer's peripherals are acquired and converted into the time-frequency domain to obtain a frequency domain feature sequence. The frequency abrupt change information and amplitude peak value of the frequency domain feature sequence are extracted and concatenated into an initial feature matrix. The initial feature matrix is classified using the support vector machine algorithm. If the classification result is a precursor of interference, the initial feature matrix is determined as the feature vector of the precursor of interference. The interference precursor feature vector is regressed and predicted to obtain a predicted electromagnetic shock intensity sequence. If the maximum value of the predicted electromagnetic shock intensity sequence is greater than a preset interference intensity threshold, the interference precursor feature vector is encapsulated into an instruction to obtain a hardware switching instruction. The hardware switching instruction is then prioritized to obtain the instruction execution priority. According to the execution priority of the instruction, the hardware switching instruction is issued to disconnect the ordinary communication line, the signal attenuation caused by the disconnection of the ordinary communication line is obtained, the backup cable loop is matched and closed according to the signal attenuation, a physically isolated communication link is obtained, the industrial control computer control instruction to be transmitted is obtained, and the industrial control computer control instruction is transmitted through the physically isolated communication link.
2. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The process of acquiring real-time electromagnetic signals from the industrial control computer's periphery and performing time-frequency domain conversion to obtain a frequency domain feature sequence includes: The real-time electromagnetic signals acquired by the sensor array are resampled to obtain a sampled signal sequence; The sampled signal sequence is denoised, smoothed, and truncated within a target time window to obtain the truncated electromagnetic signal; The intercepted electromagnetic signal is subjected to a fast Fourier transform to obtain a frequency domain feature sequence.
3. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The extraction of frequency abrupt change information and amplitude peak value of the frequency domain feature sequence includes: Perform first-order difference calculation on the frequency domain feature sequence to obtain the frequency point energy difference sequence; Extract the frequency point location index and difference amplitude from the frequency point energy difference sequence that are greater than a preset mutation threshold to form frequency mutation information; A local extremum search is performed on the frequency domain feature sequence, and the amplitude values of the top preset number of extremum points are selected and determined as the amplitude peak values.
4. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The features are concatenated to form an initial feature matrix. A support vector machine (SVM) algorithm is used to classify the initial feature matrix. If the classification result is a precursor to interference, the initial feature matrix is determined as a precursor to interference feature vector, including: The frequency abrupt change information and the amplitude peak value are concatenated in one dimension to construct an initial feature matrix; The initial feature matrix is mapped to a high-dimensional space using a radial basis kernel function to obtain a high-dimensional mapping matrix; The high-dimensional mapping matrix is classified using a hyperplane based on a preset classification decision boundary to obtain the feature vector of interference precursors.
5. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The regression prediction of the interference precursor feature vector to obtain the predicted electromagnetic shock intensity sequence includes: The interference precursor feature vector is obtained by weighting and nonlinearly activating the first hidden layer of the preset multilayer perceptron model. The intermediate feature vector is transformed layer by layer by subsequent hidden layers, and the initial impact intensity sequence is obtained by regression mapping of the output layer. The initial shock intensity sequence is filtered by moving average to obtain the predicted electromagnetic shock intensity sequence.
6. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The step of encapsulating the interference precursor feature vector into an instruction to obtain a hardware switching instruction includes: The interference precursor feature vector is matched with a preset hardware response configuration table to obtain the target switching node identifier; The hardware response delay is obtained by querying the preset hardware response configuration table based on the target switching node identifier. Obtain the current switching link status, and encapsulate the hardware switching instruction based on the target switching node identifier, the hardware response delay, and the current switching link status.
7. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The step of calculating the priority of the hardware switching instruction to obtain the instruction execution priority includes: The hardware switching command is deconstructed according to the protocol, and the command encoding sequence is extracted; The instruction encoding sequence is input into a preset priority mapping matrix for projection calculation to obtain the instruction execution priority.
8. The dynamic electromagnetic protection method for industrial control computers according to claim 1, characterized in that, The step of matching and closing the backup cable loop according to the signal attenuation amplitude to obtain a physically isolated communication link includes: The signal attenuation amplitude is input into a preset anti-interference level mapping table to obtain the target anti-interference level. Search the backup cable resource pool for backup cable loops that meet the target anti-interference level; The corresponding control node of the backup cable loop is closed to obtain the connectivity status parameters; The physical isolation communication link is confirmed based on the connectivity status parameters.
9. A dynamic electromagnetic protection system for an industrial control computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method for dynamic electromagnetic protection of an industrial control computer as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the method for dynamic electromagnetic protection of an industrial control computer as described in any one of claims 1 to 8.
