Control apparatus, method and computer program for controlling electronic device, control platform comprising control apparatus, method for training machine learning model, and computer readable medium

By using intelligent controllers and machine learning models in the control platform to generate alternative command signals, the problem of equipment interruption caused by signal abnormalities between the external controller and the internal controller is solved, ensuring the uninterrupted operation of electronic equipment and system stability. , improving the reliability and performance of the equipment.

CN118715488APending Publication Date: 2024-09-27ABB (SCHWEIZ) AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380021682.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-14
Filing Date
2023-02-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing control platforms have problems with possible interruptions during real-time control of electronic equipment during uninterrupted operations and upgrades, especially when the signal between the external controller and the internal controller is abnormal, which may lead to equipment unreliability and performance degradation. .

Method used

By introducing intelligent controllers into the control platform, machine learning models are used to imitate the behavior of the external controller, generate alternative instruction signals to ensure the continuous operation of electronic equipment, and provide alternative instructions when abnormalities are detected between the internal controller and the external controller. , to ensure system stability and security.

Benefits of technology

It achieves uninterrupted operation and safe operation of electronic equipment in the case of external controller abnormalities or interruptions, improves system reliability and performance, prevents the impact of malicious command signals, and reduces risks during the upgrade process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118715488A
    Figure CN118715488A
Patent Text Reader

Abstract

A control apparatus (22) for controlling an electronic device (26) is provided. The control arrangement (22) comprises: an internal controller (30) coupled to the electronic device (26) and configured for generating at least one control signal for controlling the electronic device (26) in dependence on at least one command signal from the external controller (50); and a smart controller (32) coupled to the internal controller (30) and configured to provide at least one alternative command signal to the internal controller (30) for controlling the electronic device (26) if an anomaly related to signal traffic between the internal controller (30) and the external controller (50) is detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed control of electronic devices. Specifically, the present invention relates to: a control device, method and computer program for controlling an electronic device; a control platform comprising a control device and a remote edge platform communicating with the control device; a method for controlling an electronic device; and a method for training a machine learning model. The present invention also relates to a computer program for executing a corresponding method in the above methods, and a computer-readable medium having the corresponding computer program stored therein. Background Art

[0002] Conventional control platforms for electronic devices (e.g., for power converters, particularly switch-mode power converters) typically integrate real-time processes for managing local feedback control levels, as well as remote applications for high-level control and electronic device integration. Conventional control platforms can be subdivided into external controllers that regulate system-level (usually mechanical-level) quantities (these quantities depend on the electronic device to be controlled), internal controllers that regulate voltages and currents across the electronic device, modulators that generate control actions under the control of the internal controllers, and observers that sample and process sensor signals from sensors associated with the electronic device. Multi-rate discrete algorithms of the external controllers may execute and / or function in the millisecond range, while algorithms of other "internal" components may execute or function in the microsecond range.

[0003] Next-generation control platforms can shift toward standardized industrial IoT and can adopt advanced communication technologies for real-time data transmission, such as time-sensitive networking (TSN) and 5G to ensure network synchronization and latency in the low millisecond range. This can contribute to emerging business models, such as customers jointly developing applications or parts of applications for external controllers on a shared platform. Migrating external control loops to the edge can also enable advanced centralized algorithms to utilize distributed "big" data to improve the reliability and performance of electronic devices.

[0004] During the product lifecycle, the control platform performs periodic maintenance on its software and firmware components, such as security updates or patches, software updates, etc. Unless a redundant control platform is available, it may be necessary to interrupt the corresponding semiconductor switches and then completely cut off the power supply to the entire system. This can have a significant cost impact on applications that require uninterrupted operation, such as industrial drives and / or grid-side converters for power generation. In fact, for large wind farms, the process of restoring power after an interruption may last for several hours.

[0005] The shift to next-generation control platforms, with more control functions centralized at the edge, will further challenge these engineering operations and the reliability of the entire system. In fact, as control platforms integrate more customer and third-party software versions for external controllers and auxiliary services, the upgrade rate will increase accordingly. When performing upgrades, the reference outputs from external controllers for internal controllers may not be available for long time intervals. In addition, if the upgraded software components are compromised or defective, malicious command signals may be broadcast to internal controllers after the upgrade.

[0006] The quality of service between external controllers and internal controllers may also be degraded by switching to wireless technologies such as 5G when compared to traditional wired point-to-point communication media such as optical fiber. Network outages, congestion or interference may impair the ability of the device to properly receive control commands in the form of instruction signals.

[0007] US2013 / 103989 A1 describes a communication network that communicatively couples a wireless field device and a remote control system via at least one wireless interface. In operation, one or more operating parameters of the control system may deviate from normal operating conditions. Such deviations may occur when communication between the control system and the field device is interrupted or stagnant. A controller device for controlling the wireless field device includes predefined error state conditions or instructions that enable the controller device to control the field device when one or more operating parameters deviate from normal conditions. A communication detector detects communication errors within the communication network, the control system and / or the field device.

[0008] EP 3 442 198 A1 describes a control system and interface that manages synchronous or deterministic communication between a safety-critical control device and an external system / device or a secondary safety-critical control system. Such a system may "expect" a timed sequence of messages at predetermined intervals (e.g., 10 milliseconds or 20 milliseconds). Such messages are often referred to as "deterministic" or "time-critical" and must be delivered continuously in some form to ensure normal operation of the system. For such time-critical messages, blocking or discarding the message may cause errors or problems in the entire control system. Therefore, if the message originally formed cannot be verified by a given set of rules, it must be changed in a way that makes it conform to the rule set (i.e., "clean" the message) and then the cleansed message is delivered to the receiving device or system. The change can be by deleting the offending data and optionally replacing the deleted data with a predetermined default value or the last known compatible "good" data value for the field. In some cases, the system uses machine learning and heuristic methods that can combine or interpret previous data sets to assist in data replacement and determine the "last known good" value. Summary of the invention

