Federal learning-based motor state intelligent monitoring method and system
Through federated learning in motor status detection, joint training and data privacy protection of central monitoring terminals and edge devices are used to solve the problems of low edge model classification accuracy and data security, and achieve more efficient motor status monitoring and early warning. .
Patent Information
- Application Number
- CN202410651437.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-23
AI Technical Summary
Existing motor status detection is performed through intelligent edge devices. The edge model classification accuracy is low, the data sharing rate is low, and the security and privacy during data transmission and use are difficult to evaluate.
Adopt an intelligent monitoring method for motor status based on federated learning, search for target edge devices through the central monitoring terminal, use their historical operating records for initial training and upload desensitized gradients, update monitoring model parameters, and achieve distributed training and data privacy. Protect.
It improves the accuracy and real-time performance of motor status monitoring, protects user data privacy, makes full use of the computing power of edge devices, and reduces operation and maintenance costs.
Smart Images

Figure CN118536064A
Abstract
Description
Technical Field
[0001] The present invention proposes a method and system for intelligent monitoring of motor status based on federated learning, belonging to the technical field of intelligent monitoring. Background Art
[0002] The health of the motor directly affects the overall performance of the equipment. Once a motor fails, it is necessary to provide a maintenance strategy and troubleshoot the fault in a timely manner, otherwise it may cause serious economic losses and endanger the personal safety of technical workers. Currently, motor status detection is performed through intelligent edge devices. The classification accuracy of the model trained using local data at the edge is low, the sharing rate of production information data distributed in different edge terminals or data centers is low, and the security and privacy of information data during transmission and use are difficult to evaluate. Summary of the invention
[0003] The present invention provides a method and system for intelligent monitoring of motor status based on federated learning to solve the problems existing in the above-mentioned prior art. The technical solutions adopted are as follows:
[0004] The method for intelligent monitoring of motor status based on federated learning comprises:
[0005] Search the target edge devices within the monitoring range through the central monitoring terminal;
[0006] Using the motor status data collected from the historical operation records of the target edge device to initially train the monitoring model, and uploading the desensitized gradient to the central monitoring terminal;
[0007] The central monitoring terminal fuses the desensitized gradients of each target edge device to obtain a fused gradient and updates the monitoring model parameters.
[0008] Further, searching the target edge device included in the monitoring system through the central monitoring terminal includes:
[0009] The central monitoring terminal periodically scans the devices within the monitoring range corresponding to the central monitoring terminal;
[0010] A target edge device is screened out from the devices, wherein the target edge device includes a sensor and a data acquisition system for monitoring the operating status of a motor.
[0011] Furthermore, the monitoring model is initially trained using the motor state data collected from the historical operation records of the target edge device, and the desensitized gradient is uploaded to the central monitoring terminal, including:
[0012] Retrieving motor status data collected from the historical operation records of the target edge device;
[0013] Retrieving a monitoring model for motor operation status monitoring from a database; wherein the monitoring model adopts a deep learning model;
[0014] Using the motor state data collected from the historical operation records of the target edge device to train the monitoring model for motor operation state monitoring, to obtain an initially trained monitoring model;
[0015] After the monitoring model completes initial training, the central monitoring terminal controls the target edge device to perform a desensitization operation on the generated gradient to obtain a desensitized gradient;
[0016] The desensitized gradient is uploaded to the central monitoring terminal.
[0017] Furthermore, the central monitoring terminal fuses the desensitized gradients of each target edge device to obtain a fused gradient, and updates the monitoring model parameters, including:
[0018] The central monitoring terminal receives the desensitized gradient sent by each target edge device;
[0019] After receiving the gradients uploaded by each target edge device, the central monitoring terminal performs a fusion operation to obtain a fused gradient, wherein the fused gradient acquisition process is as follows:
[0020] Step 1: extracting data acquisition quality parameters from the historical operation records of each of the target edge devices; wherein the data acquisition quality parameters include data error information and data acquisition delay information;
[0021] Step 2: Use the data collection quality parameters in the historical operation records of the target edge device to obtain the data quality evaluation parameters of each target edge device during the data collection process; wherein the data quality evaluation parameters are obtained by the following formula:
[0022]
[0023]
[0024]
[0025] Where S represents the data quality assessment parameter corresponding to each target edge device; n represents the total number of unit times contained in the historical operation records, and the unit time is 1s; λ x and λ y Respectively represent the first delay evaluation coefficient; p irepresents the error rate corresponding to the data error information appearing in the i-th unit time; T ni represents the average duration of data collection delay corresponding to the i-th unit time; T0 represents the preset maximum allowable duration of collection response delay; x represents the total number of data collection response delays in the historical operation records; y represents the total number of times no data collection response delays occur in the historical operation records; T xi represents the delay time corresponding to the i-th occurrence of data acquisition response delay; T yi represents the data collection response time corresponding to the i-th time when there is no data collection response delay; T i Indicates the theoretical response time of data collection corresponding to the i-th time when there is no data collection response delay;
[0026] Step 3: Obtain the confidence value of each target edge device using the data quality assessment parameters of each target edge device during the data collection process; wherein the confidence value is obtained by the following formula:
[0027] Q = α·S + (1-α)·(1-W)
[0028] Wherein, Q represents the confidence value corresponding to each target edge device; α represents the device weight value corresponding to the target edge device; W represents the operation stability evaluation coefficient of the target edge device; wherein, the operation stability evaluation coefficient is obtained by the following formula:
[0029]
[0030] Among them, p s Indicates the error rate corresponding to the data error information appearing in the data acquisition response delay; T si Indicates the data collection response time corresponding to the i-th data collection;
[0031] Step 4: Obtain a fusion gradient using the confidence value of each target edge device and the gradient of each target edge device, wherein the fusion gradient is obtained by the following formula:
[0032]
[0033] Where K represents the fusion gradient; k represents the total number of target edge devices; Q min and Q max They represent the minimum and maximum values of the confidence values in the k target edge devices respectively; τ qmin and τ qmax Respectively represent the gradient values of the target edge device corresponding to the minimum and maximum values of the confidence values; τ min and τ maxrespectively represent the minimum and maximum values of the gradient values in the k target edge devices; Q tmin and Q tmax They represent the confidence values of the target edge device corresponding to the minimum and maximum values of the gradient value respectively; Q i Represents the confidence value of the i-th target edge device; τ i represents the gradient value of the i-th target edge device;
[0034] The monitoring model is updated with the fused gradient, and the monitoring model with updated parameters is deployed to the target edge device.
[0035] Further, the monitoring model is updated with the fusion gradient, and the monitoring model with updated parameters is deployed to the target edge device, including:
[0036] Using the fused gradient to update the parameters of the monitoring model, wherein the parameters include but are not limited to the weight parameters, bias terms and learning rate of the monitoring model;
[0037] After the parameters are updated, the monitoring model after the parameters are updated is verified to obtain a verified monitoring model;
[0038] Deploy the verified monitoring surface model to the target edge device.
[0039] The motor state intelligent monitoring system based on federated learning comprises:
[0040] The device search module is used to search for target edge devices within the monitoring range through the central monitoring terminal;
[0041] A data uploading module, used to perform initial training on the monitoring model using the motor status data collected from the historical operation records of the target edge device, and upload the desensitized gradient to the central monitoring terminal;
[0042] The fusion update module is used for the central monitoring terminal to fuse the desensitized gradients of each target edge device, obtain the fused gradient, and update the monitoring model parameters.
[0043] Furthermore, the device search module includes:
[0044] A timing scanning module, used for the central monitoring terminal to regularly scan the devices within the monitoring range corresponding to the central monitoring terminal;
[0045] The target edge device screening module is used to screen out target edge devices from the devices, wherein the target edge devices include sensors and data acquisition systems for monitoring the operating status of the motor.
[0046] Furthermore, the data uploading module includes:
[0047] A status data retrieval module, used to retrieve the motor status data collected from the historical operation records of the target edge device;
[0048] A monitoring model retrieval module, used to retrieve a monitoring model for motor operation status monitoring from a database; wherein the monitoring model adopts a deep learning model;
[0049] A model training module, used to train the monitoring model for monitoring the motor operation status using the motor state data collected from the historical operation records of the target edge device to obtain an initially trained monitoring model;
[0050] A desensitization operation execution module, used for, after the monitoring model completes initial training, the central monitoring terminal controls the target edge device to perform a desensitization operation on the generated gradient to obtain a desensitized gradient;
[0051] The gradient uploading module is used to upload the desensitized gradient to the central monitoring terminal.
[0052] Furthermore, the fusion update module includes:
[0053] A data receiving module, used for the central monitoring terminal to receive the desensitized gradients sent by each target edge device;
[0054] The fusion gradient acquisition module is used for the central monitoring terminal to perform a fusion operation and obtain a fusion gradient after receiving the gradients uploaded by each target edge device. The fusion gradient acquisition process is as follows:
[0055] Step 1: extracting data acquisition quality parameters from the historical operation records of each of the target edge devices; wherein the data acquisition quality parameters include data error information and data acquisition delay information;
[0056] Step 2: Use the data collection quality parameters in the historical operation records of the target edge device to obtain the data quality evaluation parameters of each target edge device during the data collection process; wherein the data quality evaluation parameters are obtained by the following formula:
[0057]
[0058]
[0059]
[0060] Where S represents the data quality assessment parameter corresponding to each target edge device; n represents the total number of unit times contained in the historical operation records, and the unit time is 1s; λ x and λ y Respectively represent the first delay evaluation coefficient; p i represents the error rate corresponding to the data error information appearing in the i-th unit time; T ni represents the average duration of data collection delay corresponding to the i-th unit time; T0 represents the preset maximum allowable duration of collection response delay; x represents the total number of data collection response delays in the historical operation records; y represents the total number of times no data collection response delays occur in the historical operation records; T xi represents the delay time corresponding to the i-th occurrence of data acquisition response delay; T yi represents the data collection response time corresponding to the i-th time when there is no data collection response delay; T i Indicates the theoretical response time of data collection corresponding to the i-th time when there is no data collection response delay;
[0061] Step 3: Obtain the confidence value of each target edge device using the data quality assessment parameters of each target edge device during the data collection process; wherein the confidence value is obtained by the following formula:
[0062] Q = α·S + (1-α)·(1-W)
[0063] Wherein, Q represents the confidence value corresponding to each target edge device; α represents the device weight value corresponding to the target edge device; W represents the operation stability evaluation coefficient of the target edge device; wherein, the operation stability evaluation coefficient is obtained by the following formula:
[0064]
[0065] Among them, p s Indicates the error rate corresponding to the data error information appearing in the data acquisition response delay; T si Indicates the data collection response time corresponding to the i-th data collection;
[0066] Step 4: Obtain a fusion gradient using the confidence value of each target edge device and the gradient of each target edge device, wherein the fusion gradient is obtained by the following formula:
[0067]
[0068] Where K represents the fusion gradient; k represents the total number of target edge devices; Q min and Q maxThey represent the minimum and maximum values of the confidence values in the k target edge devices respectively; τ qmin and τ qmax Respectively represent the gradient values of the target edge device corresponding to the minimum and maximum values of the confidence values; τ min and τ max respectively represent the minimum and maximum values of the gradient values in the k target edge devices; Q tmin and Q tmax They represent the confidence values of the target edge device corresponding to the minimum and maximum values of the gradient value respectively; Q i Represents the confidence value of the i-th target edge device; τ i represents the gradient value of the i-th target edge device;
[0069] The parameter updating module is used to update the parameters of the monitoring model using the fused gradient, and deploy the monitoring model after the parameter update to the target edge device.
[0070] Furthermore, the parameter updating module includes:
[0071] A parameter update execution module, used to update the parameters of the monitoring model using the fused gradient, wherein the parameters include but are not limited to the weight parameters, bias terms and learning rate of the monitoring model;
[0072] The model verification module is used to verify the monitoring model after the parameter update to obtain a verified monitoring model;
[0073] The model deployment module is used to deploy the verified monitoring surface model to the target edge device.
[0074] Beneficial effects of the present invention:
[0075] The method and system for intelligent monitoring of motor state based on federated learning proposed by the present invention introduce federated learning to monitor the motor state, and jointly train a global shared model with multiple edge terminals without transmitting production data. At the same time, since the target edge terminal device only uploads the desensitized gradient information instead of the original motor state data, the user's data privacy can be effectively protected and the risk of data leakage can be avoided. Through the architecture of federated learning, the above technical scheme can make full use of the computing power and storage resources of each target edge terminal device to perform distributed training and improve training efficiency. Since the fused gradient is calculated based on the data of multiple target edge terminal devices, the fused gradient can reflect more diverse motor state information, so that the updated monitoring model has stronger generalization ability. Based on the updated monitoring model, the central monitoring terminal can monitor the state of the motor in real time, and issue an early warning in time when an abnormality is found, thereby improving the safety and stability of the motor operation. Through intelligent monitoring and early warning, the above technical scheme can reduce the frequency and intensity of manual inspections and reduce operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 is a flow chart of the method of the present invention;
[0077] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION
[0078] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0079] The embodiment of the present invention proposes a method for intelligent monitoring of motor status based on federated learning, such as Figure 1 As shown, the motor state intelligent monitoring method based on federated learning includes:
[0080] S1. Search the target edge device within the monitoring range through the central monitoring terminal;
[0081] S2. Initially train the monitoring model using the motor status data collected from the historical operation records of the target edge device, and upload the desensitized gradient to the central monitoring terminal;
[0082] S3. The central monitoring terminal fuses the desensitized gradients of each target edge device to obtain a fused gradient, and updates the monitoring model parameters.
[0083] The working principle of the above technical solution is as follows: The working principle of the motor state intelligent monitoring method based on federated learning is mainly based on the ideas of distributed learning and data privacy protection. First, the central monitoring terminal searches for the target edge device within its monitoring range. The above device is usually deployed near the motor and can collect the motor state data in real time.
[0084] Next, each target edge device will use the motor status data in its own stored historical operation records to perform local training on the initial monitoring model. During the training process, each target edge device will calculate the gradient of the model, but for the sake of data privacy protection, the above gradient will be desensitized before being uploaded to the central monitoring terminal. After receiving the desensitized gradients uploaded by each target edge device, the central monitoring terminal will adopt a fusion strategy to fuse the above gradients to form a fused gradient. The calculation of the fused gradient can ensure that the data information of each device is fully utilized to update the monitoring model without directly obtaining the original data.
[0085] Finally, the central monitoring terminal will use the fused gradient to update the parameters of the monitoring model so that the model can better adapt to changes in the motor state and improve the accuracy and real-time performance of monitoring.
[0086] The effect of the above technical solution is: since the target edge device only uploads the desensitized gradient information instead of the original motor state data, it can effectively protect the user's data privacy and avoid the risk of data leakage. Through the architecture of federated learning, the above technical solution can make full use of the computing power and storage resources of each target edge device to perform distributed training and improve training efficiency. Since the fused gradient is calculated based on the data of multiple target edge devices, the fused gradient can reflect more diverse motor state information, so that the updated monitoring model has stronger generalization ability. Based on the updated monitoring model, the central monitoring terminal can monitor the status of the motor in real time, and issue an early warning in time when an abnormality is found, thereby improving the safety and stability of the motor operation. Through intelligent monitoring and early warning, the above technical solution can reduce the frequency and intensity of manual inspections and reduce operation and maintenance costs.
[0087] In one embodiment of the present invention, searching for a target edge device included in a monitoring system through a central monitoring terminal includes:
[0088] S101, the central monitoring terminal periodically scans the devices within the monitoring range corresponding to the central monitoring terminal;
[0089] S102. Filter out a target edge device from the devices, wherein the target edge device includes a sensor and a data acquisition system for monitoring the operating status of a motor.
[0090] The working principle of the above technical solution is as follows: the central monitoring terminal will scan all devices within its corresponding monitoring range at predetermined time intervals. This scan may be performed through a network communication protocol, such as the TCP / IP protocol, to detect the online status and availability of the devices within the monitoring range. After scanning the device, the central monitoring terminal will identify the target edge device from all devices based on preset filtering conditions. The above filtering conditions may include the type, function, identification information, etc. of the device. In this case, the target edge device specifically refers to sensors and data acquisition systems used to monitor the operating status of the motor. Once the target edge device is identified, the central monitoring terminal will attempt to establish a connection with the above device for subsequent data exchange and communication. This usually involves steps such as device authentication and establishment of security protocols.
[0091] The effect of the above technical solution is: through timed scanning and screening, the central monitoring terminal can quickly identify the target edge device in the monitoring system, providing a basis for subsequent monitoring work. By setting clear screening conditions, the central monitoring terminal can ensure that the identified target edge device is correct and meets the requirements, reducing the possibility of misidentification or missed identification. This technical solution is suitable for monitoring systems of different scales and configurations. It can adapt to different application scenarios by simply adjusting parameters such as the scanning range and screening conditions. Since the central monitoring terminal will regularly scan the devices within the monitoring range, it can ensure that new target edge devices are discovered and connected in time, providing a guarantee for real-time monitoring. In the process of identifying and connecting to the target edge device, the central monitoring terminal will take a series of security measures, such as device authentication, encrypted communication, etc., to ensure the security and reliability of data transmission.
[0092] In one embodiment of the present invention, the monitoring model is initially trained using the motor state data collected from the historical operation records of the target edge device, and the desensitized gradient is uploaded to the central monitoring terminal, including:
[0093] S201, retrieving motor status data collected from the historical operation records of the target edge device;
[0094] S202, retrieving a monitoring model for motor operation status monitoring from a database; wherein the monitoring model adopts a deep learning model;
[0095] S203, training the monitoring model for monitoring the motor operation status using the motor state data collected from the historical operation record of the target edge device to obtain an initially trained monitoring model;
[0096] S204: After the monitoring model completes initial training, the central monitoring terminal controls the target edge device to perform a desensitization operation on the generated gradient to obtain a desensitized gradient;
[0097] S205, uploading the desensitized gradient to the central monitoring terminal.
[0098] The working principle of the above technical solution is as follows: First, the system retrieves the historical operation records stored in the target edge device, which contains the motor status data. The above data is the basis for subsequent model training.
[0099] Next, the system retrieves a pre-designed deep learning model for motor status monitoring from the database. The above model is the training target, which will be gradually optimized by historical data to better predict the motor status.
[0100] The system then trains the deep learning model using historical motor state data retrieved from the target edge device. During training, the model continuously adjusts its internal parameters to better fit the above data, thereby optimizing its predictive capabilities. After training, the model becomes more accurate and better able to identify various operating states of the motor. After the model completes the initial training, in order to protect the privacy and security of the data, the system desensitizes the gradients generated during the training process. Desensitization is a commonly used data protection technology that can reduce the sensitivity of data while ensuring data availability, thereby preventing data leakage or abuse.
[0101] Finally, the desensitized gradients are uploaded to the central monitoring terminal, which further processes and analyzes them to optimize the performance and accuracy of the entire monitoring system.
[0102] The effect of the above technical solution is: by desensitizing the gradient, the technical solution can effectively protect the privacy and security of the motor state data stored in the target edge device, and prevent the data from being leaked or abused. Since the gradient is generated independently on each target edge device, the technical solution can take advantage of distributed learning to speed up the training of the model and improve the accuracy of the model. Since the gradient is desensitized and uploaded immediately after the model completes the initial training, the technical solution can ensure that the central monitoring terminal can obtain the latest gradient information in real time, so as to adjust and optimize the performance of the entire monitoring system in time. By fusing and analyzing the gradients uploaded by multiple target edge devices, the central monitoring terminal can further optimize and improve the deep learning model, and improve the model's prediction accuracy and robustness for the motor's operating status. The technical solution can be easily expanded to more target edge devices and more complex monitoring scenarios, and only the corresponding processing logic needs to be added to the central monitoring terminal.
[0103] In one embodiment of the present invention, the central monitoring terminal fuses the desensitized gradients of each target edge device to obtain a fused gradient and updates the monitoring model parameters, including:
[0104] S301, the central monitoring terminal receives the desensitized gradient sent by each target edge device;
[0105] S302: After receiving the gradients uploaded by each target edge device, the central monitoring terminal performs a fusion operation to obtain a fused gradient, wherein the fused gradient acquisition process is as follows:
[0106] Step 1: extracting data acquisition quality parameters from the historical operation records of each of the target edge devices; wherein the data acquisition quality parameters include data error information and data acquisition delay information;
[0107] Step 2: Use the data collection quality parameters in the historical operation records of the target edge device to obtain the data quality evaluation parameters of each target edge device during the data collection process; wherein the data quality evaluation parameters are obtained by the following formula:
[0108]
[0109]
[0110]
[0111] Where S represents the data quality assessment parameter corresponding to each target edge device; n represents the total number of unit times contained in the historical operation records, and the unit time is 1s; λ x and λ y Respectively represent the first delay evaluation coefficient; p i represents the error rate corresponding to the data error information appearing in the i-th unit time; T ni represents the average duration of data collection delay corresponding to the i-th unit time; T0 represents the preset maximum allowable duration of collection response delay; x represents the total number of data collection response delays in the historical operation records; y represents the total number of times no data collection response delays occur in the historical operation records; T xi represents the delay time corresponding to the i-th occurrence of data acquisition response delay; T yi represents the data collection response time corresponding to the i-th time when there is no data collection response delay; T i Indicates the theoretical response time of data collection corresponding to the i-th time when there is no data collection response delay;
[0112] Step 3: Obtain the confidence value of each target edge device using the data quality assessment parameters of each target edge device during the data collection process; wherein the confidence value is obtained by the following formula:
[0113] Q = α·S + (1-α)·(1-W)
[0114] Wherein, Q represents the confidence value corresponding to each target edge device; α represents the device weight value corresponding to the target edge device; W represents the operation stability evaluation coefficient of the target edge device; wherein, the operation stability evaluation coefficient is obtained by the following formula:
[0115]
[0116] Among them, p s Indicates the error rate corresponding to the data error information appearing in the data acquisition response delay; T si Indicates the data collection response time corresponding to the i-th data collection;
[0117] Step 4: Obtain a fusion gradient using the confidence value of each target edge device and the gradient of each target edge device, wherein the fusion gradient is obtained by the following formula:
[0118]
[0119] Where K represents the fusion gradient; k represents the total number of target edge devices; Q min and Q max They represent the minimum and maximum values of the confidence values in the k target edge devices respectively; τ qmin and τ qmax Respectively represent the gradient values of the target edge device corresponding to the minimum and maximum values of the confidence values; τ min and τ max respectively represent the minimum and maximum values of the gradient values in the k target edge devices; Q tmin and Q tmax They represent the confidence values of the target edge device corresponding to the minimum and maximum values of the gradient value respectively; Q i Represents the confidence value of the i-th target edge device; τ i represents the gradient value of the i-th target edge device;
[0120] S303: Update the parameters of the monitoring model using the fusion gradient, and deploy the monitoring model with updated parameters to the target edge device.
[0121] The working principle of the above technical solution is as follows: the central monitoring terminal first receives the desensitized gradients sent by each target edge device. The above gradients are generated by each device training the monitoring model locally using the motor status data in its historical operation records.
[0122] Then, the calculated fusion gradient K is used to update the parameters of the motor state monitoring model. The updated model will have higher accuracy and robustness. Finally, the updated model is deployed to each target edge device so that they can use the latest model for real-time monitoring and prediction of the motor state.
[0123] Among them, the central monitoring terminal will first extract the data acquisition quality parameters from the historical operation records of the target edge device, including data error information and data acquisition delay information. Then, the above parameters are used to evaluate the data quality of each device during the data acquisition process to obtain the data quality evaluation parameter S. Based on the data quality evaluation parameter S and other related parameters (such as device weight value α, operation stability evaluation coefficient W, etc.), the confidence value Q of each target edge device is calculated. The above confidence value reflects the reliability and importance of the data and gradient provided by the device. Finally, the confidence value Q and gradient value τ of each target edge device are used to calculate the fusion gradient K by weighted averaging. The confidence of each device is taken into account in the calculation process of the fusion gradient, so that higher quality and more reliable data and gradients obtain greater weight in the fusion process.
[0124] The effect of the above technical solution is: by evaluating the data acquisition quality of the target edge device and calculating the confidence of the device accordingly, high-quality data can be given a greater weight in the gradient fusion process, thereby improving the quality and reliability of the fused gradient. By using the fused gradient to update the parameters of the monitoring model, the data information of each target edge device can be fully utilized, the performance of the model can be optimized, and the accuracy of its monitoring and prediction of the motor state can be improved. The technical solution can receive and fuse the gradient information from different target edge devices in real time, and update the model in real time according to the fused gradient. This enables the monitoring system to flexibly adapt to changes in the motor state and improve the real-time and response speed of the system. During the data transmission and fusion process, the privacy of the data is protected by desensitization processing, and the leakage of sensitive information is avoided. The technical solution can be easily expanded to more target edge devices and more complex monitoring scenarios, and only the central monitoring terminal needs to be configured and expanded accordingly.
[0125] In one embodiment of the present invention, the monitoring model is updated with the fusion gradient, and the monitoring model with the updated parameters is deployed to a target edge device, including:
[0126] S3031. Using the fused gradient to update the parameters of the monitoring model, wherein the parameters include but are not limited to the weight parameters, bias terms and learning rate of the monitoring model;
[0127] S3032. After the parameters are updated, the monitoring model after the parameters are updated is verified to obtain a verified monitoring model;
[0128] S3033. Deploy the verified monitoring surface model to the target edge device.
[0129] The working principle of the above technical solution is as follows: after receiving the fused gradient, the central monitoring terminal will use this fused gradient to update the parameters of the monitoring model. The parameters here usually include the weight parameters, bias terms (bias terms) and learning rates of the model. For deep learning models, weight parameters and bias terms are key parameters in the model learning process, which determine the mapping relationship between the input and output of the model. The learning rate is a hyperparameter that controls the learning step size of the model, which affects the learning speed and effect of the model. When using fused gradients for parameter updates, the central monitoring terminal will adjust the model parameters according to certain optimization algorithms (such as gradient descent algorithm, Adam algorithm, etc.) to make the loss function value of the model on the training data as small as possible.
[0130] After updating the parameters of the monitoring model, the central monitoring terminal will verify the updated model. The purpose of verification is to ensure that the updated model still has good performance on unseen data. The verification process will use a portion of the verification data set that is independent of the training data. The central monitoring terminal will input the verification data set into the updated model and calculate the performance indicators of the model on the verification data set (such as accuracy, recall, F1 score, etc.). If the performance of the model on the verification data set reaches or exceeds the preset threshold, then the updated model can be considered valid and can be deployed subsequently.
[0131] After verification, the central monitoring terminal will deploy the updated monitoring model to the target edge device. The deployment process usually includes packaging the model parameters into a specific format and transmitting them to the target edge device over the network. After receiving the updated model, the target edge device will load it locally and replace the original model. In this way, the target edge device can use the updated model for real-time motor status monitoring and prediction.
[0132] The effect of the above technical solution is: by using the fusion gradient to update the parameters of the monitoring model, the data information from different target edge devices can be fully utilized to optimize the parameter settings of the model, thereby improving the performance of the model in motor state monitoring and prediction. After the parameters are updated, verifying the model can ensure that the updated model still has good performance on unseen data. This helps to avoid performance degradation caused by overfitting of the model or improper parameter settings. The technical solution can receive the fusion gradient in real time and update the parameters of the monitoring model, so that the model can quickly adapt to changes in the motor state. At the same time, by deploying the updated model to the target edge device, the target edge device can use the latest model for real-time motor state monitoring and prediction, improving the real-time and flexibility of the system. The technical solution can be easily extended to more target edge devices and more complex monitoring scenarios. Monitoring and model updates of more devices can be achieved by simply configuring and expanding the central monitoring terminal accordingly.
[0133] The embodiment of the present invention proposes a motor state intelligent monitoring system based on federated learning, such as Figure 2 As shown, the motor state intelligent monitoring system based on federated learning includes:
[0134] The device search module is used to search for target edge devices within the monitoring range through the central monitoring terminal;
[0135] A data uploading module, used to perform initial training on the monitoring model using the motor status data collected from the historical operation records of the target edge device, and upload the desensitized gradient to the central monitoring terminal;
[0136] The fusion update module is used for the central monitoring terminal to fuse the desensitized gradients of each target edge device, obtain the fused gradient, and update the monitoring model parameters.
[0137] The working principle of the above technical solution is as follows: The working principle of the motor state intelligent monitoring method based on federated learning is mainly based on the ideas of distributed learning and data privacy protection. First, the central monitoring terminal searches for the target edge device within its monitoring range. The above device is usually deployed near the motor and can collect the motor state data in real time.
[0138] Next, each target edge device will use the motor status data in its own stored historical operation records to perform local training on the initial monitoring model. During the training process, each target edge device will calculate the gradient of the model, but for the sake of data privacy protection, the above gradient will be desensitized before being uploaded to the central monitoring terminal. After receiving the desensitized gradients uploaded by each target edge device, the central monitoring terminal will adopt a fusion strategy to fuse the above gradients to form a fused gradient. The calculation of the fused gradient can ensure that the data information of each device is fully utilized to update the monitoring model without directly obtaining the original data.
[0139] Finally, the central monitoring terminal will use the fused gradient to update the parameters of the monitoring model so that the model can better adapt to changes in the motor state and improve the accuracy and real-time performance of monitoring.
[0140] The effect of the above technical solution is: since the target edge device only uploads the desensitized gradient information instead of the original motor state data, it can effectively protect the user's data privacy and avoid the risk of data leakage. Through the architecture of federated learning, the above technical solution can make full use of the computing power and storage resources of each target edge device to perform distributed training and improve training efficiency. Since the fused gradient is calculated based on the data of multiple target edge devices, the fused gradient can reflect more diverse motor state information, so that the updated monitoring model has stronger generalization ability. Based on the updated monitoring model, the central monitoring terminal can monitor the status of the motor in real time, and issue an early warning in time when an abnormality is found, thereby improving the safety and stability of the motor operation. Through intelligent monitoring and early warning, the above technical solution can reduce the frequency and intensity of manual inspections and reduce operation and maintenance costs.
[0141] In one embodiment of the present invention, the device search module includes:
[0142] A timing scanning module, used for the central monitoring terminal to regularly scan the devices within the monitoring range corresponding to the central monitoring terminal;
[0143] The target edge device screening module is used to screen out target edge devices from the devices, wherein the target edge devices include sensors and data acquisition systems for monitoring the operating status of the motor.
[0144] The working principle of the above technical solution is as follows: the central monitoring terminal will scan all devices within its corresponding monitoring range at predetermined time intervals. This scan may be performed through a network communication protocol, such as the TCP / IP protocol, to detect the online status and availability of the devices within the monitoring range. After scanning the device, the central monitoring terminal will identify the target edge device from all devices based on preset filtering conditions. The above filtering conditions may include the type, function, identification information, etc. of the device. In this case, the target edge device specifically refers to sensors and data acquisition systems used to monitor the operating status of the motor. Once the target edge device is identified, the central monitoring terminal will attempt to establish a connection with the above device for subsequent data exchange and communication. This usually involves steps such as device authentication and establishment of security protocols.
[0145] The effect of the above technical solution is: through timed scanning and screening, the central monitoring terminal can quickly identify the target edge device in the monitoring system, providing a basis for subsequent monitoring work. By setting clear screening conditions, the central monitoring terminal can ensure that the identified target edge device is correct and meets the requirements, reducing the possibility of misidentification or missed identification. This technical solution is suitable for monitoring systems of different scales and configurations. It can adapt to different application scenarios by simply adjusting parameters such as the scanning range and screening conditions. Since the central monitoring terminal will regularly scan the devices within the monitoring range, it can ensure that new target edge devices are discovered and connected in time, providing a guarantee for real-time monitoring. In the process of identifying and connecting to the target edge device, the central monitoring terminal will take a series of security measures, such as device authentication, encrypted communication, etc., to ensure the security and reliability of data transmission.
[0146] In one embodiment of the present invention, the data uploading module includes:
[0147] A status data retrieval module, used to retrieve the motor status data collected from the historical operation records of the target edge device;
[0148] A monitoring model retrieval module, used to retrieve a monitoring model for motor operation status monitoring from a database; wherein the monitoring model adopts a deep learning model;
[0149] A model training module, used to train the monitoring model for monitoring the motor operation status using the motor state data collected from the historical operation records of the target edge device to obtain an initially trained monitoring model;
[0150] A desensitization operation execution module, used for, after the monitoring model completes initial training, the central monitoring terminal controls the target edge device to perform a desensitization operation on the generated gradient to obtain a desensitized gradient;
[0151] The gradient uploading module is used to upload the desensitized gradient to the central monitoring terminal.
[0152] The working principle of the above technical solution is as follows: First, the system retrieves the historical operation records stored in the target edge device, which contains the motor status data. The above data is the basis for subsequent model training.
[0153] Next, the system retrieves a pre-designed deep learning model for motor status monitoring from the database. The above model is the training target, which will be gradually optimized by historical data to better predict the motor status.
[0154] The system then trains the deep learning model using historical motor state data retrieved from the target edge device. During training, the model continuously adjusts its internal parameters to better fit the above data, thereby optimizing its predictive capabilities. After training, the model becomes more accurate and better able to identify various operating states of the motor. After the model completes the initial training, in order to protect the privacy and security of the data, the system desensitizes the gradients generated during the training process. Desensitization is a commonly used data protection technology that can reduce the sensitivity of data while ensuring data availability, thereby preventing data leakage or abuse.
[0155] Finally, the desensitized gradients are uploaded to the central monitoring terminal, which further processes and analyzes them to optimize the performance and accuracy of the entire monitoring system.
[0156] The effect of the above technical solution is: by desensitizing the gradient, the technical solution can effectively protect the privacy and security of the motor state data stored in the target edge device, and prevent the data from being leaked or abused. Since the gradient is generated independently on each target edge device, the technical solution can take advantage of distributed learning to speed up the training of the model and improve the accuracy of the model. Since the gradient is desensitized and uploaded immediately after the model completes the initial training, the technical solution can ensure that the central monitoring terminal can obtain the latest gradient information in real time, so as to adjust and optimize the performance of the entire monitoring system in time. By fusing and analyzing the gradients uploaded by multiple target edge devices, the central monitoring terminal can further optimize and improve the deep learning model, and improve the model's prediction accuracy and robustness for the motor's operating status. The technical solution can be easily expanded to more target edge devices and more complex monitoring scenarios, and only the corresponding processing logic needs to be added to the central monitoring terminal.
[0157] In one embodiment of the present invention, the fusion update module includes:
[0158] A data receiving module, used for the central monitoring terminal to receive the desensitized gradients sent by each target edge device;
[0159] The fusion gradient acquisition module is used for the central monitoring terminal to perform a fusion operation and obtain a fusion gradient after receiving the gradients uploaded by each target edge device. The fusion gradient acquisition process is as follows:
[0160] Step 1: extracting data acquisition quality parameters from the historical operation records of each of the target edge devices; wherein the data acquisition quality parameters include data error information and data acquisition delay information;
[0161] Step 2: Use the data collection quality parameters in the historical operation records of the target edge device to obtain the data quality evaluation parameters of each target edge device during the data collection process; wherein the data quality evaluation parameters are obtained by the following formula:
[0162]
[0163]
[0164]
[0165] Where S represents the data quality assessment parameter corresponding to each target edge device; n represents the total number of unit times contained in the historical operation records, and the unit time is 1s; λ x and λ y Respectively represent the first delay evaluation coefficient; p i represents the error rate corresponding to the data error information appearing in the i-th unit time; T ni represents the average duration of data collection delay corresponding to the i-th unit time; T0 represents the preset maximum allowable duration of collection response delay; x represents the total number of data collection response delays in the historical operation records; y represents the total number of times no data collection response delays occur in the historical operation records; T xi represents the delay time corresponding to the i-th occurrence of data acquisition response delay; T yi represents the data collection response time corresponding to the i-th time when there is no data collection response delay; T i Indicates the theoretical response time of data collection corresponding to the i-th time when there is no data collection response delay;
[0166] Step 3: Obtain the confidence value of each target edge device using the data quality assessment parameters of each target edge device during the data collection process; wherein the confidence value is obtained by the following formula:
[0167] Q = α·S + (1-α)·(1-W)
[0168] Wherein, Q represents the confidence value corresponding to each target edge device; α represents the device weight value corresponding to the target edge device; W represents the operation stability evaluation coefficient of the target edge device; wherein, the operation stability evaluation coefficient is obtained by the following formula:
[0169]
[0170] Among them, p s Indicates the error rate corresponding to the data error information appearing in the data acquisition response delay; T si Indicates the data collection response time corresponding to the i-th data collection;
[0171] Step 4: Obtain a fusion gradient using the confidence value of each target edge device and the gradient of each target edge device, wherein the fusion gradient is obtained by the following formula:
[0172]
[0173] Where K represents the fusion gradient; k represents the total number of target edge devices; Q min and Q max They represent the minimum and maximum values of the confidence values in the k target edge devices respectively; τ qmin and τ qmax Respectively represent the gradient values of the target edge device corresponding to the minimum and maximum values of the confidence values; τ min and τ max respectively represent the minimum and maximum values of the gradient values in the k target edge devices; Q tmin and Q tmax They represent the confidence values of the target edge device corresponding to the minimum and maximum values of the gradient value respectively; Q i Represents the confidence value of the i-th target edge device; τ i represents the gradient value of the i-th target edge device;
[0174] The parameter updating module is used to update the parameters of the monitoring model using the fused gradient, and deploy the monitoring model after the parameter update to the target edge device.
[0175] The working principle of the above technical solution is as follows: the central monitoring terminal first receives the desensitized gradients sent by each target edge device. The above gradients are generated by each device training the monitoring model locally using the motor status data in its historical operation records.
[0176] Then, the calculated fusion gradient K is used to update the parameters of the motor state monitoring model. The updated model will have higher accuracy and robustness. Finally, the updated model is deployed to each target edge device so that they can use the latest model for real-time monitoring and prediction of the motor state.
[0177] Among them, the central monitoring terminal will first extract the data acquisition quality parameters from the historical operation records of the target edge device, including data error information and data acquisition delay information. Then, the above parameters are used to evaluate the data quality of each device during the data acquisition process to obtain the data quality evaluation parameter S. Based on the data quality evaluation parameter S and other related parameters (such as device weight value α, operation stability evaluation coefficient W, etc.), the confidence value Q of each target edge device is calculated. The above confidence value reflects the reliability and importance of the data and gradient provided by the device. Finally, the confidence value Q and gradient value τ of each target edge device are used to calculate the fusion gradient K by weighted averaging. The confidence of each device is taken into account in the calculation process of the fusion gradient, so that higher quality and more reliable data and gradients obtain greater weight in the fusion process.
[0178] The effect of the above technical solution is: by evaluating the data acquisition quality of the target edge device and calculating the confidence of the device accordingly, high-quality data can be given a greater weight in the gradient fusion process, thereby improving the quality and reliability of the fused gradient. By using the fused gradient to update the parameters of the monitoring model, the data information of each target edge device can be fully utilized, the performance of the model can be optimized, and the accuracy of its monitoring and prediction of the motor state can be improved. The technical solution can receive and fuse the gradient information from different target edge devices in real time, and update the model in real time according to the fused gradient. This enables the monitoring system to flexibly adapt to changes in the motor state and improve the real-time and response speed of the system. During the data transmission and fusion process, the privacy of the data is protected by desensitization processing, and the leakage of sensitive information is avoided. The technical solution can be easily expanded to more target edge devices and more complex monitoring scenarios, and only the central monitoring terminal needs to be configured and expanded accordingly.
[0179] In one embodiment of the present invention, the parameter updating module includes:
[0180] A parameter update execution module, used to update the parameters of the monitoring model using the fused gradient, wherein the parameters include but are not limited to the weight parameters, bias terms and learning rate of the monitoring model;
[0181] The model verification module is used to verify the monitoring model after the parameter update to obtain a verified monitoring model;
[0182] The model deployment module is used to deploy the verified monitoring surface model to the target edge device.
[0183] The working principle of the above technical solution is as follows: after receiving the fused gradient, the central monitoring terminal will use this fused gradient to update the parameters of the monitoring model. The parameters here usually include the weight parameters, bias terms (bias terms) and learning rates of the model. For deep learning models, weight parameters and bias terms are key parameters in the model learning process, which determine the mapping relationship between the input and output of the model. The learning rate is a hyperparameter that controls the learning step size of the model, which affects the learning speed and effect of the model. When using fused gradients for parameter updates, the central monitoring terminal will adjust the model parameters according to certain optimization algorithms (such as gradient descent algorithm, Adam algorithm, etc.) to make the loss function value of the model on the training data as small as possible.
[0184] After updating the parameters of the monitoring model, the central monitoring terminal will verify the updated model. The purpose of verification is to ensure that the updated model still has good performance on unseen data. The verification process will use a portion of the verification data set that is independent of the training data. The central monitoring terminal will input the verification data set into the updated model and calculate the performance indicators of the model on the verification data set (such as accuracy, recall, F1 score, etc.). If the performance of the model on the verification data set reaches or exceeds the preset threshold, then the updated model can be considered valid and can be deployed subsequently.
[0185] After verification, the central monitoring terminal will deploy the updated monitoring model to the target edge device. The deployment process usually includes packaging the model parameters into a specific format and transmitting them to the target edge device over the network. After receiving the updated model, the target edge device will load it locally and replace the original model. In this way, the target edge device can use the updated model for real-time motor status monitoring and prediction.
[0186] The effect of the above technical solution is: by using the fusion gradient to update the parameters of the monitoring model, the data information from different target edge devices can be fully utilized to optimize the parameter settings of the model, thereby improving the performance of the model in motor state monitoring and prediction. After the parameters are updated, verifying the model can ensure that the updated model still has good performance on unseen data. This helps to avoid performance degradation caused by overfitting of the model or improper parameter settings. The technical solution can receive the fusion gradient in real time and update the parameters of the monitoring model, so that the model can quickly adapt to changes in the motor state. At the same time, by deploying the updated model to the target edge device, the target edge device can use the latest model for real-time motor state monitoring and prediction, improving the real-time and flexibility of the system. The technical solution can be easily extended to more target edge devices and more complex monitoring scenarios. Monitoring and model updates of more devices can be achieved by simply configuring and expanding the central monitoring terminal accordingly.
[0187] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if the above-mentioned modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include the above-mentioned modifications and variations.
Claims
1. A method for intelligent monitoring of motor status based on federated learning, characterized in that: The motor state intelligent monitoring method based on federated learning includes: Search the target edge devices within the monitoring range through the central monitoring terminal; Using the motor status data collected from the historical operation records of the target edge device to initially train the monitoring model, and uploading the desensitized gradient to the central monitoring terminal; The central monitoring terminal fuses the desensitized gradients of each target edge device to obtain a fused gradient and updates the monitoring model parameters.
2. The method for intelligent motor status monitoring based on federated learning according to claim 1 is characterized in that: Search the target edge devices included in the monitoring system through the central monitoring terminal, including: The central monitoring terminal periodically scans the devices within the monitoring range corresponding to the central monitoring terminal; A target edge device is screened out from the devices, wherein the target edge device includes a sensor and a data acquisition system for monitoring the operating status of a motor.
3. The method for intelligent motor status monitoring based on federated learning according to claim 1 is characterized in that: The monitoring model is initially trained using the motor status data collected from the historical operation records of the target edge device, and the desensitized gradient is uploaded to the central monitoring terminal, including: Retrieving motor status data collected from the historical operation records of the target edge device; Retrieving a monitoring model for motor operation status monitoring from a database; Using the motor state data collected from the historical operation records of the target edge device to train the monitoring model for motor operation state monitoring, to obtain an initially trained monitoring model; After the monitoring model completes initial training, the central monitoring terminal controls the target edge device to perform a desensitization operation on the generated gradient to obtain a desensitized gradient; The desensitized gradient is uploaded to the central monitoring terminal.
4. The method for intelligent motor status monitoring based on federated learning according to claim 1 is characterized in that: The central monitoring terminal fuses the desensitized gradients of each target edge device to obtain a fused gradient and updates the monitoring model parameters, including: The central monitoring terminal receives the desensitized gradient sent by each target edge device; After receiving the gradients uploaded by each target edge device, the central monitoring terminal performs a fusion operation to obtain a fused gradient, wherein the fused gradient acquisition process is as follows: Step 1: extracting data acquisition quality parameters from the historical operation records of each of the target edge devices; wherein the data acquisition quality parameters include data error information and data acquisition delay information; Step 2: Use the data collection quality parameters in the historical operation records of the target edge device to obtain the data quality evaluation parameters of each target edge device during the data collection process; wherein the data quality evaluation parameters are obtained by the following formula: Where S represents the data quality assessment parameter corresponding to each target edge device; n represents the total number of unit times contained in the historical operation records, and the unit time is 1s; λ x and λ y Respectively represent the first delay evaluation coefficient; p i represents the error rate corresponding to the data error information appearing in the i-th unit time; T ni represents the average duration of data collection delay corresponding to the i-th unit time; T0 represents the preset maximum allowable duration of collection response delay; x represents the total number of data collection response delays in the historical operation records; y represents the total number of times no data collection response delays occur in the historical operation records; T xi represents the delay time corresponding to the i-th occurrence of data acquisition response delay; T yi represents the data collection response time corresponding to the i-th time when there is no data collection response delay; T i Indicates the theoretical response time of data collection corresponding to the i-th time when there is no data collection response delay; Step 3: Obtain the confidence value of each target edge device using the data quality assessment parameters of each target edge device during the data collection process; wherein the confidence value is obtained by the following formula: Q = α·S + (1-α)·(1-W) Wherein, Q represents the confidence value corresponding to each target edge device; α represents the device weight value corresponding to the target edge device; W represents the operation stability evaluation coefficient of the target edge device; wherein, the operation stability evaluation coefficient is obtained by the following formula: Among them, p s Indicates the error rate corresponding to the data error information appearing in the data acquisition response delay; T si Indicates the data collection response time corresponding to the i-th data collection; Step 4: Obtain a fusion gradient using the confidence value of each target edge device and the gradient of each target edge device, wherein the fusion gradient is obtained by the following formula: Where K represents the fusion gradient; k represents the total number of target edge devices; Q min and Q max They represent the minimum and maximum values of the confidence values in the k target edge devices respectively; τ qmin and τ qmax Respectively represent the gradient values of the target edge device corresponding to the minimum and maximum values of the confidence values; τ min and τ max respectively represent the minimum and maximum values of the gradient values in the k target edge devices; Q tmin and Q tmax They represent the confidence values of the target edge device corresponding to the minimum and maximum values of the gradient value respectively; Q i Represents the confidence value of the i-th target edge device; τ i represents the gradient value of the i-th target edge device; The monitoring model is updated with the fused gradient, and the monitoring model with updated parameters is deployed to the target edge device.
5. The method for intelligent motor state monitoring based on federated learning according to claim 4 is characterized in that: The monitoring model is updated with the fused gradient, and the monitoring model with updated parameters is deployed to the target edge device, including: Using the fused gradient to update the parameters of the monitoring model; After the parameters are updated, the monitoring model after the parameters are updated is verified to obtain a verified monitoring model; Deploy the verified monitoring surface model to the target edge device.
6. The intelligent motor status monitoring system based on federated learning is characterized by: The motor state intelligent monitoring system based on federated learning includes: The device search module is used to search for target edge devices within the monitoring range through the central monitoring terminal; A data uploading module, used to perform initial training on the monitoring model using the motor status data collected from the historical operation records of the target edge device, and upload the desensitized gradient to the central monitoring terminal; The fusion update module is used for the central monitoring terminal to fuse the desensitized gradients of each target edge device, obtain the fused gradient, and update the monitoring model parameters.
7. The motor state intelligent monitoring system based on federated learning according to claim 6 is characterized in that: The device search module includes: A timing scanning module, used for the central monitoring terminal to regularly scan the devices within the monitoring range corresponding to the central monitoring terminal; The target edge device screening module is used to screen out target edge devices from the devices, wherein the target edge devices include sensors and data acquisition systems for monitoring the operating status of the motor.
8. The motor state intelligent monitoring system based on federated learning according to claim 6 is characterized in that: The data uploading module comprises: A status data retrieval module, used to retrieve the motor status data collected from the historical operation records of the target edge device; A monitoring model retrieval module, used to retrieve a monitoring model for motor operation status monitoring from a database; A model training module, used to train the monitoring model for monitoring the motor operation status using the motor state data collected from the historical operation records of the target edge device to obtain an initially trained monitoring model; A desensitization operation execution module, used for, after the monitoring model completes initial training, the central monitoring terminal controls the target edge device to perform a desensitization operation on the generated gradient to obtain a desensitized gradient; The gradient uploading module is used to upload the desensitized gradient to the central monitoring terminal.
9. The motor state intelligent monitoring system based on federated learning according to claim 6 is characterized in that: The fusion update module includes: A data receiving module, used for the central monitoring terminal to receive the desensitized gradients sent by each target edge device; The fusion gradient acquisition module is used for the central monitoring terminal to perform a fusion operation and obtain a fusion gradient after receiving the gradients uploaded by each target edge device. The fusion gradient acquisition process is as follows: Step 1: extracting data acquisition quality parameters from the historical operation records of each of the target edge devices; wherein the data acquisition quality parameters include data error information and data acquisition delay information; Step 2: Use the data collection quality parameters in the historical operation records of the target edge device to obtain the data quality evaluation parameters of each target edge device during the data collection process; wherein the data quality evaluation parameters are obtained by the following formula: Where S represents the data quality assessment parameter corresponding to each target edge device; n represents the total number of unit times contained in the historical operation records, and the unit time is 1s; λ x and λ y Respectively represent the first delay evaluation coefficient; p i represents the error rate corresponding to the data error information appearing in the i-th unit time; T ni represents the average duration of data collection delay corresponding to the i-th unit time; T0 represents the preset maximum allowable duration of collection response delay; x represents the total number of data collection response delays in the historical operation records; y represents the total number of times no data collection response delays occur in the historical operation records; T xi represents the delay time corresponding to the i-th occurrence of data acquisition response delay; T yi represents the data collection response time corresponding to the i-th time when there is no data collection response delay; T i Indicates the theoretical response time of data collection corresponding to the i-th time when there is no data collection response delay; Step 3: Obtain the confidence value of each target edge device using the data quality assessment parameters of each target edge device during the data collection process; wherein the confidence value is obtained by the following formula: Q = α·S + (1-α)·(1-W) Wherein, Q represents the confidence value corresponding to each target edge device; α represents the device weight value corresponding to the target edge device; W represents the operation stability evaluation coefficient of the target edge device; wherein, the operation stability evaluation coefficient is obtained by the following formula: Among them, p s Indicates the error rate corresponding to the data error information appearing in the data acquisition response delay; T si Indicates the data collection response time corresponding to the i-th data collection; Step 4: Obtain a fusion gradient using the confidence value of each target edge device and the gradient of each target edge device, wherein the fusion gradient is obtained by the following formula: Where K represents the fusion gradient; k represents the total number of target edge devices; Q min and Q max They represent the minimum and maximum values of the confidence values in the k target edge devices respectively; τ qmin and τ qmax Respectively represent the gradient values of the target edge device corresponding to the minimum and maximum values of the confidence values; τ min and τ max respectively represent the minimum and maximum values of the gradient values in the k target edge devices; Q tmin and Q tmax They represent the confidence values of the target edge device corresponding to the minimum and maximum values of the gradient value respectively; Q i Represents the confidence value of the i-th target edge device; τ i represents the gradient value of the i-th target edge device; The parameter updating module is used to update the parameters of the monitoring model using the fused gradient, and deploy the monitoring model after the parameter update to the target edge device.
10. The motor state intelligent monitoring system based on federated learning according to claim 9, characterized in that: The parameter updating module comprises: A parameter update execution module, used to update the parameters of the monitoring model using the fused gradient; The model verification module is used to verify the monitoring model after the parameter update to obtain a verified monitoring model; The model deployment module is used to deploy the verified monitoring surface model to the target edge device.
Citation Information
Cited By
Voice-based user intention recognition method and device, equipment and medium
CN121011179A
