Edge monitoring system, method, medium, electronic device, and program product

By combining sensors and inference modules, a wake-up signal is generated using a pre-trained inference model to wake up the processor, solving the high power consumption problem caused by frequent processor wake-ups in edge computing systems and achieving low power consumption and efficient abnormal event recognition.

CN123179187APending Publication Date: 2026-11-27SHENHUA HOLLYSYS INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611079069.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-20
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The high power consumption problem caused by the frequent wake-up of the processor to check sensor data in existing edge computing systems, especially when there are no abnormal events, results in high overall system power consumption.

Method used

By employing a combination of sensors, inference modules, and signal generation circuits, the inference module performs inference through a pre-trained inference model, generates a wake-up signal to wake up the processor, and the processor performs response operations in sleep mode, reducing the processor's continuous operation and wake-up frequency.

Benefits of technology

Significantly reduces system power consumption, meets real-time requirements, reduces false alarm rate, improves the accuracy of abnormal event identification, and reduces processor idle power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179187A_ABST
    Figure CN123179187A_ABST
Patent Text Reader

Abstract

The present disclosure relates to an edge monitoring system, method, medium, electronic device and program product, the edge monitoring system comprising a sensor and an edge computing device, the edge computing device comprising a processor, an inference module and a signal generation circuit; the sensor is used to monitor device state information of a target device; the inference module is used to perform inference based on the device state information through a pre-trained inference model to obtain an inference result, the inference result characterizing whether an abnormality occurs in the target device; the signal generation circuit is used to generate a wake-up signal and send the wake-up signal to the processor to wake up the processor in the case that the inference result characterizes that an abnormal event occurs in the target device and the processor is in a sleep state; the processor is used to perform a response operation based on the abnormal event after being woken up. In this way, the processor does not need to run continuously or wake up at a fixed time, the system power consumption is significantly reduced, and the conversion from the inference result to the wake-up signal is completed by hardware, the delay is low, and the real-time requirement can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of edge computing technology, and more specifically, to an edge monitoring system, an edge monitoring method, a non-transitory computer-readable storage medium, an electronic device, and a computer program product. Background Technology

[0002] In edge computing scenarios, edge monitoring systems (such as vibration monitors, drones, and inspection robots) typically need to perform continuous or quasi-continuous status monitoring of industrial equipment. Related technologies employ a "low-power sensor + processor" architecture, where the processor checks sensor data through timed wake-ups or periodic polling. Specifically, the processor wakes from sleep mode at fixed time intervals (e.g., 100ms), reads the data collected by the sensors, performs data analysis and anomaly detection, and then enters sleep mode again after processing.

[0003] In this scheme, the processor needs to be frequently woken up to check for new data or abnormal events that need to be processed. Even when the device is operating normally and there are no abnormal events, the processor still needs to be woken up at a fixed frequency to execute the complete data processing flow. Actual testing showed that the idle power consumption of the processor in this scheme accounts for 30%-50% of the total power consumption of the edge monitoring system, resulting in high overall system power consumption. Summary of the Invention

[0004] To address the aforementioned issues, this disclosure provides an edge monitoring system, an edge monitoring method, a non-transitory computer-readable storage medium, an electronic device, and a computer program product.

[0005] To achieve the above objectives, in one aspect, this disclosure provides an edge monitoring system, including: a sensor and an edge computing device, the edge computing device including a processor, an inference module and a signal generation circuit, the sensor being connected to the inference module, the inference module being connected to the processor through the signal generation circuit, and the processor being configured to enter a sleep state when idle; The sensor is used to monitor the device status information of the target device; The reasoning module is used to perform reasoning based on the device status information using a pre-trained reasoning model to obtain a reasoning result, and the reasoning result indicates whether the target device has experienced an anomaly. The signal generation circuit is used to generate a wake-up signal and send the wake-up signal to the processor to wake up the processor when the inference result indicates that an abnormal event has occurred in the target device and the processor is in a sleep state. The processor is configured to perform a response operation based on the abnormal event after being woken up.

[0006] Optionally, the inference model includes multiple output neurons, and the inference result includes the number of pulses, pulse frequency, and membrane potential generated by the multiple output neurons; The signal generation circuit is used to determine that the abnormal event has occurred when the inference result meets the preset abnormal conditions. The preset abnormal conditions include at least one of the following: The number of pulses of the output neuron during the preset detection period is greater than a first quantity threshold. The pulse frequency of the output neuron is greater than the pulse frequency threshold. The membrane potentials of multiple output neurons in the preset neuron set satisfy the preset membrane potential conditions.

[0007] Optionally, the processor is configured to determine the event level corresponding to the abnormal event and execute the response operation according to the event level.

[0008] Optionally, the processor is configured to: record the abnormal event when the event level is first level; acquire and analyze the event data of the abnormal event when the event level is second level, and upload the analysis results to the server; and issue an alarm message and perform protection operations on the target device when the event level is third level.

[0009] Optionally, the signal generation circuit includes a first detection unit, a second detection unit, a third detection unit, and a logic gate unit. The first detection unit, the second detection unit, and the third detection unit are all connected to the inference module and the logic gate unit, and the logic gate unit is connected to the processor. The inference model includes multiple output neurons, and the inference result includes the number of pulses, pulse frequency, and membrane potential generated by the multiple output neurons. The first detection unit is used to determine a first detection result based on the number of pulses; The second detection unit is used to determine a second detection result based on the pulse frequency; The third detection unit is used to determine a third detection result based on the membrane potential; The logic gate unit is used to perform logic gate operations on the first detection result, the second detection result, and the third detection result to determine whether the inference result satisfies the preset abnormal condition.

