Method and control system for verifying and updating camera calibration for robot control
A computing system and a method for calibration verification is presented. The computing system is configured to perform a first calibration operation, and to control a robot arm to move a verification symbol to a reference location. The robot control system further receives, from a camera, a reference image of the verification symbol, and determines a reference image coordinate for the verification symbol. The robot control system further controls the robot arm to move the verification symbol to the reference location again during an idle period, receives an additional image of the verification symbol, and determines a verification image coordinate. The robot control system determines a deviation parameter value based the reference image coordinate and the verification image coordinate, and whether the deviation parameter value exceeds a defined threshold, and performs a second calibration operation if the threshold is exceeded.
Latest MUJIN, INC. Patents:
- Robotic system with error detection and dynamic packing mechanism
- Method and system for performing automatic camera calibration
- Robotic system with dynamic pack adjustment mechanism and methods of operating same
- Method and computing system for performing motion planning based on image information generated by a camera
- Robotic system for object size detection
The present application is a continuation of U.S. patent application Ser. No. 17/135,261, entitled “Method and Control System for Verifying and Updating Camera Calibration for Robot Control”, as filed Dec. 28, 2020, which is a continuation of U.S. patent application Ser. No. 16/864,071, entitled “Method and Control System for Verifying and Updating Camera Calibration for Robot Control,” filed Apr. 30, 2020, the entire content of which is incorporated by reference herein. U.S. patent application Ser. No. 16/864,071 is a continuation-in-part of U.S. patent application Ser. No. 16/732,832, entitled “Method and Control System for Verifying and Updating Camera Calibration for Robot Control” and filed Jan. 2, 2020, which is a continuation of U.S. patent application Ser. No. 16/525,004, entitled “Method and Control System for Verifying and Updating Camera Calibration for Robot Control” and filed Jul. 29, 2019, which is a continuation of U.S. patent application Ser. No. 16/369,630, entitled “Method and Control System for Verifying and Updating Camera Calibration for Robot Control” and filed Mar. 29, 2019, the entire contents of which are incorporated by reference herein. U.S. patent application Ser. No. 16/864,071 further claims the benefit of U.S. Provisional Application No. 62/916,798, entitled “Method and Control System for Verifying Calibration for Robot Control,” filed Oct. 18, 2019, the entire content of which is also incorporated herein by reference.
FIELD OF THE INVENTIONThe present invention is directed to a method and control system for verifying and updating calibration information for robot control.
BACKGROUNDAs automation becomes more common, robots are being used in more environments, such as in warehousing and manufacturing environments. For instance, robots may be used to load items onto or off of a pallet in a warehouse, or to pick up objects from a conveyor belt in a factory. The movement of the robot may be fixed, or may be based on an input, such as an image taken by a camera in the warehouse or factory. In the latter situation, a calibration operation may be performed so as to determine a property of the camera, and to determine a relationship between the camera and an environment in which the robot is located. The calibration operation may generate calibration information that is used to control the robot. In some implementations, the calibration operation may involve manual operation by a person, who may manually control movement of the robot, or manually control the camera to capture an image of the robot.
SUMMARYOne aspect of the embodiments herein relates to performing calibration verification for robot control, such as verifying camera calibration or other system calibration. The calibration verification may be performed by a robot control system that comprises a communication interface and a control circuit. The communication interface may be configured to communicate with a robot having a base and a robot arm with a verification symbol disposed thereon, and to communicate with a camera having a camera field of view. The control circuit of the robot control system may be configured to perform the calibration verification by: a) performing a first calibration operation (e.g., a first camera calibration) to determine calibration information (e.g., camera calibration information), b) outputting a first movement command to the communication interface, wherein the communication interface is configured to communicate the first movement command to the robot to cause the robot arm to move the verification symbol, during or after the first calibration operation, to a location within the camera field of view, the location being a reference location of one or more reference locations for verification of the first calibration operation, c) receiving an image of the verification symbol via the communication interface from the camera, which is configured to capture the image of the verification symbol at the reference location, the image being a reference image for the verification, d) determining a reference image coordinate for the verification symbol, the reference image coordinate being a coordinate at which the verification symbol appears in the reference image, and e) outputting a second movement command that is based on the calibration information to the communication interface, wherein the communication interface is configured to communicate the second movement command to the robot to cause movement of the robot arm to perform a robot operation.
In an embodiment, the control circuit is configured to perform the calibration verification further by: f) detecting an idle period during the robot operation, g) outputting a third movement command to the communication interface, wherein the communication interface is configured to communicate the third movement command to the robot to cause the robot arm to move the verification symbol to at least the reference location during the idle period, h) receiving via the communication interface an additional image of the verification symbol from the camera, which is configured to capture the additional image of the verification symbol at least at the reference location during the idle period, the additional image being a verification image for the verification, i) determining a verification image coordinate used for the verification, the verification image coordinate being a coordinate at which the verification symbol appears in the verification image, j) determining a deviation parameter value based on an amount of deviation between the reference image coordinate and the verification image coordinate, the reference image coordinate and the verification image coordinate both associated with the reference location, wherein the deviation parameter value is indicative of a change since the first calibration operation in the camera that the communication interface is configured to communicate with, or a change since the first calibration operation in a relationship between the camera and the robot that the communication interface is configured to communicate with, k) determining whether the deviation parameter value exceeds a defined threshold, and l) performing, in response to a determination that the deviation parameter value exceeds the defined threshold, a second calibration operation (e.g., a second camera calibration operation) to determine updated calibration information (e.g., updated camera calibration information).
The foregoing and other features, objects and advantages of the invention will be apparent from the following description of embodiments hereof as illustrated in the accompanying drawings. The accompanying drawings, which are incorporated herein and form a part of the specification, further serve to explain the principles of the invention and to enable a person skilled in the pertinent art to make and use the invention. The drawings are not to scale.
The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description.
Embodiments described herein relate to verifying and/or updating calibration information used to control a robot, such as a robot used in a warehouse, a manufacturing plant, or in some other environment. More specifically, the calibration information may be performed to facilitate control of a robot operation system, and may be determined by performing a calibration operation, which may be referred to as system calibration. The system calibration may include calibration of a camera (which may be referred to as camera calibration or a camera calibration operation), calibration of a robot (which may be referred to as robot calibration), a calibration of another element of the robot operation system, or any combination thereof. The system calibration may be performed by, e.g., a robot control system (also referred to as a robot controller) to generate calibration information (e.g., camera calibration information) that facilitates an ability of the robot control system to control of the robot based on images captured (e.g., photographed) by the camera. For instance, the robot may be used to pick up a package in a warehouse, wherein placement of a robot arm or other component of the robot may be based on images of the package captured by the camera. In that instance, if the calibration information includes camera calibration information, the camera calibration information may be used along with the images of the package to determine, for example, a location and orientation of the package relative to the robot arm of the robot. If the system calibration includes camera calibration, the camera calibration may involve determining respective estimates of intrinsic parameters of the camera (which may also be referred to as internal parameters), and determining an estimate of a relationship between the camera and its external environment. An intrinsic parameter of the camera may have one or more parameter values such as a matrix, a vector, or a scalar value. Further, examples of an intrinsic parameter include a projection matrix and a distortion parameter. In an instance, the camera calibration may involve determining the camera's position with respect to a fixed position in an external environment, which may be expressed as a transformation function representing the relationship between the camera and the fixed position in the external environment. In some cases, the camera calibration may be performed with the aid of a calibration pattern, which may have pattern elements disposed at defined locations on the calibration pattern. The camera may capture an image of the pattern elements of the calibration pattern (also referred to as a calibration image), and the camera calibration may be performed based on comparing an image of the pattern elements with the defined locations of the pattern elements. Camera calibration is discussed in more detail in U.S. application Ser. No. 16/295,940, filed on Mar. 7, 2019 and titled “METHOD AND DEVICE FOR PERFORMING AUTOMATIC CAMERA CALIBRATION FOR ROBOT CONTROL”, the entire content of which is incorporated herein by reference.
As stated above, one aspect of the present disclosure relates to verifying that a camera calibration or other calibration operation performed at an earlier point in time is still accurate at a later point in time. The camera calibration performed at the earlier point in time may generate camera calibration information that reflects a property of the camera at that point in time, such as an intrinsic parameter of the camera or a relationship between the camera and its external environment at that point in time. In some cases, an earlier camera calibration may lose accuracy over time because the property of the camera may change over time. In a first example, an intrinsic parameter of the camera may change over time. Such a change may be caused by, e.g., a temperature change that alters a shape of a housing and/or a lens of the camera. In a second example, a relationship between the camera and its external environment may change over time. For instance, the camera may shift in position or orientation relative to, e.g., a base of the robot or a location in a warehouse. Such a change may be caused by, e.g., a temperature change that expands or contracts any component used to mount the camera, by a person or other object bumping into the camera, by a vibration in the camera's external environment (e.g., a warehouse), by a force from the camera's own weight (i.e., by gravity), or by some other factor. These changes may render the camera calibration information or other calibration information outdated, and using this camera calibration information or other calibration information to position a robot arm or other component of the robot at a later point in time may lead to errors. In other words, if a property associated with the camera has changed over time but the camera calibration information is not updated to reflect such a change, the robot may operate based on outdated or otherwise incorrect camera calibration information, thereby causing undesirable errors in the robot's operation. To address the possibility that changes in one or more properties of the camera may occur, a robot control system may automatically perform a verification that detects when camera calibration information from a camera calibration is no longer sufficiently accurate (or, more generally, when calibration information from a calibration operation is no longer sufficiently accurate). Detecting such a condition may provide an indication of a change in a property of the camera or of some other element of a robot operation system. If the verification detects that the calibration information is no longer sufficiently accurate, then the robot control system may perform a calibration operation to determine updated calibration information, which may reflect a more current property or properties of the camera or of another element of the robot operation system. The updated calibration information may be used to control placement of the robot arm or some other aspect of the robot's operation. Accordingly, an automatic verification of the calibration information and/or update of the calibration information are performed to ensure that the robot operates based on correct information about one or more properties associated with the camera or any other element of the robot operation system.
One aspect of the embodiments herein relates to verifying calibration information for a camera by comparing a reference image captured by the camera and a verification image captured by the camera. In some instances, the reference image may be an image of an object captured when the object is at a particular location at an earlier point in time, and the verification image may be an image of the object captured at a later point in time at the same location. The verification may determine whether there is too much deviation between the reference image and the verification image, such as whether the deviation exceeds a certain threshold. In some implementations, the object may be a verification symbol. More specifically, a robot arm or other component of the robot may have a verification symbol that is used to verify the calibration information. Both the reference image and the verification image may capture or otherwise include the verification symbol, and the robot control system may compare the two images by comparing an appearance of the verification symbol in the reference image with an appearance of the verification symbol in the verification image. For instance, after the robot control system performs a calibration operation that produces calibration information at a particular point in time, the robot control system may control the robot arm (e.g., via a movement command) to move the verification symbol to a set of predefined locations within the camera's field of view (also referred to as a camera field of view of the camera), wherein these locations may be used as a set of reference locations for the verification. The camera may capture respective reference images of the verification symbol at the set of reference locations. In some cases, the reference images may be captured immediately after the calibration operation is performed. The movement of the robot arm, or more specifically a movement command used to move the robot arm, may be based on the calibration information from the calibration operation that was just performed, or may be independent of the calibration information. In some cases, the reference images may be captured before the robot begins robot operation. After the reference images are captured, the robot may be considered ready to begin a robot operation to perform a task, and the robot control system may, e.g., control positioning of the robot arm based on images subsequently captured by the camera.
As stated above, the reference images may be compared against subsequently captured verification images. In an embodiment, the verification images may be captured during one or more idle periods detected by the robot control system. More specifically, when the robot operation begins, the robot may start performing robot tasks (e.g., by interacting with packages or other objects). While the robot is performing the robot operation, the robot control system may detect one or more idle periods for the robot. In some instances, the idle period may be a time period during which the robot is free from performing a robot task during the robot operation. In some cases, the robot control system may schedule the robot operation based on detecting or otherwise anticipating objects that the robot needs to interact with, and may detect an idle period based on detecting or otherwise anticipating an absence of objects with which the robot needs to interact.
During the idle period(s), the robot control system may control the robot arm or other component of the robot (e.g., via a movement command) to move to the reference locations and capture (e.g., via a camera command) a respective verification image at each of the reference locations. If the robot has a verification symbol disposed thereon, the robot control system may more specifically control the robot arm to move the verification symbol to the reference locations to capture the verification images. Subsequently, the robot control system may determine how much the respective verification images deviate from corresponding reference images at respective reference locations. In some cases, the deviation between the verification images and respective reference images may be expressed as a deviation parameter. If a value of the deviation parameter (also referred to as a deviation parameter value) exceeds a defined threshold for the deviation parameter (which may also be referred to as defined deviation threshold), the robot control system may perform an additional calibration operation (e.g., perform an additional camera calibration) to determine updated calibration information (e.g., updated camera calibration information) for the camera. When a value of the deviation parameter exceeds the defined deviation threshold, this condition may indicate that use of previously generated calibration information may lead to an undesirable amount of error in the robot operation. Thus, in some cases, the robot operation may be paused or stopped while the additional calibration operation is performed (the pause may be considered another idle period). After the additional calibration operation is complete, a new set of reference images may be captured, and the robot operation may continue with the updated calibration information. During a subsequent idle period(s), a new set of verification images may be captured, and the robot control system may perform verification of the additional calibration operation by comparing the new set of reference images with the new set of verification images.
As stated above, if a value of the deviation parameter exceeds the defined deviation threshold, the robot control system may perform an additional calibration operation. If the value of the deviation parameter does not exceed the deviation threshold, then the robot operation may continue after an idle period without the robot control system performing an additional calibration operation. In this scenario, the camera may capture a new set of verification images at the respective reference locations during a subsequent idle period(s). When the new set of verification images are captured, the robot control system may again perform verification of the calibration information by determining how much the new set of verification images deviate from respective reference images at respective reference locations.
As stated above, the robot arm may have a verification symbol, such as a ring pattern, disposed thereon, and the verification symbol may be captured by or otherwise included in the reference images and the verification images. In an embodiment, the robot control system may determine a deviation between the reference images and the respective verification images based on respective locations where the verification symbol appears in the reference images, and based on respective locations where the verification symbol appears in the verification images. For instance, the robot control system may determine a reference image coordinate for each reference location. The reference image coordinate for a particular location may be a coordinate at which the verification symbol appears in a reference image that was captured when the verification symbol was placed at that reference location. More specifically, the reference image coordinate may be associated with a particular reference location, and may refer to an image coordinate at which a verification symbol appears in a reference image, wherein the reference image was captured by a camera when the verification symbol was placed at that reference location. In the above example, the image coordinate may refer to a coordinate in an image, such as a pixel coordinate. When the robot control system subsequently places the verification symbol at a particular reference location at a subsequent point in time and obtains a corresponding verification image, the robot control system may determine a verification image coordinate. The verification image coordinate may also be associated with the reference location, and may refer to an image coordinate (e.g., a pixel coordinate) at which the verification symbol appears in the verification image, wherein the verification image was captured by the camera when the verification symbol was placed at the reference location. The robot control system may compare the reference image coordinate associated with a particular reference location with a verification image coordinate associated with the same reference location. This comparison may be done for each reference location at which a verification image and a reference image were captured.
In an instance, a reference image coordinate at which a verification symbol appears in a reference image may be a coordinate of a center of the verification symbol in the reference image (also referred to as a center coordinate of the verification symbol in the reference image). Similarly, a verification image coordinate at which the verification symbol appears in a verification image may be a coordinate of a center of the verification symbol in the verification image (also referred to as a center coordinate of the verification symbol in the verification image). For each reference location at which the robot arm and/or verification symbol was located when a corresponding verification image was captured, the robot control system may determine a deviation between the reference image coordinate associated with the reference location and the verification image coordinate associated with the same reference location. If the robot arm and/or verification symbol had been placed at a plurality of reference locations, the robot control system may determine respective amounts of deviation between respective reference image coordinates and respective verification image coordinates for the plurality of reference locations. The robot control system may further determine a value of a deviation parameter based on the respective amounts of deviation between the reference image coordinates and the respective verification image coordinates for respective reference locations.
In an instance, the verification symbol may include multiple shapes that are concentric with one another, such that the respective centers of the multiple shapes in the verification symbol are at the same or substantially the same location. For instance, the verification symbol may be a ring pattern that includes two or more concentric circles. In some cases, if the reference image coordinate of a verification symbol is a center coordinate of the verification symbol in a reference image, the robot control system may determine a center coordinate of the verification symbol based on respective center coordinates of the multiple shapes in the reference image, wherein the center coordinate of a particular shape is a coordinate of a center of that shape. If the verification symbol is a ring pattern, the center coordinate of the ring pattern in a reference image may be determined as an average of a center coordinate of a first circle forming the ring pattern and a center coordinate of a second circle forming the ring pattern in the reference image. Similarly, a center coordinate of a verification symbol in a verification image may be determined based on respective center coordinates of the multiple shapes forming the verification symbol in the verification image. In some cases, using multiple shapes to form the verification symbol may improve an accuracy of the verification. For instance, using the respective center coordinates of the multiple shapes in an image to determine a center coordinate of the verification symbol may improve a robustness of the verification against image noise. More specifically, if an image of the verification symbol includes image noise, the image noise may reduce an accuracy by which the robot control system detects a center coordinate of a particular shape of the verification symbol. However, if the center coordinate of that shape is averaged with a center coordinate of another shape to determine a center coordinate of the verification symbol, the averaged center coordinate may reduce an impact of the image noise. As a result, an accuracy in determining the center coordinate of the verification symbol may be improved.
In an instance, the verification symbol may have multiple regions with different respective colors, wherein respective areas of the multiple regions may have a distinct and defined ratio. For example, the verification symbol may have a first region having a first color (e.g., black) and a second region having a second color (e.g., white), where a ratio of an area of the first region to an area of the second region is defined or otherwise known. The distinct ratio may facilitate identifying the verification symbol in an image, especially if the image captures or otherwise includes other features, such as dots of a calibration pattern. For example, the robot arm that is moving the verification symbol may also have the calibration pattern disposed on the robot arm. The robot control system may use the ratio to distinguish the verification symbol from the dots of the calibration pattern. More specifically, because the ratio of the areas of the multiple regions of the verification symbol is defined as a distinct ratio, the robot control system may identify the verification symbol in an image based on the defined ratio. During identification of the verification symbol appearing in an image, the robot control system may distinguish the verification symbol from the calibration pattern or other feature based on the defined ratio. In some cases, the verification symbol may be identified in the image as a portion of the image having the multiple regions of different respective colors and having the defined ratio between respective areas of the multiple regions. If the robot control system or other system or device determines that a particular portion of the image does not have multiple regions with different respective colors, or that respective areas of the multiple regions have a ratio different than the defined ratio, the robot control system may determine that the portion of the image is not the verification symbol.
In an instance, the robot control system may perform the verification based on a temperature surrounding the robot. For instance, the robot control system may adjust the defined deviation threshold (i.e., define a new value for the deviation threshold) based on the temperature. For example, a temperature may affect various parts in the camera and/or in the robot, as some materials may be sensitive and/or may expand/contract based on a temperature. A change in temperature may cause an intrinsic parameter(s) of the camera to change, and/or cause a relationship between the camera and its external environment to change. In an embodiment, the deviation threshold may be set to have a first value when the temperature is outside of a defined range, while the deviation threshold may be set to have a second value lower than the first value when the temperature is within the defined range. For example, when the temperature is within a defined normal operating temperature range (e.g., within 10 degrees of the room temperature), then the deviation threshold may be the first value. When the temperature is outside the normal operating temperature range, then the deviation threshold may have the second value lower than the first value. The second value may be lower than the first value so as to more easily trigger an additional calibration operation when the temperature is outside of the normal operating range, as the temperature outside the normal operating temperature range may be more likely to cause changes to the camera or to its relationship with the external environment, and thus more likely to cause errors in operating the robot with previously generated camera calibration information or any other calibration information.
In an embodiment, the verification of the calibration information may rely on only a single reference location. Alternatively, the verification of the calibration information may rely on a plurality of reference locations. The reference locations may be any locations in a camera's field of view, or may be specific, defined locations. For instance, the reference locations may be defined as locations on a surface of at least one imaginary sphere that is concave with respect to the camera. At each reference location in this scenario, the robot arm may be controlled to position the verification symbol such that the verification symbol is positioned tangentially to the surface of the at least one imaginary sphere while facing the camera. This positioning may better allow the verification symbol to be photographed or otherwise captured head-on by the camera (with the verification symbol directly facing the camera), so that an image of the verification symbol resembles a top view rather than a perspective view of the verification symbol. For instance, if the verification symbol is a ring pattern, positioning the ring pattern to be tangent to the surface of the imaginary sphere may allow a resulting image of the ring pattern to still appear circular, rather than appear elliptical. The resulting image may exhibit less perspective distortion or no perspective distortion (relative to a scenario in which the ring pattern appears elliptical in the image). The lack of perspective distortion may facilitate an accurate determination of a center coordinate of the ring pattern. In some cases, the reference locations may be divided among multiple imaginary spheres that are all concave with respect to the camera. The multiple imaginary spheres may share a common center and may be different in size, such that each imaginary sphere has a spherical surface having a different respective distance from the camera. In some cases, the camera may be a common center for all of the imaginary spheres.
In some cases, the robot control system 110 may be dedicated to performing the camera calibration and/or verification of the camera calibration, and may communicate the most current camera calibration information to another control system (also referred to as another controller, not shown) that then controls the robot 150 to perform a robot operation based on the most current camera calibration information. The robot 150 may be positioned based on images captured by the camera 170 and on the camera calibration information. More specifically, the robot control system 110 may, in an embodiment, be configured to generate movement commands based on the images and based on the camera calibration information, and to communicate the movement commands to the robot 150 to control movement of its robot arm. In some cases, the robot control system 110 is configured to perform verification of the camera calibration during an idle period in the robot operation. In some cases, the robot control system 110 is configured to perform the verification while performing a robot operation with the robot 150.
In an embodiment, the robot control system 110 may be configured to communicate via a wired or wireless communication with the robot 150 and the camera 170. For instance, the robot control system 110 may be configured to communicate with the robot 150 and/or the camera 170 via a RS-232 interface, a universal serial bus (USB) interface, an Ethernet interface, a Bluetooth® interface, an IEEE 802.11 interface, or any combination thereof. In an embodiment, the robot control system 110 may be configured to communicate with the robot 150 and/or the camera 170 via a local computer bus, such as a peripheral component interconnect (PCI) bus.
In an embodiment, the robot control system 110 may be separate from the robot 150, and may communicate with the robot via the wireless or wired connection discussed above. For instance, the robot control system 110 may be a standalone computer that is configured to communicate with the robot 150 and the camera 170 via a wired connection or wireless connection. In an embodiment, the robot control system 110 may be an integral component of the robot 150, and may communicate with other components of the robot 150 via the local computer bus discussed above. In some cases, the robot control system 110 may be a dedicated control system (also referred to as a dedicated controller) that controls only the robot 150. In other cases, the robot control system 110 may be configured to control multiple robots, including the robot 150. In an embodiment, the robot control system 110, the robot 150, and the camera 170 are located at the same premises (e.g., warehouse). In an embodiment, the robot control system 110 may be remote from the robot 150 and the camera 170, and may be configured to communicate with the robot 150 and the camera 170 via a network connection (e.g., local area network (LAN) connection).
In an embodiment, the robot control system 110 may be configured to retrieve or otherwise receive images of a calibration pattern 160 and/or of a verification symbol 165 disposed on the robot 150 (e.g., on a robot arm of the robot) from the camera 170. In some instances, the robot control system 110 may be configured to control the camera 170 to capture such images. For example, the robot control system 110 may be configured to generate a camera command that causes the camera 170 to capture an image of a field of view of the camera 170 (also referred to as a camera field of view), and to communicate the camera command to the camera 170 via the wired or wireless connection. The same command may cause the camera 170 to also communicate the image to the robot control system 110, or more generally to a storage device accessible by the robot control system 110. Alternatively, the robot control system 110 may generate another camera command that causes the camera 170, upon receiving the camera command, to communicate an image(s) it has captured to the robot control system 110. In an embodiment, the camera 170 may automatically capture an image in its camera field of view, either periodically or in response to a defined triggering condition, without needing a camera command from the robot control system 110. In such an embodiment, the camera 170 may also be configured to automatically, without a camera command from the robot control system 110, communicate the image to the robot control system 110 or, more generally, to a storage device accessible by the robot control system 110.
In an embodiment, the robot control system 110 may be configured to control movement of the robot 150 via movement commands that are generated by the robot control system 110 and communicated over the wired or wireless connection to the robot 150. The robot 150 may be configured to have one or both of the calibration pattern 160 and the verification symbol 165 on the robot 150. For instance,
In an embodiment, the only images used in system 100 to control the robot 150 may be those captured by the camera 170. In another embodiment, the system 100 may include multiple cameras, and the robot 150 may be controlled by images from the multiple cameras.
In an embodiment, the communication interface 113 may include one or more components that are configured to communicate with the camera 170 of
In an embodiment, the non-transitory computer-readable medium 115 may include computer memory. The computer memory may comprise, e.g., dynamic random access memory (DRAM), solid state integrated memory, and/or a hard disk drive (HDD). In some cases, the camera calibration may be implemented through computer-executable instructions (e.g., computer code) stored on the non-transitory computer-readable medium 115. In such cases, the control circuit 111 may include one or more processors configured to perform the computer-executable instructions to perform verification of camera calibration (e.g., the steps illustrated in
As stated above, the camera calibration may be performed in order to facilitate the control of a robot based on images captured by a camera. For instance,
In the embodiment of
In an embodiment, the camera calibration information determined from the camera calibration describes a relationship between the camera 270 and the robot 250, or more specifically a relationship between the camera 270 and a world point 294 that is stationary relative to the base 252 of the robot 250. The world point 294 may represent a world or other environment in which the robot 250 is located, and may be any imaginary point that is stationary relative to the base 252. In other words, the camera calibration information may include information describing a relationship between the camera 270 and the world point 294. In an embodiment, this relationship may refer to a location of the camera 270 relative to the world point 294, as well as an orientation of the camera 270 relative to a reference orientation for the robot 250. The above relationship between the camera 270 and the world point 294 may be referred to as a camera-to-world relationship, and may be used to represent a relationship between the camera 270 and the robot 250. In some cases, the camera-to-world relationship may be used to determine a relationship between the camera 270 and the object 292 (also referred to as a camera-to-object relationship), and a relationship between the object 292 and the world point 294 (also referred to as an object-to-world relationship). The camera-to-object relationship and the object-to-world relationship may be used to control the robot 250 to pick up the object 292.
In an embodiment, the camera calibration information may describe an intrinsic parameter of the camera 270, where the intrinsic parameter may be any parameter whose value is independent of a location and an orientation of the camera 270. The intrinsic parameters may characterize a property of the camera 270, such as its focal length, a size of its image sensor, or an effect of lens distortion introduced by the camera 270.
An example showing a detailed structure of an example of a robot 350 is depicted in
As stated above, according to an embodiment, the calibration verification may involve comparing a reference image coordinate at which a verification symbol appears in a reference image to a verification image coordinate at which the verification symbol appears in a verification image. The comparison may determine a deviation between the verification image coordinate and the reference image coordinate, and the deviation may be used to determine whether to perform an additional calibration operation. The verification image may be captured during an idle period of a robot operation.
An example environment in which the method 400 is performed is depicted in
In an embodiment, the robot 550 may have a verification symbol 530 disposed thereon. In some cases, the verification symbol 530 may be permanently disposed on the robot 550. In some cases, the verification symbol 530 may be disposed on a robot arm of the robot 550, such as one of the links 554A-554E, or on a robot hand. For instance,
Returning to
For instance, to perform the first camera calibration, the robot 550 of
Returning to
In step 405, the control circuit 111 may receive (e.g., retrieve) an image of the verification symbol (e.g., 530) from the camera (e.g., 170/270/370/570) via the communication interface 113, wherein the image is a reference image for the verification. The image may have been captured by the camera while the verification symbol is or was at the reference location. In an embodiment, the communication interface 113 may initially receive the reference image from the camera, and the control circuit 111 may then receive the reference image from the communication interface 113. In an embodiment, step 405 is performed without the control circuit 111 generating a camera command for the camera. In an embodiment, step 405 may involve the control circuit 111 generating a camera command and communicating the camera command to the camera via the communication interface 113. The camera command may control the camera to capture an image of the verification symbol at the reference location.
In an embodiment, the one or more reference locations to which the robot arm moves the verification symbol (e.g., 530) may include a plurality of reference locations, wherein each of the plurality of reference locations is a location disposed on a surface of an imaginary sphere that is concave with respect to the camera. In such an embodiment, the control circuit 111 may be further configured to control the robot arm to move the verification symbol to be tangent to the surface of the imaginary sphere at each reference location of the plurality of reference locations. For instance, as illustrated in
In an embodiment, as illustrated in
In an embodiment, the control circuit 111 is configured to control the robot arm to move the verification symbol (e.g., 530) to directly face the camera when the verification symbol is moved to a reference location. For instance, as illustrated in
In an embodiment, the verification symbol (e.g., 530) includes a first region having a first color and a second region having a second color, wherein a ratio of an area of the first region to an area of the second region is defined and stored on a non-transitory computer-readable medium (e.g., storage device) of the robot control system 110. In such an embodiment, the control circuit 111 may be configured to identify the verification symbol in a reference image or a verification image based on the defined ratio. For instance, as illustrated in
In some cases, the robot control system 110 may determine whether a particular portion of a captured image has a first region with a first color and a second region with a second color, and whether a ratio between an area of the first region and an area of the second region is within a defined range. In one example, if the defined ratio is 1.5, then the robot control system 110 may determine that the particular region corresponds to the verification symbol 530 if the ratio in the particular region falls within a range between 1.4 and 1.6. The two colors of the first and second regions are not limited to black and white colors and may be any two different colors that can be distinguishable by the robot control system 110.
In an aspect, the verification symbol (e.g., 530) may include a first shape and a second shape that are concentric with each other, wherein respective centers of the first shape and the second shape are at substantially the same location. For instance, the verification symbol may be shaped as a circular ring, which includes a first circle and a second circle that are concentric with each other. More specifically, as illustrated in
Returning to
In an embodiment, as discussed above, the verification symbol (e.g., 530) may include a first shape and a second shape that are concentric with each other, wherein respective centers of the first shape and the second shape are at substantially the same location. In such an embodiment, the control circuit 111 in step 407 may be configured to determine the reference image coordinate for such a verification symbol by: determining a first coordinate of a center of the first shape in the reference image, determining a second coordinate of a center of the second shape in the reference image, and determining the reference image coordinate as an average of the first coordinate and the second coordinate in the reference image.
For instance,
In an embodiment, the reference image coordinate for the verification symbol may be its center coordinate, and determining the center coordinate of the verification symbol 530 based on the respective center coordinates of the first shape 735 and the second shape 735 may improve a robustness of the verification process against image noise. For instance, image noise may introduce error in the determination of a center coordinate for the first shape 735, but not to the determination of the center coordinate for the second shape 737. In some cases, the second shape 737 may have may in reality share the same center location as the first shape 735, but image noise may cause the center coordinate of the second shape 737 to appear in an image to be different than the center coordinate of the first shape 735. In this scenario, simply using the center coordinate of the second shape 737 as the center coordinate of the verification symbol 530 may lead to an undesirable amount of error. The amount of error may be reduced by using an average of the center coordinate for the first shape 735 and the center coordinate for the second shape 737 as the center coordinate of the verification symbol 530.
In an embodiment, the one or more reference locations discussed above may be a plurality of reference locations that respectively correspond with a plurality of reference image coordinates. In this embodiment, the reference image coordinate may be one of the plurality of reference image coordinates. For instance, as illustrated in
Returning to
In step 411, the control circuit 111 detects an idle period during the robot operation. In an aspect, the idle period of robot may be a time period during which the robot is free from performing a robot task during the robot operation. In some cases, if the robot operation is based on picking up objects from the conveyor belt 573, the idle period may be based on an absence of objects on the conveyor belt 573. More specifically, the conveyor belt 573 may be reachable by the robot arm 553, and the control circuit 111 is configured to detect the idle period by detecting that there are no objects on the conveyor belt 573, or that a distance between the robot 550 and a closest object on the conveyor belt 573 exceeds a defined distance threshold. In some cases, the control circuit 111 may receive a signal indicating that an idle period is about to occur, where the signal may be received from another device or component monitoring the robot operation. For instance, as illustrated in
Returning to
In step 453, the control circuit 111 retrieves or otherwise receives an additional image of the verification symbol (e.g., 530) from the camera (e.g., 570) during the idle period, wherein the additional image is a verification image for the verification, and is an image of the verification symbol at least at the reference location during the idle period. That is, the verification image for the reference location is captured while the verification symbol (e.g., 530) is or was at the reference location. In an embodiment, step 453 involves the control circuit 111 generating a camera command that controls the camera (e.g., 570) to capture the verification image. The control circuit 111 may output the camera command to the communication interface 113, which may communicate the camera command to the camera (e.g., 570). In an embodiment, step 451 may involve controlling the robot arm to move the verification symbol to multiple reference locations, and receiving multiple respective verification images captured by the camera. For instance, as illustrated in
Returning to
In an embodiment, the verification image coordinate may be determined in a manner similar to that for the reference image coordinate. For instance, the verification image coordinate may be a center coordinate of the verification symbol (e.g., 530), and may be determined as an average of a center coordinate of a first shape of the verification symbol (e.g., 530) and a center coordinate of a second shape of the verification symbol in the verification image (e.g., 760). For instance,
Returning to
As discussed above, in an aspect where the one or more reference locations are a plurality of reference locations, the control circuit 111 may be configured to determine the plurality of verification image coordinates respectively corresponding to the plurality of reference locations, where the verification image coordinate discussed above is one of the plurality of verification image coordinates. In such an aspect, the deviation parameter value is based on respective amounts of deviation between the plurality of reference image coordinates and the plurality of verification image coordinates for the plurality of reference locations, wherein each amount of deviation of the respective amounts of deviation is between: (a) a reference image coordinate corresponding to a respective reference location of the plurality of reference locations, and (b) a verification image coordinate corresponding to the same reference location. The plurality of verification image coordinates may be respective coordinates at which the verification symbol appears in a plurality of verification images, the verification image discussed above being one of the plurality of verification images. The control circuit 111 may be configured to control the camera to capture all of the plurality of verification images in one idle period, and/or may be configured to control the camera to capture the plurality of verification images in different idle periods.
For instance, when there are multiple reference locations, as shown in
In the above expression, N may refer to the Nth reference location, while M may refer to a total number of reference locations.
Returning to
In an embodiment, the control circuit 111 may be configured, in response to a determination that the deviation parameter value does not exceed the defined threshold, to control the robot to continue the robot operation after the idle period without performing additional camera calibration (e.g., by outputting a fourth movement command to the robot via the communication interface). Such a condition may indicate that the camera calibration information from step 401 is still sufficiently accurate, and that robot operation can continue without experiencing an undesirable amount of errors.
In an embodiment, the control circuit 111 may be configured to determine a temperature of an environment in which the robot is located, and to adjust at least one of the defined deviation threshold (also referred to as re-defining the deviation threshold) or the camera calibration information for the camera based on the measured temperature. For example, the control circuit 111 may determine the temperature of the environment by measuring the temperature or receiving temperature data from another device or component. In such an embodiment, the control circuit 111 may be configured to adjust the defined threshold based on the measured temperature by: setting the defined threshold to have a first value when the measured temperature is outside of a defined range, and setting the threshold to a have a second value lower than the first value when the measured temperature is within the defined range. For instance, an excessively high temperature or an excessively low temperature may cause changes in the camera. More specifically, a temperature change may affect the intrinsic parameters of the camera. For example, components in the camera may expand when the temperature increases and may contract when the temperature decreases, which may affect the intrinsic parameters of the camera. Therefore, it may be advantageous to adjust the defined deviation threshold based on the temperature or amount of temperature change. For example, when the temperature is within a range of a normal operating temperature (e.g., a defined range based around room temperature), then the defined deviation threshold may be lower, because the temperature does not adversely affect the camera. On the other hand, when the temperature is outside the range of a normal operating temperature, the deviation threshold may be higher because a cold or hot temperature adversely affects the camera. In an alternative example, the deviation threshold may be defined to a lower value when the temperature is outside of a normal operating temperature, so as to more frequently trigger additional camera calibration. In this example, the deviation threshold may be defined to a higher value when the temperature is within the normal operating temperature, so as to less frequently trigger additional camera calibration.
After the robot operation begins, during a task period 815, the robot control system 110 controls the robot (e.g., robot 550 of
The verification images (e.g., 760) captured during the idle periods 817, 821, and 825 may be captured at different respective locations of the reference locations. For instance, the first set, second set, and third set of one or more locations may be different from each other, and may have no overlap in locations. Further, during the idle period 825, the robot control system 110 may determine that the verification image capture is complete, which may indicate that a sufficient number of verification images are captured for verification of the camera calibration. In one embodiment, the robot control system 110 may determine that the verification image capture is complete if verification images are captured at all of the reference locations (e.g., 610A-610I). In one embodiment, the robot control system 110 may determine that the verification image capture is complete if a number of the verification images reaches a defined target count.
Upon determining that the verification image capture is complete, the robot control system 110 determines the verification image coordinates at which the verification symbol appears in the respective verification images. Subsequently, the robot control system 110 determines a deviation parameter value based on respective amounts of deviation of the verification image coordinates from the reference image coordinates. If the deviation parameter exceeds a defined threshold, the robot control system 110 performs another camera calibration. In this example, however, the deviation parameter does not exceed the defined threshold, and thus the robot control system 110 continues performing a robot task during a task duration 827 after the idle period 825, without performing additional camera calibration.
At step 907, the robot control system 110 detects an idle period during the robot operation. At step 909, the robot control system 110 controls the robot (e.g., robot 550 of
If the total number of the captured verification images has reached the target count, at step 913, the robot control system 110 performs verification of the camera calibration based on the reference images (e.g., 710) and the verification images (e.g. 760). The verification of the camera calibration produces a deviation parameter. At step 915, the robot control system 110 determines whether the deviation parameter exceeds a defined threshold. If the deviation parameter does not exceed the threshold, the robot control system 110 may reset the total number of captured verification images to zero at step 919 and may continue the robot operation after the idle period while attempting to detect another idle period to capture a new set of verification images, by returning to step 907.
If the deviation parameter exceeds the threshold, the robot control system 110 may stop the robot operation and perform a second camera calibration, at step 917. After the second camera calibration at 917, the robot control system 110 may reset the total number of captured verification images to zero at 921. After step 921, the flow diagram may return to step 903, where the robot control system 110 controls the robot (e.g., 550) to move the verification symbol (e.g., 530) to the reference locations and captures, via the camera (e.g., 570), a new set of reference images (e.g., 710) of the verification symbol at the respective reference locations, such that the new set of reference images may be used for verification later.
As stated above, one aspect of the present disclosure involves receiving a reference image (e.g., reference image 710 of
In the above example, the computing system that receives the verification image may compare it against the reference image to determine whether calibration information is still sufficiently accurate. The calibration information may be determined by a calibration operation performed for a robot operation system. The calibration operation, which may also be referred to as a system calibration, may include a camera calibration, a robot calibration, or any other calibration for controlling one or more components of the robot operation system. In an embodiment, the calibration information may include camera calibration information, robot calibration information, or any other calibration information. The comparison discussed above may involve, for example, determining a deviation parameter value that is based on a difference between where the verification symbol appears in the reference image and where the verification symbol appears in the verification image. If the deviation parameter value is too great, such as if it exceeds a defined deviation threshold (e.g., predefined deviation threshold), then the computing system may determine that the calibration information is no longer sufficiently accurate. In such a situation, the calibration information may be referred to as reflecting or including a mis-calibration or mis-alignment. When the camera calibration information includes the mis-calibration or mis-alignment, it may no longer accurately describe an intrinsic characteristic of the camera (e.g., a projection characteristic or a lens distortion characteristic), and/or no longer accurately describe a relationship between the camera and its external environment (e.g., a spatial relationship between the camera and a base of the robot). When the robot calibration information includes mis-calibration or mis-alignment, it may no longer be reliable for accurately moving a robot arm or other component of the robot to a desired location and/or orientation.
In an embodiment, the method of comparing the reference image and the verification image described above may involve multiple verification symbols. For example,
As discussed above, a robot arm (e.g., 553) may be moved to different poses, wherein a pose may refer to a shape, or more generally a geometry, formed by arm portions (e.g., links) of the robot arm. For example,
As stated above,
In an embodiment, one or more verification symbols of the group of verification symbols (e.g., 530A-530C, or 1130A-1130C) may have a circular shape. For example, each of the verification symbols 530A-530C of
In an embodiment, the group of verification symbols (e.g., 530A-530C, or 1130A-1130C) may be shaped as respective circular rings having different respective sizes. For example, as depicted in
In an embodiment, some or all of the verification symbols (e.g., 530A-530C of
In an embodiment, the method 1200 may include a step 1201, in which the control circuit 111 of the robot control system or other computing system outputs a movement command for controlling movement of the robot arm (e.g., robot arm 533/1153) to perform a robot operation. The movement command may be, e.g., based on calibration information. The calibration information, such as camera calibration information, may be determined from a first calibration operation, such as a first camera calibration. In some cases, step 1201 may be the same or similar to step 409 of method 400, in which the control circuit 111 controls movement of the robot arm to perform a robot operation. For example, the robot operation may involve picking up boxes or other objects in a warehouse. In this example, the control circuit 111 may be configured to determine, based on an image of the boxes generated by the camera (e.g., camera 570 of
In an embodiment, the method 1200 may include a step 1203, in which the control circuit 111 or other component of the computing system determines a group of reference image coordinates. The group of reference image coordinates may be, e.g., respective coordinates at which the group of verification symbols (e.g., 530A-530C/1130A-1130C) appear in a reference image, wherein the reference image may be an image for representing the group of verification symbols (e.g., 530A-530C/1130A-1130C). In an embodiment, the group of reference image coordinates may be used for verifying the calibration information.
For example,
In an embodiment, step 1203 may involve the control circuit 111 receiving the reference image (e.g., 1120) from the communication interface 113 and/or the non-transitory computer-readable medium 115 of the robot control system 110 or other computing system. For instance, the reference image 1120 of
In an embodiment, the control circuit 111 may be configured to identify at least one verification symbol (e.g., 1130A) of the group of verification symbols (e.g., 1130A-1130C) in the reference image (e.g., 1120) based on a defined model that describes a geometry of the robot arm (e.g., 1153). For example, the defined model may describe which links, robot end effector, or other arm portions form the robot arm, their respective sizes (e.g., lengths), and how they are connected, and/or describe which arm portions have at least one verification symbol (e.g., 1130A) disposed thereon. In such an embodiment, the control circuit may be configured to determine, based on the model, a region within the reference image (e.g., 1120) at which the at least one verification symbol is expected to appear, and to search for the at least one verification symbol (e.g., 1130A) within the region of the reference image. In an embodiment, the model may store, or more generally describe, a position of a verification symbol (e.g., 1130A) on the robot arm (e.g., 1153). The position of the verification symbol (also referred to as symbol position) can be an approximate location of the verification symbol on the robot arm (e.g., 1153).
For example, if the reference image (e.g., 1120) is stored along with one or more parameter values of a movement command used to generate the pose associated with the reference image, or more specifically the pose of the robot arm appearing in the reference image, the one or more parameter values and the model may be used to estimate a pose for the robot arm (e.g., 1153) when the robot arm is moved according to the movement command. As discussed below in more detail, the one or more parameter values may in an embodiment belong to one or more actuator parameters used to control one or more actuators (e.g., one or more motors) used to move the robot arm (e.g., 1153). The estimated pose may be used to estimate a location of a verification symbol (e.g., 1130A) on the robot arm (e.g., 1153), and the estimated location may be used to estimate where the verification symbol is likely to appear in the reference image (e.g., 1120).
In the above examples, the control circuit 111 may be configured to focus on a region(s) of a reference image (e.g., 1120) at which a verification symbol or verification symbols are expected to appear. Such a technique may allow the control circuit 111 to avoid searching an entirety of the reference image (e.g., 1120) for verification symbols (e.g., 1130A-1130C), and to thus identify the verification symbols (e.g., 1130A-1130C) in the reference image (e.g., 1120) more quickly. The model in the above examples may also be used to search for the verification symbols in a verification image (which is discussed below).
As stated above, the group of verification symbols (e.g., 1130A-1130C) may in an embodiment be shaped as respective circular rings. In such an embodiment, the control circuit 111 may be configured to recognize or otherwise identify a verification symbol (e.g., 1130A) in the reference image (e.g., 1120) by identifying a circular ring that forms the verification symbol. If the group of verification symbols are shaped as respective circular rings having different respective sizes, such as illustrated above with respect to
As further stated above, the reference image (e.g., 1120 of
In an embodiment, the movement command discussed above for moving the robot arm to the first pose may include one or more parameter values that describe movement for the robot arm (e.g., 1153). As stated above, in some cases the one or more parameter values may belong to one or more actuator parameters which control one or more actuators that create movement for the robot arm (e.g., 1153). In such cases, the one or more parameter values may be referred to as one or more actuator parameter values (also referred to as robot joint values). For example, the one or more actuator parameter values may describe, e.g., respective amounts of rotation of arm portions of the robot arm relative to each other, respective locations and/or orientations of the arm portions relative to each other, and/or respective locations of joints (e.g., 1156A-1156D) connecting the arm portions. For instance, the one or more actuator parameter values of the movement command may describe respective angle values by which motors in the robot 1150 are to rotate various arm portions (e.g., links 1154A-1154E and robot hand 1155) relative to their immediately preceding arm portions.
In an embodiment, the movement command discussed above may have any parameter value(s) (e.g., a random parameter value(s)), and the first pose caused by the movement command may be any pose. In an embodiment, the movement command discussed above may be a movement command which causes some or all of the verification symbols (e.g., 1130A-1130C) to have a desired appearance in the reference image (e.g., 1120). For example, as discussed above, some or all of the group of verification symbols (e.g., 1130A-1130C) may have a circular shape, such as a ring shape formed by concentric circular regions or concentric circles. In such an example, when at least one of the verification symbols (e.g., 1130A) is in certain orientations relative to the camera (e.g., 1170), the at least one verification symbol (e.g., 1130A) may appear elliptical in the resulting reference images rather than appear completely circular. The elliptical appearance may lead to inaccurate calibration verification. For instance, if the reference image coordinate for the verification symbol 1130A is a location at which the symbol's center appears in the reference image, this reference image coordinate may be more difficult to accurately determine when the verification symbol 1130A appears elliptical in the reference image. Further, if identifying the verification symbol 1130A in the reference image (e.g., distinguishing the verification symbol 1130A from other features in the reference image) relies on identifying a ring pattern in the reference image and on verifying that the ring pattern has a particular ratio between concentric circles associated with the symbol (e.g., the ratio r2,1130A/r1,1130A associated with the verification symbol 1130A), this identification may be more difficult to accurately perform when the ring pattern appears elliptical in the reference image. Thus, if the control circuit 111 is involved in outputting the movement command associated with generating the reference image, the control circuit 111 may attempt to generate a movement command which causes the group of verification symbols (e.g., 1130A-1130C) to be positioned in a manner such that they appear completely or substantially circular in the reference image.
As an example, the control circuit 111 may generate a movement command which causes the robot arm (e.g., 1153) to move to a pose in which the group of verification symbols (e.g., 1130A-1130C) directly face the camera (e.g., 1170). For instance, the pose may cause at least one verification symbol of the group of verification symbols (e.g., 1130A-1130C) to be tangent to a surface of an imaginary sphere that is concave with respect to the camera (e.g., 1170). In
Returning to
In an embodiment, if the method 1200 includes a step of outputting a movement command for generating the reference image during the first time period, as discussed above, the movement command for generating the reference image during the first time period may be a first additional movement command, while the movement command in step 1205 for generating the verification image during the second time period may be a second additional movement command. In some cases, the first additional movement command may be an earlier movement command, while the second additional movement command may be a later movement command. In some cases, the first additional movement command may have one or more actuator parameter values (or robot joint values) for controlling the robot arm to move to the first pose, and the second additional movement command may also have the one or more actuator parameter values. More particularly, the first additional movement command and the second additional movement command may have the same actuator parameter values. As an example, if a robot (e.g., 1150) include a plurality of motors that rotate various arm portions (e.g., links 1154A-1154E and robot hand 1155) relative to each other, the one or more actuator parameter values may include a plurality of respective angle values that control how much rotation is to be output by the plurality of motors. In this example, the first additional movement command and the second additional movement command may both include the same plurality of respective angle values that control how much rotation is output by the plurality of motors.
In an embodiment, the first additional movement command and/or the second additional movement command may be output during a respective idle period, such as the idle period discussed above with respect to step 411 for
In an embodiment, the first pose of step 1205 for the robot arm (e.g., 1153) may be associated with a particular group of respective reference locations for the group of verification symbols (e.g., 1130A-1130C) disposed on the robot arm, as discussed above. For example, the group of respective reference locations may be the 3D locations [xref_1 yref_1 zref_1]T1130A, [xref_1 yref_1 zref_1]T1130B, [xref_1 yref_1 zref_1]T1130C. When the reference image (e.g., 1120) is generated, the group of verification symbols (e.g., 1130A-1130C) may be located at the group of respective reference locations associated with the first pose. In step 1205, if the additional movement command causes the robot arm to return to the first pose, the group of verification symbols (e.g., 1130A-1130C) may return to the group of reference locations (e.g., [xref_1 yref_1 zref_1]T1130A, [xref_1 yref_1 zref_1]T1130B, [xref_1 yref_1 zref_1]T1130C). In such an example, the group of verification symbols (e.g., 1130A-1130C) may be disposed at the group of respective reference locations when the reference image (e.g., 1120) is generated, and may be disposed at the group of respective reference locations again when the verification image (e.g., 1160) is generated.
Returning to
In an embodiment, the method 1200 may include a step 1209, in which the control circuit 111 determines a group of verification image coordinates. In this embodiment, the group of verification image coordinates may be respective coordinates at which the group of verification symbols (e.g., 1130A-1130C) appear in the verification image (e.g., 1160 of
In an embodiment, the control circuit 111 may perform steps 1203-1209 multiple times for multiple reference images and multiple verification images (e.g., five reference images and five verification images). The multiple reference images and multiple verification images may correspond with multiple respective poses. For example,
Returning to
In an embodiment, some or all of the group of respective deviation parameter values may be based on a single pair of a reference image and a verification image, both of which may be associated with a common pose for the robot arm. For example, the first deviation parameter value discussed above may be associated with the verification symbol 1130A, and may be based on a single pair of the reference image 1120 and the verification image 1160, both of which are associated with a common pose, such as the pose in
In an embodiment, some or all of the group of respective deviation parameter values may be based on multiple pairs of respective reference images and respective verification images, wherein each pair is associated with a respective pose of multiple poses for the robot arm. As an example, the first deviation parameter value discussed above, which is associated with the verification symbol 1130A, may be based on a first pair of the reference image 1120 and the verification image 1160 (of
In some cases, a reference image coordinate in a first reference image and a reference image coordinate in a second reference image may be part of a set of reference image coordinates that indicate where a common verification symbol (e.g., 1130A) appears in a set of reference images, such as the two reference images 1120, 1122 discussed above. The set of reference images and set of reference image coordinates in this example may correspond to a set of respective poses for the robot arm (e.g., 1153), such as the two poses in
Returning to
In an embodiment, the method may include a step 1215, in which the control circuit 111 may perform at least one of the following in response to a determination that at least one deviation parameter value of the group of respective deviation parameter values exceeds the defined deviation threshold: (a) outputting a notification that at least one of the group of respective deviation parameter values exceeds the defined deviation threshold, or (b) performing a calibration operation to determine updated calibration information (e.g., updated camera calibration information). For example, step 1215 may involve outputting the notification to a user interface device, such as an electronic display in communication with the robot controller 110. The electronic display may display, for instance, the at least one deviation parameter value, or an indication that the at least one deviation parameter value exceeds the defined deviation threshold. In an embodiment, performing the calibration operation in step 1215 may be similar to or the same as step 461 in
In an embodiment, the at least one deviation parameter value exceeding the defined deviation threshold may indicate that there is a change to the camera (e.g., 1170 of
In an embodiment, the at least one deviation parameter value exceeding the defined deviation threshold may indicate that there is a calibration error, such as a camera calibration error in which the camera calibration information from the first camera calibration is no longer sufficiently accurate. In an embodiment, the method 1200 may involve the control circuit 111 determining a type of calibration error (also referred to as a type of mis-alignment) causing the at least one deviation parameter value to exceed the defined deviation threshold. The type of calibration error may indicate, for instance, whether a loss of accuracy for the calibration information (e.g., camera calibration information) is caused by or otherwise representative of a change to the robot, or whether the loss of accuracy is caused by or otherwise representative of a change to the camera. For example, the change to the camera (e.g., 1170) may include the internal change to the camera and/or the change to the location at which the camera is mounted, as discussed above. The change to the robot may include the change to a location or orientation of a base (e.g., 1152) of the robot (e.g., 1150), a change to the relationship between the arm portions of the robot arm (e.g., 1153), and/or a change to the arm portions themselves, as discussed above.
In an embodiment, the determination of the type of calibration error may be based on a comparison among the group of respective deviation parameter values, and more specifically based on whether the group of respective deviation parameter values exceed a defined deviation threshold in a substantially uniform manner. For example, if the group of deviation parameter values associated with the different verification symbols (e.g., 1130A-1130C) all exceed the defined deviation threshold and do so in a substantially uniform manner, the control circuit 111 may determine that the loss of accuracy is caused by the camera (e.g., 1170), or more specifically by a change to the camera. This is because an appearance for each of the verification symbols (e.g., 1130A-1130C) in a reference image or verification image is dependent on an internal property and/or on positioning of the camera (e.g., 1170). More specifically, the reference image coordinates and verification image coordinates for the verification symbols (e.g., 1130A-1130C) in the reference image or verification image may all be dependent on the internal property or on the positioning of the camera. Thus, a change to the internal property or to the positioning of the camera (e.g., 1170) may often affect respective deviation parameter values for all of the verification symbols (e.g., 1130A-1130C), and more specifically may often increase all of the deviation parameter values in a substantially uniform manner. By comparison, if there is damage, malfunctioning operation, or other change in a portion of the robot (e.g., 1150), such as an arm portion, it is unlikely that other portions of the robot would all be changed (e.g., damaged or all malfunction) in exactly the same way. Thus, if there is a change in a portion of the robot which would increase at least one deviation parameter value above the defined deviation threshold, other deviation parameter values of the group of deviation parameter values may still remain below the defined deviation threshold, or the group of deviation parameter values may all exceed the defined deviation threshold, but do so in a non-uniform manner. Thus, in an embodiment, if at least one of the group of respective deviation parameter values associated with the different verification symbols (e.g., 1130A-1130C) exceeds the defined deviation threshold, but the group of respective deviation parameter values do not all exceed the defined deviation threshold in a substantially uniform manner, the control circuit 111 may determine that the loss of accuracy is caused by the robot (e.g., 1150), or more specifically a change to the robot.
In an embodiment, the control circuit 111 may use a defined uniformity threshold to evaluate whether the group of deviation parameter values all exceed the defined deviation threshold in a substantially uniform manner. For instance, the control circuit 111 may determine whether at least one of the deviation parameter value exceeds the defined deviation threshold, and further determine whether differences among the deviation parameter values (or among the respective amounts by which they exceed the defined deviation threshold) are within the defined uniformity threshold. The uniformity threshold may be defined in a dynamic manner (e.g., based on a current operating condition of the robot operation system), or may be predefined. As an example of using the defined uniformity threshold, if the control circuit 111 determines that respective deviation parameter values for the verification symbols 1130A-1130C all exceed the defined deviation threshold, but that a deviation parameter value associated with the verification symbol 1130C differs from a deviation parameter value associated with the verification symbol 1130A by more than the defined uniformity threshold, and/or differs from a deviation parameter value associated with the verification symbol 1130B by more than the defined uniformity threshold, then the control circuit 111 may determine that the loss of accuracy is caused by a change in the robot 1150, such as a change in at least the robot hand 1155 or other arm portion on which the verification symbol 1130C is disposed. In the above example, the control circuit 111 is directly comparing the deviation parameter values. In other examples, the control circuit 111 may compare respective amounts by which the deviation parameter values exceed the defined deviation threshold, and whether those respective amounts differ by more than the defined uniformity threshold. In another example, if the control circuit 111 determines that a first deviation parameter value of the group of deviation parameter values exceed the defined deviation threshold, but that one or more of the group of deviation parameter values do not exceed the defined deviation threshold, the control circuit 111 may also determine that the calibration error (also referred to as a mis-alignment) is caused by a change to the robot (e.g., 1150), such as to an arm portion on which the verification symbol associated with the first deviation parameter value is disposed. In another example, if the control circuit 111 determines that the group of deviation parameter values all exceed the defined deviation threshold and that they do not differ from each other by more than the defined uniformity threshold, then the control circuit 111 may determine that the calibration error is caused by a change in the camera (e.g., 1170).
In some cases, the control circuit 111 of the robot controller 110 or other computing system may be in communication with a conveyor belt, such as conveyor belt 1173 of
In an embodiment, the control circuit 111 may be configured to determine that, if the calibration information is sufficiently accurate for a particular arm portion (e.g., link 1154C on which verification symbol 1130A is disposed, or link 1154D on which verification symbol 1130B is disposed, or robot hand 1155 on which verification symbol 1130C is disposed), that the calibration information is also sufficiently accurate for one or more arm portions which are upstream of that particular arm portion. As stated above, the plurality of arm portions may be arranged as a series of arm portions, from a base of the robot to a robot end effector. An arm portion may be upstream of another arm portion if the former arm portion precedes the latter arm portion in the series of arm portions. For instance, link 1154D in
In an embodiment, one or more steps of the method 1200, such as steps 1203 through 1215, may be performed by the robot controller 110 or other computing system in response to a user command. For instance, a user (e.g., system operator) may manually trigger a calibration verification operation that involves steps 1203 through 1215. In an embodiment, steps 1203 through 1215 may be performed during an idle period. The idle period may be, e.g., a period in which a robot operation such as picking up objects from a conveyor belt or a pallet is not being performed. In an embodiment, one or more steps of the method 1200, such as steps 1203 through 1215, may be performed by the robot controller 110 or other computing system in response to a defined triggering condition. As discussed above, the triggering condition may include, e.g., an unplanned event such as a collision involving the robot (e.g., 1150), an earthquake or other natural disaster, which may lead to a change in the robot (e.g., 1150) and/or the camera (e.g., 1170). In some cases, the triggering condition may include a specific period of time elapsing after an earlier calibration operation, such as a calibration operation used to determine the calibration information of step 1201. In such an example, the earlier calibration operation may be a first calibration operation, while the calibration operation of step 1215 may be a second calibration operation.
ADDITIONAL DISCUSSION OF VARIOUS EMBODIMENTSEmbodiment A1 relates to a robot control system comprising a communication interface configured to communicate with a robot having a base and a robot arm with a verification symbol disposed thereon, and to communicate with a camera having a camera field of view. The robot control system further comprises a control circuit configured to perform a first camera calibration (or, more generally, a calibration operation) to determine camera calibration information associated with the camera (or, more generally, calibration information associated with the robot control system). The control circuit is further configured: a) to control the robot arm to move the verification symbol, during or after the first camera calibration, to a location within the camera field of view by outputting a first movement command to the robot via the communication interface, the location being a reference location of one or more reference locations for verification of the first camera calibration, b) to receive an image of the verification symbol from the camera via the communication interface, wherein the camera is configured to capture the image of the verification symbol at the reference location, the image being a reference image for the verification, c) to determine a reference image coordinate for the verification, the reference image coordinate being a coordinate at which the verification symbol appears in the reference image; d) to control, based on the camera calibration information, movement of the robot arm to perform a robot operation by outputting a second movement command that is based on the camera calibration information to the robot via the communication interface; e) to detect an idle period during the robot operation; f) to control the robot arm to move the verification symbol to at least the reference location during the idle period by outputting a third movement command to the robot via the communication interface; g) to receive an additional image of the verification symbol from the camera via the communication interface during the idle period, wherein the camera is configured to capture the additional image of the verification symbol at least at the reference location, the additional image being a verification image for the verification; h) to determine a verification image coordinate used for the verification, the verification image coordinate being a coordinate at which the verification symbol appears in the verification image; i) to determine a deviation parameter value based on an amount of deviation between the reference image coordinate and the verification image coordinate, the reference image coordinate and the verification image coordinate both associated with the reference location, wherein the deviation parameter value is indicative of a change in the camera since the first camera calibration or of a change in a relationship between the camera and the robot since the first camera calibration, i) to determine whether the deviation parameter value exceeds a defined threshold, and j) in response to a determination that the deviation parameter value exceeds the defined threshold, to perform a second camera calibration to determine updated camera calibration information (or, more generally to perform a second calibration operation to determine updated calibration information).
Embodiment A2 includes the robot control system of embodiment A1, wherein the control circuit is configured, in response to a determination that the deviation parameter value does not exceed the defined threshold, to control the robot to continue the robot operation after the idle period without performing additional camera calibration by outputting a fourth movement command to the robot via the communication interface.
Embodiment A3 includes the robot control system of embodiment A1 or A2, wherein the one or more reference locations are a plurality of reference locations that respectively correspond with a plurality of reference image coordinates, the reference image coordinate being one of the plurality of reference image coordinates. In this embodiment, the control circuit is further configured to determine a plurality of verification image coordinates respectively corresponding to the plurality of reference locations, wherein the verification image coordinate is one of the plurality of verification image coordinates, and wherein the deviation parameter value is based on respective amounts of deviation between the plurality of reference image coordinates and the plurality of verification image coordinates for the plurality of reference locations, wherein each amount of deviation of the respective amounts of deviation is between: (a) a reference image coordinate corresponding to a respective reference location of the plurality of reference locations, and (b) a verification image coordinate corresponding to the same reference location.
Embodiment A4 includes the robot control system of embodiment A3, wherein the plurality of verification image coordinates are respective coordinates at which the verification symbol appears in a plurality of verification images, the verification image being one of the plurality of verification images, and wherein the control circuit is configured to control the camera to capture all of the plurality of verification images in the idle period.
Embodiment A5 includes the robot control system of embodiment A3, wherein the plurality of verification image coordinates are respective coordinates at which the verification symbol appears in a plurality of verification images, the verification image being one of the plurality of verification images, and wherein the control circuit is configured to control the camera to capture the plurality of verification images in different idle periods, the idle period being one of the different idle periods.
Embodiment A6 includes the robot control system of any one of embodiments A1-A5, wherein the verification symbol includes a first region having a first color and a second region having a second color, wherein a ratio of an area of the first region to an area of the second region is defined and stored on a storage device of the robot control system as a defined ratio.
Embodiment A7 includes the robot control system of embodiment A6, wherein the control circuit is configured to identify the verification symbol in the reference image or the verification image based on the defined ratio.
Embodiment A8 includes the robot control system of embodiment A7, wherein the robot arm has a calibration pattern disposed thereon, wherein the reference image includes the verification symbol and the calibration pattern, wherein the control circuit is configured to determine whether a portion of the reference image is the verification symbol or the calibration pattern by determining whether the portion of the reference image has a first image region having the first color and has a second image region having the second color, and whether a ratio between an area of the first image region and an area of the second image region is equal to the defined ratio.
Embodiment A9 includes the robot control system of any one of embodiments A1-A8, wherein the verification symbol includes a first shape and a second shape that are concentric with each other, wherein respective centers of the first shape and the second shape are at substantially the same location.
Embodiment A10 includes the robot control system of embodiment A9, wherein the control circuit is configured to determine the reference image coordinate by: a) determining a first coordinate of a center of the first shape in the reference image; b) determining a second coordinate of a center of the second shape in the reference image; and c) determining the reference image coordinate as an average of the first coordinate and the second coordinate in the reference image. In this embodiment, the control circuit is configured to determine the verification image coordinate by: d) determining a first coordinate of a center of the first shape in the verification image; e) determining a second coordinate of a center of the second shape in the verification image; and f) determining the verification image coordinate as an average of the first coordinate and the second coordinate in the verification image.
Embodiment A11 includes the robot control system of any one of embodiments A1-A10, wherein the control circuit is configured to identify the verification symbol in the reference image or the verification image by identifying a circular ring, the verification symbol being shaped as the circular ring.
Embodiment A12 includes the robot control system of any one of embodiments A1-A11, wherein the control circuit is further configured to determine a temperature of an environment in which the robot is located; and to adjust at least one of the defined threshold or the camera calibration information based on the temperature that is measured.
Embodiment A13 includes the robot control system of embodiment A12, wherein the control circuit is configured to adjust the defined threshold based on the temperature by: setting the defined threshold to have a first value when the temperature is outside of a defined range; and setting the threshold to a have a second value lower than the first value when the temperature is within the defined range.
Embodiment A14 includes the robot control system of any one of embodiments A1-A13, wherein the one or more reference locations to which the control circuit is configured to cause the verification symbol to be moved via the robot arm include a plurality of reference locations disposed on a surface of a sphere that is concave with respect to the camera.
Embodiment A15 includes the robot control system of embodiment A14, wherein the control circuit is further configured to control the robot arm to move the verification symbol to be tangent to the surface of the sphere at each reference location of the plurality of reference locations.
Embodiment A16 includes the robot control system of any one of embodiments A1-A15, wherein the control circuit is configured to control the robot arm to move the verification symbol to directly face the camera when the verification symbol is moved to the reference location.
Embodiment A17 includes the robot control system of any one of embodiments A1-A16, wherein the control circuit is configured to detect the idle period of the robot operation by detecting a time period during which the robot is free from performing a robot task during the robot operation.
Embodiment A18 includes the robot control system of embodiment A17, wherein the control circuit is configured to control the robot arm to interact with objects on a conveyor belt that is reachable by the robot arm, wherein the control circuit is configured to detect the idle period by detecting the conveyor belt having no object thereon, or detecting that a distance between the robot and a closest object on the conveyor belt exceeds a defined distance threshold.
Embodiment B1 relates to a computing system comprising a communication interface and a control circuit. The communication interface is configured to communicate with: (i) a camera having a camera field of view and (ii) a robot having a robot arm with a plurality of arm portions that are movably attached to each other, and with a group of verification symbols that are disposed on respective arm portions of the plurality of arm portions. The control circuit is configured, when the robot arm is in the camera field of view, to perform a method that comprises: outputting a movement command for controlling movement of the robot arm to perform a robot operation, wherein the movement command is based on calibration information; determining a group of reference image coordinates, the group of reference image coordinates being respective coordinates at which the group of verification symbols appear in a reference image, wherein the reference image is an image for representing the group of verification symbols, and is generated by the camera during a first time period when the robot arm is in a first pose; outputting, during a second time period subsequent to the first time period, an additional movement command for controlling the robot arm to move to the first pose; receiving a verification image, which is an additional image for representing the group of verification symbols, and is generated by the camera when the robot arm has been moved to the first pose as a result of the additional movement command; determining a group of verification image coordinates, the group of verification image coordinates being respective coordinates at which the group of verification symbols appear in the verification image; determining a group of respective deviation parameter values that are based on respective amounts of deviation between the group of reference image coordinates and the group of verification image coordinates, wherein the group of respective deviation parameter values are associated with the group of verification symbols; determining whether at least one deviation parameter value of the group of respective deviation parameter values exceeds a defined deviation threshold; and performing at least one of the following in response to a determination that at least one deviation parameter value of the group of respective deviation parameter values exceeds the defined deviation threshold: outputting a notification that at least one of the group of respective deviation parameter values exceeds the defined deviation threshold, or performing a calibration operation to determine updated calibration information. The control circuit may perform the method by, e.g., executing instructions on a non-transitory computer-readable medium.
Embodiment B2 includes the computing system of Embodiment B1, wherein the first pose is associated with a first additional movement command output during the first time period, the first additional movement command having one or more actuation parameter values for controlling the robot arm to move to the first pose, wherein the reference image is generated by the camera when the robot arm is in the first pose as a result of the first additional movement command. Further in this embodiment, the additional movement command output during the second time period is a second additional movement command, and also includes the one or more actuation parameter values.
Embodiment B3 includes the computing system of Embodiment B2, wherein each verification symbol of the group of verification symbols has a circular shape, and wherein the one or more actuation parameter values of the first additional movement command and of the second additional movement command cause the group of verification symbols to be positioned in a manner such that the group of verification symbols appear in the reference image and in the verification image with no eccentricity, or with respective amounts of eccentricity that are less than a defined eccentricity threshold.
Embodiment B4 includes the computing system of any one of Embodiments B1-B3, wherein the control circuit is configured to determine one or more actuation parameter values for the additional movement command that cause each verification symbol of the group of verification symbols to be moved to directly face the camera.
Embodiment B5 includes the computing system of Embodiment B4, wherein the one or more actuation parameter values cause the group of verification symbols to be tangent to one or more imaginary spheres that are concave with respect to the camera.
Embodiment B6 includes the computing system of any one of Embodiments B1-B5, wherein when at least one verification symbol of the group of verification symbols is shaped as a circular ring, the control circuit is configured to identify the at least one verification symbol in the reference image and in the verification image by identifying the circular ring.
Embodiment B7 includes the computing system of Embodiment B6, wherein when the group of verification symbols are shaped as respective circular rings having different respective sizes, the control circuit is configured to identify the at least one verification symbol based on a size of a respective circular ring forming the at least one verification symbol.
Embodiment B8 includes the computing system of any one of Embodiments B1-B7, wherein the control circuit is configured to identify at least one verification symbol of the group of verification symbols in the reference image based on a defined model that describes a geometry of the robot arm.
Embodiment B9 includes the computing system of Embodiment B8, wherein the control circuit is configured to determine, based on the model, a region within the reference image at which the at least one verification symbol is expected to appear, and to search for the at least one verification symbol within the region of the reference image.
Embodiment B10 includes the computing system of any one of Embodiments B1-B9, wherein the control circuit is configured to determine, based on a comparison among the group of respective deviation parameter values, a type of calibration error causing the at least one deviation parameter value to exceed the defined deviation threshold, wherein the type of calibration error indicates whether a loss of accuracy for the calibration information is representative of a change in the robot, or whether the loss of accuracy is representative of a change in the camera.
Embodiment B11 includes the computing system of Embodiment B10, wherein the control circuit is configured to determine whether the group of respective deviation parameter values all exceed the defined deviation threshold and whether the group of respective deviation parameters differ from each other by more than a defined uniformity threshold. The control circuit in this embodiment is further configured, in response to a determination that the group of respective deviation parameter values all exceed the defined deviation threshold and do not differ from each other by more than the defined uniformity threshold, to determine that the type of calibration error is a calibration error representative of a change in the camera.
Embodiment B12 includes the computing system of Embodiment B11, wherein the control circuit is further configured, in response to a determination that one or more of the group of respective deviation parameter values do not exceed the defined deviation threshold, or that the group of respective deviation parameter values differ from each other by more than the defined uniformity threshold, to determine that the type of calibration error is a calibration error representative of a change in the robot.
Embodiment B13 includes the computing system of any one of Embodiments B1-B12. In this embodiment, the calibration information is associated with a first calibration operation, and the calibration operation for generating the updated calibration information is a second calibration operation that is subsequent to the first calibration operation, wherein the control circuit is configured to output the additional movement command and to output a camera command for receiving the verification image in response to a defined triggering condition. The defined triggering condition includes at least one of: a defined period of time elapsing since the first calibration operation, or an event which was not planned by the computing system and which results in a change to the robot or to the camera.
Embodiment B14 includes the computing system of any one of Embodiments B1-B13, wherein when the plurality of robot arm portions are arranged as a series of arm portions from a base of the robot to a robot end effector, the control circuit is configured: to determine whether a deviation parameter value for a first verification symbol of the group of verification symbols exceeds the defined deviation threshold; to identify from among the plurality of arm portions a first arm portion on which the first verification symbol is disposed; and in response to a determination that the deviation parameter value for first verification symbol does not exceed the defined deviation threshold, to determine that the calibration information is accurate for the first arm portion and for at least one additional arm portion which precedes the first arm portion in the series of arm portions.
Embodiment B15 includes the computing system of any one of Embodiments B1-B14, wherein when the computing system is in communication with a conveyor belt used for the robot operation, the control circuit is configured, in response to a determination that the at least one deviation parameter value exceeds the defined deviation threshold, to cause the conveyor belt to be stopped.
Embodiment B16 includes the computing system of any one of Embodiments B1-B15, wherein the reference image is a first reference image associated with the first pose of the robot arm, wherein the verification image is a first verification image associated with the first pose, wherein the group of reference image coordinates is a first group of reference image coordinates associated with the first pose, and the group of verification image coordinates is a first group of verification image coordinates associated with the first pose. In this embodiment, the control circuit is configured: to determine a second group of reference image coordinates, the second group of reference image coordinates being respective coordinates at which the group of verification symbols appear in a second reference image, wherein the second reference image is generated by the camera when the robot arm is in a second pose; to output, subsequent to the second reference image being generated, a further movement command for controlling the robot arm to move the robot arm to the second pose; to receive a second verification image, which also represents the group of verification symbols, and is generated by the camera when the robot arm has been moved to the second pose as a result of the further movement command; and to determine a second group of verification image coordinates, the second group of verification image coordinates being respective coordinates at which the group of verification symbols appear in the second verification image. In this embodiment, the group of respective deviation parameter values are further based on respective amounts of deviation between the second group of reference image coordinates and the second group of verification image coordinates.
While various embodiments have been described above, it should be understood that they have been presented only as illustrations and examples of the present invention, and not by way of limitation. It will be apparent to persons skilled in the relevant art that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the appended claims and their equivalents. It will also be understood that each feature of each embodiment discussed herein, and of each reference cited herein, can be used in combination with the features of any other embodiment. All patents and publications discussed herein are incorporated by reference herein in their entirety.
Claims
1. A computing system comprising:
- a communication interface configured to communicate with: a robot having a robot arm with a plurality of arm portions that are movably attached to each other, and with a group of verification symbols that are disposed on one or more of the respective arm portions of the plurality of arm portions; and
- a control circuit configured: to determine a group of reference image coordinates, the group of reference image coordinates being respective coordinates at which the group of verification symbols appear in a reference image; to receive a verification image, which is an additional image for representing the group of verification symbols; to determine a group of verification image coordinates, the group of verification image coordinates being respective coordinates at which the group of verification symbols appear in the verification image; to determine a group of respective deviation parameter values that are based on respective amounts of deviation between the group of reference image coordinates and the group of verification image coordinates, wherein the group of respective deviation parameter values are associated with the group of verification symbols, and to determine whether at least one deviation parameter value of the group of respective deviation parameter values exceeds a defined deviation threshold.
2. The computing system of claim 1, wherein the control circuit is configured:
- to output a movement command for controlling movement of the robot arm to perform a robot operation, wherein the movement command is generated based on calibration information; and
- to perform at least one of the following in response to a determination that at least one deviation parameter value of the group of respective deviation parameter values exceeds the defined deviation threshold: outputting a notification that at least one of the group of respective deviation parameter values exceeds the defined deviation threshold, or performing a calibration operation to determine updated calibration information.
3. The computing system of claim 1, wherein the reference image is associated with the robot arm being in a first pose, wherein the first pose is associated with a first movement command output during a first time period, the first movement command having one or more actuation parameter values for controlling the robot arm to move to the first pose, wherein the reference image is generated when the robot arm is in the first pose as a result of the first movement command, and
- wherein a second pose is associated with a second movement command output during the second time period, and also includes the one or more actuation parameter values.
4. The computing system of claim 3, wherein each verification symbol of the group of verification symbols has a circular shape, and wherein the one or more actuation parameter values of the first movement command and of the second movement command cause the group of verification symbols to be positioned in a manner such that the group of verification symbols appear in the reference image and in the verification image with no eccentricity, or with respective amounts of eccentricity that are less than a defined eccentricity threshold.
5. The computing system of claim 3, wherein the control circuit is configured to determine the one or more actuation parameter values for the first movement command to cause each verification symbol of the group of verification symbols to be moved.
6. The computing system of claim 5, wherein the one or more actuation parameter values cause the group of verification symbols to be tangent to one or more imaginary spheres.
7. The computing system of claim 1, wherein when at least one verification symbol of the group of verification symbols is shaped as a circular ring, the control circuit is configured to identify the at least one verification symbol in the reference image and in the verification image by identifying the circular ring.
8. The computing system of claim 7, wherein when the group of verification symbols are shaped as respective circular rings having different respective sizes, the control circuit is configured to identify the at least one verification symbol based on a size of a respective circular ring forming the at least one verification symbol.
9. The computing system of claim 1, wherein the control circuit is configured to identify at least one verification symbol of the group of verification symbols in the reference image based on a defined model that describes a geometry of the robot arm.
10. The computing system of claim 9, wherein the control circuit is configured
- to determine, based on the model, a region within the reference image at which the at least one verification symbol is expected to appear, and
- to search for the at least one verification symbol within the region of the reference image.
11. The computing system of claim 1, wherein the control circuit is configured to determine, based on a comparison among the group of respective deviation parameter values, a type of calibration error causing the at least one deviation parameter value to exceed the defined deviation threshold.
12. The computing system of claim 11, wherein the type of calibration error indicates whether a loss of accuracy for a calibration information is representative of a change in the robot.
13. The computing system of claim 12, wherein the control circuit is configured to determine whether the group of respective deviation parameter values all exceed the defined deviation threshold and whether the group of respective deviation parameters differ from each other by more than a defined uniformity threshold, and
- in response to a determination that the group of respective deviation parameter values all exceed the defined deviation threshold and do not differ from each other by more than the defined uniformity threshold, to determine the type of calibration error.
14. The computing system of claim 12, wherein the control circuit is further configured, in response to a determination that one or more of the group of respective deviation parameter values do not exceed the defined deviation threshold, or that the group of respective deviation parameter values differ from each other by more than a defined uniformity threshold, to determine that the type of calibration error is a calibration error representative of a change in the robot.
15. The computing system of claim 1,
- wherein the control circuit is configured to output movement commands for controlling movement of the robot arm to perform a robot operation, wherein the movement command is generated based on calibration information,
- wherein when the plurality of robot arm portions are arranged as a series of arm portions from a base of the robot to a robot end effector, the control circuit is configured:
- to determine whether a deviation parameter value for a first verification symbol of the group of verification symbols exceeds the defined deviation threshold;
- to identify from among the plurality of arm portions a first arm portion on which the first verification symbol is disposed; and
- in response to a determination that the deviation parameter value for first verification symbol does not exceed the defined deviation threshold, to determine that the calibration information is accurate for the first arm portion and for at least one additional arm portion which precedes the first arm portion in the series of arm portions.
16. The computing system of claim 1, wherein when the computing system is in communication with a conveyor belt used for a robot operation, the control circuit is configured, in response to a determination that the at least one deviation parameter value exceeds the defined deviation threshold, to cause the conveyor belt to be stopped.
17. A non-transitory computer-readable medium having instructions stored thereon that, when executed by a control circuit of a computing system, causes the control circuit
- to determine a group of reference image coordinates based on a reference image received by the computing system, wherein the computing system is configured to communicate with: a robot having a robot arm that includes a plurality of arm portions that are movably attached to each other, and includes a group of verification symbols that are disposed on one or more of the respective arm portions of the plurality of arm portions,
- the group of reference image coordinates being respective coordinates at which the group of verification symbols appear in the reference image;
- to receive a verification image, which is an additional image for representing the group of verification symbols;
- to determine a group of verification image coordinates, the group of verification image coordinates being respective coordinates at which the group of verification symbols appear in the verification image;
- to determine a group of respective deviation parameter values that are based on respective amounts of deviation between the group of reference image coordinates and the group of verification image coordinates, wherein the group of respective deviation parameter values are associated with the group of verification symbols, and
- to determine whether at least one deviation parameter value of the group of respective deviation parameter values exceeds a defined deviation threshold.
18. The non-transitory computer-readable medium of claim 17, wherein the control circuit is configured:
- to output a movement command for controlling movement of the robot arm to perform a robot operation, wherein the movement command is generated based on calibration information; and
- to perform at least one of the following in response to a determination that at least one deviation parameter value of the group of respective deviation parameter values exceeds the defined deviation threshold: outputting a notification that at least one of the group of respective deviation parameter values exceeds the defined deviation threshold, or performing a calibration operation to determine updated calibration information.
19. A method of verifying reference images, the method comprising:
- communicating with a robot having a robot arm with a plurality of arm portions that are movably attached to each other via a communication interface, wherein a group of verification symbols are disposed on one or more of the respective arm portions of the plurality of arm portions;
- determining, by a control circuit, a group of reference image coordinates, the group of reference image coordinates being respective coordinates at which the group of verification symbols appear in a reference image;
- receiving, by the control circuit, a verification image, which is an additional image for representing the group of verification symbols;
- determining, by the control circuit, a group of verification image coordinates, the group of verification image coordinates being respective coordinates at which the group of verification symbols appear in the verification image;
- determining, by the control circuit, a group of respective derivation parameter values that are based on respective amounts of deviation between the group of reference image coordinates and the group of verification image coordinates, wherein the group of respective deviation parameter values are associated with the group of verification symbols; and
- determining, by the control circuit, whether at least one deviation parameter value of the group of respective deviation parameter values exceeds a defined deviation threshold.
20. The method of claim 19, wherein the control circuit is configured:
- to output a movement command for controlling movement of the robot arm to perform a robot operation, wherein the movement command is generated based on calibration information; and
- to perform at least one of the following in response to a determination that at least one deviation parameter value of the group of respective deviation parameter values exceeds the defined deviation threshold: outputting a notification that at least one of the group of respective deviation parameter values exceeds the defined deviation threshold, or performing a calibration operation to determine updated calibration information.
4639878 | January 27, 1987 | Day et al. |
4815006 | March 21, 1989 | Andersson et al. |
5297238 | March 22, 1994 | Wang |
5329469 | July 12, 1994 | Watanabe |
5960125 | September 28, 1999 | Michael et al. |
6681151 | January 20, 2004 | Weinzimmer et al. |
6766036 | July 20, 2004 | Pryor |
7015418 | March 21, 2006 | Cahill et al. |
7336814 | February 26, 2008 | Boca et al. |
9027231 | May 12, 2015 | Mimura et al. |
9916506 | March 13, 2018 | Davis |
10052766 | August 21, 2018 | Shirakyan et al. |
10095555 | October 9, 2018 | Koyanagi et al. |
10350755 | July 16, 2019 | Wagner et al. |
10369698 | August 6, 2019 | Islam et al. |
10628966 | April 21, 2020 | Islam et al. |
10786906 | September 29, 2020 | Yoshino et al. |
10940591 | March 9, 2021 | Tonogai |
11072074 | July 27, 2021 | Shivaram et al. |
11345040 | May 31, 2022 | Oleynik |
20030144765 | July 31, 2003 | Habibi et al. |
20050129273 | June 16, 2005 | Pryor |
20050131581 | June 16, 2005 | Sabe et al. |
20050166413 | August 4, 2005 | Crampton |
20080004750 | January 3, 2008 | Ban et al. |
20090190826 | July 30, 2009 | Tate |
20100232681 | September 16, 2010 | Fujieda |
20110280472 | November 17, 2011 | Wallack et al. |
20110282492 | November 17, 2011 | Krause et al. |
20120203490 | August 9, 2012 | Sayeh et al. |
20120253512 | October 4, 2012 | Sato et al. |
20120327214 | December 27, 2012 | McEntyre |
20130010081 | January 10, 2013 | Tenney |
20130086801 | April 11, 2013 | Mimura et al. |
20130345875 | December 26, 2013 | Brooks et al. |
20140240520 | August 28, 2014 | Liu et al. |
20140267681 | September 18, 2014 | Liu et al. |
20150025683 | January 22, 2015 | Amano |
20150290795 | October 15, 2015 | Oleynik |
20160075015 | March 17, 2016 | Izhikevich et al. |
20160184995 | June 30, 2016 | Uchiyama |
20160292882 | October 6, 2016 | Comport |
20170032529 | February 2, 2017 | De Villiers |
20170043477 | February 16, 2017 | Kitayama et al. |
20180089831 | March 29, 2018 | Liu et al. |
20180194008 | July 12, 2018 | Namiki et al. |
20180272535 | September 27, 2018 | Ogawa |
20180300900 | October 18, 2018 | Wakai |
20180300901 | October 18, 2018 | Wakai |
20180304466 | October 25, 2018 | Machino et al. |
20180309978 | October 25, 2018 | Nobori |
20180316905 | November 1, 2018 | Nobori |
20180339174 | November 29, 2018 | Kilby et al. |
20180339456 | November 29, 2018 | Czinger et al. |
20180350100 | December 6, 2018 | Hanson |
20180354130 | December 13, 2018 | Preisinger et al. |
20190028632 | January 24, 2019 | Nobori |
20190071261 | March 7, 2019 | Wertenberger et al. |
20190092179 | March 28, 2019 | Kwa et al. |
20190105781 | April 11, 2019 | Harada |
20190154850 | May 23, 2019 | Nishihara et al. |
20190156478 | May 23, 2019 | Berlinger et al. |
20190176335 | June 13, 2019 | Shivaram et al. |
20190182415 | June 13, 2019 | Sivan |
20190205641 | July 4, 2019 | Ernst |
20190239716 | August 8, 2019 | Choi et al. |
20190244375 | August 8, 2019 | Choi et al. |
20190291277 | September 26, 2019 | Oleynik |
20190327394 | October 24, 2019 | Ramirez Luna et al. |
20200027241 | January 23, 2020 | Tong et al. |
1598610 | March 2005 | CN |
103538061 | January 2014 | CN |
106000904 | October 2016 | CN |
106965180 | July 2017 | CN |
107851304 | March 2018 | CN |
108621125 | October 2018 | CN |
110103219 | August 2019 | CN |
110193832 | September 2019 | CN |
110253629 | September 2019 | CN |
11 2011 101 730 | March 2016 | DE |
10 2017 217 142 | March 2018 | DE |
10 2018 200 154 | July 2018 | DE |
2921267 | September 2015 | EP |
S63-163907 | July 1988 | JP |
H02-183102 | July 1990 | JP |
H04-60817 | September 1992 | JP |
05-11822 | January 1993 | JP |
05-301195 | November 1993 | JP |
2014-014912 | January 2014 | JP |
2014-149142 | August 2014 | JP |
2016-078195 | May 2016 | JP |
2018-001333 | January 2018 | JP |
2018-158391 | October 2018 | JP |
2019-000923 | January 2019 | JP |
2017033247 | March 2017 | WO |
2018163450 | September 2018 | WO |
- Notification of Reason for Refusal issued in Japanese Application No. 2019-126578, dated Nov. 19, 2019.
- Office Action dated Jan. 13, 2021, in Chinese Application No. 202010831931.1.
- Office Action dated Sep. 29, 2020, in U.S. Appl. No. 16/732,832.
- Office Action dated Sep. 9, 2020, in German Patent Appln No. 10 2020 106 973.1 (with English language translation).
- Office Action dated Aug. 10, 2020, in Chinese Patent Appln No. 202010044652.0 (with English language translation).
- Office Action dated Aug. 25, 2020, in Japanese Patent Appln No. 2020-120957 (with English language translation).
Type: Grant
Filed: Feb 3, 2023
Date of Patent: Jan 30, 2024
Patent Publication Number: 20230182309
Assignee: MUJIN, INC. (Tokyo)
Inventors: Russell Islam (Tokyo), Xutao Ye (Tokyo), Rosen Diankov (Tokyo)
Primary Examiner: Jaime Figueroa
Application Number: 18/164,295
International Classification: B25J 9/16 (20060101); G06T 7/80 (20170101);