Mechanical arm spoofing attack side channel detection method and system based on acoustic characteristics

By reconstructing the movement of the robotic arm using a method based on acoustic features and comparing it with the SCADA system information, the problem of the inability of existing technology to detect deceptive attacks is solved, and effective detection of deceptive attacks on industrial robotic arms is achieved, improving security and detection accuracy. .

CN118721277AActive Publication Date: 2024-10-01GUANGXI UNIV

Patent Information

Application Number
CN202410926342.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-01
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

Existing industrial robot arm spoofing attack detection methods cannot effectively detect spoofing attacks, especially because they cannot capture untampered information, and often require invasive modifications to the robot arm platform or are affected by unstable characteristic parameters.

Method used

A robotic arm spoofing attack side channel detection method based on acoustic characteristics is used to capture the acoustic-motion relationship through acoustic analysis and data-driven methods, reconstruct the motion of the robotic arm, and compare the reconstructed acoustic motion information with the motion information collected by the SCADA system , using LSTM network and convolutional layer network to establish the mapping between acoustic features and motion information, and identify potential intrusions through preset thresholds.

Benefits of technology

It achieves effective identification of robotic arm spoofing attacks, improves detection accuracy and security, avoids intrusive modifications to the robotic arm platform, and enhances defense capabilities against spoofing attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118721277A_ABST
    Figure CN118721277A_ABST
Patent Text Reader

Abstract

The invention discloses a mechanical arm spoofing attack side channel detection method based on acoustic features, and belongs to the technical field of deep learning, and the method comprises the steps: constructing a training recognition model; the collected target audio is received, a sound processing step operation is executed to extract features, and a training recognition step operation is executed to output predicted motion data; and comparing the predicted motion data with the obtained corresponding real-time motion data, and evaluating whether each pair of parameter difference exceeds a preset threshold. According to the method, mixed multi-axis sound is separated into different single-axis sound by using a sound separation technology, an acoustic motion information identification model of each motion joint is constructed by cooperating with a method based on physical and data driving, target sound is identified according to the identification model, predicted motion information of each axis is obtained, and the motion information of each motion joint is predicted. And the predicted motion information is compared with the collected real-time motion command, and whether the robot is subjected to the spoofing attack is determined by combining a threshold value, so that the channel detection on the spoofing attack side of the mechanical arm is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning technology, and in particular to a method for detecting side channels of robot arm deception attacks based on acoustic features. Background Art

[0002] Industrial robotic arms are used in industrial production lines with high process repeatability due to their high strength, high precision, and high speed. They are also widely used in aerospace, electronics, automotive and other fields. With the vigorous promotion of Industry 4.0 and intelligent manufacturing, industrialization and informatization are closely integrated, and industrial production sites are connected to the industrial Internet. Although the interconnection of equipment has been achieved and production efficiency has been improved, it also leads to industrial control systems that lack protective measures being exposed to the industrial Internet, giving attackers an opportunity to take advantage. As an important part of the intelligent manufacturing network, industrial robotic arms will have an immeasurable impact once attacked.

[0003] In fact, more and more industrial robotic arms have become targets of cyber attackers, leading to serious security vulnerabilities. Among them, deception attacks are particularly insidious threats. This form of attack involves not only manipulating the operation of the robotic arm, but also replaying normal motion data to evade detection. Taking the CORMAND2 incident as an example, the attacker not only injected malicious code into the robotic arm through complex methods, but also replayed seemingly normal motion data to the SCADA system. Such attacks can significantly reduce production efficiency and cause harm to operators and equipment. Adversaries aiming to disrupt manufacturing networks can launch deception attacks on robotic arms in the following ways: (i) deceive the SCADA system by sending seemingly correct data to simulate regular operations, thereby performing a man-in-the-middle attack; (ii) manipulate the operation of the robotic arm by uploading malicious operation code to the robotic arm.

[0004] To this end, many studies have proposed various anomaly detection methods, using physical models or data-driven methods; however, these methods mainly rely on data collected from SCADA systems, and one of the key limitations is that they cannot detect deceptive spoofing attacks because the information is usually not tampered with. In addition, there are also studies that try to use side channel information for cross-validation to combat such spoofing attacks, using indicators such as power consumption and electromagnetic signals; however, these methods usually require invasive modifications to the robotic arm platform or are affected by the instability of characteristic parameters. Summary of the invention

[0005] The purpose of the present invention is to provide a side channel detection method for robotic arm deception attacks based on acoustic features to address the above-mentioned problems. Based on acoustic analysis and data-driven methods, this unique acoustic-motion relationship is captured, the movement of the robotic arm is reconstructed according to the acoustic data, and then the reconstructed acoustic motion information obtained from the side channel is compared with the motion information collected by SCADA. Any difference or motion information exceeding the predefined threshold will trigger an abnormal motion alarm, thereby effectively identifying potential intrusions.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] The side channel detection method of robotic arm deception attack based on acoustic features includes the following contents:

[0008] Step S1: constructing a training recognition model, including the following processing flow:

[0009] Sound processing steps: noise reduction and sound separation are performed on the collected audio, and then features are extracted from the individual motion audio of each axis and spliced ​​into time domain feature vectors and frequency domain feature vectors;

[0010] Motion processing steps: Process the motion information collected from each axis, calculate the speed, acceleration and motion direction of each axis, and form a motion information sequence;

[0011] Training and recognition steps: First, use the LSTM network to process the time domain feature vector input data, use the convolutional layer network to process the frequency domain feature vector input data, then perform feature fusion, and then feed it into the classification network and regression network. The classification network uses the fully connected layer and softmax function to output direction classification information, and the regression network uses the fully connected layer and ReLU activation function to output speed and acceleration prediction information, and establish a mapping between the sound feature vector and the motion information sequence;

[0012] Step S2: The training recognition model receives the collected target audio, executes the sound processing step to extract features, and executes the training recognition step to output predicted motion data corresponding to the target audio;

[0013] Step S3: compare the predicted motion data with the corresponding real-time motion data obtained, and evaluate whether the difference between each pair of parameters exceeds a preset threshold; if the difference is greater than the corresponding preset threshold, an intrusion alarm will be triggered.

[0014] The noise reduction and separation process of the sound processing step S1 is as follows:

[0015] By statistically analyzing the noise generated by each axis in a quiet environment, the motion frequency range is identified, and a bandpass frequency filter is used to eliminate noise outside the motion frequency range;

[0016] The sparse representation algorithm is used to separate the individual motion audio of each axis moving independently; the processing flow includes the following:

[0017] (1) The normalized amplitude spectrum of the mixed signal of the configuration simultaneous multi-axis operation; the amplitude spectrum is expressed as follows:

[0018]

[0019] Where X is the amplitude spectrum of the sound signal from simultaneous multi-axis operation; is the approximate amplitude spectrum of the mixed sound signal; B represents the matrix composed of dictionaries for each axis; W represents the coefficient matrix; B is an overcomplete dictionary, which includes all amplitude spectrum segments of the sound for each axis; A is the active set; b i is an atom of B; w i is the coefficient;

[0020] (2) Use the k-means clustering algorithm to cluster the extracted normalized amplitude spectra and construct an overcomplete dictionary for each axis; the overcomplete dictionary is expressed as follows:

[0021] B=(B x B y B z B u B v B w ) T

[0022] B x is an overcomplete dictionary for axis x, B y is an overcomplete dictionary on axis y, B z is an overcomplete dictionary for axis z, B u is an overcomplete dictionary of axis u, B v is an overcomplete dictionary of axis v, B w is an overcomplete dictionary for axis w;

[0023] (3) Use the active set Newton algorithm to solve the sparse coefficients; the specific process is as follows:

[0024] Sparse coefficient w n by Initialize it and Update; where 1 is an all-one vector with the same length as X; w A is the representation coefficient of the atoms in the active set A; α is the step size; is the search direction; It's about w A The Hessian matrix of is the gradient of the KL divergence with respect to the active atom weight vector; before computing the inverse of the Hessian matrix, the identity matrix is ​​multiplied by a small constant ∈ = 10 -10 ; and, the activity set A is A = argmin n KL(X‖w n b n ) to initialize it, and Update, where (KL(X‖w n b n ) represents X and The KL divergence between them; through the above iterative algorithm, the activity set A and the representation coefficient w of the corresponding atom in the activity set A are obtained A ;

[0025] (4) Using the inverse Fourier transform and the approximate amplitude spectrum X for each axis i The original phase is used to reconstruct the individual motion audio of each axis;

[0026] Among them, the approximate amplitude spectrum of the mixed sound signal It is expressed as the following calculation formula:

[0027]

[0028] Therefore, the approximate amplitude spectrum of each axis is expressed as follows:

[0029] X i =w iA B iA ,i∈{x,y,z,u,v,w}

[0030] Here, i is not only the index of the axis, but also the index of the row of the overcomplete dictionary B.

[0031] The feature extraction process of the sound processing step S1 is as follows:

[0032] In the time domain, the extracted features include frame energy, zero-crossing rate, temporal envelope, and energy entropy; in the frequency domain, spectral entropy and power normalized cepstral coefficients are extracted;

[0033] For a given frame of length FL and an audio signal x(i)=1,2,...,FL,

[0034] The frame energy is obtained as follows:

[0035]

[0036] The zero-crossing rate is obtained as follows:

[0037]