[0010] Optionally, the edge computing device further includes a signal encoding module; the signal encoding module is connected to the inference module and the processor respectively; The processor is further configured to determine the abnormal event based on the time-series correlation data corresponding to the abnormal event, and obtain a determination result. The time-series correlation data includes correlation event information that has a time dependency relationship with the abnormal event. The determination result indicates whether the abnormal event has occurred in the target device. The signal encoding module is used to generate a model update signal based on the determination result, wherein the model update signal is a pulse sequence; The inference module is also used to update the inference model in response to the model update signal.

[0011] Optionally, the signal encoding module is configured to generate a first model update signal when it is determined that the abnormal event has occurred in the target device; and to generate a second model update signal when it is determined that the abnormal event has not occurred in the target device. The inference module is configured to perform positive feedback updates on the inference model in response to the first model update signal, and to perform negative feedback updates on the inference model in response to the second model update signal. The positive feedback update includes increasing the synaptic weights of the inference path corresponding to the abnormal event in the inference model; the negative feedback update includes decreasing the synaptic weights of the inference path corresponding to the abnormal event in the inference model.

[0012] Optionally, the inference model is trained by: collecting and labeling normal operation data and abnormal operation data of the target device to obtain a training dataset; performing pulse coding on the training dataset to obtain a pulse sequence; inputting the pulse sequence into the spiking neural network, and training the spiking neural network based on a training method combining supervised learning and pulse time-dependent plasticity to obtain the inference model.

[0013] On the other hand, this disclosure provides an edge monitoring method applied to the aforementioned edge monitoring system, the method comprising: Monitor the equipment status information of the target device; Based on the device status information, inference is performed using a pre-trained inference model to obtain an inference result, which indicates whether the target device has experienced an anomaly. If the inference result indicates that an abnormal event has occurred in the target device and the processor is in a sleep state, a wake-up signal is generated and sent to the processor to wake up the processor. After the processor is woken up, a response operation is performed based on the abnormal event.

[0014] Optionally, the method further includes: If the reasoning result meets the preset abnormal conditions, it is determined that the abnormal event has occurred.

[0015] Optionally, the method further includes: Determine the event level corresponding to the abnormal event, and execute the response operation according to the event level.

[0016] Optionally, performing the response operation according to the event level includes: recording the abnormal event when the event level is the first level; acquiring and analyzing the event data of the abnormal event when the event level is the second level, and uploading the analysis results to the server; and issuing an alarm message and performing protection operations on the target device when the event level is the third level.

[0017] Optionally, the method further includes: An abnormal event is determined based on the time-series correlation data corresponding to the abnormal event, and a determination result is obtained. The time-series correlation data includes information on related events that have a time dependency relationship with the abnormal event. The determination result indicates whether the abnormal event has occurred in the target device. A model update signal is generated based on the determination result; In response to the model update signal, the inference model is updated.

[0018] In another aspect, this disclosure provides a non-transitory computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the edge monitoring method described above.

[0019] In another aspect, this disclosure provides an electronic device, including: a memory storing a computer program thereon; and a processor for executing the computer program in the memory to implement the steps of the edge monitoring method described above.

[0020] In another aspect, this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the edge monitoring method described above.

[0021] Through the above technical solution, the sensor is used to monitor the device status information of the target device; the inference module is used to perform inference based on the device status information using a pre-trained inference model to obtain the inference result, which indicates whether the target device has experienced an anomaly; the signal generation circuit is used to generate a wake-up signal when the inference result indicates that an abnormal event has occurred in the target device and the processor is in a sleep state, and sends the wake-up signal to the processor to wake it up; the processor is used to perform response operations based on the abnormal event after being woken up. In this way, there is no need for the processor to run continuously or be woken up periodically, significantly reducing system power consumption, and the conversion from inference result to wake-up signal is completed in hardware, resulting in low latency and meeting real-time requirements.

[0022] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description

[0023] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of a module of an edge monitoring system according to an exemplary embodiment; Figure 2 This is a schematic diagram illustrating the training process of an inference model according to an exemplary embodiment; Figure 3 This is a schematic diagram of a signal generation circuit module according to an exemplary embodiment; Figure 4 It is based on the power consumption timing diagram of the edge monitoring scheme in related technologies; Figure 5 This is a power consumption timing diagram illustrated according to an exemplary embodiment; Figure 6 This is a flowchart illustrating an edge detection method according to an exemplary embodiment; Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment; Figure 8 This is a block diagram illustrating an electronic device according to another exemplary embodiment. Detailed Implementation

[0024] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.

[0025] In industrial edge computing scenarios, a common approach is to use a "low-power sensor + processor" architecture. The processor periodically checks sensor data by waking up at regular intervals. Even if there are no abnormalities, it needs to be woken up frequently. Idle power consumption accounts for 30%-50% of the total system power consumption, resulting in high overall system power consumption.

[0026] To address the aforementioned issues, the solution disclosed herein includes a sensor for monitoring the device status information of the target device; an inference module for performing inference based on the device status information using a pre-trained inference model to obtain an inference result, which indicates whether an anomaly has occurred in the target device; and a signal generation circuit for generating a wake-up signal and sending it to the processor when the inference result indicates an anomaly has occurred in the target device and the processor is in a sleep state, thereby waking the processor. Upon being woken up, the processor performs a response operation based on the anomaly event. This eliminates the need for continuous processor operation or timed wake-ups, significantly reducing system power consumption. Furthermore, the conversion from inference result to wake-up signal is performed in hardware, resulting in low latency and meeting real-time requirements.

