The disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the United States Patent and Trademark Office patent file or records, once a patent is issued on this application, but otherwise reserves all copyright rights whatsoever.
This invention relates to communication among hosts on a network, particularly to establishing communication among the hosts.
A machine vision system includes a collection of one or more vision processors (VPs) for at least processing and interpreting images, and optionally one or more user interfaces (UIs) for at least enabling a user to interact with and/or control a VP. Each VP is connected to one or more electronic cameras through which the VP “sees” its environment, i.e., acquires an image of a scene.
Referring to
Alternatively, the VP and the UI may exist on separate computer systems. This configuration shares the components of the single-computer vision system, but runs the VP on a different general purpose processor from the UI. Referring to
Referring to
There are three modes of operation of a vision system, during which different actions take place on the UI and VP:
1. Connection—using the UI, the developer or the operator selects a VP from a list of all available VPs, possibly displayed in a menu by the UI. The UI establishes initial communications with the VP. The connection phase establishes data communications between the UI and the VP. One embodiment of such a data connection is an application layer connection (possibly using a client/server model) in the OSI communication model. Configuration—through the UI, the developer configures the connected VP for a specific vision task.
2. Operation—the VP executes the sequence of functions defined by the developer during the configuration phase. The UI may be used by an operator to monitor the outputs of the VP, or may be disconnected from the VP, allowing the VP to run standalone.
With reference to
Once the developer has properly configured the vision system, an operator will monitor the functioning system and notify the developer of problems with the vision system configuration that must be corrected. The operator may only make changes to parameters in the system configuration to maintain the functioning of the vision system. For example, the operator may specify a region of interest of an image to guide the behavior of VP functions. In order to make the system accessible to the operator, the developer must implement visual feedback and allow constrained user interaction.
However, known UIs have a critical limitation: when monitoring a multi-VP vision system, the operator of the system must explicitly select each VP for observation, and must therefore posses developer-level knowledge of the structure and organization of the entire multi-VP vision system. To adjust the parameters of a multi-VP vision system, the operator must understand how the vision application is distributed among the plurality of VPs of the vision system so that parameters on each VP may be observed and modified as appropriate. It is very burdensome for an operator to satisfy this requirement, and it is also burdensome for a developer to attempt to reduce the burden on the operator as part of the development task.
In one general aspect, the invention is useful in a machine vision system having a plurality of vision processors (VPs) and at least one user interface (UI). The invention is a method for instructing a UI in communication with a first VP to establish communication with a second VP. The method includes the steps of providing each VP with a link function for establishing communication between a VP and a UI; and activating the link function so as to issue instructions to the UI to establish communication with another VP.
The step of activating the link function can include the step of activating a VP control. Activating a VP control can include clicking on a graphical representation of the VP control using, for example, a mouse. The graphical representation of the VP control can be an underlined text string displayed by a UI.
In another preferred embodiment, activating a VP control includes providing an activation signal to the VP control. The activation signal can be initiated by a user, possibly via the UI. For example, the UI can a check box, or a radio button.
In an alternate preferred embodiment, the activation signal is initiated by an external event. The external event can be an industrial process event. Or, the activation signal can be initiated by a change in the state of a sensor. The activation signal can also be initiated by a programmatic decision, or a human decision.
In another preferred embodiment, activating the link function includes including the link function in a function execution sequence of the VP.
The link function can also terminate communication with a first VP in addition to, or in the alternative to, establishing communication with a second VP.
The link function enables local dynamic display of a remote VP on the UI. Also, upon activation of the link function, a dynamic connection is established that provides a continually updated display representing a current state of the VP connected to the UI.
In yet another preferred embodiment, upon activation of the link function, a user is enabled to configure the VP using the UI.
In another general aspect of the invention, in a machine vision system having a plurality of vision processors (VPs) and at least one user interface (UI), a method is provided for instructing a UI in communication with a first VP to establish communication with a second VP. The method includes providing a graphical representation, included in the UI, wherein the graphical representation is adapted to initiate an activation signal that causes the VP to instruct the UI to establish communication with the second VP.
In a preferred embodiment, the plurality of VPs and the at least one UI are interconnected via a network, where the network may support a TCP/IP network protocol. Also, the graphical representation may be adapted to be responsive to user action, such as a mouse click upon the graphical representation. The graphical representation can be an underlined text string.
In yet another general aspect of the invention, a user interface (UI) is provided for a machine vision system having a plurality of vision processors (VPs). The user interface includes a spread sheet; and a graphical representation, where the graphical representation is incorporated in the spreadsheet, and the graphical representation is adapted to respond to user action so as to cause the VP to instruct the UI to establish communication with a VP of the plurality of VPs. In a preferred embodiment, the graphical representation is further adapted to respond to user action so as to cause the UI to terminate communication with a VP of the plurality of VPs. As in other embodiments, the graphical representation can be an underlined text string, or can be an iconic representation.
In a further general aspect of the invention, a machine vision system is provided that includes a plurality of vision processors (VPs); at least one user interface (UI) in communication with a first VP of the plurality of VPs. The UI includes a graphical representation visible to a user, the graphical representation being adapted to respond to user action so as to cause the VP to instruct the UI to establish communication with a second VP of the plurality of VPs. In a preferred embodiment, the plurality of VPs and the at least one UI are interconnected via a network. The network may support a TCP/IP network protocol.
In yet another general aspect, the invention is a method for enabling a VP to instruct a UI connected to it to reconnect to a different VP, thereby facilitating the implementation of a flexible monitoring system that functions optimally within the structure of a vision system comprised of a collection of VPs. In another general aspect, the invention is an extension to the existing application protocol used to communicate between the UI and the VP, and is compatible with any application protocol that provides a framework for issuing and interpreting commands, and that is extensible in the sense that a new command may be added. This extension takes the form of a command from the VP to the UI: the specific contents of the command, and when the command is issued, are both configurable by the developer. The command is designed as a simple extension to the existing application protocol, and may take the form of any stream of bytes transferred from the VP to the UI that is compatible with the protocol, and interpretable by the UI. This allows the developer to embed knowledge about which VPs are associated with particular parameters, and to provide a seamless multi-VP application. The operator may observe results and alter parameters on any of the VPs in the system without having to first understand the architecture of the vision system.
The invention will be more fully understood from the following detailed description, in conjunction with the following figures, wherein:
The operation of any VP may be decomposed into the sequenced execution of a set of functions. A typical VP operation cycle may consist of the execution of three functions, for example:
1. AcquireImage, a function which reads an image from a digital camera connected to the VP
2. ReadBarcode, a function which locates and decodes a UPC barcode represented in the image.
3. WriteSerial, a function which writes the decoded string to an external computer or device via an RS232 serial port built into the VP The function names (italics) are completely arbitrary and need not be explicitly represented on the VP.
Each function may have one or more parameters: the function produces a result based on some combination of its input parameters. For example, a mathematical function named cos might have a single parameter and as its result generate the cosine of the angle specified by its (numeric) parameter. A more complex function, binarize might take a single parameter corresponding to a two-dimensional grayscale image and produce as its result the two-dimensional black-and-white image that most closely approximates the parameter image. The parameters of any function may be constants, or may be the results of other functions.
In addition to standard functions that merely transform parameters to results, there are two other classes of functions important to all VPs: input functions and output functions. Input functions read information from hardware devices: their results vary depending on the state of these devices. A centrally important function for any machine vision system is one that acquires an image from a camera (the AcquireImage function described earlier): in this case the function's result is an image that closely approximates the state of the imaging device or sensor when the function was executed. Other input functions may read, via specialized devices, the states of digital input lines, data sent on a serial port or ethernet network, or any other external entity that may be connected to a compatible input device.
Like input functions, output functions interact with specialized hardware devices. However, their behavior is to assert a state upon the connected external entity. The particular state that each function asserts is based on its parameters: a function WriteSerial may take a single input parameter, a string of text characters, and cause that string of characters to be written out through the system's serial port. Other output functions might assert particular voltage levels onto individual output control lines, write data out through an ethernet network, or cause the UI to display graphics (intended to communicate to a user about the values of the function's parameters).
Functions may also have a combination of input and output behaviors. These functions, referred to as control functions, direct the UI to display a particular graphical item, and produce a result when the UI informs the VP that the user has interacted with the item.
One general aspect of the invention is a new type of control function named Link. When executed by a VP, the Link function sends a command specifiying another VP to the currently-connected UI. Upon receiving this command, the UI disconnects from the current VP and opens a connection to the specified VP. The Link function may be implemented as a control function: as shown in
The control function aspect of the Link function of the invention is to be distinguished from the network hyperlink capability found in Web browsers and many other modern software packages (such as Microsoft Word and Excel). The main difference is that in the case of hyperlinks, the hyperlink contains a reference to a remote computer file that is transferred to the local machine. The fundamental model of the hyperlink is that of local processing and display of distributed data. When a hyperlink is selected, a static snapshot of a remote data set (in many cases a static computer file such as an HTML file) is transferred to the local system for display. In contrast, the fundamental model of a networked vision system of the invention is local dynamic display of a remote vision processing system. When the user selects a Link of the invention, a dynamic connection is established that provides a continually updated display that represents the current state of the VP connected to the UI and simultaneously permits user configuration of the VP using the UI.
The Link function may also be executed “automatically” by the VP when an appropriate condition is met. For example, it may be important for the operator to immediately view the state of another VP when a particular string is read by the ReadBarcode function. Running the Link function when such a condition occurs will cause any currently-connected UI to reconnect to the other VP (see
Execution of the Link function may also be driven by an external causal agent communicating with the VP via a communications channel distinct from the UINP channel. In a preferred implementation of a VP, the VP supports the Telnet protocol (in addition to the protocol used for communications with a UI), which provides a mechanism for an external agent to cause execution of specific functions on the VP. The external causal agent may cause execution based on one or more of the following events:
As described earlier, the Link function may be caused to execute either by a user selecting the graphical control component of the Link function 71 of
In a preferred embodiment, the Link function has four parameters, shown in
Although the preferred implementation of both UI and VP utilize OSI application layer communications over an TCP/IP 10/100-base-T ethernet network, the invention applies equally to any application layer protocol running on any communications medium. Other types of networks (including ATM, wireless networks, and gigabit ethernet) are compatible with this invention as well. Furthermore, a single UI could be connected via a dedicated communications channel (such as an RS232 serial channel), as shown in
Other modifications and implementations will occur to those skilled in the art without departing from the spirit and the scope of the invention as claimed. Accordingly, the above description is not intended to limit the invention except as indicated in the following claims.
This application is a continuation of U.S. application Ser. No. 09/873,163, filed Jun. 2, 2001, entitled SYSTEM FOR INITIATING COMMUNICATION BETWEEN A USER INTERFACE AND A VISION PROCESSOR, the entire disclosure of which is herein incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 09873163 | Jun 2001 | US |
Child | 13277024 | US |