Robot vibration anomaly detection method based on neural network
By using a pulse neural network-based method and using pulse sequences and asynchronous Σ-Δ modulators, the high power consumption and low efficiency problems of robot vibration anomaly detection in the existing technology are solved, and fast, low-power vibration anomaly detection is achieved.
Patent Information
- Application Number
- CN202410827937.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-25
AI Technical Summary
The existing method of detecting robot vibration anomalies using neural network algorithms has large calculation scale, complex algorithms, high power consumption, and cannot quickly detect vibration anomalies.
A robot vibration anomaly detection method based on pulse neural network is proposed. By acquiring the original vibration signal, decomposing it into frequency components and converting it into a pulse sequence, the trained pulse neural network is used for detection, using an asynchronous Σ-Δ modulator and LIF neural network. meta-model, reducing power consumption and increasing detection speed.
It achieves rapid detection of robot vibration anomalies in a low-power state, reduces the power consumption and computing overhead of the detection system, and improves the speed of fault detection.
Smart Images

Figure CN118395353B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of robot vibration anomaly detection, and more specifically, relates to a robot vibration anomaly detection method based on a neural network. Background Art
[0002] Vibration pattern analysis of industrial robots is an important part of predictive maintenance of robots. It mainly detects vibration anomalies of degraded robot hardware systems for health monitoring purposes. Compared with conventional or time-based preventive maintenance, predictive maintenance can be repaired and replaced in a timely manner, which is an energy-saving and cost-saving alternative.
[0003] At present, the existing predictive maintenance methods for abnormal vibration detection of robots using neural network algorithms (such as CNN, BP, LSTM, etc.) have problems such as large calculation scale, complex algorithm, high power consumption, and inability to quickly detect abnormal low vibration. Summary of the invention
[0004] The purpose of the present invention is to propose a robot vibration anomaly detection method based on a neural network, which can realize rapid detection of robot vibration anomalies and fault identification under low power consumption state.
[0005] To achieve the above object, the present invention proposes a robot vibration anomaly detection method based on a neural network, comprising:
[0006] Get the original vibration signal of the robot;
[0007] Decomposing the original vibration signal into frequency components to obtain continuous spectrum signals of multiple different frequency channels;
[0008] Converting the continuous spectrum signal of each frequency channel into a pulse sequence, wherein the pulse signal in the pulse sequence is the change in amplitude;
[0009] The pulse sequence corresponding to each frequency channel is input into the trained spiking neural network, and the spiking neural network is used to perform abnormal vibration detection.
[0010] Optionally, obtaining the original vibration signal of the robot includes:
[0011] The original vibration signal is collected by an acceleration sensor arranged on the robot.
[0012] Optionally, decomposing the original vibration signal into frequency components comprises:
[0013] The original vibration signal is decomposed into frequency components using a cochlear model, wherein the cochlear model includes a Gammatone filter bank, which is a group of linear filters organized by pitch, each of which is tuned to a specific center frequency.
[0014] Optionally, converting the continuous spectrum signal of each frequency channel into a pulse sequence comprises:
[0015] The continuous spectrum signal of each frequency channel is encoded by an asynchronous Σ-Δ modulator, wherein whenever the amplitude of the spectrum signal crosses a predefined upper threshold or lower threshold, an upper pulse or a lower pulse is generated accordingly, and the amplitude corresponding to the upper pulse or the lower pulse is subtracted from the corresponding threshold to obtain the final pulse signal.
[0016] Optionally, the spiking neural network comprises an input layer, a hidden layer and an output layer connected in sequence, the input layer comprises N input neurons, the hidden layer comprises N hidden neurons, and the output layer comprises one output neuron, wherein N is equal to the number of the frequency channels;
[0017] Each of the input neurons is connected to an output channel of the asynchronous Σ-Δ modulator, each of the hidden neurons combines the excitatory projection of one of the input neurons and the inhibitory projections of all other input neurons, and the hidden neurons are projected to the output neurons with symmetrical excitatory connections.
[0018] Optionally, the neurons in the pulse neural network adopt a LIF neuron model.
[0019] Optionally, the training process of the spiking neural network includes:
[0020] Providing a training data set, wherein each training data in the training data set is a vibration signal with a fault type label when the robot gradually changes from a healthy state to an abnormal vibration state, and the vibration signal includes a continuous signal that gradually changes from an initial normal vibration to an abnormal vibration along a time direction;
[0021] Decomposing the vibration signal in the training data set into frequency components to obtain continuous spectrum signals of multiple different frequency channels;
[0022] Convert the continuous spectrum signal of each frequency channel into a pulse train;
[0023] The pulse sequence corresponding to each frequency channel is used as the input of the pulse neural network, and the pulse neural network is trained using a spatiotemporal back propagation training method.
[0024] Optionally, the training process of the pulse neural network or the abnormal vibration detection process further includes:
[0025] When the pulse sequence starts to be input into the pulse neural network, an initial time window corresponding to healthy and non-abnormal vibration is given;
[0026] In the initial time window, the pulse activity of the pulse neuron is tracked and optimized by an exponentially weighted moving average optimization algorithm, and the pulse excitation threshold of each coding channel in the asynchronous Σ-Δ modulator is adjusted by a PID optimization algorithm to fix the pulse activity rate of the input neurons of each channel of the pulse neural network at a fixed target rate;
[0027] After the initial time window, the pulse activities of the input neurons of all channels are emitted at basically the same rate. When the pulse signal corresponding to the abnormal vibration is input into the pulse neural network, the pulse emission rate of the input neurons of one or more channels will deviate from the target rate. The pulse neural network detects and learns the offset characteristics of the pulse emission rate of each channel compared to the target rate, and outputs the corresponding fault type based on the offset characteristics.
[0028] In a second aspect, the present invention provides an electronic device, the electronic device comprising:
[0029] at least one processor; and,
[0030] a memory communicatively connected to the at least one processor; wherein,
[0031] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the robot vibration anomaly detection method based on neural network described in the first aspect.
[0032] In a third aspect, the present invention proposes a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the robot vibration anomaly detection method based on neural network described in the first aspect.
[0033] The beneficial effects of the present invention are:
[0034] The method of the present invention first obtains the original vibration signal of the robot, then decomposes the original vibration signal into frequency components, obtains continuous spectrum signals of multiple different frequency channels, then converts the continuous spectrum signal of each frequency channel into a pulse sequence, and then inputs the pulse sequence corresponding to each frequency channel into the trained pulse neural network, and uses the pulse neural network to detect abnormal vibration. Since the pulse neural network itself has the performance advantage of low power consumption, it can further reduce the power consumption of the detection system. The pulse signal generated in this scheme is the change in amplitude, rather than the amplitude itself. Compared with the method of directly generating a pulse sequence based on the amplitude, the number of pulses generated within a fixed time window using the change in amplitude is smaller, and the pulse emission rate is lower, thereby reducing the activity of neurons in the pulse neural network when no abnormal state is detected, and further reducing the power consumption of the vibration anomaly detection system when the robot system is in a healthy state. When the robot system has abnormal vibration, the rate of pulses input to the pulse neural network will increase, and the activity level of neurons (the rate at which pulses occur) will also increase. Vibration anomalies can be quickly detected by detecting changes in the pulse emission rates of neurons in each channel.
[0035] Furthermore, the pulse neural network architecture in the present application adopts an efficient balanced network architecture, which can provide a sparse pulse sequence when the robot system is in a healthy state, and generate a dense pulse sequence when vibration abnormalities occur, and respond quickly, thereby reducing the computational overhead of the detection system and increasing the speed of fault detection.
[0036] The system of the present invention has other characteristics and advantages, which will be apparent from the drawings incorporated herein and the following detailed description, or will be described in detail in the drawings incorporated herein and the following detailed description, which together serve to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, in which like reference numerals generally represent like components.
[0038] Figure 1 A step diagram of a robot vibration anomaly detection method based on a neural network according to the present invention is shown.
[0039] Figure 2 A schematic diagram of a robot vibration anomaly detection method based on a neural network according to the present invention is shown. DETAILED DESCRIPTION
[0040] The present invention will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art. Example
[0041] like Figure 1 and Figure 2 As shown, this embodiment provides a robot vibration anomaly detection method based on a neural network, comprising:
[0042] S1: Get the original vibration signal of the robot;
[0043] Preferably, in this step, the original vibration signal can be collected by an acceleration sensor arranged on the robot.
[0044] During the specific implementation process, an acceleration sensor can be set at a specific position of the robot (such as a rotating shaft, etc.) to collect vibration information of the robot in real time during operation.
[0045] S2: Decomposing the original vibration signal into frequency components to obtain continuous spectrum signals of multiple different frequency channels;
[0046] Preferably, this step utilizes a cochlear model to decompose the original vibration signal into frequency components, wherein the cochlear model includes a Gammatone filter bank, which is a group of linear filters organized by pitch, each linear filter being tuned to a specific center frequency.
[0047] Specifically, Figure 2 As shown in Figure 1, the Gammatone filter bank is a standard cochlear auditory filter (i.e., cochlear model), which is mainly used to perform frequency decomposition of sound waves. Specifically, the Gammatone filter bank is a set of linear filters organized by pitch, each of which is tuned to a specific center frequency. f c The impulse response g(t) of each gammatone filter is represented by the gamma distribution function multiplied by a sine wave:
[0048] ,
[0049] Where a, n, b and φ represent amplitude, filter order, bandwidth and phase respectively, and t represents time. This scheme uses a cochlear model with logarithmically spaced frequency channels to decompose the original vibration recording into a spectral representation. A cascade filter consisting of four second-order filters is used to process the signal in the Laplace domain.
[0050] S3: converting the continuous spectrum signal of each frequency channel into a pulse sequence, wherein the pulse signal in the pulse sequence is the change in amplitude;
[0051] Preferably, this step encodes the continuous spectrum signal of each frequency channel through an asynchronous Σ-Δ modulator, wherein each time the amplitude of the spectrum signal crosses a predefined upper threshold or lower threshold, an upper pulse or a lower pulse is generated accordingly, and the amplitude corresponding to the upper pulse or the lower pulse is subtracted from the corresponding threshold to obtain the final pulse signal.
[0052] Specifically, in order to exploit the power advantages offered by pulse-based signal processing, it is necessary to encode the filtered signal into an asynchronous pulse train, such as Figure 2 As shown in Figure 1, this scheme uses an asynchronous Σ-Δ modulator to encode the continuous spectrum signal of each frequency channel: every time the signal crosses a predefined upper (lower) threshold, an up (down) pulse is generated, and the crossed threshold is subtracted from the signal. In this case, the pulse train represents the change in amplitude rather than the amplitude itself, which prevents the generation of multiple pulses in a given time window.
[0053] Furthermore, in order to avoid excessive amplitude changes in each frequency channel, this solution also provides a pulse threshold calibration method. Assuming that the system is initially in a healthy state (the input vibration signal is normal), the noise of each frequency channel is constant at this time. adapt Within, an exponentially weighted running average tracks the activity of spiking neurons on spike A up (or down pulse A dn ), then, the PID optimization algorithm (proportional control feedback mechanism) is used to control the upper threshold V of the pulse generated by each frequency channel. thr,up Make changes (such as Figure 2 to drive the neuronal activity toward a fixed target activity A. target :
[0054] ,
[0055] A similar equation also applies to the next pulse A dn and the lower threshold V thr,down , where s up (s dn ) is a binary value indicating whether there is at least one rising (falling) pulse in the current time step, and τ and η represent the exponential running average time constant and the learning rate, or gain.
[0056] S4: Input the pulse sequence corresponding to each frequency channel into the trained spiking neural network (SNN), and use the spiking neural network to perform abnormal vibration detection.
[0057] In one example, the training process of the spiking neural network includes:
[0058] Providing a training data set, wherein each training data in the training data set is a vibration signal with a fault type label when the robot gradually changes from a healthy state to an abnormal vibration state, and the vibration signal includes a continuous signal that gradually changes from an initial normal vibration to an abnormal vibration along a time direction;
[0059] Decomposing the vibration signal in the training data set into frequency components to obtain continuous spectrum signals of multiple different frequency channels;
[0060] Convert the continuous spectrum signal of each frequency channel into a pulse train;
[0061] The pulse sequence corresponding to each frequency channel is used as the input of the pulse neural network, and the pulse neural network is trained using a spatiotemporal back propagation training method.
[0062] Furthermore, in the training process of the pulse neural network or the abnormal vibration detection process, it also includes:
[0063] When the pulse sequence starts to be input into the pulse neural network, an initial time window corresponding to healthy and non-abnormal vibration is given;
[0064] In the initial time window, the pulse activity of the pulse neuron is tracked and optimized by an exponentially weighted moving average optimization algorithm, and the pulse excitation threshold of each coding channel in the asynchronous Σ-Δ modulator is adjusted by a PID optimization algorithm to fix the pulse activity rate of the input neurons of each channel of the pulse neural network at a fixed target rate;
[0065] After the initial time window, the pulse activities of the input neurons of all channels are emitted at basically the same rate. When the pulse signal corresponding to the abnormal vibration is input into the pulse neural network, the pulse emission rate of the input neurons of one or more channels will deviate from the target rate. The pulse neural network detects and learns the offset characteristics of the pulse emission rate of each channel compared to the target rate, and outputs the corresponding fault type based on the offset characteristics.
[0066] Specifically, the pulse neural network used in this solution adopts the existing efficient balanced network (EfficientBalance Networks) architecture. Specifically, the pulse neural network includes an input layer, a hidden layer and an output layer connected in sequence, the input layer includes N input neurons, the hidden layer includes N hidden neurons, and the output layer includes one output neuron, where N is equal to the number of the frequency channels;
[0067] Each of the input neurons is connected to an output channel of the asynchronous Σ-Δ modulator, each of the hidden neurons combines the excitatory projection of one of the input neurons and the inhibitory projections of all other input neurons, and the hidden neurons are projected to the output neurons with symmetrical excitatory connections.
[0068] Preferably, the neurons in the spiking neural network adopt the LIF (Leaky-Integrate-and Fire) neuron model. The neuron membrane is simulated by a circuit consisting of a resistor and a parallel capacitor, and the membrane potential V mem It is expressed as:
[0069]
[0070] Among them, V rest is the resting potential, I is the inflow current, R is the resistance value, and C is the capacitance value of the parallel capacitor. If the V mem Exceeding the threshold voltage V thr , then the membrane potential of the postsynaptic neuron V mem will increase or decrease w, depending on whether the connection is excitatory or inhibitory. Optionally, only the upgoing pulses can be used in further processing.
[0071] In the process of vibration anomaly detection, the spiking neural network is used to detect the vibration anomaly in the initial time window t. adapt After that, all input channels are emitted at approximately the same rate. Once the system begins to deviate from its healthy state, one or more channels will deviate from their target rate. The SNN network in this scheme is specifically used to detect the rate deviation characteristics of the channel pulse sequence, and identify the corresponding vibration fault type by detecting and learning the pulse sequence rate deviation characteristics. Figure 2 As shown in the figure, in addition to the N-dimensional input layer and one output neuron, the pulse neural network also includes an N-dimensional hidden layer, in which the excitation and inhibition connections are strictly balanced: each hidden neuron h j Combined with an input neuron n j The excitatory projections and all other input neurons n k,k≠j The inhibitory projection ( Figure 2 The red color is excitatory projection, and the blue color is inhibitory projection). Preferably, the input neuron nj and hidden neurons h j The weight w between nj,hj Set to any other input neuron n k,k≠j and hidden neurons h j The weight between nk,hj,k≠j α·(N-1) times:
[0072]
[0073] Among them, α=1.25 is a scaling parameter.
[0074] Hidden neurons are projected to output neurons with symmetrical excitatory connections. This balanced and efficient spiking neural network architecture (BSNN) can provide sparse spike trains in a healthy state and respond quickly when abnormalities occur. Example
[0075] This embodiment provides an electronic device, the electronic device comprising:
[0076] at least one processor; and,
[0077] a memory communicatively connected to the at least one processor; wherein,
[0078] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the robot vibration anomaly detection method based on neural network described in Example 1.
[0079] The electronic device according to an embodiment of the present disclosure includes a memory and a processor, the memory being used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may, for example, include a read-only memory (ROM), a hard disk, a flash memory, etc.
[0080] The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to execute the computer-readable instructions stored in the memory.
[0081] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.
[0082] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here. Example
[0083] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions are used to enable a computer to execute the robot vibration anomaly detection method based on neural network described in Example 1.
[0084] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the above-mentioned methods of each embodiment of the present disclosure are executed.
[0085] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).
[0086] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A robot vibration anomaly detection method based on neural network, characterized in that: include: Get the original vibration signal of the robot; Decomposing the original vibration signal into frequency components to obtain continuous spectrum signals of multiple different frequency channels; Converting the continuous spectrum signal of each frequency channel into a pulse sequence, wherein the pulse signal in the pulse sequence is the change in amplitude; Inputting the pulse sequence corresponding to each frequency channel into the trained spiking neural network, and using the spiking neural network to perform abnormal vibration detection; The step of converting the continuous spectrum signal of each frequency channel into a pulse sequence comprises: The continuous spectrum signal of each frequency channel is encoded by an asynchronous Σ-Δ modulator, wherein whenever the amplitude of the spectrum signal crosses a predefined upper threshold or lower threshold, an upper pulse or a lower pulse is generated accordingly, and the amplitude corresponding to the upper pulse or the lower pulse is subtracted from the corresponding threshold to obtain a final pulse signal; The spiking neural network comprises an input layer, a hidden layer and an output layer connected in sequence, wherein the input layer comprises N input neurons, the hidden layer comprises N hidden neurons, and the output layer comprises one output neuron, wherein N is equal to the number of the frequency channels; Each of the input neurons is connected to an output channel of the asynchronous Σ-Δ modulator, each of the hidden neurons combines the excitatory projection of one of the input neurons and the inhibitory projections of all other input neurons, and the hidden neurons are projected to the output neurons with symmetrical excitatory connections; The neurons in the spiking neural network adopt the LIF neuron model; The training process of the spiking neural network includes: Providing a training data set, wherein each training data in the training data set is a vibration signal with a fault type label when the robot gradually changes from a healthy state to an abnormal vibration state, and the vibration signal includes a continuous signal that gradually changes from an initial normal vibration to an abnormal vibration along a time direction; Decomposing the vibration signal in the training data set into frequency components to obtain continuous spectrum signals of multiple different frequency channels; Convert the continuous spectrum signal of each frequency channel into a pulse train; Using the pulse sequence corresponding to each frequency channel as the input of the spiking neural network, and training the spiking neural network using a spatiotemporal back propagation training method; The training process of the pulse neural network or the abnormal vibration detection process also includes: When the pulse sequence starts to be input into the pulse neural network, an initial time window corresponding to healthy and non-abnormal vibration is given; In the initial time window, the pulse activity of the pulse neuron is tracked and optimized by an exponentially weighted moving average optimization algorithm, and the pulse excitation threshold of each coding channel in the asynchronous Σ-Δ modulator is adjusted by a PID optimization algorithm to fix the pulse activity rate of the input neurons of each channel of the pulse neural network at a fixed target rate; After the initial time window, the pulse activities of the input neurons of all channels are emitted at basically the same rate. When the pulse signal corresponding to the abnormal vibration is input into the pulse neural network, the pulse emission rate of the input neurons of one or more channels will deviate from the target rate. The pulse neural network detects and learns the offset characteristics of the pulse emission rate of each channel compared to the target rate, and outputs the corresponding fault type based on the offset characteristics.
2. The robot vibration anomaly detection method based on neural network according to claim 1 is characterized in that: The obtaining of the original vibration signal of the robot comprises: The original vibration signal is collected by an acceleration sensor arranged on the robot.
3. The robot vibration anomaly detection method based on neural network according to claim 1 is characterized in that: Decomposing the original vibration signal into frequency components comprises: The original vibration signal is decomposed into frequency components using a cochlear model, wherein the cochlear model includes a Gammatone filter bank, which is a group of linear filters organized by pitch, each of which is tuned to a specific center frequency.
4. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the robot vibration anomaly detection method based on neural network as described in any one of claims 1-3.
5. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, which are used to enable a computer to execute the robot vibration anomaly detection method based on a neural network as described in any one of claims 1-3.
Citation Information
Patent Citations
Methods and systems for detection in industrial internet of things data collection environment with large data sets
CN110073301A
Bearing fault diagnosis method based on LMD and spiking neural network
CN111275004A
Distributed optical fiber sensing signal identification method based on SNN
CN112749637A
Robot vibration detection method and system
CN117232638A
