Provided is a robot device including an image input unit for inputting an image of surroundings, a target object detection unit for detecting an object from the input image, an object position detection unit for detecting a position of the object, an environment information acquisition unit for acquiring surrounding environment information of the position of the object, an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information for the object, an object posture detection unit for detecting a current posture of the object from the input image, an object posture comparison unit for comparing the current posture of the object to the optimum posture of the object, and an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture and the optimum posture.
|
20. A device comprising:
circuitry configured to
detect an object in image data,
determine current posture data of the object from the image data,
acquire target posture data of the object based on surrounding environment information of the object, the target posture data also being with respect to a position of a part of the device, and
determine whether at least a predetermined difference exists between the current posture data of the object and the target posture data of the object by comparing the current posture data of the object with the target posture data of the object.
1. A system included in a mobile apparatus, comprising:
circuitry configured to
detect an object in image data,
determine current posture data of the object from the image data,
acquire target posture data of the object based on surrounding environment information of the object, the target posture data also being with respect to a position of a part of the mobile apparatus, and
determine whether at least a predetermined difference exists between the current posture data of the object and the target posture data of the object by comparing the current posture data of the object with the target posture data of the object.
19. A method for a device comprising:
detecting, with circuitry, an object in image data;
determining, with the circuitry, current posture data of the object from the image data;
acquiring, with the circuitry, target posture data of the object based on surrounding environment information of the object, the target posture data also being with respect to a position of a part of the device; and
determining, with the circuitry, whether at least a predetermined difference exists between the current posture data of the object and the target posture data of the object by comparing the current posture data of the object with the target posture data of the object.
2. The system according to
3. The system according to
4. The system according to
5. The system according to
6. The system according to
7. The system according to
8. The system according to
9. The system according to
10. The system according to
11. The system according to
12. The system according to
13. The system according to
14. The system according to
15. The system according to
16. The system according to
17. The system according to
|
This application is a continuation of U.S. application Ser. No. 14/242,319 filed Apr. 1, 2014, which is a continuation of Ser. No. 13/545,628 filed Jul. 10, 2012 and claims priority to Japanese Patent Application No. 2011-161550 filed in the Japan Patent Office on Jul. 25, 2011. The entire contents of which are incorporated herein by reference.
The present technology disclosed in this specification relates to a robot device, which works to autonomously arrange a comfortable environment for a user, a method of controlling the same, a computer program, and a robot system, and more particularly, to a robot device that autonomously arranges placing positions and postures of objects to be frequently used so that a user can use the objects without difficulty, a method of controlling the same, a computer program, and a robot system.
Recently, robot devices for performing various tasks have been implemented. However, it is difficult for many robot devices to operate an object serving as an operation target in an optimum posture according to content of its operation or a surrounding environment.
Objects to be frequently used are normally placed in personally determined positions so that persons with disabilities, persons with physical disabilities, or disabled elders can use the objects without difficulty. Because placing positions and postures of these objects are very important for these users, robot devices capable of autonomously arranging comfortable environments for the users are desired.
In addition, when an object held by a robot is handed over to a user, the robot capable of handing over the object to the user in a posture in which the user can easily hold or use the object is desired.
For example, a cleanup robot for keeping daily goods and putting the daily goods into an empty space according to an instruction from a user or autonomously has been proposed (for example, see Japanese Patent Application Laid-Open No. 2007-152443). However, the cleanup robot does not consider an optimum position or posture of the object when putting the object into the empty space.
In addition, an information processing apparatus for generating an environment map on the basis of an image captured by a camera has been proposed (for example, see Japanese Patent Application Laid-Open No. 2008-304268). This information processing apparatus uses an ontology map to limit a search region of a target object to be recognized (for example, a user's face is likely to be above a sofa or in front of a television (TV)). This information processing apparatus can be applied to an agent (movable body) such as a robot provided with a camera. However, a posture of the target object is not considered.
In addition, a goods management system, which has a shape database of a target object, determines a posture at the time of the installation or the like after grasping/transporting the target object on the basis of information of the database, and enables a robot to move or transport the target object, has been proposed (for example, Japanese Patent No. 373854). However, the goods management system only grasps, transports, and installs the object. A process of autonomously arranging a comfortable environment for a user and exchanging the object with the user is not considered. In addition, a correct posture of the object in a complex environment is not considered.
It is desirable to provide an excellent robot device, a method of controlling the same, a computer program, and a robot system that can enable placing positions and postures of objects that are frequently used to be autonomously arranged so that a user can use the objects without difficulty.
Also, it is desirable to provide an excellent robot device, a method of controlling the same, a computer program, and a robot system that can enable an object held by a robot to be easily held by a user or handed over to the user in a posture in which the user can easily use the object.
According to a first embodiment of the present technology, there is provided a robot device including:
an environment map including surrounding environment information; an image input unit for inputting an image of surroundings;
a target object detection unit for detecting an object from the input image of the image input unit;
an object position detection unit for detecting a position of the object detected by the target object detection unit;
an environment information acquisition unit for acquiring surrounding environment information of the position of the object detected by the object position detection unit from the environment map;
an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information acquired by the environment information acquisition unit for the object detected by the target object detection unit;
an object posture database for retaining an optimum posture of each object for each environment;
an object posture detection unit for detecting a current posture of the object from the input image of the image input unit;
an object posture comparison unit for comparing the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database; and
an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture of the object and the optimum posture.
According to a second embodiment of the present technology based on the robot device of the first embodiment, the robot device further includes: a task execution unit for executing a task based on an instruction of a user. When the task execution unit is not executing the task, the detection of the current posture of the object by the object posture detection unit, the comparison with the optimum posture by the object posture comparison unit, and the correction of the posture of the object by the object posture correction unit are configured to be autonomously performed.
According to a third embodiment of the present technology based on the robot device of the first embodiment, the robot device further includes: a moving unit for moving a position of the robot device. The object posture detection unit is configured to detect the current posture of the object while the moving unit moves a current position of the robot device.
According to a fourth embodiment of the present technology based on the robot device of the first embodiment, the optimum posture acquisition unit is configured to acquire an optimum posture of each object by learning and retain the acquired optimum posture in the object posture database.
According to a fifth embodiment of the present technology based on the robot device of the fourth embodiment, the object posture database is configured to further retain the optimum posture of each object taught from a user.
According to a sixth embodiment of the present technology based on the robot device of the first embodiment, the robot device further includes: an environment map update unit for updating the environment map on a basis of the input image of the image input unit.
According to a seventh embodiment of the present technology based on the robot device of the first embodiment, the optimum posture acquisition unit is configured to acquire an optimum posture for placing the object when arranging a comfortable environment for a user and an optimum posture of the object when handing the object over to the user.
According to an eighth embodiment of the present technology based on the robot device of the first embodiment, the environment information acquisition unit is configured to acquire the surrounding environment information of the position of the object detected by the object position detection unit from the environment map including the surrounding environment information.
According to a ninth embodiment of the present technology based on the robot device of the first embodiment, the object posture comparison unit is configured to compare the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database retaining the optimum posture of each object for each environment.
According to a tenth embodiment of the present technology, there is provided a method of controlling a robot device, including:
inputting an image of surroundings;
detecting an object from the image input in the step of inputting;
detecting a position of the object detected in the step of detecting an object;
acquiring surrounding environment information of the position of the object detected in the step of detecting from an environment map including the surrounding environment information;
acquiring an optimum posture corresponding to the surrounding environment information acquired in the step of acquiring surrounding environment information for the object detected in the step of detecting an object;
retaining an optimum posture of each object for each environment in an object posture database;
detecting a current posture of the object from the image input in the step of inputting;
comparing the current posture of the object detected in the step of detecting a current posture to the optimum posture of the object retained in the object posture database; and
correcting the posture of the object when it is determined in the step of comparing that there is a predetermined difference or more between the current posture of the object and the optimum posture.
According to an eleventh embodiment of the present technology, there is provided a computer program, written in a computer-readable format, for controlling a robot device and causing a computer to function as:
an environment map including surrounding environment information;
an image input unit for inputting an image of surroundings;
a target object detection unit for detecting an object from the input image of the image input unit;
an object position detection unit for detecting a position of the object detected by the target object detection unit;
an environment information acquisition unit for acquiring surrounding environment information of the position of the object detected by the object position detection unit from the environment map;
an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information acquired by the environment information acquisition unit for the object detected by the target object detection unit;
an object posture database for retaining an optimum posture of each object for each environment;
an object posture detection unit for detecting a current posture of the object from the input image of the image input unit;
an object posture comparison unit for comparing the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database; and
an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture of the object and the optimum posture.
The computer program according to the eleventh embodiment of the present technology is defined as a computer program, written in a computer-readable format, for implementing a predetermined process on a computer. In other words, it is possible to exhibit a cooperative function on the computer and obtain the same functional effect as in the robot device according to the first embodiment of the present technology by installing the computer program according to the eleventh embodiment in the computer.
According to a twelfth embodiment of the present technology, there is provided a robot system including:
an environment map constructed on an external device and including surrounding environment information;
an object posture database, constructed on an external device, for retaining an optimum posture of each object for each environment; and
a robot device including an image input unit for inputting an image of surroundings, a target object detection unit for detecting an object from the input image of the image input unit, an object position detection unit for detecting a position of the object detected by the target object detection unit, an environment information acquisition unit for acquiring surrounding environment information of the position of the object detected by the object position detection unit from the environment map, an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information acquired by the environment information acquisition unit for the object detected by the target object detection unit, an object posture detection unit for detecting a current posture of the object from the input image of the image input unit, an object posture comparison unit for comparing the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database, and an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture of the object and the optimum posture.
The “system” used herein refers to an assembly obtained by logically assembling a plurality of devices (or functional modules realizing specific functions), regardless of whether or not devices or functional modules are in a single housing.
According to the embodiments of the present disclosure described above, it is possible to provide an excellent robot device, a method of controlling the same, a computer program, and a robot system that can enable placing positions and postures of objects that are frequently used to be autonomously arranged so that a user can use the objects without difficulty.
In addition, according to the embodiments of the present technology disclosed in this specification, it is possible to provide an excellent robot device, a method of controlling the same, a computer program, and a robot system that can enable an object held by a robot to be easily held by a user or handed over to the user in a posture in which the user can easily use the object.
Other objects, features and advantages of the present technology disclosed in this specification will become more apparent from the following further detailed description of embodiments of the present technology taken in conjunction with the accompanying drawings.
Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the appended drawings. Note that, in this specification and the appended drawings, structural elements that have substantially the same function and structure are denoted with the same reference numerals, and repeated explanation of these structural elements is omitted.
In
The illustrated robot device 100 is provided with two drive wheels 101R and 101L facing a base unit as moving means. The drive wheels 101R and 101L are driven by drive-wheel actuators 102R and 102L, each of which rotates about a pitch axis. In
The moving means is connected to an upper body via a hip joint. The hip joint is driven by a hip-joint pitch-axis actuator 103 that rotates about the pitch axis. The upper body is constituted by two limbs including left and right arm portions and a head portion connected via a neck joint. The left and right arm portions each have a total of seven degrees of freedom including three degrees of freedom of a shoulder joint, two degrees of freedom of an elbow joint, and two degrees of freedom of a wrist joint. The three degrees of freedom of the shoulder joint are driven by a shoulder-joint pitch-axis actuator 104R/L, a shoulder-joint roll-axis actuator 105R/L, and a shoulder-joint yaw-axis actuator 106R/L. The two degrees of freedom of the elbow joint are driven by an elbow-joint pitch-axis actuator 107R/L and an elbow-joint yaw-axis actuator 108R/L. The two degrees of freedom of the wrist joint are driven by a wrist-joint roll-axis actuator 109R/L and a wrist-joint pitch-axis actuator 110R/L. In addition, two degrees of freedom of the neck joint are driven by a neck-joint pitch-axis actuator 111 and a neck-joint yaw-axis actuator 112. In addition, one degree of freedom of a hand joint is driven by a hand-joint roll-axis actuator 113R/L.
Although the illustrated robot device 100 has moving means of two facing wheels, the present technology disclosed in this specification is not limited to the moving means of the two facing wheels. For example, the present technology disclosed in this specification can also be applied to the robot device 100 having leg type moving means.
Each axis actuator is attached to a speed reducer for obtaining sufficient generative force as well as an encoder for measuring a joint angle, a motor for generating torque, and a current control motor driver for driving the motor. In addition, a microcomputer, which controls driving of the actuator, is attached to the actuator (although not illustrated in
A dynamic arithmetic operation of the robot device 100 is executed on a host computer, and generates a control target value of a torque or joint angle of each joint actuator. The control target value is transmitted to the control microcomputer attached to the actuator, and used for control of the actuator to be executed on the control microcomputer. In addition, each joint actuator is controlled by a force control scheme or a position control scheme.
The I/O unit 320 includes a camera 321 corresponding to the eye of the robot device 100, a distance sensor 322, which detects a distance to a human or obstacle, a microphone 323 corresponding to the ear of the robot device 100, and the like as input units. In addition, the I/O unit 320 includes a speaker 324 corresponding to the mouth of the robot device 100 and the like as output units. Here, the distance sensor 322 is constituted by a space sensor, for example, such as a laser range finder or the like. The robot device 100 can receive a task instruction by an audio input of a user, for example, from the microphone 323. However, the robot device 100 may have another task-instruction input means (not illustrated) via a wired link, a wireless link, recording media, or the like.
The drive unit 330 is a functional module for implementing a degree of freedom in each joint of the robot device 100, and is constituted by a plurality of drive units provided for each roll, pitch, or yaw axis in each joint. Each drive unit is constituted by a combination of a motor 331, which performs a rotation operation about a predetermined axis, an encoder 332, which detects a rotation position of the motor 331, and a driver 333, which adaptively controls a rotation position or a rotation speed of the motor 331 on the basis of the output of the encoder 332.
The control unit 310 includes a recognition unit 311, a drive control unit 312, and an environment map 313.
The recognition unit 311 recognizes a surrounding environment on the basis of information obtained from the input unit such as the camera 321 or the distance sensor 322 within the I/O unit 320. For example, the recognition unit 311 pre-constructs or updates the environment map 313 on the basis of the input information.
The drive control unit 312 controls the output unit of the I/O unit 320 or the drive of the drive unit 330. For example, the drive control unit 312 controls the drive unit 330 to enable the robot device 100 to implement tasks. Here, the tasks to be implemented by the robot device 100 include household chores or care corresponding to an instruction, an operation corresponding to an environment, and the like. In addition, the operation corresponding to the environment can be an operation of enabling placing positions and postures of objects that are frequently used to be autonomously arranged so that a user can use the objects without difficulty, or an operation of enabling an object held by a robot to be easily held by the user or handed over to the user in a posture in which the user can easily use the object.
In
The environment map 313 is a database including shape, position, and posture data of objects such as a table, a sofa, a bookshelf, and a TV in a work area in which the robot device 100 operates such as a room in which the user is located.
As a difference between an object to be managed by the database in the environment map 313 and an object of which a position and a posture are autonomously arranged by the robot device 100, the former can be a large object incapable of being operated or moved by the arm of the robot device 100 or the like, and the latter can be a small object capable of being grasped and moved by the robot device 100. While the objects such as the table, the sofa, the bookshelf, and the TV are managed in the environment map, a PET bottle, a remote controller, and the like are target objects of which positions and postures are autonomously arranged by the robot device 100 or which are handed over to the user.
A self-position detection unit 401 detects or estimates a self-position of the robot device 100 based on a measurement result of the camera 321 or the distance sensor 322. In addition, an environment map update unit 403 constructs and updates the environment map 313.
A target object detection unit 402 detects a target object from an image captured by the camera 321. The target object detection unit 402 can detect the target object, for example, by image processing of a feature quantity such as a contour, an edge, a corner, a luminance change, or a color, a three-dimensional (3D) shape of the object, or an artificial geometric pattern such as a barcode attached to the object. Alternatively, the target object may be detected by reading information such as an identifier (ID) from a wireless tag attached to the target object.
The robot device 100 autonomously learns an optimum posture of the detected target object. During the learning, an object position detection unit 404 calculates a 3D position of the target object from the self-position estimated by the self-position detection unit 401 and the position of the target object detected by the target object detection unit 402 from the image captured by the camera 321.
In addition, an environment information acquisition unit 406 acquires surrounding environment information of the position of the detected object from the environment map updated by the environment map update unit 403. The surrounding environment information of the target object can be acquired from the 3D position and the environment map of the target object. For example, the information may indicate a state in which “the PET bottle should be on the table” and “the remote controller should currently be on the sofa and the TV should be opposite to the remote controller.”
When acquiring a correct (or optimum) posture, corresponding to the surrounding environment information, for placing a target object at the time of arranging a comfortable environment for the user or a correct (or optimum) posture, corresponding to the surrounding environment information, of the target object at the time of handing the target object over to the user as dictionary data, an optimum posture acquisition unit 407 registers the acquired posture in an object posture database 409. For example, it is possible to acquire the posture of the target object a plurality of times and determine a correct posture on the basis of vote results of the postures (as will be described later).
Table 1 shows an example of dictionary data of the correct posture for placing the target object at the time of arranging the comfortable environment for the user. In addition, Table 2 shows an example of dictionary data of the correct posture in which the target object is handed over to the user.
TABLE 1
Target object
Environment information
Correct posture
PET bottle
On table or floor
State in which cap is put
on top
Mug
On table or floor
Stand-up state
Remote controller
On table, sofa, or floor
Buttons facing upward
Near TV
Transmitter toward TV
Slippers
On floor
Tops of slippers facing
upward
Near bed
Ankle side closer than bed
TABLE 2
Target object
Environment information
Correct posture
PET bottle
Cap put on top
Mug
Handle portion toward
user
Scissors
Handle portion toward
user
Cane
Handle portion toward
user
Pen
Side opposite to pen tip
toward user
However, in Table 1, designations of surrounding environments can be combined. For example, the slippers are on the floor and near the bed.
The robot device 100 learns the optimum posture of each target object and registers the optimum posture in the object posture database 409 as the dictionary data. Alternatively, the user may cause the dictionary data of the robot device 100 to be remembered or teach the robot device 100 via a user interface (UI).
When normally walking around, the robot device 100 observes and learns a usual posture in which an object is placed. For example, the fact that the bottle cap is normally put on the top is learned by observing the PET bottle. As shown in the above-described Table 1, a usual posture may be learned for each environment in which the target object is placed. For example, “the PET bottle on the table seems to normally stand upright” and “the PET bottle on the floor seems to normally lie down (because the bottle is empty).”
In addition, the robot device 100 arranges a comfortable environment for the user on the basis of the learned result. For example, even when the user places an object in an unusual posture, the robot device 100 appropriately corrects its posture.
The object posture detection unit 405 detects a current 3D posture of a target object detected by the target object detection unit 402 from an image captured by the camera 321.
The optimum posture acquisition unit 407 estimates a correct posture of the target object by retrieving the object posture database 409 on the basis of the target object detected by the target object detection unit 402 from the image captured by the camera 321 and a latest environment map acquired by the environment information acquisition unit 406. In addition, the optimum posture acquisition unit 407 checks the object posture database 409 using information (a feature quantity, a wireless tag, or the like) used when the target object is detected from the environment, and obtains an optimum posture of the target object.
An object posture comparison unit 408 compares the 3D posture detected by the object posture detection unit 405 to the optimum posture estimated on the basis of the dictionary data registered in the object posture database 409. If there is a difference between the two postures, the object posture determination unit 410 determines a control amount for operating or correcting a position/posture of the target object so that the target object is in a correct posture.
As described above, the robot device 100 operates or corrects the target object to the correct posture on the basis of the dictionary data registered in the object posture database 409. Before the position posture of the target object is operated or corrected, a query may be sent to the user. In addition, when the position posture of the target object operated or corrected by the robot device 100 is wrong, the user may perform teaching. The user can teach the robot the correct posture of the object by showing the correct posture. For example, the user indicates “Place like this” by audio while showing the PET bottle in the standing-up posture. Alternatively, the user can teach the correct posture of the object by audio. For example, an indication indicating that “the PET bottle stands upright” is made.
In the robot device 100 according to this embodiment, the optimum posture acquisition unit 407 can generate the object posture database 409 online. In the construction of the object posture database 409, a process of acquiring the position and posture of the target object detected by the target object detection unit 402 is indispensible.
A shape of the object can be acquired as prior knowledge such as computer aided design (CAD) data or by polygonization after 3D measurement is performed by a stereo camera. When the shape of the object is acquired as the dictionary data, an object-specific coordinate system is set for the polygonized shape. For example, in terms of a cylindrical object (or approximately cylindrical object) as illustrated in
In addition, when the cylindrical object (or approximately cylindrical object) as illustrated in
Except for the moment when a task is performed according to an instruction from the user, the robot device 100 according to this embodiment acquires a posture of each target object by autonomously observing a surrounding environment on the basis of an image captured by the camera 321. The posture of the target object is continuously acquired. For each target object, a usual posture is calculated by a technique such as voting.
Specifically, a 3D array representing a parameter space (α, β, γ) is provided as a voting space, and also parameters are appropriately discretized and handled. Because these parameters are angles, that is, continuous amounts, the parameter is represented by a median value of its step width within its step width, for example, as 0 to 5 degrees, 5 to 10 degrees, 10 to 15 degrees, . . . , every 5 degrees. Because 360÷5=72, if 360 degrees are divided by 5 degrees, the above-described parameter space (μ, β, γ) becomes a 3D array of 72×72×72. Every time the posture (α, β, γ) of the object is observed, a value of a corresponding element of the array is incremented by 1. If the total number of observations of the object (the total number of votes) reaches the prescribed number of times arbitrarily set, the optimum posture acquisition unit 407 finds parameters α, β, and γ in which the number of acquired votes becomes a maximum value, and sets the found parameters α, β, and γ to an optimum posture of the object.
Although a configuration example in which voting is directly conducted for the number of observations by incrementing an element corresponding to the 3D array by 1 for one observation has been described above, a configuration may be made to conduct voting by weighting. For example, a configuration example in which voting is conducted after weighting to one observation by estimating/considering a period of time in which the object is in the posture may be included.
In addition, when a surrounding environment is different even for the same object, learning as described above is performed for each environment. For example, when the same PET bottle is on the table or floor as shown in the above-described Table 1, an optimum posture is obtained for each placing position. Surrounding environment information of the object (indicating that the object is placed on the table or the like) is obtained on the basis of a current position of the object estimated by the object position detection unit 404 and the (updated) environment map.
As described above, the optimum posture acquisition unit 407 registers a correct posture in which the target object is placed when the comfortable environment for the user is autonomously arranged or a correct posture of the target object when the target object is handed over to the user in the object posture database 409. A configuration example of the object posture database 409 is illustrated in
The database 901 storing the object data has IDs for identifying various objects and a pointer for an object-related posture database. The database 902 storing the posture data for each object has information regarding a surrounding environment in which the object is placed and a pointer for the posture database in the object and the environment. The database 902 storing the posture data for each object may be configured to have object-specific information such as a shape, mass, and material as well as a posture, although this is not illustrated because it is not directly related to the technology disclosed in this specification, for generating the database online. The database 903 storing the posture data for each object environment has a posture learned flag indicating whether or not an optimum posture can be calculated by sufficiently observing the object in the environment, and a posture (α, β, γ) if learning is completed. In addition, middle results in a learning process, that is, a 3D array of a parameter space (α, β, γ) storing each number of votes and the total number of observations of the object, are also included in the database 903, and a configuration is made so that data can be referred to during learning. However, a configuration may be made so that these middle results are not referred to by arranging the middle results outside the database 903.
Of course, the above-described three databases 901 to 903 may be manually created. For example, for an object of which a posture is known in advance, the “posture learned flag” of the database 903 for each object environment may be set to “learned” and its posture data may be set to the “optimum posture.”
Next, a process of generating the object posture database 409 online will be described.
In
The target object detection unit 402 recognizes various surrounding objects on the basis of an image captured by the camera 321 (step S1001).
In addition, simultaneously, a shape and posture recognized by the object posture detection unit 405 are calculated by 3D measurement by the stereo camera (step S1002), and a position of the object recognized by the object position detection unit 404 is calculated (step S1003).
Then, the optimum posture acquisition unit 407 acquires surrounding environment information of the object (for example, on the table or the like) according to the calculated 3D position of the object and the environment map acquired by the environment information acquisition unit 406 (step S1004).
The optimum posture acquisition unit 407 generates and further updates the object posture database 409 based on an object identification ID, the posture of the object, and the environment information obtained as described above (step S1005).
In
The optimum posture acquisition unit 407 first checks whether or not the ID of the recognized object is already registered in the database 901 retaining the object data (step S1101).
Here, when the ID of the recognized object is not registered in the database 901 (No in step S1101), the optimum posture acquisition unit 407 registers the ID of the object in the database 901, and also creates posture data corresponding to the object ID in the database 902 (step S1104).
When the ID of the recognized object is already registered in the database 901 and after the posture data corresponding to the object ID is created in the database 902, the optimum posture acquisition unit 407 checks whether or not surrounding environment information of the object is already registered in the database 902 retaining posture data of each object (step S1102).
Here, when the surrounding environment information of the object is not registered in the database 902 (No in step S1102), the optimum posture acquisition unit 407 registers the surrounding environment information of the object in the posture database 902 for each object and registers posture data corresponding to its environment in the database 903 (step S1105).
When the surrounding environment information of the object is already registered in the database 902 and after the posture data corresponding to the environment is registered in the database 903, the optimum posture acquisition unit 407 checks whether or not an optimum posture of the object is learned (step S1103).
Here, when the optimum posture of the object is not learned, the optimum posture acquisition unit 407 votes for a posture (α, β, γ) of the object calculated by the object posture detection unit 405 (step S1106). When the total number of observations of the posture of the object does not reach the prescribed number of times (No in step S1107), this processing routine ends. In addition, when the total number of observations of the posture of the object reaches the prescribed number of times (Yes in step S1107), the optimum posture acquisition unit 407 determines a posture (α, β, γ) corresponding to a maximum value of a voting result in the database 903 as the optimum posture of the object, and sets the learned flag (step S1108), so that this processing routine ends.
When the optimum posture of the object is learned (Yes in step S1103), the object posture comparison unit 408 compares a current posture of the object to the learned optimum posture of the object and checks whether or not there is a difference between the two postures (step S1109).
If there is no difference between the current posture of the object and the learned optimum posture of the object (No in step S1109), this processing routine ends. On the other hand, when there is a difference between the current posture of the object and the learned optimum posture of the object (Yes in step S1109), the object posture determination unit 410 starts up a process of correcting the posture of the object. Details of the process of correcting the posture of the object will be described later.
Although an example in which the optimum posture is determined at a point in time when the total number of observations, that is, the total number of votes, is greater than or equal to the prescribed number of times in the processing procedure illustrated in
It is possible to handle a plurality of “optimum postures” using a posture frequency distribution obtained by voting. For example, when a current posture of the object is obtained under a search mode (as will be described later), it is preferable that the posture be changed to a posture of which a frequency is higher than those of others in vicinity of the posture in the object posture correction mode.
In addition, it is possible to use the posture frequency distribution even when the number of votes is small. However, when the number of votes is small, it is rare to change an actual posture because a specific posture is not likely to be determined to be rare as compared to others. Still, it is not necessary to determine the “prescribed number of votes” (instead, it is necessary to define a frequency in which the posture is determined to be “rare”). This method has another advantage in that it is not necessary to appropriately define the “prescribed number of votes,” which is a parameter for determining whether or not to make a posture change. Even in an initial state in which only the small number of votes is obtained, it is possible to determine how “rare” the posture is relatively as compared to a neighborhood of a certain posture pixel.
Further, a process of dynamically changing a box size of the voting space according to a vote distribution may be implemented. It is possible to use various methods of determining a histogram width in histogram density estimation to determine the box size. In addition, kernel density estimation can be performed directly using sample points instead of the histogram density estimation. If a probability density function p(posture|object, position) of a target object can be appropriately estimated using sample data, it is possible to appropriately correct a posture of the object by changing the posture of the object to a posture x_opt in which the probability density function p(posture|object, position) becomes maximum at the periphery when a probability density around certain posture data x is less than or equal to a threshold value.
Here, a process of generating and updating the object posture database 409 illustrated in
First, the optimum posture acquisition unit 407 checks whether or not the PET bottle is registered in the database 901 retaining the object data (step S1101). If the PET bottle is not registered in the database 901 (No in step S1101), its ID “PET Bottle 001” is registered in the database 901, posture data <PetBottle001> of each object corresponding to the ID is created in the database 902, and simultaneously its pointer is registered in the database 901 (step S1105). At this time, a surrounding environment of the posture data <PetBottle001> of each object of the database 902 and the posture data are in an empty state.
Then, the optimum posture acquisition unit 407 checks whether or not environment information indicating “On Table” as the case in which the PET bottle is placed on the table is registered in the posture data <PetBottle001> of the database 902 (step S1102). In addition, if the environment information is not registered (No in step S1102), the optimum posture acquisition unit 407 registers “On Table” as ‘Environment Information’ in the database 902, creates posture data <PetBottle001_OnTable> of each object environment corresponding thereto in the database 903, and simultaneously registers its pointer in the database 902 (step S1105). At this time, ‘Posture Learned Flag’ of posture data <PetBottle001_OnTable> of each object environment registered in the database 903 is “In Learning.”
Then, the optimum posture acquisition unit 407 checks whether or not learning is already completed in relation to the posture of the PET bottle on the table by referring to ‘Posture Learned Flag’ of <PetBottle001_OnTable> of the database 903 (step S1103). If the learning is not completed (No in step S1103), the optimum posture acquisition unit 407 votes for the posture of the object calculated by the object posture detection unit 405 in a 3D array of a parameter space (α, β, γ) (step S1106). If the total number of observations (the total number of votes) has reached the prescribed number of times in relation to the object (Yes in step S1107), the optimum posture acquisition unit 407 finds parameters α, β, and γ in which the acquired number of votes becomes maximum, sets the found parameters α, β, and γ to ‘Optimum Posture’ of the object, and sets ‘Posture Learned Flag’ to “Learned” (step S1108). In addition, if the total number of observations has not reached the prescribed number of times (No in step S1107), ‘Number of Posture Observations’ is incremented by 1 and the above-described process is continued until the total number of observations reaches the prescribed number of times.
Although the learning is stopped after the optimum posture of the object is obtained once the learning ends in the above-described example, the optimum posture acquisition unit 407 may be configured to update ‘Optimum Posture’ while continuing observation.
In addition, although the robot device 100 iteratively observes an object and generates posture data of each object environment without <PetBottle001_OnTable> in the database 903 in the above-described example, any data related to <PetBottle001_OnTable> may be manually created as prior information and the posture data may be updated by observation/learning.
In
In
Under the “task execution” mode, the robot device 100 executes a task of an instruction from the user. In addition to an explicit instruction through an audio input or the like, an instruction of the task from the user includes a task to be periodically executed by a timer scheduled in advance (a cleaning task when a certain prescribed time is reached) and a task to be executed according to generation of a predetermined event (a high-priority task according to sudden interruption such as an operation of viewing and picking up a ball rolling down from the table).
When there is no instruction of execution of a task from the user, the robot device 100 moves to the “search” mode. In addition, if there is the instruction of execution of the task from the user under the “search” mode, the robot device 100 returns to the “task execution” mode by stopping the search.
Under the “search” mode, the robot device 100 performs a process of autonomously observing a room while moving around in the room and generating/updating the object posture database 409 according to processing procedures illustrated in
Under the “search” mode, the robot device 100 updates the object posture database 409 and simultaneously compares the current posture of the object to the optimum posture registered in the object posture database 409 (step S1109 of
|α−α′|<Δαth,|β−β′|<Δβth, and |γ−γ′|<Δγth (1)
On the other hand, if Expression (1) is not satisfied, the process proceeds to the branch Yes of step S1109, so that the robot device 100 moves to the “object posture correction” mode.
In
First, the object posture determination unit 410 calculates a trajectory of an arm/hand for grasping the object from a current posture (α′, β′, γ′) of the object (step S1401).
Then, the object posture determination unit 410 grasps the object by controlling the arm/hand along the calculated trajectory through the drive control unit 312 (step S1402).
Then, the object posture determination unit 410 calculates the trajectory of the arm/hand for operating the object so that the grasped object becomes the optimum posture (α, β, γ) acquired from the object posture database 409 (step S1403).
The object posture determination unit 410 places the object of which the posture becomes the optimum posture (α, β, γ) by controlling the arm/hand along the calculated trajectory through the drive control unit 312 (step S1404).
A process in which the robot device 100 generates/updates the object posture database 409 by moving to the “search” mode when there is no instruction of execution of the task from the user has been described above. However, as a modified example, in a range in which the task in execution is not affected even when the task is in execution, line-of-sight control of the camera 321 for observing the environment is performed, and the object posture database 409 can be configured to be generated/updated.
The robot device 100 normally observes a surrounding target object while autonomously moving around. In the examples illustrated in
The robot device 100 detects a target object of a remote controller (for the TV) placed on the table, and observes the remote controller every time the robot device 100 autonomously moves around. A correct posture of the detected target object is collated with dictionary data registered in the object posture database 409. Here, when an actually observed posture of the target object is different from a collation result of the object posture database 409, the robot device 100 operates the target object or corrects the posture.
Referring to the above-described Table 1, as the collation result of the object posture database 409, a state in which buttons face upward when the remote controller is on the table, sofa, or floor and a transmitter is directed to the TV when the remote controller is close to the TV can be acquired as the correct posture of the remote controller. Referring to
When a correction result of the posture of the target object by the robot device 100 is wrong, the user may correct the posture or teach the robot device 100.
In addition, if an instruction to operate the target object is received from the user, the robot device 100 places the target object in the correct (stable) posture. In this case, the correct posture when the target object is placed is collated with the dictionary data within the object posture database 409. The target object is operated and placed in the posture.
For example, if an instruction to place the remote controller on the table close to the TV is received from the user, the robot device 100 places the remote controller on the table by operating the remote controller so that the buttons face upward and the transmitter is directed to the TV as in the examples illustrated in
When an operation result of the target object by the robot device 100 according to the instruction from the user is wrong, the user may correct the posture or teach the robot device 100.
In
If an instruction to bring the target object is received from the user, the robot device 100 collates the correct posture when the target object is handed over with the dictionary data within the object posture database 409. The robot device 100 hands over the target object to the user after operating the target object for the correct posture described in the dictionary data.
In
When an operation result of the target object by the robot device 100 according to the instruction from the user is wrong, the user may correct the posture or teach the robot device 100.
As seen from
In addition, as seen from
As described above, the robot device 100 learns a posture in which a certain object is frequently placed as an optimum posture for the object. Because the robot device 100 autonomously learns an optimum posture in terms of a surrounding object normally placed for use by the user, the robot device 100 can autonomously arrange a comfortable environment for the user by appropriately correcting the posture of the object even when the user places the object in an unusual posture. These object posture correction functions are particularly effective for users such as persons with disabilities, persons with physical disabilities, or disabled elders who normally place objects to be frequently used in personally determined positions so that the objects can be used without difficulty as well as users capable of accurately arranging goods.
Additionally, the technology disclosed in this specification may also be configured as below.
(1) A robot device including:
an environment map including surrounding environment information; an image input unit for inputting an image of surroundings;
a target object detection unit for detecting an object from the input image of the image input unit;
an object position detection unit for detecting a position of the object detected by the target object detection unit;
an environment information acquisition unit for acquiring surrounding environment information of the position of the object detected by the object position detection unit from the environment map;
an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information acquired by the environment information acquisition unit for the object detected by the target object detection unit;
an object posture database for retaining an optimum posture of each object for each environment;
an object posture detection unit for detecting a current posture of the object from the input image of the image input unit;
an object posture comparison unit for comparing the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database; and
an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture of the object and the optimum posture.
(2) The robot device according to (1), further including:
a task execution unit for executing a task based on an instruction of a user,
wherein, when the task execution unit is not executing the task, the detection of the current posture of the object by the object posture detection unit, the comparison with the optimum posture by the object posture comparison unit, and the correction of the posture of the object by the object posture correction unit are autonomously performed.
(3) The robot device according to (1) or (2), further including:
a moving unit for moving a position of the robot device,
wherein the object posture detection unit detects the current posture of the object while the moving unit moves a current position of the robot device.
(4) The robot device according to any of (1) to (3), wherein the optimum posture acquisition unit acquires an optimum posture of each object by learning and retains the acquired optimum posture in an object posture database.
(5) The robot device according to (4), wherein the object posture database further retains the optimum posture of each object taught from a user.
(6) The robot device according to any of (1) to (5), further including:
an environment map update unit for updating an environment map on a basis of the input image of the image input unit.
(7) The robot device according to any of (1) to (6), wherein the optimum posture acquisition unit acquires an optimum posture for placing the object when arranging a comfortable environment for a user and an optimum posture of the object when handing the object over to the user.
(8) The robot device according to any of (1) to (7), wherein the environment information acquisition unit acquires the surrounding environment information of the position of the object detected by the object position detection unit from an environment map including the surrounding environment information.
(9) The robot device according to any of (1) to (8), wherein the object posture comparison unit compares the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in an object posture database retaining an optimum posture of each object for each environment.
(10) A method of controlling a robot device, including:
inputting an image of surroundings;
detecting an object from the image input in the step of inputting;
detecting a position of the object detected in the step of detecting an object;
acquiring surrounding environment information of the position of the object detected in the step of detecting from an environment map including the surrounding environment information;
acquiring an optimum posture corresponding to the surrounding environment information acquired in the step of acquiring surrounding environment information for the object detected in the step of detecting an object;
retaining an optimum posture of each object for each environment in an object posture database;
detecting a current posture of the object from the image input in the step of inputting;
comparing the current posture of the object detected in the step of detecting a current posture to the optimum posture of the object retained in the object posture database; and
correcting the posture of the object when it is determined in the step of comparing that there is a predetermined difference or more between the current posture of the object and the optimum posture.
(11) A computer program, written in a computer-readable format, for controlling a robot device and causing a computer to function as:
an environment map including surrounding environment information;
an image input unit for inputting an image of surroundings;
a target object detection unit for detecting an object from the input image of the image input unit;
an object position detection unit for detecting a position of the object detected by the target object detection unit;
an environment information acquisition unit for acquiring surrounding environment information of the position of the object detected by the object position detection unit from the environment map;
an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information acquired by the environment information acquisition unit for the object detected by the target object detection unit;
an object posture database for retaining an optimum posture of each object for each environment;
an object posture detection unit for detecting a current posture of the object from the input image of the image input unit;
an object posture comparison unit for comparing the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database; and
an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture of the object and the optimum posture.
(12) A robot system including:
an environment map constructed on an external device and including surrounding environment information;
an object posture database, constructed on an external device, for retaining an optimum posture of each object for each environment; and
a robot device including an image input unit for inputting an image of surroundings, a target object detection unit for detecting an object from the input image of the image input unit, an object position detection unit for detecting a position of the object detected by the target object detection unit, an environment information acquisition unit for acquiring surrounding environment information of the position of the object detected by the object position detection unit from the environment map, an optimum posture acquisition unit for acquiring an optimum posture corresponding to the surrounding environment information acquired by the environment information acquisition unit for the object detected by the target object detection unit, an object posture detection unit for detecting a current posture of the object from the input image of the image input unit, an object posture comparison unit for comparing the current posture of the object detected by the object posture detection unit to the optimum posture of the object retained in the object posture database, and an object posture correction unit for correcting the posture of the object when the object posture comparison unit determines that there is a predetermined difference or more between the current posture of the object and the optimum posture.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
Although the embodiments applied to the human type robot device with two legs have been mainly described in this specification, the subject matter of the technology disclosed in this specification is not limited thereto. The present technology can also be equally applied to a robot device with other moving means or with no moving means.
In addition, the embodiments related to the household robot have mainly been described. Of course, the present technology can also be equally applied to robot devices for various purposes including industrial robots.
Namely, the present disclosure is merely an example, and should by no means be interpreted as limited to the content disclosed in this specification. The subject matter of the present disclosure is to be discerned while taking the claims into consideration.
The present disclosure contains subject matter related to that disclosed in Japanese Priority Patent Application JP 2011-161550 filed in the Japan Patent Office on Jul. 25, 2011, the entire content of which is hereby incorporated by reference.
Shimizu, Satoru, Kawamoto, Kenta, Iwai, Yoshiaki
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
6269692, | Feb 01 1999 | DXL USA Inc. | Mass flow measuring assembly having low pressure drop and fast response time |
6470301, | Oct 08 1999 | Dassault Systemes | Optimization tool for assembly workcell layout |
6526373, | Oct 08 1999 | Dassault Systemes | Optimization tool for robot placement |
7206668, | Jun 02 2003 | Matsushita Electric Industrial Co., Ltd. | Article handling system and method and article management system and method |
20040073360, | |||
20040167667, | |||
20050182518, | |||
20050234679, | |||
20060008136, | |||
20070192910, | |||
20070265741, | |||
20080009965, | |||
20080009968, | |||
20100222924, | |||
20110040427, | |||
20110054689, | |||
20110141485, | |||
20110208745, | |||
20120072052, | |||
20120095619, | |||
20120121161, | |||
20120290132, | |||
JP2007152443, | |||
JP2008304268, | |||
JP3738254, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 07 2016 | Sony Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Aug 22 2021 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Date | Maintenance Schedule |
Mar 06 2021 | 4 years fee payment window open |
Sep 06 2021 | 6 months grace period start (w surcharge) |
Mar 06 2022 | patent expiry (for year 4) |
Mar 06 2024 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 06 2025 | 8 years fee payment window open |
Sep 06 2025 | 6 months grace period start (w surcharge) |
Mar 06 2026 | patent expiry (for year 8) |
Mar 06 2028 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 06 2029 | 12 years fee payment window open |
Sep 06 2029 | 6 months grace period start (w surcharge) |
Mar 06 2030 | patent expiry (for year 12) |
Mar 06 2032 | 2 years to revive unintentionally abandoned end. (for year 12) |