[0009] Therefore, an object of the present invention is to provide a control device for controlling an electronic device, wherein the control device enables uninterrupted control of the electronic device to be provided and / or wherein the control device is suitable for a control platform, such as a real-time control platform, wherein the control algorithm is split between an external controller of the control platform and an internal controller of the control platform.

[0010] The object of the present invention is to provide a method for controlling an electronic device, wherein the method enables uninterrupted control of the electronic device to be provided and / or wherein the method is suitable for a control platform, such as a real-time control platform, wherein the control algorithm is split between an external controller of the control platform and an internal controller of the control platform.

[0011] The object of the present invention is to provide a method for training a machine learning model to provide at least one alternative instruction signal so that the machine learning model can contribute to the uninterrupted control of an electronic device, in particular in a control platform, such as a real-time control platform, wherein the control algorithm is split between an external controller of the control platform and an internal controller of the control platform.

[0012] Another object of the present invention is to provide one or two computer programs configured to execute one or two of the above methods, and / or to provide a computer readable medium having a corresponding computer program stored thereon.

[0013] These objects are achieved by the subject-matter of the independent claims. Further exemplary embodiments are evident from the dependent claims and the following description.

[0014] In particular, the object of the present invention is achieved by a control device for controlling an electronic device, which control device includes: an internal controller, which is coupled to the electronic device and is configured to generate at least one control signal for controlling the electronic device according to at least one instruction signal from an external controller; and an intelligent controller, which is coupled to the internal controller and is configured to provide at least one alternative instruction signal for controlling the electronic device to the internal controller if an abnormality related to the signal service between the internal controller and the external controller is detected.

[0015] The functionality of the internal controller and / or the internal controller itself can be isolated from the external controller on a separate processing engine (e.g., an FPGA or embedded processor), optionally real-time certified, for example to enhance real-time performance. The internal controller can be configured to provide at least one report signal to the external controller. The report signal can include information about the operation of the control device and / or the electronic device. The report signal can include device information about the electronic device, the device information being encoded within the report signal. The report signal can include a sensor signal from a sensor observing the electronic device, where the sensor can be referred to as an observer unit.

[0016] External controllers and electronic devices do not belong to the control device. For example, the external controller is implemented as a control device and an electronic device in an edge platform arranged at another location, and the control device and the electrical device can be arranged at the same location. For example, the control device can be integrated in the electronic device. Alternatively, the control device can be separated from the electronic device, but can be arranged in the same housing, the same room and / or the same building as the electronic device. Like the electronic device and / or the intelligent controller, the internal controller can communicate with the external controller at a slower rate. The electronic device can be part of an electromechanical device, such as a rotor, a motor, a compressor, a pump, a conveyor and / or a part of an automatic production line in a factory.

[0017] The control device may constitute a local platform of the control platform. In addition, the control platform includes an edge platform remote from the local platform. The control platform may be arranged to control electronic devices. The internal controller of the control device and the optional modulator and observer functions may be isolated from the external controller by anomalies related to the signal traffic between the internal controller and the external controller. Even if anomalies related to the signal traffic between the internal controller and the external controller are detected, the control device may enable the control platform to operate continuously. The anomalies related to the signal traffic between the internal controller and the external controller may be caused by an interruption of the edge platform, in particular the external controller. The interruption may be caused by an update or damage of the edge platform, in particular the external controller.

[0018] The signal service may include signals directed from the internal controller to the external controller and / or from the external controller to the internal controller. The signal from the internal controller to the external controller may include a reporting signal, such as device information of the electronic device or a sensor signal from a sensor observing the electronic device, such as the speed of a motor constituting the electronic device and / or the position of the stator or rotor of the motor. Alternatively or additionally, the signal from the internal controller to the external controller may include. The signal from the external controller to the internal controller may include a command signal, such as a reference signal, such as a current reference and / or a speed reference.

[0019] The main idea behind the control device is that the intelligent controller ensures the continuous operation of the electronic device by replacing (e.g., restoring) the lost instruction signal so that the corresponding information from the external controller exists during the abnormality. For example, the intelligent controller can maintain the electronic device at a steady-state operating point, or alternatively, automatically guide the electronic device to a safe operating mode. The intelligent controller may include and / or provide artificial intelligence, for example in the form of a machine learning model. The intelligent controller may be able to cope with synchronization while disconnected from the edge platform, in particular from the external controller. This may require a decentralized synchronization scheme in which the intelligent controller features a local clock and synchronizes it, for example by periodically exchanging information with nearby devices (e.g., internal controllers and / or electronic devices).

[0020] The control means may be supplemented by a monitoring unit to compensate for interruptions of the edge platform, in particular of an external controller, as will be described later.

[0021] The main idea is based on the knowledge that the internal control algorithms are already well established compared to the rest of the control platform software. Therefore, control devices including internal controllers usually require fewer functional changes during their product lifecycle. Therefore, the supporting hardware is usually real-time coprocessors and field gate programmable arrays (FPGAs), where software portability is reduced in favor of enhanced real-time performance. As a result, control devices and internal controllers experience much fewer interruptions than edge platforms and external controllers.

[0022] Another object of the present invention is achieved by a control platform for controlling electronic devices. The control platform includes an edge platform and a local platform, and the local platform includes the above-mentioned control device. The external controller can be configured to receive at least one report signal from the control device and / or send at least one command signal to the control device. The control platform including the above-mentioned control device can introduce an architecture and / or method for deploying and managing software components of the next generation real-time control system, wherein the closed-loop algorithm is divided between the edge platform including the external controller and the local platform including the control device and the electronic device optionally connected to it. The control platform can solve the information-physical system that may require uninterrupted operation of the corresponding electronic device. In power conversion applications, such as industrial motors for oil and gas pumping, or wind turbines for power generation, this may occur because any service interruption caused by expected or unexpected events will directly affect operating income. In order to integrate the control platform into a wider control infrastructure, such as monitoring and data acquisition (SCADA), the control platform may include an interface for supporting programmable logic controller (PLC) functions, such as IEC61131 and / or communication protocols, such as IEC61850.