[0027] Figure 1 This is a schematic diagram of a module of an edge monitoring system 100 according to an exemplary embodiment, such as... Figure 1 As shown, the edge monitoring system 100 includes a sensor 10 and an edge computing device 20. The edge computing device 20 includes a processor 21, an inference module 22, and a signal generation circuit 23. The sensor 10 is connected to the inference module 22, and the inference module 22 is connected to the processor 21 through the signal generation circuit 23. The sensor 10 is used to monitor the device status information of the target device. The processor 21 is configured to enter a sleep state when idle. The inference module 22 is used to perform inference based on the device status information using a pre-trained inference model to obtain an inference result, which indicates whether the target device has experienced an abnormality. The signal generation circuit 23 is used to generate a wake-up signal and send the wake-up signal to the processor 21 when the inference result indicates that an abnormal event has occurred in the target device and the processor 21 is in a sleep state, so as to wake up the processor 21. After being woken up, the processor 21 is used to perform a response operation based on the abnormal event.

[0028] For example, sensor 10 can be connected to the target device or placed around the target device to monitor the status information of the target device. The type of sensor 10 can be determined according to the monitoring requirements of the target device in the actual application.

[0029] The target equipment can be industrial equipment such as motors, transformers, switchgear, cable joints, and pipe valves. Correspondingly, the sensor 10 can be a vibration sensor, temperature sensor, sound sensor, current sensor, infrared sensor, etc., without limitation. For example, if the target equipment is a motor, the sensor 10 can be an acceleration sensor 10 installed on the motor housing. The equipment status information obtained by monitoring the target equipment includes vibration acceleration, velocity, and displacement, to monitor whether there are any abnormalities in the mechanical structure of the target equipment based on the equipment status information. In other examples, if the target equipment is a transformer, the sensor can be an oil temperature sensor and a winding temperature sensor to monitor the thermal state of the transformer; if the target equipment is a cable joint, the sensor can be an infrared temperature sensor to monitor abnormal temperatures at the joint; if the target equipment is a pipe valve, the sensor can be an acoustic emission sensor to monitor the leakage status of the valve.

[0030] In the edge computing device 20, the processor 21 can be any low-power processor that supports a sleep-wake mechanism. The processor 21 can enter a sleep state when idle to reduce power consumption, with a sleep power consumption of <0.01W.

[0031] The inference module 22 is a hardware module used to perform inference operations independently of the processor 21. For example, the inference module 22 can use a neuromorphic computing chip. The neuromorphic computing chip is an application-specific integrated circuit based on neuromorphic engineering design. The chip integrates multiple artificial neurons and synaptic connections, supporting in-situ inference operations of spiking neural networks.

[0032] The inference module 22 includes a pre-trained inference model, which can be trained based on a spiking neural network. The inference module 22 can infer the pulse-coded device status information and output the inference result. The pulse coding operation can be performed by the coding unit within the inference module 22, or by a separately configured coding unit.

[0033] The signal generation circuit 23 can employ digital logic circuits, and its specific circuit structure can be determined according to actual application requirements. The signal generation circuit 23 receives the inference result. If the inference result indicates an abnormal event in the target device and the processor 21 is in a sleep state, the signal generation circuit 23 can generate a wake-up signal. It should be noted that when the edge computing device 20 starts up, the processor 21 can be set to sleep mode, at which time the power consumption of the processor 21 is <0.01W. The signal generation circuit 23 sends the wake-up signal to the processor 21, and upon receiving the wake-up signal, the processor 21 can be woken up from its sleep state.

[0034] The inference results of the inference module 22 can be sent to the signal generation circuit 23 and written to the output buffer of the inference module 22 itself. After being woken up, the processor 21 can read the inference results from the output buffer of the inference module 22, determine the abnormal events and corresponding response operations based on the inference results, and execute the response operations.

[0035] In the above technical solution, a signal generation circuit 23 is set up. The signal generation circuit 23 wakes up the processor 21 based on the inference result of the inference module 22. The conversion from the inference result to the wake-up signal is completed by hardware without the need for software participation, resulting in low latency. Studies have shown that the latency is less than 0.1ms. Based on the inference module 22, more complex abnormal events can be identified, and the false alarm rate of abnormal events is low. In addition, the processing module can be in sleep mode and will only be woken up when the inference result indicates that an abnormal event has occurred in the target device, which significantly reduces system power consumption. Studies have shown that the idle power consumption of the device can be reduced from 5W-15W to 0.3W, a reduction of 1 / 10-1 / 30.

[0036] In some embodiments, the inference model is trained by: collecting and labeling normal operation data and abnormal operation data of the target device to obtain a training dataset; performing pulse coding on the training dataset to obtain a pulse sequence; inputting the pulse sequence into a spiking neural network, and training the spiking neural network based on a training method that combines supervised learning and pulse time-dependent plasticity to obtain the inference model.

[0037] For example, the training process of an inference model can be as follows: Figure 2 As shown, sensor 10 collects sensor data of the target device under normal and abnormal operating conditions, labels the sensor data to form a training dataset, and each training sample in the training dataset includes a sensor data sequence and a corresponding label (normal type or abnormal type).

[0038] Next, pulse coding is performed on the training dataset to convert the sensor data into a pulse sequence. Frequency coding can be used to map the signal amplitude of the sensor data to the pulse firing frequency, and the signal amplitude is proportional to the pulse firing frequency.

[0039] The training dataset based on pulse coding can be used to train spiking neural networks. The training adopts a combination of supervised learning and modulated Spike-Timing-Dependent Plasticity (STDP) training method. During the training process, the synaptic weights are adjusted so that the spiking neural network can distinguish between the normal operation state and the abnormal operation state of the target device, thus obtaining the inference model.

[0040] After training is completed, the model parameters (i.e., the synaptic weight matrix) of the inference model can be loaded into the inference module, so that the inference module 22 can perform inference through the pre-trained inference model and obtain the inference result.