[0038] The energy entropy of the sound is calculated by framing the signal and calculating the energy ratio of each frequency component in each frame. The frame is divided into subbands of length K, E j is the energy of the j-th short frame, then the energy entropy is:

[0039]

[0040] The temporal envelope of a sound is obtained by:

[0041]

[0042] Where HT(i) is the analytical signal obtained by applying the Hilbert transform to the signal x(i), and the envelope of the analytical signal T e (i) is the square root of the sum of the squares of its real part Re(HT(i)) and its imaginary part Im(HT(i));

[0043] X i(k) ,k=1,...,FL is the amplitude of the fast Fourier transform coefficient of a given frame;

[0044] The spectrum is divided into N subbands, E f is the energy of the f-th subband, then the spectral entropy is:

[0045]

[0046] Based on this, the time domain features and frequency domain features are spliced ​​into the time domain feature vector S t : {frame energy, zero-crossing rate, energy entropy, time envelope} and frequency domain feature vector S f : {spectral entropy, power normalized cepstral coefficients}.

[0047] In step S3, while obtaining the predicted motion data, the real-time motion data of the corresponding target from the SCADA system is processed and obtained to obtain the motion index parameters within the network, and then each pair of parameter differences is evaluated according to the EWMA control chart. If the difference is greater than the corresponding preset threshold, an intrusion alarm will be triggered.

[0048] As mentioned above, the mixed multi-axis sound is separated into different individual axis sounds by using sound separation technology. The acoustic motion information recognition model of each motion joint is constructed through collaborative physics-based and data-driven methods. The target sound is recognized based on this recognition model to obtain the predicted motion information of each axis. The predicted motion information is compared with the collected real-time motion commands and combined with the threshold to determine whether it is subject to a deception attack, thereby realizing the side channel detection of the robot arm deception attack.

[0049] Based on the aforementioned scheme, in an improved scheme, in order to enhance noise reduction, the noise reduction and separation processing flow of the sound processing step of step S1 of the robotic arm deception attack side channel detection method also has the following enhanced noise reduction step: by applying a short time window, using fast Fourier transform to capture the spectral characteristics of the background noise during a short inactive interval in the operation cycle, subtracting the noise spectrum from the main audio signal, and then using inverse fast Fourier transform to convert the processed signal back to the time domain to complete enhanced noise reduction.

[0050] Based on the above scheme, in an improved scheme, in order to solve the difference in processing and transmission speed between the main channel and the side channel and improve the accuracy of side channel intrusion detection, step S1 of the robot arm deception attack side channel detection method also includes the following trace alignment step: cross-correlation analysis is used to align the time traces of audio data and motion data. The details are as follows:

[0051] First, the correlation coefficient is used to analyze the relationship between each group of audio data and motion data samples in the training data set, and the local optimal time offset of each group of samples is obtained; then the minimum time offset and maximum time offset of all samples are determined; then, the minimum time offset and maximum time offset are used as the boundaries of the search interval, and the grid search method is used within the search interval to find the global optimal time offset τ of the entire training data set, and τ is used as the fixed offset for trace alignment. Among them, the cross-correlation coefficient and the optimal time offset are calculated as follows:

[0052]

[0053] τ optimal = argmax τ R(τ)

[0054] R(τ) is the sound time series x and motion time series m measured at a time offset τ; x(t) and m(t+τ) are the values ​​of the two sequences at time t and (t+τ), respectively; by changing τ, the cross-correlation coefficient at different time offsets can be calculated to maximize the τ of R(τ) optimal represents the optimal time offset between two sequences.

[0055] Due to the adoption of the above technical solution, the present invention has the following beneficial effects:

[0056] The present invention uses sound separation technology to separate mixed multi-axis sounds (joint motion audio) into different individual axis sounds (individual motion audio of each axis of the joint), and constructs an acoustic motion information recognition model for each motion joint through a collaborative physics-based and data-driven method. The target sound is recognized based on this recognition model to obtain the predicted motion information of each axis. By comparing the predicted motion information with the collected real-time motion commands and combining the threshold to determine whether it is under a deception attack, the side channel detection of the robot arm deception attack is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a processing flow chart of Example 1 of the robot arm deception attack side channel detection method of the present invention.

[0058] Figure 2 It is a processing flow chart of Example 2 of the robot arm deception attack side channel detection method of the present invention.

[0059] Figure 3 It is a workflow diagram of Example 2 of the robot arm deception attack side channel detection method of the present invention.

[0060] Figure 4 This is a diagram showing the difference in sound characteristics between two axes of an N-axis industrial robot arm.

[0061] Figure 5 It is a performance diagram of the ASIDS of the present invention against a super opponent.

[0062] Figure 6 It is the noise impact curve diagram of the present invention. DETAILED DESCRIPTION

[0063] The specific implementation of the invention is further described below with reference to the accompanying drawings.

[0064] Example 1

[0065] like Figure 1 and Figure 2 As shown above, the basic scheme of the acoustic feature-based robot arm deception attack side channel detection method of the present application includes steps S1-S3. In addition, there is a preferred improvement scheme that also includes an enhanced noise reduction step, another preferred improvement scheme that also includes an alignment step, and another preferred improvement scheme that also includes an enhanced noise reduction step and an alignment step, etc. The technical feature combinations of the basic scheme and each improved scheme are as described above. In order to simplify the description, only the best example of all technical feature combinations of the above schemes is applied to an industrial robot arm as an example. It should be emphasized that it is not limited to the application of this application, but can be applied to intrusion detection of any robot arm and any axis motion control equipment in addition to the industrial robot arm.

[0066] The side channel detection method for robot arm deception attack based on acoustic features of this embodiment 1 is a method for automatically detecting deception attacks by reconstructing motion information through an acoustic side channel, and is a solution based on the separation principle. The method involves using sound separation technology to separate mixed multi-axis sounds (such as a joint motion audio) into different individual axis sounds (such as the individual motion audio of each axis of the joint). At the same time, the overall motion of the robot arm (such as the joint motion) is decomposed by the control system into single-axis motion instructions (such as the individual motion of each axis of the joint). Therefore, the complex motion of the entire robot arm is conceptualized as a combination of multiple single-axis motions. Following this separation principle, the multi-axis motion is decomposed into simpler motions of each single axis. Subsequently, an acoustic motion information model of each motion joint is constructed by collaborative physics-based and data-driven methods.

[0067] Basically, during operation, the control cabinet converts the code into signals and sends them to each actuator. The control system then decomposes the robot arm's tasks into specific commands for each axis, thereby decomposing the robot arm's overall motion data into the corresponding actions of each axis.

[0068] In order to accurately construct the motion state of each axis, it is necessary to eliminate the overlapping interference of the sounds generated by the motion of different axes. This means separating the individual sounds of each axis from the composite noise generated when multiple axes move simultaneously. The feasibility of this sound separation stems from the different acoustic characteristics that accompany the motion of each axis. An N-axis industrial robot arm has N servo motors and therefore N degrees of freedom. The noise generated by each axis during motion is unique, such as Figure 4 shown. Figure 4 The time-frequency waveform diagram (a and d), the frequency domain power spectral density (PSD) diagram (b and e), and the time-frequency domain spectrogram (c and f) of the sound generated by two different axes during periodic reciprocating motion are illustrated. Whether observed from the time domain, frequency domain, or time-frequency domain, the waveform, frequency distribution, and energy distribution of the sound generated by different axes are significantly different.

[0069] The drive system (motor and transmission) of the robot arm will naturally produce different sounds when it vibrates during operation due to its different internal structure. Even if some axes use the same drive system, the captured sound will still be different due to the changes in factors such as the load on each axis and the angle and distance of the sound collector.

[0070] The rotational sound of the drive system that powers each axis of the robotic arm not only provides unique information, but also conveys the details of the arm's movement, facilitating the construction of motion-sound correlations. Corresponding to the code uploaded by the engineer, each axis of the robotic arm moves according to the speed, direction and other parameters expected by the control system. Therefore, the drive system of each axis provides the required power. Obviously, when the robotic arm runs at a higher speed, the internal rotation of the drive system accelerates, causing the sound emitted to change. Similarly, when the robotic arm moves forward or backward, factors such as the asymmetry of the axial load will cause obvious accompanying sounds. Such as Figure 4 (b) Figure 4 As shown in (e), the Z axis has a clear difference in movement in the two directions. When it moves in the opposite direction, the energy fluctuation is larger. The other axes also show similar patterns, with obvious differences in characteristics such as energy and waveform curves during forward and backward movement. These characteristics help to distinguish the direction and speed of the motor's movement. Therefore, similar movements of the robot arm will produce similar acoustic patterns, which can be parameterized and used for comparison to ensure the authenticity of the manufacturing process. This motivates the generation of corresponding acoustic motion reference information based on the sound changes accompanying different movements of the robot arm.

[0071] like Figure 3 As shown, the workflow of the side channel detection method for the robot arm deception attack is given. In the training and monitoring stages, the audio signal and kinematic data are subjected to data preprocessing before application, including noise reduction and sound separation, kinematic parameter calculation and time alignment. Then, a technique similar to pattern matching based on template fingerprint is used to identify deception attack activities. In the training stage, the acoustic motion information (motion fingerprint) of each axis is learned and generated by collecting data on a normal reference device. Subsequently, in the intrusion detection stage, it continuously monitors the motion state of the robot arm by reconstructing the acoustic motion information and matching the acoustic information of each axis of the target device. When the difference between the reconstructed acoustic motion information and the motion information collected by SCADA exceeds a predefined threshold (indicating that there is a significant deviation between the motion data collected by SCADA and the actual motion), an abnormal (intrusion) alarm is given. The following will be described in more detail.