[0023] Another object of the present invention is achieved by a method for controlling an electronic device. The method for controlling an electronic device comprises: generating at least one control signal for controlling the electronic device according to at least one instruction signal from an external controller; and providing at least one alternative instruction signal for controlling the electronic device to the internal controller if an abnormality related to the signal service between the internal controller and the external controller is detected. The synchronization level between the high-level external control and the low-level internal control of the control device and the corresponding electronic device can be in the high millisecond range or asynchronous. As described below, the abnormality can be detected by a monitoring unit. The abnormality can be one of the above-mentioned abnormalities or another abnormality related to the signal service between the internal controller and the external controller.

[0024] Another object of the present invention is achieved by a method for training a machine learning model to provide at least one alternative instruction signal, the method comprising the following steps: coupling the machine learning model to an external controller and an internal controller that communicate with each other, so that the machine learning model receives an instruction signal directed to the internal controller from the external controller, and receives a report signal directed to the external controller from the internal controller; extracting features for training the machine learning model from the report signal; extracting labels for training the machine learning model from the corresponding instruction signal; and training the machine learning model using the extracted features and labels. By coupling the machine learning model to an interface that communicatively couples the external controller to the internal controller, the machine learning model can be coupled to the external controller and the internal controller, and vice versa.

[0025] Another object of the present invention is achieved by a computer program for controlling an electronic device. The computer program can be configured to execute a method for controlling an electronic device when executed by a processor of a controller. The controller can be the internal controller described above. Alternatively, the controller can be an intelligent controller. Alternatively, the computer program can be executed in part by the internal controller and in part by the intelligent controller.

[0026] Another object of the present invention is achieved by a computer-readable medium having stored therein a computer program for controlling an electronic device.

[0027] Another object of the present invention is achieved by a computer-readable medium having stored therein a computer program for training a machine learning model.

[0028] The intelligent controller includes a machine learning model that has been trained to mimic the behavior of an external controller, and the machine learning model is configured to provide at least one alternative instruction signal for controlling the electronic device to the internal controller if an anomaly related to the signal traffic between the internal controller and the external controller is detected. The anomaly may be one of the above-mentioned anomalies or another anomaly related to the signal traffic between the internal controller and the external controller. The behavior may be transient, unexpected and / or caused by a sudden change in the electronic device. The intelligent controller may ensure continuous operation of the electronic device by recovering lost instruction signals from the external controller during power outage of the external controller. For example, the intelligent controller may be configured to mimic the behavior of the external controller, maintain the electronic device at a steady-state operating point, or alternatively, automatically guide the electronic device to a safe operating mode.

[0029] The machine learning model can be trained by monitoring the signal business between the internal controller and the external controller in order to learn the normal behavior of the external controller. During normal operation, the internal and external control loops can be synchronized with a master clock, such as managed by an edge platform, and distributed to connected devices through a shared communication link. In particular, during normal operation, there are one, two or more typical causal chains between the report signal generated by the internal controller and the command signal generated by the external controller, and vice versa. The machine learning algorithm can learn from these typical causal chains how the internal controller usually reacts to a given command signal from the external controller and / or how the external controller usually reacts to a given report signal from the internal controller. In addition, the external controller and / or the internal controller can periodically generate at least some of the corresponding signals independently of the corresponding other entities, such as based on a given time interval. The machine learning model can also learn this behavior by monitoring the signal business. The machine learning model can be referred to as a behavioral model for modeling the behavior of the external controller. This idea can be based on the emerging technology of machine learning tools being applied to control the application of partially known or unknown models of processing electronic devices. Possible solutions may involve technologies based on reinforcement learning, adaptive dynamic programming, genetic algorithms, deep neural networks, etc.

[0030] Thus, the intelligent controller may feature a machine learning model that infers the control signals needed to solve the control problem of a given electronic device. This may also include transitioning from one operating point to another; or handling transient unexpected behaviors caused by sudden changes in the electronic device and / or the process controlled by the electronic device. When the control device no longer receives a command signal as a control reference from an external controller of the edge platform, or when such a command signal may be considered unreliable / impaired, an alternative command signal from the intelligent controller may be applied. The intelligent controller may not know the dynamics of the entire control platform and / or electronic device, so a model of the entire corresponding system is not necessarily required. The intelligent controller, in particular the machine learning model, can learn dynamics online, for example, when the edge platform and the local platform including the control device and the electronic device operate in a closed loop. Alternatively or additionally, the intelligent controller, in particular the machine learning model, can be trained offline based on historical data, reference models and / or algorithms. Offline training may include transient behaviors and anomalies typical of electronic devices. The intelligent controller may also be unaware of the algorithms used by the external controller, which are either developed by the customer or by a third party. The intelligent controller may also feature predefined control signals to safely slow down the electronic device to a safe operating point.

[0031] According to one embodiment, the intelligent controller is configured to receive a command signal from the external controller during normal operation of the external controller, check whether the command signal and / or the command frame of the command signal conforms to a predetermined control strategy, and if the command signal and / or the command frame from the external controller do not conform to the predetermined control strategy, provide the internal controller with at least one alternative command signal for controlling the electronic device, instead of the command signal from the external controller. If the command signal or the command frame of the command signal received during normal operation conforms to the predetermined control strategy, the command signal or the corresponding command frame will not make the system unstable. Therefore, verifying whether the received command signal and / or frame conforms to the predetermined control strategy and replacing them with alternative command signals by the intelligent controller can help prevent malicious command signals and / or frames from being applied to the internal controller. After the software of the external controller is upgraded, such as by a damaged patch, the external controller or a third entity may apply such a malicious command signal. The normal operation of the external controller can be defined by the absence of any anomalies related to signal traffic between the internal controller and the external controller. Thus, during normal operation, a machine learning model can be trained or used to verify instruction signals and provide alternative instruction signals when necessary, and if an anomaly related to the signal traffic between the internal controller and the external controller is detected, the machine learning model can be used to provide alternative instructions instead of the instruction signals expected from the external controller. Therefore, during normal operation, the intelligent controller can also verify that the received control frames comply with the implemented control strategy and do not make the system unstable. For example, this helps prevent malicious instructions and / or reference signals from being applied after the external controller software has been upgraded with a compromised patch. The predetermined control strategy can define a regime of operating conditions within predetermined constraints, such as those related to safety.