[0041] In some embodiments, such as Figure 1 As shown, the signal generation circuit 23 is used to determine that an abnormal event has occurred when the inference result meets the preset abnormal conditions.

[0042] For example, the preset abnormal conditions can be determined according to the actual application. When the edge computing system starts, the signal generation circuit 23 can be initialized, including setting the detection parameters of the signal generation circuit 23. When the inference result is received, the signal generation circuit 23 can determine whether the inference result meets the preset abnormal conditions based on the detection parameters, and thus determine whether an abnormal event has occurred in the target device.

[0043] The process of determining whether the reasoning result meets the preset abnormal conditions is described in detail below.

[0044] Figure 3 This is a schematic diagram of a signal generation circuit 23 according to an exemplary embodiment, such as... Figure 3 As shown, the signal generation circuit 23 includes a first detection unit 231, a second detection unit 232, a third detection unit 233, and a logic gate unit 234. The first detection unit 231, the second detection unit 232, and the third detection unit 233 are all connected to the inference module 22 and the logic gate unit 234. The logic gate unit 234 is connected to the processor 21. The inference model includes multiple output neurons, and the inference result includes the number of pulses, pulse frequency, and membrane potential generated by the multiple output neurons. The first detection unit 231 is used to determine a first detection result based on the number of pulses; the second detection unit 232 is used to determine a second detection result based on the pulse frequency; the third detection unit 233 is used to determine a third detection result based on the membrane potential; and the logic gate unit 234 is used to perform logic gate operations on the first, second, and third detection results to determine whether the inference result meets a preset abnormal condition.

[0045] For example, when the edge monitoring system 100 starts, the inference module 22 can be initialized. Initialization includes configuring the inference model. The configuration process is as follows: loading the network topology of the inference model, determining the number and connection relationships of input neurons, hidden neurons, and output neurons in the inference model; loading the pre-trained model weight matrix to determine the synaptic weights of the inference model, the model weight matrix can be obtained through pre-training; then, configuring neuron parameters, such as setting the potential threshold of the output neurons.

[0046] The inference result can be directly reflected by the pulsation activity patterns of multiple output neurons in the inference model. Under different pulsation activity patterns, the number of pulses, pulse frequency, and membrane potential generated by multiple output neurons are different. The detection parameters of the signal generation circuit 23 in the aforementioned embodiment may include a preset detection period, a pulse number threshold, a pulse frequency threshold, and a neuron ensemble pattern for detecting the pulsation activity patterns of the output neurons. The signal generation circuit 23 detects whether a specific pulsation activity pattern exists in the inference result based on the circuit parameters, thereby determining whether the inference result meets preset abnormal conditions.

[0047] In one example, the preset anomaly conditions include a first preset condition, a second preset condition, and a third preset condition. The pulse count threshold includes a first count threshold, which is defined as the number of pulses from any output neuron exceeding the first count threshold within a preset detection period. The first preset condition can be used to determine whether the target device is experiencing abnormal operating intensity. Taking a motor as an example, when the motor's vibration suddenly increases, the device status information monitored by sensor 10 will change, and the inference result will change accordingly, manifested as an increase in the number of pulses from the output neuron.

[0048] The first detection unit 231 can be used to perform detection under a first preset condition. The first detection unit 231 can be a combination of a counter and a digital comparator. In one example, the first detection unit 231 includes a counter and a first comparator. The input of the counter is connected to the pulse output line of the output neuron of the inference model, the output of the counter is connected to one input of the first comparator, the other input of the first comparator receives a first threshold signal (representing a first quantity threshold), and the output of the first comparator outputs a first detection result.

[0049] The first detection unit 231 counts the pulses of multiple output neurons and detects whether the number of pulses of the multiple output neurons within a preset detection period is greater than a first quantity threshold, thereby determining the first detection result. If the first detection unit 231 detects that the number of pulses of any output neuron within the preset detection period is greater than the first quantity threshold, it indicates that the first preset condition is met.

[0050] The second preset condition is that the pulse frequency of any output neuron is greater than the pulse frequency threshold. This second preset condition can be used to determine whether the target device exhibits periodic anomalies. Taking a motor as an example, when a localized fault (such as pitting, spalling, or cracking) occurs in the motor's bearing, the rolling element generates an impact pulse each time it passes the fault point. This pulse repeats at fixed time intervals, and its frequency is determined by the bearing's geometric parameters and rotational speed. At this time, the device status information monitored by sensor 10 changes, and the inference result changes accordingly, manifested as an increase in the pulse frequency of the output neuron.

[0051] The second detection unit 232 can be used to detect a first preset condition. The second detection unit 232 can employ a combination of a counter, a timer, and a comparator. In one example, the second detection unit 232 includes a frequency-to-voltage converter and a second comparator. The input of the frequency-to-voltage converter is connected to the pulse output line of the output neuron, and its output is connected to one input of the second comparator. The other input of the second comparator receives a second threshold signal (characterizing a pulse frequency threshold), and the output of the second comparator outputs a second detection result.

[0052] The second detection unit 232 performs frequency detection on the output neurons, detecting whether the pulse frequencies of multiple output neurons are greater than a pulse frequency threshold to determine the second detection result. If the second detection unit 232 detects that the pulse frequency of any output neuron is greater than the pulse frequency threshold, it indicates that the second preset condition is met.

[0053] The third preset condition is that the membrane potentials of multiple output neurons in a preset neuron set satisfy a preset membrane potential condition. This preset membrane potential condition includes that the membrane potentials of multiple output neurons in the first neuron set are all greater than a potential threshold, and the membrane potentials of multiple output neurons in the second neuron set are all less than a potential threshold. In one example, the first and second neuron sets can be determined from the multiple output neurons based on the neuron set pattern. It should be noted that there may be output neurons among the multiple output neurons that do not belong to the first or second neuron sets.