[0072] In the sound preprocessing part, various processes are applied to the raw sound data to obtain the correct representation as the input of the acoustic motion information generation model. This stage mainly involves noise reduction, sound separation, feature extraction and downsampling to reduce the computational complexity of subsequent steps.

[0073] Sound Noise Cancellation:

[0074] In order to effectively reduce the impact of background noise in industrial environments on the sound of robotic arm operation, this application adopts a noise reduction strategy that combines bandpass frequency filtering with spectral subtraction. Through a detailed statistical analysis of the noise generated by each axis of the robotic arm in a quiet environment, the main frequency range of the robotic arm movement is successfully identified. The implemented bandpass frequency filter effectively eliminates noise outside these determined frequency ranges.

[0075] Furthermore, to enhance the noise reduction effect, a spectral subtraction method was used, which exploited the background noise captured during brief intervals of inactivity during the robot's operating cycle. By applying a short time window, a fast Fourier transform (FFT) was used to accurately capture the spectral characteristics of the background noise during these pauses. Subsequently, this noise spectrum was subtracted from the main audio signal, effectively removing the noise component. Finally, the processed signal was converted back to the time domain using an inverse fast Fourier transform (IFFT), completing the noise reduction process.

[0076] Sound Separation:

[0077] In order to reduce the interference between sounds moving in different axes, the denoised audio signal is first subjected to sound separation. A sparse representation algorithm is used to separate the sounds moving independently on each axis. Sparse representation has been widely used in signal processing to extract specific audio source signals from a mixed audio environment. However, please note that this application requires better separation quality rather than sparsity, so this application is different from the traditional sparse representation goal.

[0078] In the context of sparse representation, any signal can be represented as a linear combination of a small number of basis signals that represent most or all of the original signal. In other words, a mixed audio signal of an axis can be approximated by a linear superposition of separate audio segments from the independent motion of each axis. Since the sound is not sparse, but its amplitude spectrum is sparse, we convert it to a normalized amplitude spectrum to fit the sparse representation model.

[0079]

[0080] In the formula, X is the amplitude spectrum of the sound signal from simultaneous multi-axis operation. is the approximate amplitude spectrum of the mixed sound signal. B represents the matrix consisting of the dictionary for each axis, and W represents the coefficient matrix. B is usually an overcomplete dictionary that includes all the amplitude spectrum segments of the sound for each axis. At any given moment when the robot arm performs a specific movement, the sound can be effectively represented by only a few segments in the dictionary B, because most of the other dictionary atoms correspond to different specific movements. A is the activity set, which includes only a few elements selected from the dictionary B that can approximately represent X. b i is an atom of B, w i is the representation coefficient. Therefore, the focus of this aspect is the construction of the dictionary and the algorithm flow for solving sparse representation.

[0081] For the construction of dictionary B, the goal of this application is to create an overcomplete dictionary that contains more basis vectors than the dimensionality of the signal it represents, thereby providing greater flexibility and robustness in capturing the essential features of the sound signal through sparse representation. In order to obtain the common acoustic features of a single axis, we cluster the extracted normalized amplitude spectra using the k-means clustering algorithm to construct a high-quality overcomplete dictionary for each axis. This normalization helps to emphasize the relative frequency components within each time frame. The resulting overcomplete dictionary can be expressed as follows:

[0082] B=(B x B y B z B u B v B w ) T (2)

[0084] Here, B is an overcomplete dictionary, the rows of the matrix represent different axes, and each row contains the normalized amplitude spectrum of the axis signal. x is an overcomplete dictionary for axis x, B y , B z , B u , B v , B w is similar. To solve for the sparse coefficients W, the Active Set Newton Algorithm (ASNA) is used. ASNA is a clever optimization method that uses an overcomplete dictionary built for each axis of the robot arm to quickly solve for the active set and non-negative coefficient matrix. The active set A can be initialized as shown in Equation 3 and updated as shown in Equation 4:

[0085] A=argmin n KL(X‖w n b n ) (3)

[0086]