[0032] According to one embodiment, the control device includes an observer unit coupled to the internal controller and at least one sensor. The observer unit may be configured to sample and / or process at least one sensor signal from the sensor, and to generate and / or send at least one feedback signal to the internal controller according to the sensor signal. The control device may also be configured to send at least one feedback signal to the external controller according to the sensor signal. At least one sensor may be configured to measure at least one parameter of the electronic device, wherein the internal controller is configured to generate at least one control signal for controlling the electronic device according to the feedback signal. The control signal may be the same control signal generated according to the command signal from the external controller. Therefore, the control signal may be generated according to the command signal from the external controller and according to the feedback signal. Alternatively, the control signal may be another signal generated according to the command signal from the external controller. Therefore, the internal controller may generate a first control signal according to the command signal from the external controller, and generate a second control signal only according to the feedback signal.

[0033] According to one embodiment, the control device includes an interface that is coupled to the internal controller and is configured to transmit a report signal to the external controller and to receive a command signal for controlling the electronic device from the external controller. At the interface where the internal controller is communicatively coupled to the external controller, the internal controller and the external controller can exchange control data, in particular command signals and optional report signals, at a first data rate that meets stability requirements and the bandwidth of the communication channel. In contrast, device data exchanged within the control device and / or between the internal controller and the electronic device can be transmitted at a second data rate that is higher than the first data rate. The first data rate can be in the millisecond range, and the second data rate can be in the microsecond range. A machine learning model can be coupled to the interface to monitor the signal traffic between the internal controller and the external controller and learn from it.

[0034] According to one embodiment, the control device includes a monitoring unit electrically coupled to the interface. The monitoring unit may be configured to monitor the signal traffic between the external controller and the internal controller and to detect anomalies associated with the signal traffic between the external controller and the internal controller. The monitoring unit may analyze the signal traffic, in particular the data traffic, on the communication channel between the external controller and the internal controller to determine when the intelligent controller must be controlled from the external controller. The communication channel may be referred to as a communication link. In coordination with the intelligent controller, the monitoring unit may determine when the received instruction signal, the instruction frame of the instruction signal, and / or the reference signal are damaged. Therefore, the monitoring unit may analyze the signal (e.g., data) traffic on the communication channel to determine when the action of the intelligent controller needs to be applied. In coordination with the intelligent controller, the monitoring unit may also determine when the received instruction signal and / or frame is damaged. The anomaly may be, for example, a lost, damaged, malicious and / or damaged instruction signal or instruction frame of the instruction signal due to reasons such as channel interruption or security vulnerabilities (which may undermine the stability of the implemented control strategy). The monitoring unit may detect lost, damaged or damaged control frames to determine when the edge platform is undergoing unplanned maintenance or is temporarily unavailable. It can also detect lost and malicious instructions and / or control frames due to channel disruptions or security breaches of the communication channel that could destabilize the implemented control strategy. In contrast, the intelligent controller can learn from all signals passing through the interface to infer a behavioral model of the external controller and, optionally, of the physical electronic device.

[0035] According to one embodiment, the alternative instruction signal is related to a transition from one operating point of the electronic device to another operating point of the electronic device and / or a processing of the behavior of the electronic device. The other operating point can be a safer operating point. Therefore, the alternative instruction signal can refer to a ramp down of the electronic device to a safe operating point.

[0036] According to one embodiment, the method for controlling an electronic device includes the following steps: receiving a command signal from an external controller during normal operation of the external controller; checking whether the command signal and / or the command frame of the command signal comply with a predetermined control strategy; and if the command signal and / or the command frame from the external controller does not comply with the predetermined control strategy, providing at least one alternative command signal for controlling the electronic device to the internal controller instead of the command signal from the external controller.

[0037] According to one embodiment, the machine learning model is trained during normal operation of the external controller and the internal controller. For example, the machine learning algorithm can be trained when the external and internal controllers are operating in a closed loop. The internal control loop can be closed within the local platform, such as within the control device. The internal control loop can feature all observers and control functions needed to ensure stability during steady state at a single operating point.

[0038] According to one embodiment, the machine learning model is trained offline based on historical data, reference models and / or algorithms. The offline training may include typical transient behaviors and anomalies of electronic devices.

[0039] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The subject matter of the invention will be explained in more detail hereinafter with reference to exemplary embodiments shown in the drawings.

[0041] Figure 1 A block diagram illustrating an exemplary embodiment of a control platform is schematically shown.

[0042] Figure 2 A flow chart of an exemplary embodiment of a method for training a machine learning model to provide at least one substitute command signal is schematically illustrated.

[0043] Figure 3 A flow chart of an exemplary embodiment of a method for controlling an electronic device is schematically shown.

[0044] The reference numerals used in the drawings and their meanings are listed in summary form in the reference numeral list. In principle, identical components are provided with the same reference numerals in the figures. DETAILED DESCRIPTION

[0045] Figure 1 Schematically shown is a block diagram illustrating an exemplary embodiment of a control platform 20. The control platform 20 includes a local platform and an edge platform 24.

[0046] The local platform includes a control device 22 and an electronic device 26 controlled by the control device 22. The control device 22 includes an internal controller 30, an intelligent controller 32, a monitoring unit 34, a processing module 36, an observer unit 38 and an interface 40. The processing module 36 can be configured to control the issuance of control commands for the electronic device. The electronic device 26 can be or can include a motor, such as a generator or an electric motor. For example, the electronic device can be a pump or any other device using a motor.