[0054] The third preset condition can be used to determine whether the target device has an abnormal state combination. Taking the target device as a motor as an example, the first neuron set is set to include output neurons corresponding to high temperature events and output neurons corresponding to high vibration times, and the second neuron set is set to an empty set. When the motor simultaneously experiences high temperature and high vibration states, the device state information monitored by the sensor 10 will change, and the inference result will change accordingly. This is reflected in the fact that the membrane potentials of multiple output neurons in the first neuron set are all greater than the potential threshold, and the membrane potentials of multiple output neurons in the second neuron set are all less than the potential threshold. Thus, the third detection result of the third detection unit 233 can determine whether the target device has an abnormal state combination.

[0055] The third detection unit 233 can be used to detect a third preset condition. The third detection unit 233 can employ a register and a combination of AND gates or OR gates. In one example, the third detection unit 233 includes a third comparator that directly detects the membrane potential signal of the output neuron. One input of the third comparator is connected to the membrane potential output of the output neuron, and the other input receives a third threshold signal (characterizing the potential threshold). The output of the third comparator outputs the third detection result.

[0056] The third detection unit 233 detects the membrane potential of the output neurons, checking whether the membrane potentials of multiple output neurons in the first neuron set are greater than a potential threshold, and whether the membrane potentials of multiple output neurons in the second neuron set are less than a potential threshold, to determine the third detection result. If the third detection unit 233 detects that the membrane potentials of multiple output neurons in the first neuron set are all greater than the potential threshold, and the membrane potentials of multiple output neurons in the second neuron set are all less than the potential threshold, then the third preset condition is met.

[0057] The logic gate unit 234 can be flexibly configured according to actual detection requirements. For example, the logic gate unit 234 can be an AND gate, or it can be an OR gate. The input terminals of the logic gate unit 234 are respectively connected to the output terminals of the first detection unit 231, the second detection unit 232, and the third detection unit 233. The logic gate unit 234 can perform logic gate operations on the first detection result, the second detection result, and the third detection result to determine whether the inference result meets the preset abnormal conditions. The output terminal of the logic gate unit 234 is connected to the interrupt input pin of the processor 21 to send a wake-up signal to the processor 21.

[0058] In one example, when the first detection unit 231 detects that the first preset condition is met, the output first detection result is 1; when the second detection unit 232 detects that the second preset condition is met, the output second detection result is 1; and when the third detection unit 233 detects that the third preset condition is met, the output third detection result is 1. Based on actual detection requirements, it is determined that the inference result meets the preset abnormal condition if any one of the first, second, or third preset conditions is met. Therefore, the logic gate unit 234 is set as an OR gate. When the output of the logic gate unit 234 is 1, it indicates that the inference result meets the preset abnormal condition, and a wake-up signal can be generated.

[0059] In the above technical solution, the signal generation circuit 23 determines whether an abnormal event has occurred by checking whether the inference result meets the preset abnormal conditions. Based on the inference result, complex abnormal events such as abnormal operating intensity of the target device, periodic abnormalities, and abnormal state combinations can be identified, improving the accuracy and intelligence level of abnormal event identification and helping to reduce the false alarm rate.

[0060] In some embodiments, such as Figure 1 As shown, processor 21 is used to determine the event level corresponding to the abnormal event and perform response operations according to the event level.

[0061] For example, the event level may include a first level, a second level, and a third level, with different event levels corresponding to different levels of event urgency, and the urgency of the events in the first, second, and third levels increasing sequentially.

[0062] The method for determining the event level can be set according to actual application requirements. In one example, the event level can be determined as follows: the pulse count threshold also includes a second count threshold and a third count threshold; if the number of pulses of any output neuron within a preset detection period is greater than the first count threshold and less than the second count threshold, the event level can be determined as the first level. The second count threshold is greater than the first count threshold.

[0063] If the number of pulses of any output neuron within a preset detection period is greater than a second threshold and less than a third threshold; or if the pulse frequency of any output neuron is greater than a pulse frequency threshold, the event level can be determined as level two. The third threshold is greater than the second threshold.

[0064] If the number of pulses of any output neuron within a preset detection period is greater than the third quantity threshold, and the membrane potentials of multiple output neurons in the first neuron set are all greater than the potential threshold, and the membrane potentials of multiple output neurons in the second neuron set are all less than the potential threshold, the event level can be determined as the third level.

[0065] The processor 21 can determine and execute the corresponding response operation based on the event level. The response operation corresponding to different event levels can be determined according to the actual application. The response operation corresponding to different event levels is described in detail below.

[0066] In some embodiments, such as Figure 1 As shown, the processor 21 is used to record abnormal events when the event level is first level; to acquire and analyze the event data of the abnormal events when the event level is second level, and to upload the analysis results to the server; and to issue alarm information and perform protection operations on the target device when the event level is third level.

[0067] For example, if the event level is Level 1, it means that the abnormal event is a normal event. In this case, the processor 21 only needs to record the abnormal event to the local log for maintenance personnel to conduct subsequent abnormal event investigation and trend analysis.

[0068] The event level is level two, indicating that the abnormal event is an important event. At this time, the processor 21 can obtain the event data of the abnormal event, analyze the event data, including data preprocessing, abnormal situation analysis, and determination of local processing plan.

