This application is related to U.S. patent application Ser. No. 11/101,952 filed on Apr. 8, 2005, and U.S. patent application Ser. No. 11/102,283 filed on Apr. 8, 2005.
The present invention relates to a technique for increasing the robustness of a self-adaptive sensory-motor system. More particularly, the present invention relates to a technique for increasing the robustness of a self-calibration of the sensory-motor system in the presence of external movement.
The background of the present invention is the field of orienting/positioning devices having sensor means supplying orientation information, the input space of which can be changed by a real-world action controlled by actuating means of the orienting/positioning device. In an exemplary application of these devices, the sensor means is oriented/positioned such that a pattern recognized in the input space of the sensor means is transferred to a target position, such as, for example, the center (origin) of the input space coordinates of the sensor means. A typical example of application for the inventive system and method is the focusing operation of a camera of a robot, surveillance by an automatic camera or a pointing device, for example. A robot provided with a camera and an orienting system according to the present invention can thus focus on recognized objects and eventually move towards them in order to manipulate them.
It is a disadvantage of such orienting/positioning devices that they frequently require calibration to work properly. Such a calibration must be done after every change in system geometry (e.g. when the physical relation between a sensor and an actuator of the device is changed), after every modification (e.g. lens replacement, a motor modification) and if the device is used on a changing or uncontrolled environment.
In certain environments a manual calibration by a user is not possible or desired. Furthermore, in case of frequent changes in system geometry, of frequent modification of the sensors or motors or an uncontrolled environment, frequent calibration is very time consuming and laborious.
Therefore, self-calibrating orienting/positioning devices have been proposed. In particular, a self-calibrating sensor orienting system has been described in European patent application No. 04009123.3. There, a method for controlling an orienting/positioning system is proposed, comprising at least one sensor means and actuator means for controlling an orienting and/or positioning action of the sensor means, the method comprising the following steps:
However, this approach can fail, if there is external movement, for example a moving person, since any motion of a visible object in the viewing range might distort the adaptation process in that this additional movement might lead to a decalibration of the system or longer calibration process times.
This is a common problem in all scenarios with human intervention.
Therefore, it is an object of the present invention to provide a method of controlling an orienting system and a self-calibrating orienting system, which allows an auto-calibration of the system with accuracy in an environment as described above.
In accordance with one embodiment of the present invention a method for controlling an orienting/positioning system is proposed, the orienting system comprising at least one sensor means (S), an external motion detection device (M) and actuator means (A) for controlling an orienting and/or positioning action of the sensor means (S).
In one embodiment the method comprises the following steps:
Note that in step S4, the sensor means can be moved either directly or indirectly (e.g. by moving the support of the sensor means as it is the case when the sensor means are mounted on a vehicle or robot).
In step S7 a correction signal can be calculated based on any difference of the real post-action position and the targeted position of the pattern in the input space of the sensor means. The mapping function can be adapted taking into account the correction signal and the pre-action position of the pattern in the input space of the sensor means.
Alternatively in step S7 a correction signal can be calculated on the basis of the pre-action position, which has actually been moved to the targeted post-action position when carrying out the action. The mapping function can be adapted taking into account the correction signal and the pre-action position of the pattern in the input space of the sensor means.
Before adapting the mapping function, the adaptation vector can be multiplied with a factor larger than or equal to 0 and smaller than or equal to 1 in order to control the adaptation rate for the mapping function.
The mapping function can be implemented by means of a look-up table. The look-up table associates sensor coordinates with the corresponding actuator coordinates.
The adaptation of the mapping function can be carried out in the sensor coordinates or in the actuator coordinates.
This approach can for example be used for camera systems operating in an environment which requires interaction with human beings.
The system is simpler, more flexible and requires less maintenance than self-orienting/self-calibrating systems of the prior art. A change in the geometry of the system is possible without necessitating a new calibration of the actuator means and the sensor means, even in the presence of external movement.
The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.
Further objects, features and advantages of the present invention will become apparent when studying the following description of embodiments of the present invention, with reference to the accompanying drawings in which
a-1b show schematically alternative processes according to embodiments of the present invention.
a-2b illustrate different embodiments of the present invention for calculating the correction signal for an adaptive learning of the mapping function.
A preferred embodiment of the present invention is now described with reference to the figures where like reference numbers indicate identical or functionally similar elements. Also in the figures, the left most digit of each reference number corresponds to the figure in which the reference number is first used.
Reference in the specification to “one embodiment” or to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
Some portions of the detailed description that follows are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps (instructions) leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic or optical signals capable of being stored, transferred, combined, compared and otherwise manipulated. It is convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. Furthermore, it is also convenient at times, to refer to certain arrangements of steps requiring physical manipulations of physical quantities as modules or code devices, without loss of generality.
However, all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or “determining” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Certain aspects of the present invention include process steps and instructions described herein in the form of an algorithm. It should be noted that the process steps and instructions of the present invention could be embodied in software, firmware or hardware, and when embodied in software, could be downloaded to reside on and be operated from different platforms used by a variety of operating systems.
The present invention also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. Furthermore, the computers referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any references below to specific languages are provided for disclosure of enablement and best mode of the present invention.
In addition, the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the claims.
A process according to the present invention shall now be explained with reference to
For mapping the sensor coordinates of the decided action into actuator coordinates, according to the present invention an adaptively learned mapping is used. In a first cycle of the orientation a roughly estimated or arbitrarily set mapping function is used. In at least one further cycle an improved “learned” mapping function will be used.
This approach has the advantage that in case the sensor/actuator characteristics change (wear, change of the set-up, replacement, temperature fluctuations, . . . ), the correct sensor/actuator mapping will be automatically achieved via a few learning/adaptation cycles without human interference and without analytically (re-) defining the correlation between actuator and sensor coordinates.
In order to carry out the adaptive learning process, once a cycle is completed and an action is carried out, the success of the action, i.e. whether the pattern has actually been brought close to the target position, is evaluated and depending on any deviation a correction signal is generated and fed to the mapping unit in order to carry out an incremental learning step. This cycle can be repeated until a termination condition, if any is met. E.g. the cyclic repetition can be repeated until the deviation between the planned action and the real-world result is smaller than a preset threshold value or can be continued indefinitely.
Note that the correction signal is generated after the action, which was meant to bring upon the desired result in one strike, has been completed.
To summarize, according to this example the action to be taken is decided in the sensor coordinates; the decision making result is then mapped to the actuator (motor) coordinates.
b shows an alternative arrangement in which the sensor coordinates are first mapped to the actuator coordinates before carrying out the decision making process in the actuator coordinate system. This arrangement has the advantage that e.g. restrictions on the actuator coordinates (maximum ranges, speed, acceleration etc.) can be easier taken into account during the decision now taking place in the actuator coordinates.
Further on, according to the alternative arrangement according to
With reference to
αx being an optional parameter (being larger than or equal to 0 and smaller than or equal to 1) which controls the adaptation rate of the coordinate x.
Note that this extrapolation-type learning process can also be used for non-linear mappings.
Further on, the learning process as shown in
Finally, this learning process can also be used in case of a single as well as multiple stimulus-emitting sources in the input space of the sensor(s).
With reference to
with {right arrow over (S)}xt being a corrected targeted post-action position for the dimension x at the time t,
{right arrow over (S)}xt−1 being the (uncorrected) targeted post-action position for the dimension x at the time t−1,
{right arrow over (Ŝ)}xt−1 being the pre-action reference location for the dimension x at the time t−1 and
αx being a constant (being larger than or equal to 0 and smaller than or equal to 1) which controls the rate of adaptation for the dimension x.
Note that this learning process can also be used both for the learning strategies of
With reference to
Standard approaches exist for computing motion, including direction of motion (see e.g. http://en.wikipedia.org/wi ki/Motion_detection or http://www.canberra.com/literature/1070.asp “motion detection technologies”). As shown in
For each of the described outputs of the motion detection system, different strategies for controlling adaptation of the mapping function exist, different embodiments of which will be described in the following.
In a now described embodiment of the invention, it will be assumed that the motion detection system can only detect the existence of motion in the whole sensory range, for example a camera system notices that two consecutive images are not identical, e.g. by subtracting consecutive sensory measurements from another (case 1).
The adaptation of the sensory motor mapping based on comparing sensory inputs before and after the orienting movement will then be suppressed if any movement was detected between two points in time when the above mentioned two sensory input snap shots are taken. If ego-motion can't be compensated (in the motion sensing device), then at least adaptation is inhibited if motion has been detected between the previous two orienting movements. Beyond that, in the present embodiment, the detection of external motion may also lead to the inhibition/suppression of the other calibration steps, since their inputs are not necessary as adaptation is inhibited.
In a further embodiment of the invention, it will be assumed that the motion detection systems is be able to tell where motion has occurred, e.g. a camera system can indicate which pixels differ between consecutive images. If this capacity is present, learning has to be cancelled only if the movement was detected in an area F around the points of interest.
Regarding the embodiment of the learning strategy presented in connection with
Regarding the embodiment of the learning strategy presented in connection with
The size of the area F has to be chosen depending on the precision of the motion detection system.
Yet a further embodiment of the invention will be described here with reference to
a,
4
b and 4c illustrate how, in the present embodiment, the actual movement of the external object induced by the orienting movement of the sensory device can be deduced using the information from the external-motion detection unit M.
In
Then, in
Finally,
This information can then be included into the adaptation step as follows:
For the adaptation method described in connection with
Assuming that both sensors operate in the same coordinate system, the effective target position {right arrow over (S)}xt (=the one used for the adaptation) is the one from the orienting sensory system Sa (after the orienting movement) minus the accumulated external motion Se:
{right arrow over (S)}xt=Sa−Se (1)
Positions can e.g. correspond to pixels and the subtraction is on a vector basis.
For the adaptation method describe above in connection with
of the centred object that is corrected by the integrated external motion Se:
The calculation is on a vector basis and assumes common coordinate systems.
The system comprises sensory system S for gathering information of the real world in order to localise a pattern (e.g. of a recognized defined object) in the at least one-dimensional input space of the sensor means 1. Alternatively, the sensory system S may be a radar image sensor array, a chemical receptor sensor array or a stereo microphone for localising a sound emitted by the pattern or any other directional sensor.
Based on the sensory input from S, a target is chosen in the actuator control unit C and the corresponding commands for focussing on the target are issued by the actuator control unit C to the actuator unit A. The actuator means are e.g. adapted to tilt and pan the sensory system S. They can e.g. be linear motors.
The corresponding commands for the actuator unit A are obtained by mapping any deviation of the pre-action position and the targeted post-action position in the input space coordinates of the sensor means to actuator control coordinates using a predefined mapping function.
In consequence, the actuator unit A is adapted to change the input space of the sensor means 1 by moving the sensor means 1 itself. Note that any planned process adapted to change the input space of the sensory system S by a manipulation in the real world is called an “action” within the framework of the present specification. Correspondingly “pre-action” and “post-action”, respectively, designates states before and after such an action controlled by the actuator means has taken place.
Both the sensory system S and the actuator unit A are connected to an actuator control unit C.
In
When calculating the command for the actuator unit A, the actuator control unit C uses pre-action position information provided by said sensory system S, i.e. information on the position of the pattern in the input space of the sensory system S before the action has taken place, and a targeted post-action position information, i.e. an information representing a target position of the pattern 2 after the action has taken place. The target position can e.g. be the centre of the input space of the sensory system S. Alternatively, particularly in case the actuator means control e.g. the manipulator arm of a robot etc., the target position can be set as the position (still in the input space of the sensory system S) of an object to be manipulated by the robot.
The present embodiment further comprises an adaptation unit L which may also be a computer or may be implemented on the same computer as the actuator control unit C.
The adaptation unit L comprises a determining means (not shown) and a comparing means (also not shown).
The determining means of the adaptation unit L is adapted to determine whether a post-action position information output by the sensory system S, after an action of said actuator unit A and/or said robot 43 with said pattern and/or said manipulator 8 by moving said sensory system S or by moving said manipulator 8 is completed, coincides with the targeted post-action position as defined before by the actuator control unit C.
If the determining means of the adaptation unit L determine that the post-action object-sensor position information does not match the targeted object-sensor position information, the actuator control unit C is further adapted to correct the calculated command for the actuator and the robot 43, respectively by using the comparison result output by the comparing means of the adaptation unit L. The corrected command can then be used for a future action.
In order to implement the learning strategy of
{right arrow over (M)}xt+1 being the corrected command for the actuator unit A for the dimension x at the time t+1,
{right arrow over (M)}xt−1 being the uncorrected command for the actuator unit A for the dimension x at the time t−1, {right arrow over (S)}xt being the post-action object-sensor position information for the dimension x at the time t after said actuator unit A has been controlled according to the uncorrected command,
{right arrow over (S)}xt−1 being the targeted post-action object-sensor position information for the dimension x at the time t−1, and
αx being a constant which controls the rate of adaptation for the dimension x.
The usage of said difference allows a correction of the calculated command for the actuator unit A and/or the robot 43 in a very accurate way since the amount of accuracy presently achieved by the command previously used to control the actuator unit A and/or the robot 43 is explicitly considered.
In order to implement the learning strategy of
with {right arrow over (S)}xt being an adapted targeted post-action position for the dimension x at the time t,
{right arrow over (S)}xt−1 being the targeted post-action position for the dimension x at the time t−1,
being the pre-action reference pattern position for the dimension x at the time t−1 and αx being a constant (being larger than or equal to 0 and smaller than or equal to 1) which controls the rate of adaptation for the dimension x.
Since said reference location is chosen by using a reference-object which is located at the targeted post-action object-sensor position information it is guaranteed that the reference-object suits best for calibrating the respective action of the actuator unit A and/or the robot 43. Furthermore, even non-linearities in motor/sensor responses can be dealt with since this calibration is not performed by using a single pre-defined reference point but by using the reference-object located at the respective targeted post-action object-sensor position information.
The corrected commands, i.e. the adaptively learned mapping function, can be stored by the adaptation unit L in a storing means (not shown) in said command-map.
The commands stored in the command map are used by the actuator control to calculate any new commands for the actuator unit A and the robot 43, respectively.
The motion detector M is capable of detecting movement in the external world. This capacity can be based on sensory data from S or an additional sensory means.
If the sensor is a camera, motion can be detected by comparing consecutive images.
It is further assumed that ego-motion is not perceived by M (e.g. it is a separate sensory device or an algorithm to compensate ego-motion).
For auditory systems, the situation is a bit different. Only the motion of objects that are perceived and tracked by the main auditory system is important for the adaptation process. In a conservative strategy, though, motion measured by an additional camera system could be suited for a system where S is a microphone. Auditory motion is in general harder to detect, because auditory signals are intrinsically dynamic and position information is not explicitly contained in the signal.
For the case where M and S are identical, a different approach can be made, because ego-motion is hard to distinguish from external motion as this would require a calibrated system (as this requires to predict the effect of orienting movements on pattern position, which is exactly the mapping the system has to learn). For very quick orienting movements one can make the assumption that any motion that was recorded directly before and/or after the orienting move, will likely be present also during the orienting move. Therefore, it is proposed to measure motion only during periods where the orienting sensor is not moving. If ego-motion can be dealt with reliably, this approach is not necessary.
By automatically comparing a post-action output of the sensory system with a pre-action output of the sensory system and using said comparison result to correct the calculated command for the actuator unit A the inventive method allows an auto-calibration of the orienting system and an adaptation to changing and uncontrolled environments.
Therefore, the present invention provides a method of controlling an orienting system and a self-calibrating orienting system, which allows automatic calibration of the system without human intervention with high accuracy. Furthermore, the inventive method of controlling orienting system and the inventive self-calibrating orienting system is adapted to deal with non-linearities in motor/sensor responses and is suitable to be used in a changing and/or uncontrolled environment where maintenance is not possible or desired. Thus, a long-time operation of the inventive system and method without human interference is possible.
The inventive system is simpler, more flexible and requires less maintenance than self-orienting/self-calibrating systems of the prior art. A change in the geometry of the inventive system is possible without necessitating a new calibration of the actuator means and the sensor means.
A typical example of application for the inventive system and method is the focussing operation of a camera of a robot, surveillance by an automatic camera or a pointing device, for example. A robot provided with a camera provided and an orienting system according to the present invention can thus focus on recognized objects and eventually move towards them in order to manipulate them.
While particular embodiments and applications of the present invention have been illustrated and described herein, it is to be understood that the invention is not limited to the precise construction and components disclosed herein and that various modifications, changes, and variations may be made in the arrangement, operation, and details of the methods and apparatuses of the present invention without departing from the spirit and scope of the invention as it is defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
05017386 | Aug 2005 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
5294873 | Seraji | Mar 1994 | A |
6917855 | Gonzalez-Banos et al. | Jul 2005 | B2 |
7133570 | Schreier et al. | Nov 2006 | B1 |
20020099475 | Spangler et al. | Jul 2002 | A1 |
20050234566 | Joublin et al. | Oct 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20070038398 A1 | Feb 2007 | US |