[0047] The internal controller 30 may generate a control signal, which may be processed by the processing module 36 before being applied to the electronic device 26. The processing module 36 may, for example, provide one or more switching signals for the power electronics in the electronic device 26. Alternatively, the internal controller 30 may fully process the control signal itself and may issue control commands directly to the electronic device 26. One or more sensors (not shown) may be coupled to the electronic device 26. The sensor may be arranged to sense one, two or more processing parameters of the electronic device 26. The processing parameter may be one, two or more of a set of parameters. The set of parameters may include the current of the electronic device 26, the rotation speed of the electronic device 26, or the shaft position of the electronic device 26. Data related to the sensed parameters may be received and interpreted by the observer unit 38. The observer unit 38 may share its observations and / or measurements, such as corresponding sensor signals, with the internal controller 30 and optionally with the external controller 50. The internal controller 30 may generate a control signal at least in part based on the observations of the observer unit 38. Alternatively, the internal controller 30 may receive data related to the sensed parameters directly from the sensor and may generate a control signal at least in part based on the sensed parameters.

[0048] The internal controller 30, the intelligent controller 32, and the monitoring unit 34 are each coupled to the interface 40. The interface 40 enables communication between the control device 22 and the edge platform 24 by establishing a communication link 62 between the control device 22 and the edge platform 24. The communication link 62 may be unreliable. The local platform, in particular the control device 22, can form an inner loop control 42 for the electronic device 26.

[0049] The edge platform 24 may include an external controller 50, a supervisory module 52, a user interface 54, a task scheduler 56, a connection module 58, and an operating system 60. The external controller 50 may receive a report signal from a local platform (i.e., the control device 22), and / or may send an instruction signal to the local platform via a communication link 62. The report signal may include information about the operation of the control device 22 and / or the electronic device 26. The report signal may include device information about the electronic device 26, the device information being encoded within the report signal. The report signal may include a sensor signal from the observer unit 38 (e.g., a sensor from the observer unit 38). The instruction signal may be provided by the external controller 50 regularly, at a predetermined time, at a predetermined time interval, and / or in response to the report signal. The supervisory module 52 may provide information about the health, efficiency, and / or performance of the electronic device 26. The user interface 54 may enable a user to interact with the edge platform 24. The user interface 54 may include an input component (e.g., a keyboard, a mouse, and / or a microphone) and / or an output component (e.g., a display and / or a speaker). The task scheduler 56 can schedule mixed criticality tasks for the edge platform. The connection module 58 provides a communication interface for a wider control infrastructure such as supervisory control and data acquisition (SCADA). The edge platform 50 can receive data from the database 70, such as configuration and / or authentication data of the edge platform 50.

[0050] The external controller 50 and / or the edge platform 24 may be arranged at the same location as the control device 22 and the electronic device 26, and the control device 22 or one or more parts of the control device 22 and the electronic device 26 may be arranged at the same location. For example, the internal controller 30 may be integrated in the electronic device 26. Alternatively, the internal controller 30 may be separate from the electronic device 26, but may be arranged in the same housing, the same room, and / or the same building as the electronic device 26.

[0051] The internal controller 30 is coupled to the electronic device 26 and is configured to generate at least one control signal for controlling the electronic device 26 according to at least one instruction signal from the external controller 50. The intelligent controller 32 may be coupled to the internal controller 30 and is configured to provide at least one alternative instruction signal for controlling the electronic device 26 to the internal controller 30 if an anomaly related to the signal traffic between the internal controller 30 and the external controller 50 is detected, for example, on the communication link 62. The internal controller 30 may include a processing engine, such as an FPGA or an embedded processor, the real-time performance of the processing engine, such as enhanced real-time performance, is optionally verified. The internal controller 30 and / or the intelligent controller 32 may be embodied as a software module, a hardware module, or a combination of the two. The internal controller 30 may communicate with the external controller 50 at a slower rate as the electronic device 26 and / or the intelligent controller 32. The electronic device 26 may be part of an electromechanical device, such as a pump, a motor, a rotor, a compressor, and / or part of an automatic production line of a factory.

[0052] The control platform 20 may be arranged to control the electronic device 26. The modulator and observer functions of the internal controller 30 and optionally the control device 22 may be isolated from the external controller 50 by an anomaly related to the signal traffic between the internal controller 30 and the external controller 50. The control device 22 may enable the control platform to operate continuously even if an anomaly related to the signal traffic between the internal controller 30 and the external controller 50 is detected. The anomaly related to the signal traffic between the internal controller 30 and the external controller 50 may be caused by an interruption of the edge platform 24, in particular the external controller 50. The interruption may be caused by an update or corruption of the edge platform 24, in particular the external controller 50, or the operating system 60. The signal traffic between the internal controller 30 and the external controller 50 may include a command signal from the external controller 50 to the internal controller 30, and optionally a report signal from the internal controller 30 to the external controller 50.

[0053] The intelligent controller 32 can ensure the continued operation of the electronic device 26 by replacing (e.g., restoring) the lost instruction signal so that the corresponding information from the external controller 50 exists during the abnormality. For example, the intelligent controller 32 can mimic the behavior of the external controller 50, keep the electronic device 26 at a steady-state operating point, or alternatively, automatically guide the electronic device 26 to a safe operating mode. The intelligent controller 32 may include and / or provide artificial intelligence, such as in the form of a machine learning model. The intelligent controller 32 may be able to cope with synchronization while disconnected from the edge platform 24, in particular from the external controller 50. This may require a decentralized synchronization scheme in which the intelligent controller 32 features and synchronizes a local clock, such as by periodically exchanging information with nearby devices (e.g., the internal controller 30 and / or the electronic device 26).

