Control devices for machine control and evaluation of sensor data
The control device integrates machine control and sensor data evaluation through dual user programs and interfaces, addressing the challenge of diverse sensor data integration by enhancing efficiency and reducing complexity and cost.
Patent Information
- Application Number
- JP2024515425
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-14
- Filing Date
- 2022-09-06
- Publication Date
- 2024-09-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing control devices struggle to effectively integrate and evaluate diverse sensor data from both basic and smart sensors within a unified system, requiring separate evaluation devices and additional interfaces, which increases complexity and cost.
A control device equipped with dual user programs and interfaces that combine machine control and sensor data evaluation, allowing simultaneous processing of basic and smart sensor data within a single unit, eliminating the need for separate evaluation devices and reducing installation costs.
This integration enables real-time, efficient, and flexible machine control with improved sensor data fusion, enhancing detection capabilities, accuracy, and reliability while reducing the need for additional hardware and interfaces.
Smart Images

Figure 2024533390000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a control device for machine control and the evaluation of sensor data. [Background technology]
[0002] Control devices (hereinafter also referred to as "controllers") are generally known in the field of automation technology. Control devices control and regulate technical systems, machines or processes. Due to their flexibility and adaptability, programmable logic controllers (PLCs) have been established for complex or dynamically changing control and regulation tasks in process and automation technology. A simple programmable logic controller consists of at least one central processing component (with a main processor), at least one input component and one output component.
[0003] Sensors are connected to the input components and detect conditions of or around the technical system or machine to be controlled. A central processing component evaluates the sensor data acquired by the input components and generates control commands that are forwarded to the output components. The output components are connected to corresponding actuators that control the technical system or machine based on the control commands.
[0004] Basic and composite sensors connected to an input component are sometimes referred to as basic and composite sensors. Basic sensors are sensor devices used to measure a physical quantity and convert it into an electrical quantity. Basic sensors are, for example, proximity sensors or reflective light barriers. Composite sensors combine several basic sensors in one housing, for example light grids. Basic and composite sensors therefore display a specific value or indicate a defined state (binary state). Basic and composite sensors known from automation technology are, for example, light scanners, light grids, proximity sensors, ultrasonic sensors, fill level sensors or similar devices.
[0005] In addition to basic and combined sensors, smart sensors are increasingly being used in automation technology. Smart sensors (sensor systems) can prepare and process the measurement variables themselves and provide complex data at network-enabled interfaces. Smart sensors can, for example, detect and identify objects and record complex processes in order to realize access and area monitoring systems. Smart sensors accordingly require powerful evaluation equipment and applications that evaluate the complex sensor data and convert it into relevant input signals for machine control.
[0006] A special evaluation device can be connected to several smart sensors via a corresponding network interface in order to link the data from several sensors and provide an aggregated output signal (sensor data fusion). The evaluation of the sensor data of the smart sensors, which is performed by a dedicated evaluation device, is usually independent of the signals recorded by the basic and composite sensors of the machine control system. Rather, this data is linked only at the control device, which receives both the input signals from the basic / composite sensors and the aggregated output signal from the evaluation of the sensor data of the smart sensors. In this case, the aggregated output signal is generally processed by the control device in the same way as a normal input signal indicating a certain state.
[0007] For example, US Pat. No. 6,399,433 shows the detection of an object by several sensors, where at least two sensors are networked via a data bus to transfer the total detection result (aggregated output signal) to a higher level controller that performs machine control based on the detection.
[0008] Patent document 2 shows a safety controller with a large number of sensor connections and a method for safely monitoring a monitoring area with several sensors connected to the safety controller. The safety controller receives sensor data from the various connected sensors, so that all possibilities are possible, from the transmission of simple sensor data, such as binary signals, to the transmission of the entire raw data of the complex sensors. The received sensor data are converted by calculation into a common object detection signal, taking into account set weightings. The common object detection signal is output via a safety output of the safety controller.
[0009] Patent document 3 shows a system in which sensor data from several sensors are recorded and evaluated by an evaluation device (master IO-Link) and the evaluated signals are provided to a machine controller (PLC). [Prior art documents] [Patent documents]
[0010] [Patent Document 1] DE 10 2005 020 028 A1 [Patent Document 2] German Patent No. 10 2010 007 520 B3 [Patent Document 3] German Patent Application Publication No. 10 2019 116 664 A1 Summary of the Invention [Problem to be solved by the invention]
[0011] Against the above background, the present invention aims to provide an improved control system that allows for effective machine control whilst efficiently recording and taking into account various sensor data from different sensors. [Means for solving the problem]
[0012] According to one aspect of the present invention, there is provided a control device for machine control and sensor data evaluation comprising a first interface to basic and composite sensors for machine control, a second interface to the sensors for evaluation of sensor data, a central processing unit (sometimes simply referred to as a "processing unit"), and an operating system for executing user programs using the central processing unit, the user programs having at least a first user program and a second user program, the first user program being a user program for machine control that performs a control function based on evaluation of the basic and composite sensors, and the second user program being a user program for sensor data evaluation that evaluates sensor data received via the second interface.
[0013] The idea of the invention is therefore to combine machine control and evaluation of sensor data in one device. For this purpose, the control device is equipped with an operating system, which allows the execution of various user programs. The first user program (hereinafter also referred to as PLC application) is a standard control program which performs automation tasks for the machine control. The first user program operates, for example, according to the well-known IPO (input-processing-output) model, in which input states are first recorded and processed and then the output states are set. The first user program is therefore a program which can normally be executed on a programmable logic controller.
[0014] In addition to the first user program, the operating system also executes a second user program, which evaluates the sensor data received via the second interface. In contrast to the first user program, the second user program is not a control program per se, but a data processing program, which includes, for example, algorithms for signal processing or pattern recognition. The second user program is therefore not designed to directly control the controlled machine of the control device, but rather to process the sensor data in order to derive application- or control-relevant information from the sensor data. The derived information can then be used by the first user program to directly control the machine.
[0015] The control device according to the invention therefore executes at least two user programs which perform different tasks and are fed by different input sources. The advantage of integrating in one unit is that data from the control system (automation data) and sensor data from composite sensors (smart sensors) can be combined, exchanged and compared without additional interfaces. This means that a uniform evaluation can be performed without the need to first combine the sensor data from the composite sensors into a (binary) status signal. A separate evaluation device for the evaluation of the sensor data of the composite sensors can therefore be dispensed with, including all installation and commissioning costs.
[0016] The sensor data from the composite sensor can also be evaluated taking into account the input signals from the elementary and composite sensors received by the control device. In other words, sensor data fusion can take place not only between aggregated signals but also at the level of raw sensor data. Thereby, sensor data fusion can be performed at another level, e.g. at the pure data level, at the feature level and / or at the decision level. This allows a significant improvement in the quality of the evaluation. Furthermore, results can be achieved that would not have been possible at all without data fusion at different levels.
[0017] Further benefits of sensor data fusion are flexibility in application, increased sensor detection capability and / or reliability, increased sensor measurement accuracy or wider field of view, elimination of ambiguity or occlusion, and saving on expensive sensors by using lower-cost sensors whose signals are fused to form a complex evaluation signal.
[0018] Since both user programs run on the same operating system, the operating system's functions can be used to enable data exchange between the two user programs. This allows extensive data evaluation to be performed in real time. Furthermore, the data can be directly synchronized during evaluation.
[0019] Finally, it is possible to reuse already known standardized sensors, actuators and communication means of the control device according to the invention and combine them with data from multiple sensors.
[0020] The control device according to the invention therefore combines machine control and sensor data evaluation in one unit (in the same device housing), whereby the two tasks (machine control / sensor data evaluation) are realized by separate user programs running on a common operating system. Existing user programs for both machine control and sensor data evaluation can be reused. In this way, an effective machine control can be realized comprehensively and efficiently. The object stated at the beginning is thus completely achieved.
[0021] In a further refinement, the second user program makes the evaluated sensor data available to a first user program, which can use the evaluated sensor data for machine control.
[0022] The first user program therefore has direct access to the results of the evaluation of the sensor data determined by the second user program and can use them for the machine control, which makes the machine control more efficient, comprehensive and flexible.
[0023] In a further refinement, the operating system executes the first user program and the second user program in parallel.
[0024] The operating system is therefore configured to execute user programs in parallel. Parallel execution allows two user programs to access data from the other program simply and without delay. Furthermore, the hardware configuration for efficient execution of parallel processing can be optimally utilized. For example, the pauses in calculations that usually occur during input / output processes in an IPO procedure can be exploited by executing algorithms for the evaluation of sensor data. This makes the control unit more efficient overall.
[0025] In a further refinement, the first interface is an interface for I / O communication via a fieldbus, for example an IO-Link interface.
[0026] Thus, the basic and combined sensors can be connected to the control device in a known manner via the first interface. The control device can therefore utilize its existing structure. This allows the control device according to the invention to be easily integrated into existing systems by replacing the control device itself rather than the modules which are connected to the control device via the sensors, i.e. the basic and combined sensors. Thus, existing sensor arrangements consisting of basic and combined sensors can continue to be used without modification. On the other hand, smart sensors can be easily retrofitted into existing systems without changing the actual control-relevant sensor technology. IO-Link is a globally standardized IO technology for communication with sensors and actuators in industrial environments.
[0027] In a further refinement, the first interface is a module of the control device and is coupled to the central processing unit via an internal bus connection.
[0028] Thereby, only the processing unit needs to be replaced to implement a new control unit: the existing input modules (and / or output modules) can remain the same.
[0029] In a further refinement, the second interface is a real-time capable interface.
[0030] Receiving the sensor data via a real-time capable interface allows for real-time evaluation of the sensor data and for real-time linking of the evaluated sensor data to a first user program, making it easy to realize even complex scenarios that require a combination of basic and network sensor data with data from smart sensors.
[0031] In a further refinement, the second interface is a standardized IP-based interface, for example an OPC-UA (Open Platform Communication Unified Architecture) interface.
[0032] IP-based interfaces allow the connection of various sensors (and other components) and the exchange of various types of data through standardized interfaces. Thus, the connectivity of the control device can be increased through such interfaces, so that the control device can receive almost any amount of complex data.
[0033] In a further refinement, the second interface is a wired (cable-based) and / or wireless (radio-based) interface.
[0034] Thus, the controller is not limited to a particular type of data transmission and can obtain data from the sensor via a variety of connections, allowing the sensor to be easily connected to the controller.
[0035] In a further refinement, the first user program and the second user program are connected to one another via an internal data interface.
[0036] Via the internal data interface, the first and second user programs can be linked to each other efficiently, quickly, robustly and securely, and known mechanisms of common operating systems, such as inter-process communication (IPC), can be used for this purpose. Therefore, the combination of basic and composite sensors with smart sensors for machine control is easy to realize (cross-level sensor data fusion).
[0037] In a further refinement, the control device has a working memory, and the operating system allocates a common memory area in the working memory to the first user program and to the second user program.
[0038] By accessing a shared memory area, an internal data interface between the first user program and the second user program can be easily realized. This internal data interface can be made latency-free, allowing fast and reliable communication between the first user program and the second user program even in real time.
[0039] In a further refinement, the control device has a third interface through which the control device transmits the sensor data of the basic and composite sensors and / or the evaluated sensor data to a device external to the control device. The external device may be a cloud device. The data may be first filtered.
[0040] This configuration allows the results of the sensor data analysis to be forwarded to other devices or to the cloud without the need to connect each smart sensor to an external device itself. Information about the evaluated basic and composite sensors can also be provided in an IP-based network. Thus, the control device can be configured as a gateway and, if necessary, as a filter, and can selectively provide both information from the evaluation of the sensor data and information about the evaluated basic and composite sensors in the network. A possible filter device in the control device can prevent raw data from the sensors from being transmitted to external devices. This ensures that sensitive sensor data does not leave the company's sphere of influence, thus improving data sovereignty. A third interface can correspond to the second interface.
[0041] In a further refinement, the control device is a safety controller, and the first user program provides safety-related machine control and / or the second user program provides evaluation of safety-related sensor data.
[0042] A safety controller is a controller whose input, processing and output components are specially designed to ensure the required level of safety and availability when used in safety-critical systems. In the case of safety control, the execution of the user program for the machine control must be performed according to certain criteria and must meet special requirements and normative specifications. The same applies to the evaluation of safety-critical sensor data, which is subject to certain normative requirements for safety-critical systems. Changes to the user program that performs the safety-relevant machine control or the evaluation of safety-relevant sensor data are periodically accompanied by the need for recertification. It is therefore desirable to make as few changes to the user program as possible so that existing user programs can continue to be used. Since the first and second user programs can first be separated and made independent of each other, it is possible to continue to use existing user programs on the proposed control device without modification. This allows a simple and cost-effective realization of a safety controller.
[0043] In a further refinement, the control device has at least one safety-relevant device which ensures a fail-safe evaluation of the basic and composite sensors and / or an evaluation of the fail-safe sensor data.
[0044] The control device therefore comprises at least one device that allows the execution of a safety-relevant user program. This may include, for example, a redundant design of the components responsible for the safety-relevant execution of the user program, including inputs and outputs. It is also conceivable that another device ensures the safety-critical design from the outside.
[0045] In a further refinement, the operating system can execute a third user program independently of the first and second user programs, which performs non-safety-related machine control and / or evaluation of sensor data.
[0046] This design allows, for example, to run another user program in parallel with the first and second user programs. The third user program can be a standard (ST) user program that does not perform any safety-related functions. The consistent separation of safety-related and non-safety-related user programs has the advantage that these components can be developed and certified completely independently of each other.
[0047] In a further refinement, the second user program has free access to the sensor data.
[0048] Thus, the second user program is not limited to a particular type of access to the interface. Rather, the access can be freely selected by the second user program so that the second user program can receive and provide data as needed. Thus, the second user program is not dependent on periodic processing of sensor data.
[0049] In a further refinement, the operating system can establish a connection to a further control device, and the second user program can partly carry out the evaluation of the sensor data on the further control device.
[0050] This configuration allows the second user program to cooperate with other control devices. This cooperation includes a distributed execution of the second user program on several control devices. Alternatively, the second user program can run together with corresponding user programs on other control devices. In this way, the computationally intensive evaluation of the sensor data can be distributed to several control devices. This allows the retrofitting of existing control system networks with the evaluation of the sensor data.
[0051] It is to be understood that the features mentioned above and those to be described below can be used not only in the combinations indicated in each case, but also in other combinations or alone, without departing from the scope of the invention.
[0052] Exemplary embodiments of the invention are illustrated in the drawings and are explained in more detail in the following description. [Brief description of the drawings]
[0053] [Figure 1] FIG. 1 shows a schematic diagram of an industrial control system according to the prior art. [Diagram 2] FIG. 2 is a schematic diagram of an industrial control system including a control device according to one embodiment of the present invention. [Diagram 3] FIG. 3 shows a schematic diagram of the internal structure of a control device according to one embodiment of the present invention. [Figure 4] FIG. 4 shows a schematic diagram of the internal structure of a control device according to a further embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0054] A known industrial control system is briefly described below with reference to Fig. 1. The control system 1 comprises a modular programmable logic controller (PLC) 2, which has several input and output modules 3 and a central processing unit 4. Basic and combined sensors 5 as well as actuators 6 are connected to the input / output module 3. The basic and combined sensors 5 generate input signals depending on the state of the technical system or machine or its environment and transmit said input signals to the input modules. The processing unit 4 receives the input signals acquired by the input modules, evaluates them, combines them and generates output signals used to control the actuators 6.
[0055] Furthermore, the industrial control system shown in FIG. 1 comprises so-called smart sensors 7, which prepare and process the measurement variables independently. The preparation and processing is carried out by an evaluation device 8, separate from the control device 2 and to which the smart sensors 7 are connected. The evaluation device 8 uses the results of the evaluation to generate input signals for the control device 2. The input signals can be received at the control device 2, for example via further input modules. The input signals provided by the evaluation device 8 correspond in type to the input signals from the basic and composite sensors and can be processed by the control device 2 in the same way as the signals from the connected basic and composite sensors 5. In other words, the smart sensors 7 are recognized by the control device 2 as normal sensors, due to pre-processing by the separate evaluation device 8. The fact that an input signal comes from the smart sensor 7 is therefore indistinguishable to the control device 2 in the described arrangement. Similarly, the separate evaluation device 8 does not recognize the input signals provided by the basic and composite sensors. The smart sensors 7 are therefore decoupled from the actual machine control system by the evaluation device 8.
[0056] In contrast, Figure 2 shows an industrial control system including a control device according to one embodiment of the present disclosure, where the control system is generally designated by reference numeral 100 and the control device is designated by reference numeral 10.
[0057] The basic structure of the control device 10 corresponds to that of the control device 2 described above. The control device 10 is also a modular programmable logic controller with input and output modules. As an example, four input modules 12 and one output module 14 are shown here. The control device 10 further comprises a processing unit 16 (also referred to as a central processing unit 16) coupled to the input and output modules 12, 14 via a bus not shown here. The structure and function of the central processing unit 16 will be described in more detail below. It should be understood that the control device 10 is not limited to the configuration shown here and can include further modules and components. Similarly, the control device 10 is not limited to a modular control device and can be any control device including input modules, output modules and a processing unit.
[0058] Various basic and composite sensors 18 are connected to the control device 10 via an input module 12 (first interface). The basic and composite sensors 18 can be coupled to the input module 12 via a digital or analog interface (I / O) or via a special fieldbus interface (e.g., I / O link) provided for I / O communication. The basic and composite sensors 18 are components used to measure a physical quantity and convert it into an electrical quantity. Examples of basic sensors are optical scanners, proximity sensors, ultrasonic sensors, level sensors, retroreflective sensors or similar devices. Composite sensors refer to sensors formed by combining several basic sensors in one housing, for example light grids or similar devices based on combined measurements of physical variables.
[0059] The actuator 20 can be connected to the output module 14 of the controller 10. The actuator 20 performs a control function in response to a corresponding output signal. This can be, for example, a motor control as shown here. In various embodiments, the actuator 20 can be a contactor located at the power supply of the machine and that turns off the power supply of the machine in response to an output signal from the controller 10. "In response to an output signal" can also mean that an action is triggered in the absence of the output signal, i.e., the contactor is de-energized in the absence of the output signal.
[0060] The processing device 16 generates output signals depending on the input signals. For this purpose, the processing device 16 executes a first user program A. The first user program A (hereinafter also referred to as the PLC application) typically processes a defined number of instructions cyclically. In a first step, the PLC application can read the process image of the inputs (PII). The PII reflects the state of the signals present at the time of acquisition at the input modules. The PLC application is then processed instruction by instruction, whereby the processing device 16 no longer accesses the inputs (input modules) themselves, but only the PII stored in memory. If an output (output signal of an output module) is changed during processing, this is first done in a special memory area, the so-called process image of the output (PIO). The state from the PIO is passed to the actual output (output module) only after the last instruction from the PLC application. After the output, another cycle begins with the reading of the new PII.
[0061] In contrast to a conventional control device, the central processing unit 16 of the proposed control device 10 executes a further user program B (second user program). The second user program B is used to evaluate the sensor data. The sensor data can in this case be obtained from a smart sensor 22. The smart sensor 22 is a sensor that provides composite sensor data and makes it available via a special, in particular standardized IP interface. An example of a smart sensor is a camera system that provides the captured image material in digital form as composite sensor data (e.g. as a continuous data stream). Other smart sensors can also be, for example, radar systems that output tuples with various individual values as sensor data in a continuous or discrete data stream or data telegram, the tuples representing the position, the movement, the outer contour or another characteristic of the object.
[0062] Typically, the sensor data of smart sensors may be several kilobytes or even megabytes in size depending on the type of sensor and can be broadly divided into object data, sensor output data, sensor parameters, and configuration and diagnostic data. The sensor data is provided to the control device 10 via a second interface 24. The second interface 24 is of a different type than the first interface (input module). The second interface 24 may be a standardized IP-based interface for establishing a connection to an IP-based network 26. For example, the second interface 24 may be an OPC-UA (Open Platform Communication Unified Architecture) interface. OPC-UA is a set of standards for communication and data exchange in the field of industrial automation. OPC-UA can be used to describe not only the transfer of machine-to-machine data but also the semantics of the interfaces and data, making the whole architecture service-oriented.
[0063] The second interface 24 may establish a connection to a wired or wireless-based transmission medium and may transmit larger amounts of data. Furthermore, the second interface 24 may be a real-time capable interface with defined and guaranteed transmission characteristics, such as TSN or MQTT.
[0064] The sensor data transmitted to the control device 10 are read and processed by a second user program B. The second user program B is able to record and process sensor data from several sensors. The processing includes the execution of various algorithms, for example algorithms for pattern recognition and image data processing. Furthermore, data from different sensors can be merged.
[0065] The evaluation of the sensor data can include generating a 3D point cloud and transferring it for navigation tasks. In various embodiments, the evaluation of the sensor data can include object detection, determining object parameters (size, direction, speed), or object classification. Additionally, the evaluation of the sensor data can include dynamically determining distances between objects and providing this information for path planning for robot control. It should be understood that the evaluation of the sensor data is not limited to these examples and can include other data processing methods that can extract application or control related information from the sensor data.
[0066] For complex and computationally intensive evaluation of sensor data, it may be useful to add additional computing power as required. This allows in modular control concepts to distribute the evaluation of complex and computationally intensive sensor data to several control heads (scalability). Scalability can be further increased by designing the user programs for the evaluation of sensor data to be able to run on controllers of different performance categories.
[0067] The results of the evaluation of the sensor data can be made available to the PLC application or transmitted to other devices via a second or further interface. The results of the evaluation of the sensor data can, for example, contain switch-off information for connected actuators, which is provided to the PLC application as an additional input signal. The results of the evaluation of the sensor data can thus directly influence the machine control via the PLC application. Furthermore, the results of the evaluation of the sensor data can also be transmitted to other devices for further processing or for diagnostic purposes.
[0068] The first user program A and the second user program B may be linked to each other via an internal data interface. The internal data interface may be an inter-process / inter-thread interface or an interface realized by shared access to a shared memory area. The results of the evaluation of the sensor data are made available to the PLC application via the internal data interface. It is also conceivable that the second user program B reads the sensor data from the second interface 24 and then makes it available to the PLC application as raw data.
[0069] Conversely, the second user program B can access data from the basic and composite sensors 18 in order to take the data from the basic and composite sensors 18 into account in the evaluation of the sensor data. The latter can merge data from the smart sensors 22 with data from the base and composite sensors 18 and can also use this to forward data from the base and composite sensors 18 to other devices or to the cloud 26. Thus, the basic and composite sensors 18, which do not normally have their own IP interface, can also provide their own data in the IP-based network 28.
[0070] The smart sensors 22 may also transmit data directly to other devices via the IP-based network 28 for further evaluation. Computationally intensive algorithms (e.g. algorithms required for machine learning to extract further information from the sensor data) can be executed in the cloud 26. Evaluations that are not subject to real-time requirements are particularly suitable for this purpose. It is also conceivable that data from the smart sensors 22 can be selectively processed by external devices and by the control device 10. This allows only non-sensitive sensor data to be transmitted to external devices and sensitive sensor data to be processed internally by the control device 10 (data sovereignty).
[0071] In addition to the smart sensors 22 and the control device 10 including the basic and composite sensors 18, configuration and diagnostic devices 30 can also be connected to the IP-based network 28. The smart sensors 22 can communicate directly with these devices. Furthermore, the control device 10 with the second interface 24 allows the basic and composite sensors 18 to provide diagnostic and / or configuration information. This helps to improve uniform and overall configuration and diagnostics of the control system 100.
[0072] 3 shows a schematic diagram of the internal structure of the controller 10 according to one embodiment of the present invention. The internal structure is shown here as a layered model in which individual aspects of the architecture of the controller 10 are conceptually assigned to layers.
[0073] The lowest layer S1 comprises the interfaces through which the control device 10 is connected to external devices and its peripherals, including an input module (first interface), an output module, and an IP-based interface (second interface). Through these interfaces, the control device 10 receives data from the connected sensors, including both basic and composite sensors 18 and smart sensors 22.
[0074] The second layer S2 includes the physical processing units, essentially consisting of a central processing unit (processor) and system resources (such as memory). The processing units can be multi-core processors or multi-core microcontrollers that allow for parallel execution of processes and threads, thus facilitating concurrent execution of programs. This layer can also include any safety-related equipment that can ensure the fail-safety of the safety control system. The safety-related equipment can include redundancy and diversity features.
[0075] The third layer S3 forms the operating system of the control device 10. The operating system is composed of various programs that allow loading, execution, interruption, and termination of user programs, management and allocation of processor time, and allocation and management of memory space. Furthermore, the operating system may include hardware drivers that allow user programs to access hardware components. In the case of a safety controller, the operating system may have additional functions that contribute to improving fail-safety. In the case of the control device 10 according to the present disclosure, the operating system is at least configured to execute two user programs of different types, and it is preferable that the operating system can execute two user programs in parallel.
[0076] The top layer S4 is formed by user programs with at least one user program A for machine control and one user program B for the evaluation of sensor data. The first user program A is preferably a PLC application which executes a series of instructions one after the other, the first instruction of the cycle comprising reading the input and the last instruction of the cycle comprising outputting to the output. The second user program B, on the other hand, can process the sensor data cyclically or continuously. The second user program B may randomly access the second interface and can receive data from the sensor via it. Random access is to be understood as meaning that the user program B can request data from the second interface at any time. The user program B is therefore not limited to a specific, in particular cyclical, processing of the sensor data. For example, the second user program B can provide a continuous output of the evaluation results or raw data. The evaluation of the sensor data itself can comprise various algorithms depending on the type of connected sensor in order to extract application or control-relevant information from the sensor data.
[0077] The operating system may execute a first user program A and a second user program B in parallel. Furthermore, the operating system may provide an internal interface (here indicated by a horizontal white arrow), through which the first user program A can exchange data with the second user program B essentially without delay. It is also conceivable that data is only exchanged in one direction, for example data is only transferred from user program A to user program B or vice versa. In this way, independence of at least one user program can be achieved. Furthermore, the operating system is responsible for ensuring data exchange between the user programs and the respective interfaces, here indicated by a vertical arrow.
[0078] The operating system is not limited to a particular type of operating system, so long as it can execute at least two user programs and allows data flow to the interfaces shown. The operating system may be a real-time operating system (RTOS) or have functionality that allows execution of user programs in real-time or near real-time. In this context, real-time means that the operating system can reliably and deterministically process requests from user programs or the arrival of signals through the interfaces within a given time.
[0079] 4 shows a schematic diagram of the internal structure of a control device 10 according to a further embodiment of the present disclosure. The structure shown is essentially based on the same layer model as described with reference to FIG.
[0080] In contrast to the structure shown in Figure 3, both interfaces and user programs are divided into safety-related and non-safety-related user programs or interfaces in order to establish a defined independence of these components with respect to each other. The separation allows the control system to efficiently execute both standard functions ST (standard) and safety-related functions FS (fail-safe). In principle, standard ST functions can also be executed by a fail-safe FS control system, but it makes sense to separate the user programs responsible for those roles so that mutual interference between data and evaluations can be avoided from a functional safety point of view. The same applies to the interfaces, which have to be configured separately. Otherwise, layers S2 and S3 remain unchanged, since they should be configured uniformly for safety-critical applications.
[0081] According to the configuration of FIG. 4, the user program A for machine control and the user program B for the evaluation of sensor data are both provided as FS user programs and ST user programs. In other words, for each type of user program, an FS variant and an ST variant can be provided. Needless to say, all variants do not always have to be available. The same applies to the interfaces, which each comprise an FS interface and an ST interface. It is also conceivable that only one FS interface is available. However, the consistent separation of FS and ST elements has the advantage that the FS component can be completely independent from the ST component. This principle is also reflected in the internal data interfaces between the user programs shown here. Again, there must be no connection between the FS user program and the ST user program.
[0082] The architecture shown in Figure 4 allows for flexible and easy implementation of a controller that includes both safety-critical and normal control functions.
[0083] The above disclosed embodiments are exemplary embodiments of the present invention. It is to be understood that individual features of the various embodiments can be used in other embodiments. In principle, the present invention is not limited to the embodiments shown herein, but is defined only by the following claims.
Claims
1. A control device (10) for machine control and evaluation of sensor data, comprising: a first interface (12) to basic and composite sensors (18) for machine control; a second interface (24) to the sensor (22) for evaluation of the sensor data; A central processing unit (16); an operating system for executing user programs using said central processing unit (16); the user programs include at least a first user program (A) and a second user program (B); the first user program (A) being a user program for machine control which executes control functions based on the evaluation of the basic and composite sensors (18); The control device, wherein the second user program (B) is a user program for evaluating sensor data, which evaluates sensor data received via the second interface (24).
2. 2. The control device according to claim 1, wherein the second user program (B) makes the evaluated sensor data available to the first user program (A).
3. 3. The control device according to claim 1 or 2, wherein the first user program (A) is configured to use the evaluated sensor data for machine control.
4. 3. The control device according to claim 1, wherein the operating system is configured to execute the first user program (A) and the second user program (B) in parallel with each other.
5. 2. The control device according to claim 1, wherein the first interface (12) is an interface for I / O communication via a fieldbus, in particular the standardized IO-Link interface.
6. 6. The control device according to claim 1 or 5, wherein the first interface (12) is a module of the control device (10) and is coupled to the central processing unit (16) via an internal bus connection.
7. The control device of claim 1 , wherein the second interface (24) is a real-time capable interface.
8. Control device according to claim 1 or 7, wherein the second interface (24) is a standardized IP-based interface, in particular an OPC-UA interface.
9. The control device according to claim 1 or 7, wherein the second interface (24) is a wired and / or wireless interface.
10. The control device according to claim 1 , further comprising an internal data interface, wherein the first user program (A) and the second user program (B) are connected to each other via the internal data interface.
11. 2. The control device according to claim 1, further comprising a working memory, wherein the operating system is configured to allocate a common memory area in the working memory to the first user program (A) and the second user program (B).
12. 2. The control device according to claim 1, further comprising a third interface, the third interface being configured to transmit, preferably in a filtered manner, the sensor data and / or the evaluated sensor data of the basic and composite sensors (18) to a device external to the control device, in particular a cloud device.
13. 2. The control device of claim 1, wherein the control device is a safety controller, and the first user program (A) provides safety-related machine control and the second user program (B) provides evaluation of safety-related sensor data.
14. 2. The control device according to claim 1, wherein the control device comprises at least one safety-related device for ensuring a fail-safe evaluation of the basic and composite sensors (18) and / or an evaluation of fail-safe sensor data.
15. The control device according to claim 1, wherein the operating system is further configured to execute a third user program, independent of the first user program (A) and the second user program (B), for performing non-safety-related machine control and / or evaluation of sensor data.
16. The control device according to claim 1 , wherein the second user program (B) is configured to randomly access the sensor data.
17. 2. The control device according to claim 1, wherein the operating system is configured to establish a connection with a further control device, and the evaluation of the sensor data is partly performed by the second user program (B) on the further control device.
Citation Information
Patent Citations
method for object detection using multiple sensors
DE102005020028A1
Safety controller with a variety of sensor connections
DE102010007520B3
Method for application-specific adaptation of a sensor to a process environment in automation technology
DE102019116664A1