[0069] Taking a partial bearing failure in a motor as an example, the event data undergoes preprocessing operations such as data cleaning. The preprocessed event data is then analyzed to extract abnormal features. Based on these features, the specific anomaly is determined, such as the severity of the bearing failure. Depending on the anomaly, a corresponding local handling plan can be determined. For example, for minor faults, data can be recorded in the local log, and the monitoring parameters of sensor 10 can be adjusted to monitor more detailed information. For moderate faults, indicator lights or other methods can be used to alert maintenance personnel. After analysis, processor 21 can execute the local handling plan and upload the analysis results to the server. The server then accumulates data based on the analysis results and remotely monitors the target device.

[0070] An event level of three indicates an urgent incident. In this case, processor 21 can immediately issue an alarm message to alert maintenance personnel and trigger protective operations on the target device. These operations may include shutting down the target device, cutting off its power, or reducing its operating frequency. This helps prevent security incidents.

[0071] The above technical solutions classify abnormal events into levels and implement graded responses, prioritizing limited system resources and processing capacity for the most urgent events, ensuring rapid response to emergencies, guaranteeing the safe operation of target equipment, and effectively preventing safety accidents.

[0072] In some embodiments, a zero level is also set, which is the event level corresponding to when the inference result does not meet the preset abnormal conditions. At this time, the signal generation circuit 23 will not generate a wake-up signal, the processor 21 will not be woken up, and only the inference module 22 will record it for data accumulation.

[0073] After the processor 21 is woken up, it can also perform closed-loop feedback based on abnormal events to optimize the inference model. The closed-loop feedback method can adopt reward-modulated Spike-Timing-Dependent Plasticity (R-STDP) closed-loop feedback. The closed-loop feedback process is described in detail below.

[0074] In some embodiments, such as Figure 1As shown, the edge computing device 20 also includes a signal encoding module 24, which is connected to the inference module 22 and the processor 21. The processor 21 is further configured to determine the abnormal event based on the time-series correlation data corresponding to the abnormal event, and obtain a determination result. The time-series correlation data includes information on related events that have a time dependency relationship with the abnormal event. The determination result indicates whether an abnormal event has occurred in the target device. The signal encoding module 24 is configured to generate a model update signal based on the determination result. The inference module 22 is further configured to update the inference model in response to the model update signal.

[0075] For example, the processor 21 can acquire time-series correlation data corresponding to the abnormal event. Based on the time-series correlation data, the chronological order and potential patterns between the abnormal event and related events can be determined. Based on whether the chronological order and potential patterns are reasonable, it can be determined whether the abnormal event actually occurred on the target device, thus obtaining a judgment result. For example, the occurrence of abnormal event A depends on related event B. If, based on the time-series correlation data, it is found that the timing of abnormal event A and related event B has changed, or related event B has not occurred, then it indicates that abnormal event A is not true, meaning that abnormal event A did not actually occur on the target device. In some embodiments, abnormal events can also be manually judged to determine the judgment result.

[0076] After determining the judgment result, the signal encoding module 24 can encode the judgment result to obtain the model update signal. The model update signal is a pulse sequence, and the encoding format can be determined according to the actual application requirements, without any restrictions here. The signal encoding module 24 can send the model update signal to the inference module 22, and the inference module 22 can update the inference model in response to the model update signal.

[0077] In some embodiments, such as Figure 1 As shown, the signal encoding module 24 generates a first model update signal when it is determined that an abnormal event has occurred in the target device, and generates a second model update signal when it is determined that no abnormal event has occurred in the target device. The inference module 22 performs positive feedback updates to the inference model in response to the first model update signal, and performs negative feedback updates to the inference model in response to the second model update signal.

[0078] For example, when it is determined that an abnormal event has actually occurred in the target device, the signal encoding module 24 can encode a first model update signal based on the determination result and send the first model update signal to the inference module 22. In response to the first model update signal, the inference module 22 can perform positive feedback updates on the inference model based on the R-STDP rule. The first model update signal is a pulse sequence, and the positive feedback update based on the R-STDP rule refers to strengthening the inference path in the inference model corresponding to the abnormal event, for example, increasing the synaptic weight of the inference path in the inference model corresponding to the abnormal event.

[0079] When it is determined that no abnormal event has actually occurred in the target device, the signal encoding module 24 can encode a second model update signal based on the determination result and send the second model update signal to the inference module 22. In response to the second model update signal, the inference module 22 can perform negative feedback updates on the inference model based on the R-STDP rule. The second model update signal is a pulse sequence. The negative feedback update based on the R-STDP rule refers to suppressing the inference path in the inference model corresponding to the abnormal event, for example, reducing the synaptic weights corresponding to the inference path in the inference model corresponding to the abnormal event.

[0080] In this way, closed-loop continuous optimization of the edge computing device 20 is achieved, continuously improving the accuracy and reliability of the edge computing device 20, and enabling the edge computing device 20 to have adaptive capabilities.

[0081] The following provides comparative experimental data on the power consumption of the edge monitoring system 100 of this disclosure and edge monitoring schemes in related technologies, such as... Figure 4 and Figure 5 As shown: In related technologies, a processor periodic wake-up scheme is adopted. The processor wakes up every 100ms to collect and analyze data, with each wake-up lasting 5ms. The processor's operating power consumption is 200mW, and its sleep power consumption is 0.01mW. The average power consumption is approximately 200mW × 5% + 0.01mW × 95% = 10.01mW. Figure 4 As can be seen, the processor frequently experiences wake-up pulses throughout the timeline, with power consumption jumping to 200mW during each wake-up, resulting in high average power consumption.