[0054] The intelligent controller 32 may include a machine learning model, in particular a core algorithm of the machine learning model. The machine learning model may have been trained to mimic the behavior of the external controller 50. The machine learning model may be configured to provide at least one alternative instruction signal for controlling the electronic device 26 to the internal controller 30 if an anomaly associated with the signal business between the internal controller 30 and the external controller 50 is detected. The behavior may be transient, unexpected and / or caused by a sudden change in the electronic device 26 and / or the process controlled by the electronic device 26. The intelligent controller 32 may ensure the continuous operation of the electronic device 26 by recovering the lost instructions from the external controller 50 during the power failure of the external controller 50. For example, the intelligent controller 32 may be configured to keep the electronic device 26 at a steady-state operating point, or alternatively, automatically guide the electronic device 26 into a safe operating mode. When the control device 22 no longer receives an instruction signal as a control reference from the external controller 50 of the edge platform 24, or when such an instruction signal may be considered unreliable / impaired, an alternative instruction signal from the intelligent controller 32 may be applied. The intelligent controller 32, in particular the machine learning model, can learn dynamic characteristics online, for example, when the edge platform 24 and the local platform including the control device 22 and the electronic device 26 operate in a closed loop, as described below. Alternatively or additionally, the intelligent controller 32, in particular the machine learning model, can be trained offline based on historical data, reference models and / or algorithms, as described below. The offline training can include typical transient behaviors and anomalies of the electronic device 26. The intelligent controller 32 can also feature a predefined sequence of actions through corresponding control signals to safely ramp down the electronic device to a safe operating point.

[0055] The intelligent controller 32 may be configured to receive an instruction signal from the external controller 50 during normal operation of the external controller 50, check whether the instruction signal and / or the instruction frame of the instruction signal conforms to a predetermined control strategy, and if the instruction signal and / or the instruction frame from the external controller 50 do not conform to the predetermined control strategy, provide at least one substitute instruction signal for controlling the electronic device 26 to the internal controller 30 instead of the instruction signal from the external controller 50. The intelligent controller 32 may prevent malicious instruction signals and / or frames from being applied to the internal controller 30. After the software of the external controller 50 is upgraded, such as by a damaged patch, the external controller 50 or a third entity may apply such a malicious instruction signal. During normal operation of the external controller 50, no anomalies related to the signal traffic between the internal controller 30 and the external controller 50 are detected. Therefore, during normal operation, a machine learning model may be trained or used to verify the instruction signal and provide an alternative instruction signal when necessary, and if an anomaly related to the signal traffic between the internal controller 30 and the external controller 50 is detected, the machine learning model may be used to provide an alternative instruction signal instead of the instruction signal expected from the external controller 50. Thus, during normal operation, the intelligent controller 32 may also verify that received control frames comply with the implemented control strategy and do not destabilize the system.A predetermined control strategy may define a regime of operating conditions within predetermined constraints, for example related to safety.

[0056] The observer unit 38 may be coupled to the internal controller 30 and at least one sensor (not shown). The control device 22 may be configured to sample and / or process at least one sensor signal from the sensor, and to send at least one feedback signal to the internal controller 30 according to the sensor signal. The at least one sensor may be configured to measure at least one parameter of the electronic device 26, wherein the internal controller 30 may be configured to generate at least one control signal for controlling the electronic device 26 according to the feedback signal. The control signal may be the same control signal generated according to the command signal from the external controller 50. Therefore, the internal controller 30 may generate a first control signal according to the command signal from the external controller 50, and generate a second control signal only according to the feedback signal.

[0057] The interface 40 may be coupled to the internal controller 30. The interface 40 may be configured to transmit a report signal to the external controller 50 and receive a command signal for controlling the electronic device 26 from the external controller 50. At the interface 40 where the internal controller 30 is communicatively coupled to the external controller 50, the internal controller 30 and the external controller 50 may exchange control data, in particular command signals and optional report signals, at a first data rate that meets stability requirements and the bandwidth of the communication link 62. In contrast, device data exchanged within the control device 22 and / or between the internal controller 30, the intelligent controller 32, the monitoring unit 34, the processing module 36, the observer unit 38 and / or the interface 40 may be transmitted at a second data rate that is higher than the first data rate. The first data rate may be in the millisecond range, and the second data rate may be in the microsecond range. A machine learning model may be coupled to the interface 40 to monitor the signal traffic between the internal controller 30 and the external controller 50 and learn from it.

[0058] The monitoring unit 34 may be electrically coupled to the interface 40. The monitoring unit 34 may be configured to monitor the signal traffic between the internal controller 30 and the external controller 50 and to detect anomalies associated with the signal traffic between the internal controller 30 and the external controller 50. The monitoring unit 34 may analyze the signal traffic, in particular the data traffic, on the communication channel between the external controller 50 and the internal controller 30 (i.e., on the communication link 62) to determine when the intelligent controller 32 must be controlled from the external controller 50. In coordination with the intelligent controller 32, the monitoring unit 34 may determine when the received instruction signal and / or the instruction frame of the instruction signal is compromised. Therefore, the monitoring unit 34 may analyze the signal (e.g., data) traffic on the communication link 62 to determine when the action of the intelligent controller 32 needs to be applied. The monitoring unit 34 may determine when the received instruction signal and / or the instruction frame of the instruction signal is compromised by identifying changes in the frame rate, changes in the source / destination address, tampered frame content, and / or unauthorized connections. In coordination with the intelligent controller 32, the monitoring unit 34 may also determine when the received instruction signal and / or frame is compromised. An anomaly may be a lost, corrupted, malicious and / or damaged instruction signal or instruction frame of an instruction signal, for example due to a stable channel interruption or security vulnerability that may undermine the implemented control strategy. The monitoring unit 34 may detect lost, corrupted or damaged instruction frames to determine when the edge platform 24 is undergoing unplanned maintenance or is temporarily unavailable. The monitoring unit 34 may also detect lost and malicious instruction frames due to channel interruptions or security vulnerabilities of the communication link 62 that may undermine the implemented control strategy. In contrast, the intelligent controller 32 may learn from all signals passing through the interface 40 to infer a behavioral model of the external controller 50, and optionally a behavioral model of the physical electronic device 26.

[0059] The substitute command signal may be associated with a transition from one operating point of the electronic device 26 to another operating point of the electronic device 26. Alternatively or additionally, the substitute command signal may be associated with a manipulation of the behavior of the electronic device 26. The other operating point may be a safer operating point. Thus, the substitute command signal may refer to a ramp down of the electronic device 26 toward a safe operating point.