[0087] Among them, (KL(X‖w n b n ) represents X and The KL divergence between . The sparse coefficient w n It can be initialized as shown in Equation 5 and updated as described in Equation 6:

[0088]

[0089] Here 1 is an all-ones vector of the same length as X. Ais the representation coefficient of the atoms in the active set A. α is the step size. is the search direction. It's about w A The Hessian matrix of . is the gradient of the KL divergence with respect to the active atom weight vector. Before computing the inverse of the Hessian matrix, the identity matrix is ​​multiplied by a small constant ∈ = 10 -10 , to ensure the numerical stability of the inverse.

[0090] Through the above iterative algorithm, we can obtain the activity set A and the representation coefficient w of the corresponding atoms in the activity set A A . Approximate amplitude spectrum of mixed sound signal It can be expressed as Equation 7, and the approximate amplitude spectrum of each axis can be expressed as Equation 8:

[0091]

[0092] X i =w iA B iA ,i∈{x,y,z,u,v,w} (8)

[0093] In Equation 8, i is not only the index of the axis, but also the index of the row of the overcomplete dictionary B. Finally, by using the inverse Fourier transform and the i The original phase of the approximate amplitude spectrum is used to reconstruct the pure motion audio of each axis.

[0094] Audio feature extraction:

[0095] In order to better construct the nonlinear relationship between the motion of the robot and its sound, common features are extracted in the time domain and frequency domain to form the feature vector of the acoustic side - channel. In the time domain, the extracted features include frame energy, zero crossing rate (ZCR), time envelope and energy entropy. In the frequency domain, features such as spectral entropy and power normalized cepstral coefficients (PNCC) are extracted. Features are extracted from a set of frames with a fixed frame size of 50ms. From each frame, features are extracted and a feature vector is created for model training. For a given frame of length FL and an audio signal x(i) = 1, 2, ..., FL, different features are extracted as follows.

[0096] Changes in the speed and direction of the robot's movement can affect the distribution of acoustic energy, making frame energy a potential feature. Frame energy can be obtained as follows:

[0097]

[0098] The zero crossing rate (ZCR) is the number of times a signal waveform crosses zero in a specific time window, reflecting the frequency of positive and negative amplitude changes in a short period of time. When the robot is stationary, the amplitude changes more frequently due to the influence of environmental noise, resulting in a higher ZCR. Therefore, the zero crossing rate is a potential feature to describe the motion state, which can be obtained as follows:

[0099]

[0100] The energy entropy of sound is a feature that characterizes the uniformity of the energy distribution of an audio signal. It is usually calculated by framing the signal and calculating the energy ratio of each frequency component in each frame, and then using these energy ratios to calculate the entropy value. High energy entropy means that the energy of the signal is more evenly distributed across the frequency components, while low energy entropy means that the energy of the signal is concentrated on a specific frequency component. Changes in the motion state of the robot will cause changes in the sound energy, making energy entropy a potential feature for describing the motion state. Divide the frame into subbands of length K. If E j is the energy of the j-th short frame, then we have:

[0101]

[0102] The temporal envelope of sound is a feature that describes the trend of signal amplitude over time, reflecting the trend of overall loudness of the sound signal. It helps to analyze and monitor the state and movement of the robot arm and can be obtained in the following ways:

[0103]

[0104] Where HT(i) is the analytical signal obtained by applying the Hilbert transform to the signal x(i). The envelope E(i) of the analytical signal is the square root of the sum of the squares of its real part Re(HT(i)) and its imaginary part Im(HT(i)).

[0105] For frequency domain data, let X i(k) , k = 1, ..., FL is the magnitude of the Fast Fourier Transform (FFT) coefficients of a given frame. For spectral entropy, the spectrum is divided into N subbands. Let E f is the energy of the f-th subband, then:

[0106]

[0107] Power Normalized Cepstral Coefficients (PNCC) is a commonly used feature extraction technique in speech signal processing. It is an improved version of the traditional Mel-Frequency Cepstral Coefficients (MFCC). PNCC is mainly used to enhance the accuracy of speech recognition in noisy environments and can more effectively capture the essential characteristics of sound. When analyzing the sound produced by the movement of the robotic arm, the PNCC function also helps to identify the sound changes associated with different motion states; therefore, PNCC is also extracted for subsequent use.

[0108] Finally, the time domain features and frequency domain features are concatenated into the time domain feature vector S t : {frame energy, ZCR, energy entropy, time envelope} and frequency domain feature vector S f : {Spectral Entropy, PNCC}, ready for subsequent model training.

[0109] In the motion data processing part, the joint space trajectory data collected from the robot arm includes the sampling time and coordinates of different joints, and may lack the complete velocity, acceleration, and direction required to fully describe the joint space trajectory. As a remedy, the coordinate points and time are used to estimate the angular velocity and acceleration. The angular velocity is calculated as the rate of change of the angle over time, and the angular acceleration is calculated as the rate of change of the angular velocity over time, so that these parameters of the joints at different time points can be determined. The direction is represented by 0 and 1, where 1 indicates forward movement and 0 indicates backward movement. It can be determined by the coordinate difference at closely adjacent moments. Finally, the motion information consists of the direction, velocity, and acceleration of the robot arm movement, which can be expressed as M:{speed,acceleration,direction}.

[0110] Trace Alignment:

[0111] In the field of side channels, it is almost impossible to collect perfectly aligned signal traces due to many factors in real life. This means that there is a clock offset between the two collected time series: the sound time series and the motion time series. Trace alignment can significantly improve the accuracy of subsequent side channel analysis.

[0112] In order to improve the detection accuracy, it is crucial to align the audio data with the robot motion data. This application uses cross-correlation analysis to align the audio data with the robot motion data. By analyzing the correlation between each sample in the dataset, we record the optimal time offset for each sample. It should be noted that the optimal time offset for each segment is not necessarily the optimal time offset for the entire dataset.

[0113] The training set contains many groups of signals, and we first record the local optimal time offset for each group of samples. Then, we determine the minimum and maximum time offsets of all samples. These minimum and maximum offsets are used as the boundaries of the search interval. A grid search method is then used within this interval to find the global optimal time offset τ, which maximizes the cross-correlation of the entire dataset, and finally τ is used as a fixed offset for trajectory alignment.

[0114] Specifically, the cross-correlation coefficient R measures the similarity τ between two signals at different time offsets. The cross-correlation coefficient R can be calculated by the following formula: The cross-correlation coefficient can be calculated as follows:

[0115]

[0116] τ optimal = argmax τ R(τ) (15)

[0117] Here, R(τ) is the sound time series x and the motion time series m measured at a time offset τ. x(t) and m(t+τ) are the values ​​of the two sequences at time t and (t+τ), respectively. By changing τ, the mutual correlation coefficient at different time offsets can be calculated, and τ that maximizes R(τ) represents the optimal time offset between the two trajectories. In addition, since the sampling rates of the displacement data and the audio data are different, the present application adjusts the sampling rate of the motion data to match the number of frames of the audio data. Linear interpolation is used to make the number of motion data points equal to the number of audio data frames, thereby matching each frame with the corresponding motion information.

[0118] In the part of training the recognition model, a deep learning model is used to capture the motion sound dependency of the robotic arm. Specifically, the collected audio is first subjected to noise reduction and sound separation, and then features are extracted from the independent motion audio of each axis. This process results in the extraction of the time feature vector and frequency domain feature vector of the motion sound. Subsequently, the motion information collected from each axis is processed, and the speed and acceleration of each axis are calculated to form a motion information sequence. The two-stream model is then applied to achieve the mapping between the two feature vectors and the motion information sequence. Combined with the time domain and frequency domain features of the sound accompanying the robotic arm movement (both of which are related to the movement of the arm), the two-stream model is used to better construct the nonlinear relationship between the arm movement and the sound.

[0119] The core idea of ​​the two-stream model is to use two independent network streams to process different types of input data at the same time. Here, they are the time domain stream and the frequency domain stream. The time domain stream focuses on capturing dynamic behaviors that change over time, especially capturing the temporal characteristics of the robot's motion. In contrast, the frequency domain stream focuses on analyzing the frequency distribution characteristics of motion sounds. The two networks independently learn features from different fields, enhancing the model's understanding and representation of training data. Finally, the outputs of the two networks are fused through the attention mechanism, allowing the model to more comprehensively predict motion information such as the speed and direction of the robot.

[0120] Given that LSTM networks are well suited for processing time-related data, the time-domain stream mainly utilizes LSTM. A sliding window method is used to process the input data, creating a time window based on the given acoustic features and velocity data. The input layer of the time-domain stream is a time-domain feature vector, which consists of consecutive frames of a fixed window size. Each frame extracts frame energy, ZCR, energy entropy, and time envelope as features, which together constitute the input data. This is followed by multiple LSTM layers and fully connected layers, using ReLU as the activation function.

[0121] The frequency domain stream mainly uses convolutional layers, which are good at capturing local patterns and frequency features in frequency domain features. Similarly, with a fixed window size, the input layer receives the frequency domain feature vector, extracts the spectral entropy PNCC for each frame, and together they constitute the input data. Next comes the convolutional layer, the normalized pooling layer, and the fully connected layer, with ReLU as the activation function.

[0122] After the time domain and frequency domain streams are processed by their respective dedicated networks, the two features are concatenated along the time axis and then fed into a network for the regression task of predicting speed and acceleration and another network for the classification task of predicting the direction of motion. Both networks first use the attention mechanism for feature fusion, allowing the model to learn to assign different weights to different features according to different tasks, optimize overall performance and enhance the model's understanding of complex data. The classification network uses a fully connected layer and a softmax function to output direction classification, while the regression network uses a fully connected layer and a ReLU activation function to output regression predictions of speed and acceleration. The classification network uses cross entropy loss as the loss function, and the regression network uses mean square error (MSE) as the loss function.

[0123] In this way, the constructed model is used to estimate the observed motion information sequence and the movement of the robotic arm is effectively recognized using sound.

[0124] In the intrusion detection part, EWMA (exponentially weighted moving average) control chart is widely used to measure the weighted cumulative error between time series sequences. The data provided by the SCADA system and the estimated values ​​based on the acoustic side channel data are used to make the final decision to determine whether there is an intrusion.

[0125] As shown in Algorithm 1, the algorithm 1 generally describes the steps of the intrusion detection algorithm processing flow. The algorithm 1 is divided into two key stages: training and prediction. We start with the dual input of acoustic signals and kinematic data, aiming to derive the intrusion flag F D .

[0126] Algorithm 1: Intrusion Detection Algorithm

[0127]

[0128] During the training phase, a separate dictionary is constructed for each axis based on the sound signal. Fine-tune speech separation using the ASNA algorithm to separate speech into x i According to formulas (11)-(15), the main acoustic features are extracted: frame energy E f , zero crossing rate Z, time envelope T e 、Energy entropy E e , spectral entropy S e and PNCC; the motion data sample m undergoes a parameter extraction process to produce estimates of velocity v, acceleration a, and direction d, which are essential for audio motion alignment via cross-correlation, as shown in calculation formula (8). This alignment is crucial for the subsequent two-stream model training.

[0129] In the prediction phase, the trained model is applied to new robotic arm sound signals s' to extract features F' and infer motion parameters r m At the same time, it processes real-time motion data from the SCADA system. scada , to obtain the intra-network motion index: v scada 、a scada and d scada The EWMA detection phase constitutes the crux of the algorithm, where each pair of parameters (r m ,m scada ). If the difference |E ewma -m scada |If the defined threshold is exceeded, an intrusion alarm will be triggered to indicate potential abnormal conditions.

[0130] The algorithm 1 comprehensively describes the process steps of the method to reconstruct the robot arm motion information through the acoustic side channel, so that it can be cross-validated with the data observed and monitored by the SCADA system to detect and indicate anomalies of spoofing attacks.

[0131] In the experiment and evaluation part, based on the above-mentioned robot arm deception attack side channel detection method, we can build a robot arm deception attack side channel detection system based on acoustic features, named ASIDS (acoustic side-channel intrusion detection systems), and then test the performance of the detection method and system in resisting deception attacks against industrial robot arms through experimental settings and evaluations.

[0132] The experiment used a Borunte 1820A robot arm. During the experiment, the recording equipment was placed in the best position to capture the best acoustic effect. The sound accompanying the robot arm movement was recorded in WAV format at a sampling rate of 44.1kHz, and the corresponding displacement data was obtained through SCADA. The experiment involved using two speakers to randomly play noise recorded by industrial equipment (such as lathes and CNC machine tools), which were originally captured in industrial environments, to simulate the acoustic environment of industrial sites. The data types involved in the experiment mainly include: basic motion data involving only a single axis; mixed multi-axis data; single-axis data separated after sound separation; simulated attack data.

[0133] For the first three categories of data, stratified sampling is adopted, in which 80% of the data is designated for training and the rest for testing. The first three categories are normal test data, and the fourth category is simulated intrusion test data. The mixed multi-joint motion data is synthesized by random combination of individual joint motion data. Basic motions are the basis of industrial robotic arms, and their combination can cover all potential motions of the robotic arm. Specifically, in the training phase, control codes are written to make the robotic arm move in all directions over the entire range of motion of each axis, and the data of mixed motions of different numbers of axes separated by voice are also used as training data for each axis, ensuring comprehensive feature learning. Cross-validation is used in the training process to enhance the robustness and generalization of the model. Using these stratified and cross-validated training data, the model functions of the control parameters v, a, and d corresponding to the sound of each axis motion are estimated.

[0134] The motion direction classification method was constructed as a binary task. Using accuracy as the primary metric, the analysis highlighted the effectiveness of deep learning models, especially the model proposed in the application, which consistently achieved over 95% accuracy on various axes, as described in Table 1 below. This performance reflects not only the robustness of the model, but also its superior ability to discern complex auditory patterns associated with motion direction. The slightly lower accuracy observed on the W axis (possibly due to reduced sound amplitude) suggests ways to further improve the sensitivity of the model of the present application to auditory data. The comparative study of the present application with existing models (SVM, RF, CNN, LSTM, and RNN) enhances the advanced capabilities of deep learning techniques (especially CNN and RNN) in accurately classifying motion direction, highlighting the advanced analytical capabilities of the model proposed in the present application in this regard.

[0135] TABLE I:Classification accuracy of each axis in different

[0136] models

[0137]

[0138] The fourth type of simulated data mentioned in the experimental setup is used to conduct a deception attack on the robotic arm. The attack simulation is designed to reflect the three types of adversaries in the threat model. Weak adversaries: Due to the lack of knowledge of the remote control protocol, weak adversaries cannot decode and modify the remote control network packets; they cannot change the packets to achieve the desired effect. Strong adversaries: With the knowledge of the remote control protocol, strong adversaries can freely manipulate the remote control network packets, but lack the expertise of the path planning algorithm of the robotic arm; they can modify the control packets as needed and maliciously manipulate the movement of the robotic arm; however, their ignorance of the path planning algorithm limits them to only replaying previously recorded motion data; although it is possible to bypass SCADA's anomaly detection and perform destructive operations that may damage product quality and endanger field personnel, careful staff may notice if the robotic arm performs unfamiliar tasks. Super adversaries: Super adversaries have mastered the knowledge of the remote control protocol and path planning algorithm, and can manipulate the remote control network packets and maliciously control the movement of the robotic arm; they can construct a sequence of motion information based on the normal control code issued by the operator and send it to SCADA, making it difficult for SCADA monitoring personnel to detect their behavior. In the case of a weaker adversary, where the communication packets are intercepted, resulting in no control instructions reaching the robotic arm, this type of attack is simulated by replacing the sound data corresponding to the motion data with static ambient audio. In order to simulate a scenario where a strong adversary replays the recorded motion data, conditions are created using a fixed set of motion data and sounds that do not correspond to these motions. For a super adversary, who is fully aware of the trajectory planning of the robotic arm, the replayed motion data will certainly match the operator's original intention. Therefore, to simulate the attack of a super adversary, only the sound clips are replaced.

[0139] like Figure 5 As shown, the F1 score and detection delay are used to evaluate the solution of this application. The F1 score is the harmonic mean of precision (P) and recall (R), and the F1 score is equal to 2PR / (P+R). The detection delay is used to evaluate efficiency and refers to the time from intrusion to detection. The smaller the detection delay, the more timely the intrusion detection. Consider the detection delay T, that is, the time t when the attack is detected. d Subtract the actual attack time t a , that is, T = t d -t a .

[0140] Figure 5 (a) shows the F1 score of ASIDS responding to weak adversaries. ASIDS achieved 100% F1 score on all six axes, demonstrating its strong ability to identify weak spoofing attacks. In addition, ASIDS has a very fast response time to detect attacks, with an average detection delay of only 0.12s, which shows that the system can identify and respond to attacks almost instantly.

[0141] Figure 5 (b) shows the performance of ASIDS against strong adversaries. In this case, ASIDS has an average F1 score of 97.7%, with most of the F1 scores on the six axes above 95%. The response time of ASIDS in detecting attacks by strong adversaries is slightly slower than that of weak adversaries, because the replayed data may partially resemble the correct code, but it is still very fast, with an average detection delay of only 0.27s.

[0142] Figure 5 (c) shows the performance of ASIDS against super adversaries. In this scenario, the average F1 score of ASIDS is 92.6%, with most of the F1 scores of the six axes above 90%, demonstrating its powerful super deception attack recognition capability. The lowest detection rate in the test data of this application is 90.7%, which may be due to the fact that the commands modified by the attacker are relatively close to the correct commands, and the W axis is the farthest from the recording device, coupled with its lower sound amplitude, so the sound quality is poor. Despite this, the ASIDS system can detect attacks with high accuracy in the vast majority of cases. The response time of ASIDS when detecting attacks from super adversaries is slightly slower than that of strong adversaries, because the adversary may modify the code to make it very similar to the correct code, but it is still very fast, with an average detection delay of only 0.35 seconds.

[0143] Different signal-to-noise ratio (SNR) environments were constructed by independently capturing industrial noise played from a speaker, ambient noise in a quiet lab environment, and the sound of a robotic arm moving. This setup allows for a detailed evaluation of the performance of the ASIDS under various noise conditions, providing insight into the robustness and effectiveness of the system in real-world applications. The SNR was calculated by measuring the power of the robotic arm movement sound (as a signal component) and the separately played industrial noise (as a noise component), thereby estimating the combined SNR. Figure 6 As shown, an increase in background environmental noise is associated with a decrease in SNR and a decrease in attack detection rate. When the SNR is close to 8dB, the detection rate exceeds 90%, indicating that the system has significant effectiveness under these conditions.

[0144] Generally, the farther the distance between the microphone and the robotic arm, the weaker the captured sound amplitude, which affects the effectiveness of intrusion detection. In this experiment, in addition to the data recorded by the microphone fixed on the robotic arm, the performance of the external microphone at distances of 20 cm, 60 cm, and 100 cm (the distance between the microphone and the base of the robotic arm) was tested. As shown in Table 2 below, where P stands for Precision and R stands for Recall, the accuracy of intrusion detection decreases as the distance between the microphone and the robotic arm increases. Compared with the fixed microphone, the performance at distances of 20 cm, 60 cm, and 100 cm decreases, partly due to the decrease in sound reception due to the increase in distance, and partly due to the Doppler effect. The microphone attached to the robotic arm reduces the relative distance between the microphone and the robotic arm, thereby reducing the impact of the Doppler effect. Therefore, when deploying ASIDS, it is recommended to place the microphone as close to the robotic arm as possible to minimize the impact of the Doppler phenomenon.

[0145] TABLE III: Classification Results With Distance Parameter

[0146]

[0147] For different motion distances, the speed of the robot arm motion planning is different, resulting in changes in the sound generated when the robot arm moves. Evaluating the performance of ASIDS at different motion distances can comprehensively evaluate its ability to capture the relationship between motion and sound. To this end, motion distance data corresponding to 20%, 50%, 80%, and 100% of the motion range of each axis were selected. As shown in Table 3 below, where P stands for Precision and R stands for Recall, the performance peaks near 80% of the motion distance, and the overall trend is to improve with increasing motion distance. The detection effect of multiple axes tends to be relatively low. However, from an overall perspective, the acoustic motion information captured by ASIDS shows robustness in identifying the sound characteristics of motion planning at different distances.

[0148] TABLE III: Classification Results With Distance Parameter

[0149]

[0150] As mentioned above, the deception attack detection method and detection framework ASIDS of the acoustic motion information of the industrial robot arm generated by the sound separation technology of the present application uses the correlation between the sound side channel and the robot arm movement to protect the safety of the robot arm. Specifically, the acoustic information characteristics of each axis of the robot arm are first used to separate the mixed audio using the speech separation technology, and then the acoustic information motion modeling is performed in combination with the kinematic knowledge and data-driven method. The motion state sequence of the robot arm reconstructed by the audio side channel is cross-validated with the motion sequence collected by the SCADA system in the network to determine whether the network data has been tampered with or subjected to a deceptive attack. Any difference exceeding the preset threshold indicates the presence of a potential deceptive attack. When the cumulative error between the acoustically reconstructed motion information and the collected motion information exceeds the threshold, it is determined to be a motion anomaly. Thus, ASIDS can reconstruct and verify the motion pattern of the robot arm through acoustic signals, and effectively detect abnormal conditions in motion. The Bronte 1820A robot arm was tested in more than 25,000 operation cycles. The experimental results show that ASIDS can accurately identify deception attacks within an average of 0.26 seconds, and the average F1 score reaches 94.3%. These experimental results demonstrate the effectiveness and practicality of ASIDS in improving the safety of robotic arms in manufacturing networks.

[0151] Example 2

[0152] Based on the robotic arm deception attack side channel detection method based on acoustic features in the aforementioned embodiment 1, a robotic arm deception attack side channel detection system based on acoustic features can be assembled, which is briefly described here. For examples of the combination of technical features of the basic scheme and various improved schemes that are not fully described, please refer to the aforementioned embodiment 1.

[0153] The mechanical arm spoofing attack side channel detection system based on acoustic features of this embodiment 2 includes the following contents:

[0154] Model building module: used to build a training recognition model, including the following processing flow:

[0155] Sound processing step: noise reduction and sound separation are performed on the collected audio, and then features are extracted from the separate motion audio of each axis and spliced ​​into time domain feature vectors and frequency domain feature vectors;

[0156] Motion processing steps: Process the motion information collected from each axis, calculate the speed, acceleration and motion direction of each axis, and form a motion information sequence;

[0157] Training and recognition steps: First, use the LSTM network to process the time domain feature vector input data, use the convolutional layer network to process the frequency domain feature vector input data, then perform feature fusion, and then feed it into the classification network and regression network. The classification network uses the fully connected layer and softmax function to output direction classification information, and the regression network uses the fully connected layer and ReLU activation function to output speed and acceleration prediction information, and establish a mapping between the sound feature vector and the motion information sequence;

[0158] Motion detection module: used to train the recognition model to receive the collected target audio, perform the sound processing step to extract features, and perform the training recognition step to output the predicted motion data corresponding to the target audio;

[0159] Attack detection module: used to compare the predicted motion data with the corresponding real-time motion data obtained, and evaluate whether the difference between each pair of parameters exceeds the preset threshold; if the difference is greater than the corresponding preset threshold, an intrusion alarm will be triggered.

[0160] Among them, the noise reduction and separation processing flow of the sound processing step of the model building module is as follows:

[0161] By statistically analyzing the noise generated by each axis in a quiet environment, the motion frequency range is identified, and a bandpass frequency filter is used to eliminate noise outside the motion frequency range;

[0162] By applying a short time window, the Fast Fourier Transform is used to capture the spectral characteristics of the background noise during the brief inactive intervals within the operating cycle, subtracting the noise spectrum from the main audio signal, and then converting the processed signal back to the time domain using the Inverse Fast Fourier Transform to achieve enhanced noise reduction.

[0163] The sparse representation algorithm is used to separate the individual motion audio of each axis moving independently; the processing flow includes the following:

[0164] (1) The normalized amplitude spectrum of the mixed signal of the configuration simultaneous multi-axis operation; the amplitude spectrum is expressed as follows:

[0165]

[0166] Where X is the amplitude spectrum of the sound signal from simultaneous multi-axis operation; is the approximate amplitude spectrum of the mixed sound signal; B represents the matrix composed of dictionaries for each axis; W represents the coefficient matrix; B is an overcomplete dictionary, which includes all amplitude spectrum segments of the sound for each axis; A is the active set; b i is an atom of B; w i is the coefficient;

[0167] (2) Use the k-means clustering algorithm to cluster the extracted normalized amplitude spectra and construct an overcomplete dictionary for each axis; the overcomplete dictionary is expressed as follows:

[0168] B=(B x B y B z B u B v B w ) T

[0169] B x is an overcomplete dictionary for axis x, B y is an overcomplete dictionary on axis y, B z is an overcomplete dictionary for axis z, B u is an overcomplete dictionary of axis u, B v is an overcomplete dictionary of axis v, B w is an overcomplete dictionary for axis w;

[0170] (3) Use the active set Newton algorithm to solve the sparse coefficients; the specific process is as follows:

[0171] Sparse coefficient w n by Initialize it and Update; where 1 is an all-one vector with the same length as X; w A is the representation coefficient of the atoms in the active set A; α is the step size; is the search direction; It's about w A The Hessian matrix of is the gradient of the KL divergence with respect to the active atom weight vector; before computing the inverse of the Hessian matrix, the identity matrix is ​​multiplied by a small constant ∈ = 10 -10 ; and, the activity set A is A = argmin n KL(X‖w n b n ) to initialize it, and Update, where (KL(X‖w n b n ) represents X and The KL divergence between them; through the above iterative algorithm, the activity set A and the representation coefficient w of the corresponding atom in the activity set A are obtained A ;

[0172] (4) Using the inverse Fourier transform and the approximate amplitude spectrum X for each axis i The original phase is used to reconstruct the individual motion audio of each axis;

[0173] Among them, the approximate amplitude spectrum of the mixed sound signal It is expressed as the following calculation formula:

[0174]

[0175] Therefore, the approximate amplitude spectrum of each axis is expressed as follows:

[0176] X i =w iA B iA ,i∈{x,y,z,u,v,w}

[0177] Here, i is not only the index of the axis, but also the index of the row of the overcomplete dictionary B.

[0178] The feature extraction process of the sound processing step of the model building module is as follows:

[0179] In the time domain, the extracted features include frame energy, zero-crossing rate, temporal envelope, and energy entropy; in the frequency domain, spectral entropy and power normalized cepstral coefficients are extracted;

[0180] For a given frame of length FL and an audio signal x(i)=1,2,...,FL,

[0181] The frame energy is obtained as follows:

[0182]

[0183] The zero-crossing rate is obtained as follows:

[0184]

[0185] The energy entropy of the sound is calculated by framing the signal and calculating the energy ratio of each frequency component in each frame. The frame is divided into subbands of length K, E j is the energy of the j-th short frame, then the energy entropy is:

[0186]

[0187] The temporal envelope of a sound is obtained by:

[0188]

[0189] Where HT(i) is the analytical signal obtained by applying the Hilbert transform to the signal x(i), and the envelope of the analytical signal T e (i) is the square root of the sum of the squares of its real part Re(HT(i)) and its imaginary part Im(HT(i));

[0190] X i(k),k=1,...,FL is the amplitude of the fast Fourier transform coefficient of a given frame;

[0191] The spectrum is divided into N subbands, E f is the energy of the f-th subband, then the spectral entropy is:

[0192]

[0193] Based on this, the time domain features and frequency domain features are spliced ​​into the time domain feature vector S t : {frame energy, zero-crossing rate, energy entropy, time envelope} and frequency domain feature vector S f : {spectral entropy, power normalized cepstral coefficients}.

[0194] The model building module also includes a trace alignment step: cross-correlation analysis is used to align the time traces of audio data and motion data. The details are as follows:

[0195] First, the correlation coefficient is used to analyze the relationship between each group of audio data and motion data samples in the training data set, and the local optimal time offset of each group of samples is obtained; then the minimum time offset and maximum time offset of all samples are determined; then, the minimum time offset and maximum time offset are used as the boundaries of the search interval, and the grid search method is used within the search interval to find the global optimal time offset τ of the entire training data set, and τ is used as the fixed offset for trace alignment. Among them, the cross-correlation coefficient and the optimal time offset are calculated as follows:

[0196]

[0197] τ optimal = argmax τ R(τ)

[0198] R(τ) is the sound time series x and motion time series m measured at a time offset τ; x(t) and m(t+τ) are the values ​​of the two sequences at time t and (t+τ), respectively; by changing τ, the cross-correlation coefficient at different time offsets can be calculated to maximize the τ of R(τ) optimal represents the optimal time offset between two sequences.

[0199] As mentioned above, the mixed multi-axis sound is separated into different individual axis sounds by using sound separation technology. The acoustic motion information recognition model of each motion joint is constructed through collaborative physics-based and data-driven methods. The target sound is recognized based on this recognition model to obtain the predicted motion information of each axis. The predicted motion information is compared with the collected real-time motion commands and combined with the threshold to determine whether it is subject to a deception attack, thereby realizing the side channel detection of the robot arm deception attack.

[0200] Example 3

[0201] The aforementioned embodiments 1 and 2 include a robot arm motion detection method based on acoustic features, which is briefly described here. For examples of the combination of technical features of the basic scheme and various improved schemes that are not fully described, please refer to the aforementioned embodiment 1.

[0202] The robot arm motion detection method based on acoustic features of this embodiment 3 includes the following contents:

[0203] Step S1: constructing a training recognition model, including the following processing flow:

[0204] Sound processing step: noise reduction and sound separation are performed on the collected audio, and then features are extracted from the separate motion audio of each axis and spliced ​​into time domain feature vectors and frequency domain feature vectors;

[0205] Motion processing steps: Process the motion information collected from each axis, calculate the speed, acceleration and motion direction of each axis, and form a motion information sequence;

[0206] Training and recognition steps: First, use the LSTM network to process the time domain feature vector input data, use the convolutional layer network to process the frequency domain feature vector input data, then perform feature fusion, and then feed it into the classification network and regression network. The classification network uses the fully connected layer and softmax function to output direction classification information, and the regression network uses the fully connected layer and ReLU activation function to output speed and acceleration prediction information, and establish a mapping between the sound feature vector and the motion information sequence;

[0207] Step S2, the training recognition model receives the collected target audio, executes the sound processing step to extract features, and executes the training recognition step to output the predicted motion data corresponding to the target audio.

[0208] The noise reduction and separation process of the sound processing step S1 is as follows:

[0209] By statistically analyzing the noise generated by each axis in a quiet environment, the motion frequency range is identified, and a bandpass frequency filter is used to eliminate noise outside the motion frequency range;

[0210] The sparse representation algorithm is used to separate the individual motion audio of each axis moving independently; the processing flow includes the following:

[0211] (1) The normalized amplitude spectrum of the mixed signal of the configuration simultaneous multi-axis operation; the amplitude spectrum is expressed as follows:

[0212]

[0213] Where X is the amplitude spectrum of the sound signal from simultaneous multi-axis operation; is the approximate amplitude spectrum of the mixed sound signal; B represents the matrix composed of dictionaries for each axis; W represents the coefficient matrix; B is an overcomplete dictionary, which includes all amplitude spectrum segments of the sound for each axis; A is the active set; b i is an atom of B; w i is the coefficient;

[0214] (2) Use the k-means clustering algorithm to cluster the extracted normalized amplitude spectra and construct an overcomplete dictionary for each axis; the overcomplete dictionary is expressed as follows:

[0215] B=(B x B y B z B u B v B w ) T

[0216] B x is an overcomplete dictionary for axis x, B y is an overcomplete dictionary on axis y, B z is an overcomplete dictionary for axis z, B u is an overcomplete dictionary of axis u, B v is an overcomplete dictionary of axis v, B w is an overcomplete dictionary for axis w;

[0217] (3) Use the active set Newton algorithm to solve the sparse coefficients; the specific process is as follows:

[0218] Sparse coefficient w n by Initialize it and Update; where 1 is an all-one vector with the same length as X; w A is the representation coefficient of the atoms in the active set A; α is the step size; is the search direction; It's about w A The Hessian matrix of is the gradient of the KL divergence with respect to the active atom weight vector; before computing the inverse of the Hessian matrix, the identity matrix is ​​multiplied by a small constant ∈ = 10 -10 ; and, the activity set A is A = argmin n KL(X‖w n b n ) to initialize it, and Update, where (KL(X‖w n b n ) represents X and The KL divergence between them; through the above iterative algorithm, the activity set A and the representation coefficient w of the corresponding atom in the activity set A are obtained A ;

[0219] (4) Using the inverse Fourier transform and the approximate amplitude spectrum X for each axis i The original phase is used to reconstruct the individual motion audio of each axis;

[0220] Among them, the approximate amplitude spectrum of the mixed sound signal It is expressed as the following calculation formula:

[0221]

[0222] Therefore, the approximate amplitude spectrum of each axis is expressed as follows:

[0223] X i =w iA B iA ,i∈{x,y,z,u,v,w}

[0224] Here, i is not only the index of the axis, but also the index of the row of the overcomplete dictionary B.

[0225] The feature extraction process of the sound processing step S1 is as follows:

[0226] In the time domain, the extracted features include frame energy, zero-crossing rate, temporal envelope, and energy entropy; in the frequency domain, spectral entropy and power normalized cepstral coefficients are extracted;

[0227] For a given frame of length FL and an audio signal x(i)=1,2,...,FL,

[0228] The frame energy is obtained as follows:

[0229]

[0230] The zero-crossing rate is obtained as follows:

[0231]

[0232] The energy entropy of the sound is calculated by framing the signal and calculating the energy ratio of each frequency component in each frame. The frame is divided into subbands of length K, E j is the energy of the j-th short frame, then the energy entropy is:

[0233]

[0234] The temporal envelope of a sound is obtained by:

[0235]

[0236] Where HT(i) is the analytical signal obtained by applying the Hilbert transform to the signal x(i), and the envelope of the analytical signal T e (i) is the square root of the sum of the squares of its real part Re(HT(i)) and its imaginary part Im(HT(i));

[0237] X i(k) ,k=1,...,FL is the amplitude of the fast Fourier transform coefficient of a given frame;

[0238] The spectrum is divided into N subbands, E f is the energy of the f-th subband, then the spectral entropy is:

[0239]

[0240] Based on this, the time domain features and frequency domain features are spliced ​​into the time domain feature vector S t : {frame energy, zero-crossing rate, energy entropy, time envelope} and frequency domain feature vector S f : {spectral entropy, power normalized cepstral coefficients}.

[0241] In step S3, while obtaining the predicted motion data, the real-time motion data of the corresponding target from the SCADA system is processed and obtained to obtain the motion index parameters within the network, and then each pair of parameter differences is evaluated according to the EWMA control chart. If the difference is greater than the corresponding preset threshold, an intrusion alarm will be triggered.

[0242] In order to enhance noise reduction, the noise reduction and separation processing flow of the sound processing step in step S1 of the robotic arm deception attack side channel detection method also has the following enhanced noise reduction step: by applying a short time window, the fast Fourier transform is used to capture the spectral characteristics of the background noise during the short inactive interval in the operation cycle, the noise spectrum is subtracted from the main audio signal, and then the processed signal is converted back to the time domain using the inverse fast Fourier transform to complete the enhanced noise reduction.

[0243] In order to solve the difference in processing and transmission speed between the main channel and the side channel and improve the accuracy of side channel intrusion detection, step S1 of the robot arm deception attack side channel detection method also includes the following trace alignment step: using cross-correlation analysis to align the audio data with the motion data in time traces. The details are as follows:

[0244] First, the correlation coefficient is used to analyze the relationship between each group of audio data and motion data samples in the training data set to obtain the local optimal time offset of each group of samples; then the minimum time offset and maximum time offset of all samples are determined; then, the minimum time offset and maximum time offset are used as the boundaries of the search interval, and the grid search method is used within the search interval to find the global optimal time offset τ of the entire training data set, and τ is used as the fixed offset for trace alignment. The cross-correlation coefficient and optimal time offset are calculated as follows:

[0245]

[0246] τ optimal = argmax τ R(τ)

[0247] R(τ) is the sound time series x and motion time series m measured at a time offset τ; x(t) and m(t+τ) are the values ​​of the two sequences at time t and (t+τ), respectively; by changing τ, the cross-correlation coefficient at different time offsets can be calculated to maximize the τ of R(τ) optimal represents the optimal time offset between two sequences.

[0248] As mentioned above, the mixed multi-axis sound is separated into different individual axis sounds by using sound separation technology. The acoustic motion information recognition model of each motion joint is constructed through collaborative physics-based and data-driven methods. The target sound is recognized based on this recognition model to obtain the predicted motion information of each axis. The predicted motion information is compared with the collected real-time motion commands and combined with the threshold to determine whether it is subject to a deception attack, thereby realizing the side channel detection of the robot arm deception attack.

[0249] It should be pointed out that the examples of the above-mentioned embodiments can be preferably combined with one or more of them according to actual needs, and multiple examples use a set of drawings to illustrate the combined technical features, which will not be described one by one here.

[0250] The above descriptions are detailed descriptions and illustrations of the preferred embodiments of the present invention, but these descriptions are not intended to limit the scope of protection required by the present invention. All equivalent changes or modified modifications accomplished under the technical teachings suggested by the present invention should fall within the scope of patent protection covered by the present invention.

Claims

1. A robotic arm motion detection method based on acoustic features, characterized in that: Includes the following: Step S1: constructing a training recognition model, including the following processing flow: Sound processing step: noise reduction and sound separation are performed on the collected audio, and then features are extracted from the separate motion audio of each axis and spliced ​​into time domain feature vectors and frequency domain feature vectors; Motion processing steps: Process the motion information collected from each axis, calculate the speed, acceleration and motion direction of each axis, and form a motion information sequence; Training and recognition steps: First, use the LSTM network to process the time domain feature vector input data, use the convolutional layer network to process the frequency domain feature vector input data, then perform feature fusion, and then feed it into the classification network and regression network. The classification network uses the fully connected layer and softmax function to output direction classification information, and the regression network uses the fully connected layer and ReLU activation function to output speed and acceleration prediction information, and establish a mapping between the sound feature vector and the motion information sequence; Step S2, the training recognition model receives the collected target audio, executes the sound processing step to extract features, and executes the training recognition step to output the predicted motion data corresponding to the target audio.

2. The method for detecting robot arm motion based on acoustic features according to claim 1, characterized in that: The noise reduction and separation process of the sound processing step S1 is as follows: By statistically analyzing the noise generated by each axis in a quiet environment, the motion frequency range is identified, and a bandpass frequency filter is used to eliminate noise outside the motion frequency range; The sparse representation algorithm is used to separate the individual motion audio of each axis moving independently; The process includes the following: (1) The normalized amplitude spectrum of the mixed signal of the configuration simultaneous multi-axis operation; the amplitude spectrum is expressed as follows: Where X is the amplitude spectrum of the sound signal from simultaneous multi-axis operation; is the approximate amplitude spectrum of the mixed sound signal; B represents the matrix composed of dictionaries for each axis; W represents the coefficient matrix; B is an overcomplete dictionary, which includes all amplitude spectrum segments of the sound for each axis; A is the active set; b i is an atom of B; w i is the coefficient; (2) Use the k-means clustering algorithm to cluster the extracted normalized amplitude spectra and construct an overcomplete dictionary for each axis; the overcomplete dictionary is expressed as follows: B=(B x B y B z B u B v B w ) T B x is an overcomplete dictionary for axis x, B y is an overcomplete dictionary on axis y, B z is an overcomplete dictionary for axis z, B u is an overcomplete dictionary of axis u, B v is an overcomplete dictionary of axis v, B w is an overcomplete dictionary for axis w; (3) Use the active set Newton algorithm to solve the sparse coefficients; the specific process is as follows: Sparse coefficient w n by Initialize it and Update; where 1 is an all-one vector with the same length as X; w A is the representation coefficient of the atoms in the active set A; α is the step size; is the search direction; It's about w A The Hessian matrix of is the gradient of the KL divergence with respect to the active atom weight vector; before computing the inverse of the Hessian matrix, the identity matrix is ​​multiplied by a small constant ∈ = 10 -10 ; and, the activity set A is A = argmin n KL(X||w n b n ) to initialize it, and Update, where (KL(X||w n b n ) represents X and The KL divergence between them; through the above iterative algorithm, the activity set A and the representation coefficient w of the corresponding atom in the activity set A are obtained A ; (4) Using the inverse Fourier transform and the approximate amplitude spectrum X for each axis i The original phase is used to reconstruct the individual motion audio of each axis; Among them, the approximate amplitude spectrum of the mixed sound signal It is expressed as the following calculation formula: Therefore, the approximate amplitude spectrum of each axis is expressed as follows: X i =w iA B iA ,i∈{x,y,z,u,v,w} Here, i is not only the index of the axis, but also the index of the row of the overcomplete dictionary B.

3. The method for detecting robot arm motion based on acoustic features according to claim 2, characterized in that: The noise reduction and separation processing flow of the sound processing step S1 also includes the following contents: by applying a short time window, using fast Fourier transform to capture the spectral characteristics of the background noise during the short inactive interval in the operation cycle, subtracting the noise spectrum from the main audio signal, and then using inverse fast Fourier transform to convert the processed signal back to the time domain to complete the enhanced noise reduction.

4. The method for detecting robot arm motion based on acoustic features according to claim 1, characterized in that: The feature extraction process of the sound processing step S1 is as follows: In the time domain, the extracted features include frame energy, zero-crossing rate, temporal envelope, and energy entropy; in the frequency domain, spectral entropy and power normalized cepstral coefficients are extracted; For a given frame of length FL and an audio signal x(i)=1,2,...,FL, The frame energy is obtained as follows: The zero-crossing rate is obtained as follows: The energy entropy of the sound is calculated by framing the signal and calculating the energy ratio of each frequency component in each frame. The frame is divided into subbands of length K, E j is the energy of the j-th short frame, then the energy entropy is: The temporal envelope of a sound is obtained by: Where HT(i) is the analytical signal obtained by applying the Hilbert transform to the signal x(i), and the envelope of the analytical signal T e (i) is the square root of the sum of the squares of its real part Re(HT(i)) and its imaginary part Im(HT(i)); X i(k) ,k=1,...,FL is the amplitude of the fast Fourier transform coefficient of a given frame; The spectrum is divided into N subbands, E f is the energy of the f-th subband, then the spectral entropy is: Based on this, the time domain features and frequency domain features are spliced ​​into the time domain feature vector S t : {frame energy, zero-crossing rate, energy entropy, time envelope} and frequency domain feature vector S f : {spectral entropy, power normalized cepstral coefficients}.

5. The method for detecting robot arm motion based on acoustic features according to claim 1, characterized in that: Step S1 also includes a trace alignment step: using cross-correlation analysis to align the audio data with the motion data in time traces; specifically as follows: First, the correlation coefficient is used to analyze the relationship between each group of audio data and motion data samples in the training data set, and the local optimal time offset of each group of samples is obtained; then the minimum time offset and the maximum time offset of all samples are determined; then, the minimum time offset and the maximum time offset are used as the boundaries of the search interval, and the grid search method is used within the search interval to find the global optimal time offset τ of the entire training data set, and τ is used as the fixed offset for trace alignment; the cross-correlation coefficient and the optimal time offset are calculated as follows: t optimal =argmax τ R(t) R(τ) is the sound time series x and motion time series m measured at a time offset τ; x(t) and m(t+τ) are the values ​​of the two sequences at time t and (t+τ), respectively; by changing τ, the cross-correlation coefficient at different time offsets can be calculated to maximize the τ of R(τ) optimal represents the optimal time offset between two sequences.

6. A side channel detection method for robot arm deception attack based on acoustic features, characterized in that: The method for detecting the motion of a robotic arm according to any one of claims 1 to 5 further comprises the following contents: Step S3, comparing the predicted motion data with the corresponding real-time motion data obtained, and evaluating whether the difference between each pair of parameters exceeds a preset threshold; If the difference is greater than the corresponding preset threshold, an intrusion alarm will be triggered.

7. A side channel detection system for robotic arm deception attacks based on acoustic features, characterized in that: Includes the following: Model building module: used to build a training recognition model, including the following processing flow: Sound processing step: noise reduction and sound separation are performed on the collected audio, and then features are extracted from the separate motion audio of each axis and spliced ​​into time domain feature vectors and frequency domain feature vectors; Motion processing steps: Process the motion information collected from each axis, calculate the speed, acceleration and motion direction of each axis, and form a motion information sequence; Training and recognition steps: First, use the LSTM network to process the time domain feature vector input data, use the convolutional layer network to process the frequency domain feature vector input data, then perform feature fusion, and then feed it into the classification network and regression network. The classification network uses the fully connected layer and softmax function to output direction classification information, and the regression network uses the fully connected layer and ReLU activation function to output speed and acceleration prediction information, and establish a mapping between the sound feature vector and the motion information sequence; Motion detection module: used to train the recognition model to receive the collected target audio, perform the sound processing step to extract features, and perform the training recognition step to output the predicted motion data corresponding to the target audio; Attack detection module: used to compare the predicted motion data with the corresponding real-time motion data obtained, and evaluate whether the difference between each pair of parameters exceeds a preset threshold; If the difference is greater than the corresponding preset threshold, an intrusion alarm will be triggered.

8. The mechanical arm spoofing attack side channel detection system based on acoustic features according to claim 7 is characterized in that: The noise reduction and separation processing flow of the sound processing step of the model building module is as follows: By statistically analyzing the noise generated by each axis in a quiet environment, the motion frequency range is identified, and a bandpass frequency filter is used to eliminate noise outside the motion frequency range; By applying a short time window, the Fast Fourier Transform is used to capture the spectral characteristics of the background noise during the brief inactive intervals within the operating cycle, subtracting the noise spectrum from the main audio signal, and then converting the processed signal back to the time domain using the Inverse Fast Fourier Transform to achieve enhanced noise reduction. The sparse representation algorithm is used to separate the individual motion audio of each axis moving independently; The process includes the following: (1) The normalized amplitude spectrum of the mixed signal of the configuration simultaneous multi-axis operation; the amplitude spectrum is expressed as follows: Where X is the amplitude spectrum of the sound signal from simultaneous multi-axis operation; is the approximate amplitude spectrum of the mixed sound signal; B represents the matrix composed of dictionaries for each axis; W represents the coefficient matrix; B is an overcomplete dictionary, which includes all amplitude spectrum segments of the sound for each axis; A is the active set; b i is an atom of B; w i is the coefficient; (2) Use the k-means clustering algorithm to cluster the extracted normalized amplitude spectra and construct an overcomplete dictionary for each axis; the overcomplete dictionary is expressed as follows: B=(B x B y B z B u B v B w ) T B x is an overcomplete dictionary for axis x, B y is an overcomplete dictionary on axis y, B z is an overcomplete dictionary for axis z, B u is an overcomplete dictionary of axis u, B v is an overcomplete dictionary of axis v, B w is an overcomplete dictionary for axis w; (3) Use the active set Newton algorithm to solve the sparse coefficients; the specific process is as follows: Sparse coefficient w n by Initialize it and Update; where 1 is an all-one vector with the same length as X; w A is the representation coefficient of the atoms in the active set A; α is the step size; is the search direction; It's about w A The Hessian matrix of is the gradient of the KL divergence with respect to the active atom weight vector; before computing the inverse of the Hessian matrix, the identity matrix is ​​multiplied by a small constant ∈ = 10 -10 ; and, the activity set A is A = argmin n KL(X||w n b n ) to initialize it, and Update, where (KL(X||w n b n ) represents X and The KL divergence between them; through the above iterative algorithm, the activity set A and the representation coefficient w of the corresponding atom in the activity set A are obtained A ; (4) Using the inverse Fourier transform and the approximate amplitude spectrum X for each axis i The original phase is used to reconstruct the individual motion audio of each axis; Among them, the approximate amplitude spectrum of the mixed sound signal It is expressed as the following calculation formula: Therefore, the approximate amplitude spectrum of each axis is expressed as follows: X i =w iA B iA ,i∈{x,y,z,u,v,w} Here, i is not only the index of the axis, but also the index of the row of the overcomplete dictionary B.

9. The mechanical arm spoofing attack side channel detection system based on acoustic features according to claim 7, characterized in that: The feature extraction process of the sound processing step of the model building module is as follows: In the time domain, the extracted features include frame energy, zero-crossing rate, temporal envelope, and energy entropy; in the frequency domain, spectral entropy and power normalized cepstral coefficients are extracted; For a given frame of length FL and an audio signal x(i)=1,2,...,FL, The frame energy is obtained as follows: The zero-crossing rate is obtained as follows: The energy entropy of the sound is calculated by framing the signal and calculating the energy ratio of each frequency component in each frame. The frame is divided into subbands of length K, E j is the energy of the j-th short frame, then the energy entropy is: The temporal envelope of a sound is obtained by: Where HT(i) is the analytical signal obtained by applying the Hilbert transform to the signal x(i), and the envelope of the analytical signal T e (i) is the square root of the sum of the squares of its real part Re(HT(i)) and its imaginary part Im(HT(i)); X i(k) ,k=1,...,FL is the amplitude of the fast Fourier transform coefficient of a given frame; The spectrum is divided into N subbands, E f is the energy of the f-th subband, then the spectral entropy is: Based on this, the time domain features and frequency domain features are spliced ​​into the time domain feature vector S t : {frame energy, zero-crossing rate, energy entropy, time envelope} and frequency domain feature vector S f : {spectral entropy, power normalized cepstral coefficients}.

10. The mechanical arm spoofing attack side channel detection system based on acoustic features according to claim 7, characterized in that: The model building module also includes a trace alignment step: cross-correlation analysis is used to align the time traces of the audio data and the motion data; specifically, as follows: First, the correlation coefficient is used to analyze the relationship between each group of audio data and motion data samples in the training data set, and the local optimal time offset of each group of samples is obtained; then the minimum time offset and the maximum time offset of all samples are determined; then, the minimum time offset and the maximum time offset are used as the boundaries of the search interval, and the grid search method is used within the search interval to find the global optimal time offset τ of the entire training data set, and τ is used as the fixed offset for trace alignment; the cross-correlation coefficient and the optimal time offset are calculated as follows: t optimal =argmax τ R(t) R(τ) is the sound time series x and motion time series m measured at a time offset τ; x(t) and m(t+τ) are the values ​​of the two sequences at time t and (t+τ), respectively; by changing τ, the cross-correlation coefficient at different time offsets can be calculated to maximize the τ of R(τ) optimal represents the optimal time offset between two sequences.

Citation Information

Patent Citations

  • Memory dynamic event triggering control method for single-connecting-rod mechanical arm system based on spoofing attack

    CN117754564A

  • Unmanned aerial vehicle attitude prediction method based on sound

    CN118152852A

  • Driving method for a robotic apparatus with an ultrasonic device and robotic device

    EP3461419A1

  • Method for generating talking head video, device and computer-readable storage medium

    US20230386116A1

Cited By

  • Acoustic side channel attack detection and identification method and device based on multi-dimensional information fusion

    CN119520083A

  • Audio noise reduction method and system based on deep learning

    CN119541515A

  • A method and system for audio noise reduction based on deep learning

    CN119541515B

  • Concealed threat sensing method and system based on side channel signal

    CN121333831A

  • A covert threat perception method and system based on side channel signals

    CN121333831B