[0082] In the edge monitoring system 100 disclosed herein, the inference module 22 employs a neuromorphic chip, with a continuous inference power consumption of 5mW; the signal generation circuit 23 consumes 0.1mW; from Figure 5 As can be seen, the number of wake-up cycles for processor 21 is far less than... Figure 4 The processor 21 is in sleep mode 99.9% of the time, consuming 0.01mW, and is woken up for processing only 0.1% of the time, consuming 200mW. The average power consumption is approximately 5 + 0.1 + 0.01 × 99.9% + 200 × 0.1% = 5.3mW.

[0083] Therefore, it can be seen that the edge monitoring system 100 disclosed herein maintains continuous intelligent monitoring capabilities while reducing system power consumption by approximately 47% compared to related technology solutions.

[0084] Figure 6 This is a flowchart illustrating an edge detection method according to an exemplary embodiment, such as... Figure 1 and Figure 6As shown, this disclosure provides an edge monitoring method applied to the aforementioned edge monitoring system 100. The method includes: S210: Monitor the equipment status information of the target device; S220: Based on the device status information, reasoning is performed through a pre-trained reasoning model to obtain the reasoning result, which indicates whether the target device has malfunctioned; S230: If the reasoning result indicates that an abnormal event has occurred in the target device and the processor 21 is in a sleep state, a wake-up signal is generated and sent to the processor 21 to wake up the processor 21. S240: After the processor 21 is woken up, perform a response operation based on the exception event.

[0085] Optionally, the method further includes: If the reasoning result meets the preset abnormal conditions, an abnormal event is determined to have occurred.

[0086] Optionally, the method further includes: Determine the event level corresponding to the abnormal event, and perform response actions according to the event level.

[0087] Optionally, response actions are performed based on the event level, including: If the event level is Level 1, record the abnormal event; When the event level is Level 2, the event data of the abnormal event is obtained, analyzed, and the analysis results are uploaded to the server. In the event level 3, an alarm message is issued and protection operations are performed on the target device.

[0088] Optionally, the inference model includes multiple output neurons, and the inference result includes the number of pulses, pulse frequency, and membrane potential generated by the multiple output neurons; the method further includes: The first detection result is determined based on the pulse count; The second detection result is determined based on the pulse frequency; The third detection result is determined based on membrane potential; Logical gate operations are performed on the first, second, and third detection results to determine whether the inference result meets the preset abnormal conditions.

[0089] Optionally, the method further includes: Anomalies are determined based on the time-series correlation data corresponding to the anomalies, and the determination results are obtained. The time-series correlation data includes information on related events that have a time dependency relationship with the anomalies. The determination results indicate whether an anomaly has occurred on the target device. Generate model update signals based on the judgment results; The inference model is updated in response to the model update signal.

[0090] Optionally, generating model update signals based on the determination results includes: When an abnormal event is detected in the target device, a first model update signal is generated; When it is determined that no abnormal event has occurred on the target device, a second model update signal is generated; In response to model update signals, updating the inference model includes: In response to the first model update signal, the inference model is updated with positive feedback. In response to the second model update signal, the inference model is updated with negative feedback.

[0091] It should be noted that the relevant descriptions of each step in the methods described in the above embodiments have been described in detail in the embodiments of the system, and will not be elaborated here.

[0092] Figure 7 This is a block diagram illustrating an electronic device 300 according to an exemplary embodiment. Figure 7 As shown, the electronic device 300 may include a processor 301 and a memory 302. The electronic device 300 may also include one or more of a multimedia component 303, an input / output (I / O) interface 304, and a communication component 305.

[0093] The processor 301 controls the overall operation of the electronic device 300 to complete all or part of the steps in the edge monitoring method described above. The memory 302 stores various types of data to support the operation of the electronic device 300. This data may include, for example, instructions for any application or method operating on the electronic device 300, and application-related data such as contact data, sent and received messages, pictures, audio, video, etc. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The multimedia component 303 may include a screen and audio components. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in memory 302 or transmitted via communication component 305. The audio component also includes at least one speaker for outputting audio signals. I / O interface 304 provides an interface between processor 301 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual or physical buttons. Communication component 305 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IoT, eMTC, or other 5G technologies, or combinations thereof, is not limited here. Therefore, the corresponding communication component 305 may include: a Wi-Fi module, a Bluetooth module, an NFC module, etc.

[0094] In an exemplary embodiment, the electronic device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the edge monitoring method described above.

[0095] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the edge monitoring method described above. For example, the computer-readable storage medium may be the memory 302 including program instructions described above, which may be executed by the processor 301 of the electronic device 300 to complete the edge monitoring method described above.

[0096] Figure 8 This is a block diagram illustrating an electronic device 400 according to an exemplary embodiment. For example, the electronic device 400 may be provided as a server. (Refer to...) Figure 8 The electronic device 400 includes a processor 422, which may be one or more, and a memory 432 for storing computer programs executable by the processor 422. The computer program stored in the memory 432 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processor 422 may be configured to execute the computer program to perform the edge monitoring method described above.

[0097] Additionally, the electronic device 400 may also include a power supply component 426 and a communication component 450. The power supply component 426 may be configured to perform power management of the electronic device 400, and the communication component 450 may be configured to enable communication of the electronic device 400, such as wired or wireless communication. Furthermore, the electronic device 400 may also include an input / output (I / O) interface 458. The electronic device 400 can operate on an operating system stored in the memory 432.

[0098] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the edge monitoring method described above. For example, the non-transitory computer-readable storage medium may be the memory 432 including the program instructions described above, which may be executed by the processor 422 of the electronic device 400 to complete the edge monitoring method described above.

[0099] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the edge monitoring method described above when executed by the programmable device.

[0100] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.

[0101] It should also be noted that the various specific technical features described in the above embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.

[0102] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.

Claims