[0060] Figure 2 A flow chart of an exemplary embodiment of a method for training the above-mentioned machine learning model to provide at least one substitute command signal is schematically shown. The machine learning model can be implemented in the intelligent controller 32. The machine learning model can be represented as a program code of an algorithm, which is stored on the memory of the intelligent controller 32. The machine learning model can be trained so as to be able to mimic the external controller 50 in the event that the external controller 50 is not available or if the signal from the external controller 50 is damaged.

[0061] The machine learning model may be trained during normal operation of the external controller 50 and the internal controller 30. For example, the machine learning algorithm may be trained when the external controller 50 and the internal controller 30 are operating in a closed loop. The internal control loop 42 may be closed within a local platform, such as within the control device 22. The internal control loop 42 may feature all observers and control functions needed to ensure stability during steady state at a single operating point.

[0062] Alternatively or additionally, the machine learning model may be trained offline based on historical data, reference models and / or algorithms. The offline training may include typical transient behaviors and anomalies of the electronic device 26. The transient behaviors and anomalies may include changing references to external controls and / or grid voltage drops.

[0063] The method for training a machine learning model so that the machine learning model can provide at least one substitute instruction signal may include the following steps:

[0064] In step S2, the machine learning model can be coupled to the external controller 50 and the internal controller 30 while the external controller 50 and the internal controller 30 communicate with each other. The machine learning model can be coupled to the external controller 50 and the internal controller 30 by coupling the machine learning model to the interface 40, which communicatively couples the external controller 50 to the internal controller 30 and vice versa.

[0065] In step S4, the machine learning model may receive an instruction signal from the external controller 50. The instruction signal may be directed to the internal controller 30. The machine learning model may also receive a report signal from the internal controller 30. The report signal may be directed to the external controller 50. The instruction signal and / or the report signal may branch from the interface 40 such that the internal controller 30 may receive the instruction signal and the external controller 50 may receive the report signal, while the same signal or a digital twin or copy of the signal is received by the intelligent controller 32 and thereby by the machine learning model.

[0066] In step S6, features for training the machine learning model may be extracted from the report signal. These features may include, for example, the actual speed and / or axis position of the electronic device 26, where in this case the electronic device 26 may be an electromechanical device.

[0067] In step S8, labels for training the machine learning model may be extracted from the corresponding command signals. In particular, at least some labels may be extracted from one of the command signals that directly follows and / or is a reaction to a report signal from which the corresponding features have been extracted. The labels may, for example, include the current, frequency and / or phase of the command signal. The features and labels form a data set for training the machine learning algorithm. The data set may be stored in the form of a table in which features are assigned to corresponding labels.

[0068] Therefore, the machine learning model can be trained by monitoring the signal business between the internal controller 30 and the external controller 50 to learn the normal behavior of the external controller 50. During normal operation, the internal and external control loops can be synchronized with, for example, a master clock managed by the edge platform and distributed to connected devices through a shared communication link. In particular, during normal operation, there are one, two or more typical causal chains between the report signal generated by the internal controller 30 and the instruction signal generated by the external controller 50, and vice versa. The machine learning algorithm can learn from these typical causal chains how the internal controller 30 usually reacts to a given instruction signal from the external controller 50 and / or how the external controller 50 usually reacts to a given report signal from the internal controller 30. In addition, the external controller 50 and / or the internal controller 30 can periodically generate at least some of the corresponding signals independently of the corresponding other entities, for example based on a given time interval. The machine learning model can also learn this behavior by monitoring the signal business. For example, a machine learning model using a deep neural network can be called a behavioral model for modeling the behavior of the external controller 50. Possible training methods may involve techniques based on imitation learning, regression, genetic algorithms, and the like. Models can be trained offline or online. Offline training can be performed using a set of collected observations, and online training can be performed while the controller is operating.

[0069] Alternatively or additionally, the machine learning model may be trained offline based on historical data, reference models and / or algorithms. Offline training may include typical transient behaviors and anomalies of the electronic device 26, such as changes in reference signals provided by the user to the external controller 50 or grid voltage drops. Features extracted for offline training may include actual speed and / or shaft position of a motor constituting the electronic device. Tags extracted for offline training may include current, frequency and / or phase of the corresponding signal.

[0070] In step S10, the extracted features and labels can be used to train a machine learning model. The training of the machine learning algorithm can be performed by a dedicated training algorithm. The training algorithm can provide imitation learning, regression or genetic algorithms. The machine learning model and training algorithm can be built by using machine learning frameworks such as Scikit-learn, Keras, etc. The machine learning algorithm can be called core artificial intelligence.

[0071] Figure 3 A flow chart of an exemplary embodiment of a method for controlling an electronic device 26 is schematically shown. The method for controlling an electronic device 26 may be executed by an intelligent controller 32. The method for controlling an electronic device 26 may include the following steps:

[0072] In step S12 , at least one control signal for controlling the electronic device 26 may be generated according to at least one instruction signal from the external controller 50 .

[0073] In step S14, if an anomaly is detected in relation to the signal traffic between the internal controller 30 and the external controller 50, at least one of the alternative instruction signals for controlling the electronic device 26 may be provided to the internal controller 30. The alternative instruction signal may be provided by the intelligent controller 32, in particular by a machine learning model implemented within the intelligent controller 32. The level of synchronization between the high-level external control of the edge platform 24 and the low-level internal control of the local platform may be in the high millisecond range or may be asynchronous. As described above, the anomaly may be detected by the monitoring unit 34.

[0074] Optionally, the method for controlling the electronic device 26 may include the following additional steps:

[0075] In step S16 , a command signal from the external controller 50 may be received during normal operation of the external controller 50 .

[0076] In step S18, it may be checked whether the command signal and / or the command frame of the command signal complies with a predetermined control strategy.

[0077] In step S20 , if the instruction signal and / or instruction frame from the external controller 50 does not comply with the predetermined control strategy, at least one substitute instruction signal for controlling the electronic device 26 may be provided to the internal controller 30 instead of the instruction signal from the external controller 50 .

