Camera control in a process control system
First Claim
1. A process control system comprising:
- at least one process control unit including a program for controlling operation of a process, said process control unit being adapted to form a query message comprising a code of a desired image-processing task and parameter values needed for performing the image-processing task, a data-transfer link for conveying the query message and a reply message, a video camera, image-processing software for processing a picture taken by the video camera, in accordance with the query message, an adaptation program coupled to the image-processing software and the data-transfer link, the adaptation program further adapted to extract the code and the parameter values from the query message received from the data-transfer link, and to transform the code and the parameter values to a form suitable for the image-processing software so that the image-processing software is able to carry out the desired image-processing task;
the adaptation program further adapted to receive the results of the image processing task from the image-processing software and send the results in the reply message via the data transfer link to the process control unit.
1 Assignment
0 Petitions
Accused Products
Abstract
When modifications in a process control system are made, the software modifications must be made in the camera linked to the system, too. Both a programmer skilled in the process control system and a programmer skilled in camera programming are needed. This can be avoided when a adaptation program (710) is made for a smart camera (71). This program is able to transform the tasks given by the programmable logic (11) to a language understood by the camera software as well as to send the task results to the programmable logic. The command tasks are transmitted from the programmable logic to the smart camera, and correspondingly, the test results are transmitted to the programmable logic in messages of a known field bus protocol (e.g. Modbus), wherein the adaptation program acts as an interpreter between the bus protocol used and the specific camera software. In addition to the adaptation program another program is made for the programmable logic; this program may include any tasks to be given to the camera image-processing program provided that the tasks are incorporated in the adaptation program. The logic (11) program can now be modified at any time on the condition mentioned above, it can be included new tasks or the parameters of the existing tasks can be modified without any need for modifications in the camera (71) software or in the adaptation program.
-
Citations
23 Claims
-
1. A process control system comprising:
-
at least one process control unit including a program for controlling operation of a process, said process control unit being adapted to form a query message comprising a code of a desired image-processing task and parameter values needed for performing the image-processing task, a data-transfer link for conveying the query message and a reply message, a video camera, image-processing software for processing a picture taken by the video camera, in accordance with the query message, an adaptation program coupled to the image-processing software and the data-transfer link, the adaptation program further adapted to extract the code and the parameter values from the query message received from the data-transfer link, and to transform the code and the parameter values to a form suitable for the image-processing software so that the image-processing software is able to carry out the desired image-processing task;
the adaptation program further adapted to receive the results of the image processing task from the image-processing software and send the results in the reply message via the data transfer link to the process control unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 23)
-
-
11. A smart camera designated for connecting via a data transfer link to a process control system, comprising image-processing software for processing pictures taken by the smart camera and for retrieving desired information from the picture, the smart camera comprising:
-
an adaptation program containing a number of codes of image-processing tasks, arranged between a data transfer interface and the image-processing software, the codes being related to the image-processing software so that each code with its potential parameter values corresponds to at least one image-processing task performed by the image-processing software; and
,in response to a query message received from the data transfer link the adaptation program extracts from the query message the code of the image-processing task and the parameters needed for performing the task and instructs the image-processing software to carry out the specific at least one image-processing task. - View Dependent Claims (12, 14, 15, 17, 18, 19, 20, 21, 22)
-
-
13. A method for controlling image processing of a video camera in a process control system having
at least one control unit with a process control program, a data transfer link, a video camera with image-processing software for analyzing images taken by the camera, an adaptation program arranged between the image-processing software and the data transfer link, the method comprising the steps of: -
assigning an individual code to at least one desired image-processing task, determining parameters related to the code, sending from the control unit to the adaptation program a query message containing the code of the image-processing task and the parameter values, transforming in the adaptation program the codes and the parameters to a form understood by the image-processing software, instructing the image-processing software to run the at least one task defined by the code and the parametric values, said instructing facilitated by the adaptation program;
placing the task results into a reply message, and sending the reply message via the data transfer link to the control unit.
-
-
16. An adaptation program adapted to operate in conjunction with a video camera coupled to an image processing software, and programmable control logic, the adaptation program comprising:
-
a data transfer interface adapted to couple to a data link and receive a code therethrough, said code corresponding to at least one image processing task;
an image processing interface adapted to instruct the image processing software to perform said at least one image processing task responsive to said code, on an image captured by the camera;
a result reception module adapted to receive a result of said image processing task from the image processing software, and construct a response to be transmitted to said control logic via said data link.
-
Specification