1. An edge monitoring system, characterized in that, include: The sensor and edge computing device, the edge computing device including a processor, an inference module and a signal generation circuit, the sensor being connected to the inference module, the inference module being connected to the processor through the signal generation circuit, the processor being configured to enter a sleep state when idle; The sensor is used to monitor the device status information of the target device; The reasoning module is used to perform reasoning based on the device status information using a pre-trained reasoning model to obtain a reasoning result, and the reasoning result indicates whether the target device has experienced an anomaly. The signal generation circuit is used to generate a wake-up signal and send the wake-up signal to the processor to wake up the processor when the inference result indicates that an abnormal event has occurred in the target device and the processor is in a sleep state. The processor is configured to perform a response operation based on the abnormal event after being woken up.

2. The system according to claim 1, characterized in that, The inference model includes multiple output neurons, and the inference result includes the number of pulses, pulse frequency, and membrane potential generated by the multiple output neurons. The signal generation circuit is used to determine that the abnormal event has occurred when the inference result meets the preset abnormal conditions. The preset abnormal conditions include at least one of the following: The number of pulses of the output neuron during the preset detection period is greater than a first quantity threshold. The pulse frequency of the output neuron is greater than the pulse frequency threshold. The membrane potentials of multiple output neurons in the preset neuron set satisfy the preset membrane potential conditions.

3. The system according to claim 1, characterized in that, The processor is configured to determine the event level corresponding to the abnormal event and execute the response operation according to the event level.

4. The system according to claim 3, characterized in that, The processor is configured to: record the abnormal event when the event level is first level; acquire and analyze the event data of the abnormal event when the event level is second level, and upload the analysis results to the server; and issue an alarm message and perform protection operations on the target device when the event level is third level.

5. The system according to claim 2, characterized in that, The signal generation circuit includes a first detection unit, a second detection unit, a third detection unit, and a logic gate unit. The first detection unit, the second detection unit, and the third detection unit are all connected to the inference module and the logic gate unit. The logic gate unit is connected to the processor. The inference model includes multiple output neurons, and the inference result includes the number of pulses, pulse frequency, and membrane potential generated by the multiple output neurons. The first detection unit is used to determine a first detection result based on the number of pulses; The second detection unit is used to determine a second detection result based on the pulse frequency; The third detection unit is used to determine a third detection result based on the membrane potential; The logic gate unit is used to perform logic gate operations on the first detection result, the second detection result, and the third detection result to determine whether the inference result satisfies the preset abnormal condition.

6. The system according to any one of claims 1 to 5, characterized in that, The edge computing device further includes a signal encoding module; the signal encoding module is connected to the inference module and the processor respectively; The processor is further configured to determine the abnormal event based on the time-series correlation data corresponding to the abnormal event, and obtain a determination result. The time-series correlation data includes correlation event information that has a time dependency relationship with the abnormal event. The determination result indicates whether the abnormal event has occurred in the target device. The signal encoding module is used to generate a model update signal based on the determination result, wherein the model update signal is a pulse sequence; The inference module is also used to update the inference model in response to the model update signal.

7. The system according to claim 6, characterized in that, The signal encoding module is configured to generate a first model update signal when it is determined that the abnormal event has occurred in the target device, and to generate a second model update signal when it is determined that the abnormal event has not occurred in the target device. The inference module is configured to perform positive feedback updates on the inference model in response to the first model update signal, and to perform negative feedback updates on the inference model in response to the second model update signal. The positive feedback update includes increasing the synaptic weights of the inference path corresponding to the abnormal event in the inference model; the negative feedback update includes decreasing the synaptic weights of the inference path corresponding to the abnormal event in the inference model.

8. The system according to any one of claims 1 to 5, characterized in that, The inference model is trained by: collecting and labeling normal operation data and abnormal operation data of the target device to obtain a training dataset; and performing pulse coding on the training dataset to obtain a pulse sequence. The pulse sequence is input into the spiking neural network, and the spiking neural network is trained based on a training method that combines supervised learning and pulse time-dependent plasticity to obtain the inference model.

9. An edge detection method, characterized in that, The method, applied to the edge monitoring system according to any one of claims 1 to 8, comprises: Monitor the equipment status information of the target device; Based on the device status information, inference is performed using a pre-trained inference model to obtain an inference result, which indicates whether the target device has experienced an anomaly. If the inference result indicates that an abnormal event has occurred in the target device and the processor is in a sleep state, a wake-up signal is generated and sent to the processor to wake up the processor. After the processor is woken up, a response operation is performed based on the abnormal event.

10. The method according to claim 9, characterized in that, The method further includes: If the reasoning result meets the preset abnormal conditions, it is determined that the abnormal event has occurred.

11. The method according to claim 9, characterized in that, The method further includes: Determine the event level corresponding to the abnormal event, and execute the response operation according to the event level.

12. The method according to claim 11, characterized in that, The step of performing the response operation according to the event level includes: If the event level is Level 1, the abnormal event is recorded; When the event level is the second level, the event data of the abnormal event is obtained, analyzed, and the analysis results are uploaded to the server; If the event level is level three, an alarm message is issued and protection operations are performed on the target device.

13. The method according to any one of claims 9-12, characterized in that, The method further includes: An abnormal event is determined based on the time-series correlation data corresponding to the abnormal event, and a determination result is obtained. The time-series correlation data includes information on related events that have a time dependency relationship with the abnormal event. The determination result indicates whether the abnormal event has occurred in the target device. A model update signal is generated based on the determination result; In response to the model update signal, the inference model is updated.

14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the edge monitoring method according to any one of claims 9-13.

15. An electronic device, characterized in that, include: A memory on which computer programs are stored; A processor for executing the computer program in the memory to implement the steps of the edge monitoring method of any one of claims 9-13.

16. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the edge monitoring method according to any one of claims 9-13.