[0078] The above steps S12 and S14 may be performed before, after or simultaneously with the above steps S16 to S20. The above steps S12 and S14 and the above steps S16 to S20 may be implemented in the same computer program or as separate computer programs.

[0079] Although the present invention has been shown and described in detail in the drawings and the foregoing description, such illustration and description should be regarded as illustrative or exemplary rather than restrictive; the present invention is not limited to the disclosed embodiments. Other variations of the disclosed embodiments may be understood and effected by those skilled in the art and those practicing the claimed invention through a study of the drawings, the present disclosure, and the appended claims.

[0080] In the claims, the word "comprising" does not exclude other elements or steps and the indefinite article "a" or "an" does not exclude a plurality. A single processor or controller or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims should not be construed as limiting the scope.

[0081] Reference numerals list

[0082] 20: Control Platform

[0083] 22: Control Device

[0084] 24: Edge Platform

[0085] 26: Electronic devices

[0086] 30: Internal controller

[0087] 32: Intelligent Controller

[0088] 34: Monitoring unit

[0089] 36: Processing module

[0090] 38: Observer unit

[0091] 40: Interface

[0092] 42: Inner loop control

[0093] 50: External controller

[0094] 52: Supervision Module

[0095] 54: User Interface

[0096] 56: Task Scheduler

[0097] 58: Connection module

[0098] 60: Operating System

[0099] 62: Communication link

[0100] 70: Database

[0101] S2-S20: Step 2 to Step 20

Claims

1. A control device (22) for controlling an electronic device (26), the control device (22) comprising: an internal controller (30) coupled to the electronic device (26) and configured to generate at least one control signal for controlling the electronic device (26) according to at least one instruction signal from the external controller (50); as well as an intelligent controller (32) coupled to the internal controller (30) and configured to provide at least one substitute instruction signal for controlling the electronic device (26) to the internal controller (30) if an anomaly associated with signal traffic between the internal controller (30) and the external controller (50) is detected, wherein The intelligent controller (32) includes a machine learning model that has been trained to mimic the behavior of the external controller (50), and the machine learning model is configured to provide at least one alternative instruction signal for controlling the electronic device (26) to the internal controller (30) if the anomaly associated with the signal traffic between the internal controller (30) and the external controller (50) is detected.

2. The control device (22) according to any one of the preceding claims, wherein the intelligent controller (32) is configured to receiving the command signal from the external controller (50) during normal operation of the external controller (50); Checking whether the command signal and / or the command frame of the command signal conforms to a predetermined control strategy; and If the instruction signal and / or the instruction frame from the external controller (50) does not comply with the predetermined control strategy, at least one substitute instruction signal for controlling the electronic device (26) is provided to the internal controller (30) instead of the instruction signal from the external controller (50).

3. A control device (22) according to any one of the preceding claims, comprising an observer unit (34) coupled to the internal controller (30) and to at least one sensor and configured to sample and / or process at least one sensor signal from the sensor and to send at least one feedback signal to the internal controller (30) based on the sensor signal, the at least one sensor being configured to measure at least one parameter of the electronic device (26), The internal controller (30) is configured to generate the at least one control signal for controlling the electronic device (26) according to the feedback signal.

4. A control device (22) according to any one of the preceding claims, comprising: An interface (40) is coupled to the internal controller (30) and is configured to transmit a report signal to the external controller (50) and to receive the instruction signal for controlling the electronic device (26) from the external controller (50).

5. The control device (22) according to claim 4, comprising: A monitoring unit (34) is electrically coupled to the interface (40) and is configured to monitor the signal traffic between the external controller (50) and the internal controller (30) and to detect the anomaly associated with the signal traffic between the external controller (50) and the internal controller (30).

6. A control platform (20) for controlling an electronic device (26), the control platform (20) comprising: A control device (22) according to any one of the preceding claims; as well as The external controller (50) is configured to receive at least one report signal and / or sensor signal from the control device (22), and / or to send at least one command signal to the control device (22).

7. A method for controlling an electronic device (26), the method comprising: generating at least one control signal for controlling the electronic device (26) according to at least one instruction signal from an external controller (50); as well as If an abnormality associated with signal traffic between the internal controller (30) and the external controller (50) is detected, at least one substitute instruction signal for controlling the electronic device (26) is provided to the internal controller (30).

8. The method according to claim 7, wherein The substitute instruction signal is related to a transition from one operating point of the electronic device (26) to another operating point of the electronic device (26) and / or is related to the processing of a behavior of the electronic device (26).

9. The method according to claim 7 or 8, comprising the following steps: receiving the command signal from the external controller (50) during normal operation of the external controller (50); Checking whether the command signal and / or the command frame of the command signal conforms to a predetermined control strategy; as well as If the instruction signal and / or the instruction frame from the external controller (50) does not comply with the predetermined control strategy, at least one substitute instruction signal for controlling the electronic device (26) is provided to the internal controller (30) instead of the instruction signal from the external controller (50).

10. A method for training a machine learning model to provide at least one substitute instruction signal, the method comprising the steps of: coupling the machine learning model to an external controller (50) and an internal controller (30) in communication with each other, such that the machine learning model receives instruction signals from the external controller (50) directed to the internal controller (30) and receives report signals from the internal controller (30) directed to the external controller (50); extracting features from the report signal for training the machine learning model; extracting a label for training the machine learning model from the corresponding instruction signal; and The machine learning model is trained using the extracted features and labels.

11. The method according to claim 10, wherein The machine learning model is trained during normal operation of the external controller (50) and the internal controller (30).

12. The method according to any one of claims 10 or 11, wherein The machine learning model is trained offline based on historical data, reference models and / or algorithms.

13. A computer program for controlling an electronic device (26), the computer program being configured to perform the method according to any one of claims 7 to 9 when executed by a processor of a controller.

14. A computer-readable medium having stored therein the computer program according to claim 13.