This application claims the priority of German Patent Application, Serial No. 103 40 403.1, filed Sep. 2, 2003, pursuant to 35 U.S.C. 119(a)-(d), the disclosure of which is incorporated herein by reference.
The present invention relates to a real-time control process for a controller of an industrial technical process, and to a real-time operating process for a computing device.
Nothing in the following discussion of the state of the art is to be construed as an admission of prior art.
Controllers for industrial technical processes are known in the art. Depending on the particular application, these controllers can be implemented as numerical controllers (CNC) or as stored-program controllers (SPS). These controllers operate with a cycle time in the millisecond range or below, and typically execute the following steps:
Each of the measuring units transmits the state signals measured by that measuring unit to a single logical unit.
The logic unit executes a control program and determines based on the image of the process a control state for the process, which includes control signals for a number of controllers.
The logic unit transmits to each of the controllers the control signals intended for the respective controller.
Each of the controllers effects of the process according to the control signals transmitted true the corresponding controller.
The hardware of conventional devices to execute the control program is located in close proximity to the process. Accordingly, the logic unit must be able to always realize on-site the full functionality of the real-time application. If a greater functionality is required, then it becomes often necessary to replace the logic unit. It can also be a complex process to distribute a new version of control software, in particular the real-time core, to all installed controllers.
It would therefore be desirable and advantageous to provide an improved real-time control process for a controller of an industrial technical process, and an improved real-time operating process for a computing device, which obviate prior art shortcomings and can be operated from a remote location.
According to one aspect of the present invention, a real-time control process for a controller of an industrial technical process includes the following steps: a plurality of measuring units measures state signals of the process, wherein the measured state signals represent a complete image of the process. Each of the measuring units transmits the measured state signal measured by the measuring unit to a single logical device, which then transmits at least a portion of the complete image of the process via a transmission medium to a computing device. The logic unit receives via the transmission medium from the computing device at least a portion of a control state for the process, wherein the control state includes control signals for a plurality of control devices. The logic unit transmits to each of the control devices the control signals intended for the respective control devices, wherein each of the control devices affects the process in accordance with the control signals transmitted to the corresponding controller.
According to another aspect of the invention, a real-time operating process for a computing device includes the following steps: the computing device receives from a single logical unit via a transmission medium at least one portion of an image of an industrial technical process, and the computing device executes a control program and determines based on the at least one transmitted portion of the image of the process at least one portion of a control state of the process. The computing device transmits the determined portion of the control state via the transmission medium to the logic unit.
Accordingly, the industrial technical process, the measuring units and controllers and the logic unit can be separate from the computing device, which makes it possible to update and/or improve the computing device and/or the real-time core without having to replace the logic unit on-site, because the measured state signals and the control signals that are transmitted to the process remain completely unchanged, and the computing power for determining the control signals need no longer be provided on-site. Moreover, a real-time core that operates the computing device also needs no longer be distributed.
The transmission medium can be implemented in any desired manner, both with respect to its logical construct and also with respect to the physical implementation.
According to one advantageous embodiment, the afore-described steps can be repeatedly executed with total cycle time of less than approximately 20 ms, preferably less than approximately 1 ms, and most preferably of less than approximately 100 μs for a single cycle.
Advantageously, the transmission medium can include a computer network, the Internet or a local area network (LAN), or a combination thereof. A LAN can be implemented, for example, as an Industrial Real-Time Ethernet (IRTE). The transmission medium can also be a point-to-point connection, for example a conventional telephone network. A mixed installation is also possible, for example by establishing a dial-up connection to a computer that is connected to the Internet via the telephone network.
According to yet another advantageous embodiment, the transmission medium can include at least one transmission medium segment with a wireless link and/or with a wired link.
Advantageously, the logic unit can check during each cycle if the computing device has transmitted to the logic unit the control state or the portion of the control state and determine emergency output signals, if the computing device has not transmitted the control state or the portion of the control state to the logic unit, and transmit the emergency output signals to the plurality of control devices. This causes the controlled industrial technical process to operate in a predictable manner even if the communication link between the logic unit and the computing device malfunctions or is interrupted, or if the computing device—for other reasons—does not timely or not at all transmit the control state or portions thereof to the logic unit.
The industrial technical process can be implemented in any form, for example as a production process, in particular a machining process of a machine tool.
According to another advantageous embodiment, a particularly flexible programming of the logic unit can be achieved if before executing the process, the logic unit receives a real-time portion of a computer program to be executed by the logic unit.
Advantageously, the control state can be better determined by the computing device if before executing the process, the logic unit transmits parameter data of the process to the computing device.
According to yet another advantageous embodiment, the cooperation between the logic unit and computing device can be made more flexible if before executing the process, the logic unit transmits via the transmission medium to the computing device a control program to be executed by the computing device. Alternatively, the control program can also be stored in advance in the computing device. Alternatively, the logic unit can also access a control program stored in the computing device.
The cycle time can have a fixed value. Alternatively, before executing the process, the logic unit can transmit to or receive from the computing device the cycle time via the transmission medium.
Other features and advantages of the present invention will be more readily apparent upon reading the following description of currently preferred exemplified embodiments of the invention with reference to the accompanying drawing, in which:
Throughout all the Figures, same or corresponding elements are generally indicated by same reference numerals. These depicted embodiments are to be understood as illustrative of the invention and not as limiting in any way. It should also be understood that the drawings are not necessarily to scale and that the embodiments are sometimes illustrated by graphic symbols, phantom lines, diagrammatic representations and fragmentary views. In certain instances, details which are not necessary for an understanding of the present invention or which render other details difficult to perceive may have been omitted.
Turning now to the drawing, and in particular to
The logic unit 3 is programmed with a computer program 4 that is stored on a data carrier 5, for example a buffered SRAM, in (exclusively) machine-readable form. Based on the computer program 4, the controller 2 executes a real-time control process which will be described hereinafter with reference to
As seen in
After the state signals are measured, they are transmitted from the measuring units 6 to the logic unit 3. The logic unit 3 is common to all measuring units 6. The logic unit 3 transmits the image of the process 1 (or at least a portion of the image) via a transmission medium 7 to a computing device 8.
Intelligent units can be located between the measuring units 6 and the logic unit 3. Moreover, the measuring units 6 themselves can also have intelligence. It should be noted, however, that the communication with the computing device 8 occurs exclusively through the logic unit 3.
After the image of the process 1 has been transmitted to the computing device 8, the logic unit 3 receives from the computing device 8 via the transmission medium 7 a control state for the process 1 (or at least a portion thereof). The control state includes control signals for all control devices 9. The logic unit 3 transmits the control signals to the control devices 9 which then affect the process 1 in response to the control signals transmitted to the control devices 9.
As seen in
According to the present invention, the computing device 8, unlike conventional devices, is neither placed directly next to nor is it identical with the logic unit 3, but can be connected to the logic unit 3 via the transmission medium 7, as shown in
The transmission medium 7 can be any transmission medium known of the art, for example a computer network, e.g. in the form of a local area network (LAN). One example of a LAN is a so-called Industrial Real-Time Ethernet (IRTE). The transmission medium 7 can also be the Internet, provided that a sufficiently fast and reliable communication can be guaranteed.
Alternatively, the transmission medium can also be a point-to-point connection, for example a conventional telephone network. In a mixed installation, coupling to a computer network via a telephone dial-up connection can also be envisioned.
As shown in
As shown in
The control state determined by the computing device 8 is then transmitted by the computing device 8 to the logic unit 3 via the transmission medium 7.
The computing device 8 also executes the process steps within the cycle time T, which is identical to the cycle time T used by the logic unit 3 to execute the process steps in the logic unit 3.
The diagram of
According to
The logic unit 3 and the computing device 8 not only execute the tasks described above with reference to
As shown in
Initially, only a basic program may be present in the controller 2 that enables only communication with a computing device 8 that is not real-time-capable. In this case, the logic unit 3 receives in a step S2 via the transmission medium 7 from the computing device 8 a real-time portion of the computer program 4 and stores the portion in the data carrier 5. The step S2 is optional and is therefore indicated in
In a step S3, the logic unit 3 transmits to the computing device 8 via the transmission medium 7 relevant parameter data, such as the machine design and machine configuration used to implant the process 1.
In a step S4, the logic unit 3 transmits via the transmission medium 7 the control program 12 to the computing device 8. The step S4, too, is optional and is therefore indicated in
In a step S5, the logic unit 3 transmits the cycle time T via the transmission medium 7 to the computing device 8. Alternatively, in a step S6, the logic unit 3 can also receive the cycle time T via the transmission medium 7 from the computing device 8. Alternatively, the cycle time T can also be preset at a fixed value. Accordingly, at most only one of the steps S5 and S6 is executed.
Following execution of steps S1 to S6, the logic unit 3 executes the steps S7 to S15. In step S7, the logic unit 3 receives the state signals measured by the measured units 6. In step S8, the logic unit 3 transmits the image of process 1 via the transmission medium 7 to the computing device 8.
In the event that the computing device 8 only determines the portion of the control state, the logic unit 3 determines in a step S9 the remaining control state. Accordingly, the step S9 need not be present and is therefore indicated in
In step S10, the logic unit 3 receives the control state transmitted by the computing device 8 via the transmission medium 7.
In step S11, the logic unit 3 checks if the control state was actually transmitted by the computing device 8. If this is the case, then the logic unit 3 transmits in step S12 the control signals to the controllers 9 and thereafter returns to step S7. Otherwise, the logic unit 3 determines in step S13 emergency output signals and, in a step S14, transmits these emergency output signals to the controllers 9. The logic unit 3 can thereby control the process 1 in a defined manner, for example by operating the process 1 in an emergency mode in the absence of control signals.
After step S14, it is checked in step S15 if a maximum number of transmission attempts has been exceeded. Is this is not the case, the process returns to step S7, otherwise the process 1 ceases to operate at step S16.
The process flow depicted in
As shown in
In a step S18, the computing device 8 transmits the real-time portion of the computer program 4. Step S18—like step S2 of
In a step S19, the computing device 8 receives the relevant parameter data, for example about the design and the actual configuration of the controlled machine. In a step S20, the computing device 8 receives the control program 12. Step S20—like step S4 of
In a step S21, the computing device 8 receives the cycle time T. Alternatively, the computing device 8 can also transmits the cycle time T to the logic unit 3, step S22. Alternatively, the cycle time T can be preset at a fixed value. Only at most one of steps S21 and S22 is therefore executed.
The computing device 8 then executes steps S23 to S26. In step S23, the computing device 8 receives from the logic unit 3 the image of the process 1. In step S24, the computing device 8 executes the control program 12 to determine the control state for the process 1 based on the image of the process 1. In step S25, the computing device 8 transmits the control state via the transmission medium 7 to the logic unit 8.
In step S26, the computing device checks if the control state was properly transmitted. For example, the logic unit 3 may be asked for an acknowledgment. If the transmission was correct, then the process returns to step S23, otherwise—for example, after several unsuccessful transmission attempts—the additional steps S23 to S26 are not executed.
The present invention has been described above in connection with a controller 2 for a machine-tool. However, the invention is not limited to machine-tools, but can also be applied to other industrial technical processes 1, in which case the controller 2 can be implemented in other ways, for example as a stored-program controller (SPS).
While the invention has been illustrated and described in connection with currently preferred embodiments shown and described in detail, it is not intended to be limited to the details shown since various modifications and structural changes may be made without departing in any way from the spirit of the present invention. The embodiments were chosen and described in order to best explain the principles of the invention and practical application to thereby enable a person skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated.
What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims and includes equivalents of the elements recited therein:
Number | Date | Country | Kind |
---|---|---|---|
103 40 403.1 | Sep 2003 | DE | national |