Rotating state derivation device and robot system

The rotational state derivation device addresses the challenge of incomplete sphere detection by using threshold-based distance determination and past data estimation to ensure accurate sphere posture estimation for precise robotic maneuvers.

JP2024154495AActive Publication Date: 2024-10-31TOYOTA JIDOSHA KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023068315
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-31
Estimated Expiration
2043-04-19

AI Technical Summary

Technical Problem

Existing methods fail to accurately derive the rotational state of a sphere when it approaches a sensor, as the detectable area narrows and characteristic parts move out of the sensor's range, leading to incomplete data capture.

Method used

A rotational state derivation device that determines the sphere's rotational state by using a sensor fixed to a moving object, extracting characteristic parts if the distance is above a threshold, and estimating the posture based on past data if the distance falls below the threshold, employing methods like ICP for matching point cloud data.

Benefits of technology

Enables accurate derivation of the sphere's rotational state, allowing a robot system to perform precise actions such as dribbling and free throws by estimating the sphere's current posture using past data when direct sensor data is insufficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154495000001_ABST
    Figure 2024154495000001_ABST
Patent Text Reader

Abstract

To realize a rotating state derivation device capable of suitably derive the rotating state of a globe.SOLUTION: A rotating state derivation device (4) according to one embodiment of the present disclosure is a device for deriving a rotating state of a globe on the basis of image data of the globe detected by a sensor (3). When a distance between the sensor (3) fixed to a mobile body and the globe is greater than or equal to a preset first threshold. the rotating state derivation device extracts a feature part of the globe derives the rotating state of the globe on the basis of time-series displacement of the extracted feature part. Meanwhile, when the distance between the sensor (3) and the globe is less than the first threshold, the rotating state derivation device estimates an attitude of the glove at a current time point and derives the rotating state of the globe on the basis of data indicating the rotating state of the globe having been derived in the past.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a rotational state derivation device and a robot system. [Background technology]

[0002] Generally, when deriving the rotational state of a sphere, as disclosed in Patent Document 1, a mark on the sphere is extracted as a feature from each of multiple image data of the sphere detected by a sensor, and the rotational state of the sphere is derived based on the time-series displacement of the feature. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-4638 A Summary of the Invention [Problem to be solved by the invention]

[0004] The applicant has found the following problem: When a sphere approaches a sensor, the area of ​​the sphere that can be detected by the sensor becomes narrower, and for example, a characteristic part of the sphere falls outside the detection range of the sensor, making it difficult to properly derive the rotation state of the sphere.

[0005] The present disclosure has been made in consideration of such problems, and realizes a rotational state derivation device and a robot system that are capable of satisfactorily deriving the rotational state of a sphere. [Means for solving the problem]

[0006] A rotational state derivation device according to one aspect of the present disclosure is a rotational state derivation device that derives a rotational state of a sphere based on image data of the sphere detected by a sensor, the device comprising: When a distance between the sensor fixed to a moving object and the sphere is equal to or greater than a first threshold value set in advance, a characteristic portion of the sphere is extracted, and a rotation state of the sphere is derived based on a time series displacement of the extracted characteristic portion; If the distance between the sensor and the sphere is less than the first threshold, the orientation of the sphere at the current time is estimated based on data indicating the rotational state of the sphere derived in the past, and the rotational state of the sphere is derived. Effect of the Invention

[0007] According to the present disclosure, it is possible to realize a rotational state derivation device and a robot system capable of satisfactorily deriving the rotational state of a sphere. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing a configuration of a robot system according to a first embodiment. [Diagram 2] 2 is a diagram for explaining the detection range of a sensor in the robot system of the embodiment 1, etc. FIG. [Diagram 3] 4 is a flowchart showing a process flow of the rotational state derivation device in the robot system according to the first embodiment. FIG. [Figure 4] (a) is a diagram for explaining the detection range of the sensor when the fingertips of the robot's hand are touching a basketball, (b) is a diagram showing image data detected by the sensor when the fingertips of the robot's hand are touching a basketball, (c) is a diagram for explaining the detection range of the sensor when the robot's hand is holding a basketball, and (d) is a diagram showing image data detected by the sensor when the robot's hand is holding a basketball. [Diagram 5] 11 is a diagram for explaining the flow of a normal rotation state derivation process. FIG. [Figure 6] FIG. 11 is a flowchart showing a control flow when the robot dribbles a basketball. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, specific embodiments to which the present disclosure is applied will be described in detail with reference to the drawings. However, the present disclosure is not limited to the following embodiments. In addition, the following description and drawings are appropriately simplified.

[0010] <Embodiment 1> First, the configuration of the robot system of this embodiment will be described. Fig. 1 is a block diagram showing the configuration of the robot system of this embodiment. As shown in Fig. 1, the robot system 1 of this embodiment includes a robot 2, a sensor 3, a rotational state derivation device 4, and a database (DB) 5, and the robot 2, the sensor 3, the rotational state derivation device 4, and the DB 5 are connected via a network 6. Here, the network 6 is a wired or wireless communication line, for example, the Internet.

[0011] The robot 2 can be configured, for example, as a general humanoid robot. That is, although detailed illustration is omitted, the robot 2 has a head, a torso, arms, hands, and legs. Here, the arms and hands of the robot 2 configure a robot arm, and the hands of the robot 2 configure a hand portion of the robot arm.

[0012] The robot 2 is configured to be able to realize predetermined movements by controlling actuators 2a provided at the joints of the head, torso, arms, hands, and legs by a control unit 2b. For example, the robot 2 may be configured to be able to realize movements that imitate the movements of a basketball player (e.g., holding a basketball, dribbling, and making a free throw).

[0013] The sensor 3 can be, for example, a three-dimensional distance measuring sensor. Fig. 2 is a diagram for explaining the detection range (i.e., the angle of view) of the sensor in the robot system of this embodiment. Here, in Fig. 2, the detection range R of the sensor 3 is indicated by a dashed line.

[0014] The sensor 3 is fixed to the base of the hand 2d of the robot arm 2c, ie, the wrist of the hand of the robot 2, as shown in FIG. 2, for example, and has a detection range R on the palm side.

[0015] The rotational state derivation device 4, which will be described in detail later, derives the rotational state of the basketball 10 (e.g., the amount and direction of rotation of the basketball 10) based on image data of the basketball 10 detected by the sensor 3, as shown in Fig. 2 for example. The DB 5 stores image data and data indicating previously derived rotational states of the basketball 10.

[0016] Next, the flow of processing of the rotational state derivation device 4 in the robot system 1 of this embodiment will be described. Fig. 3 is a flow chart showing the flow of processing of the rotational state derivation device in the robot system of this embodiment. Here, in this embodiment, it is assumed that the rotational state of a basketball 10 is derived.

[0017] First, the rotational state derivation device 4 acquires image data of the basketball 10 detected by the sensor 3 (S1). Then, the rotational state derivation device 4 calculates the distance to the basketball 10 (i.e., the distance between the sensor 3 and the basketball 10) based on the image data, and acquires the amount of rotation of the basketball 10 included in the data indicating the rotational state of the basketball 10 previously derived from the DB 5.

[0018] Next, the rotation state derivation device 4 determines whether or not the distance to the basketball 10 is equal to or greater than a first threshold value and the amount of rotation of the basketball 10 is less than a second threshold value (S2). Here, Fig. 4(a) is a diagram for explaining the detection range of the sensor when the fingertips of the robot's hand are touching the basketball, Fig. 4(b) is a diagram showing image data detected by the sensor when the fingertips of the robot's hand are touching the basketball, Fig. 4(c) is a diagram for explaining the detection range of the sensor when the robot's hand is gripping the basketball, and Fig. 4(d) is a diagram showing image data detected by the sensor when the robot's hand is gripping the basketball.

[0019] 2, when the distance to the basketball 10 is equal to or greater than a first threshold, which means that substantially the entire area of ​​the basketball 10 is within the detection range R of the sensor 3, the sensor 3 can detect substantially the entire area of ​​the basketball 10. Therefore, the displacement of the pattern (i.e., the characteristic portion) of the basketball 10 can be detected satisfactorily.

[0020] On the other hand, as shown in Figures 4(a) and 4(c), when the distance to the basketball 10 is less than the first threshold, which means that substantially the entire area of ​​the basketball 10 is not present within the detection range R of the sensor 3, the sensor 3 cannot detect substantially the entire area of ​​the basketball 10, as shown in Figures 4(b) and 4(d). Therefore, the displacement of the pattern on the basketball 10 may not be detected satisfactorily.

[0021] Furthermore, for example, when a pattern such as that of a basketball 10 has a regularity such as symmetry, the displacement between the pattern of the basketball 10 shown in the image data detected by the sensor 3 last time and the pattern of the basketball 10 shown in the image data detected by the sensor 3 this time cannot be clearly recognized. If the amount of rotation of the basketball 10 is equal to or greater than the second threshold value, the displacement between the patterns may not be detected well.

[0022] Therefore, when the distance to the basketball 10 is equal to or greater than the first threshold value and the amount of rotation of the basketball 10 is less than the second threshold value (YES in S2), the rotational state derivation device 4 executes a normal rotational state derivation process (S3). Figure 5 is a diagram for explaining the flow of the normal rotational state derivation process.

[0023] In detail, first, the rotational state derivation device 4 acquires three-dimensional point cloud data based on image data as shown in Fig. 5(a) detected by the sensor 3. Then, the rotational state derivation device 4 acquires point cloud data indicating the spherical shape of the basketball 10 and the position (i.e., coordinates) of the basketball 10 within the environment as shown in Fig. 5(b) using a technique such as a RANSAC (Random Sample Consensus) algorithm from the three-dimensional point cloud data.

[0024] Next, the rotational state derivation device 4 obtains a two-dimensional image as shown in Fig. 5(c) based on the image data detected by the sensor 3. Then, the rotational state derivation device 4 performs feature extraction from the two-dimensional image using a method such as SIFT (Scale-Invariant Feature Transform) or FAST (Features from Accelerated Segment Test), and obtains a pattern of the basketball 10 as shown in Fig. 5(d).

[0025] Next, the rotational state derivation device 4 extracts point cloud data of the portion corresponding to the pattern of the basketball 10, and derives the rotational state of the basketball 10 based on the displacement of the point cloud data of the portion corresponding to the pattern of the basketball 10 acquired this time, as shown in Figure 5(f), relative to the point cloud data of the portion corresponding to the pattern of the basketball 10 acquired previously, as shown in Figure 5(e).

[0026] On the other hand, if the distance to the basketball 10 is greater than or equal to the first threshold and the amount of rotation of the basketball 10 is not less than the second threshold (NO in S2), that is, if the distance to the basketball 10 is less than the first threshold or the amount of rotation of the basketball 10 is greater than or equal to the second threshold, the rotational state derivation device 4 does not perform the normal rotational state derivation process, but estimates the posture of the basketball 10 at the current time based on data indicating the rotational state of the basketball 10 derived in the past, and derives the rotational state of the basketball 10 (S4).

[0027] In detail, for example, the rotational state derivation device 4 acquires data indicating the rotational states of the basketball 10 derived previously and before that from the DB 5, and based on this data, estimates the posture of the basketball 10 at the current time and generates point cloud data for that posture.

[0028] Then, the rotational state derivation device 4 extracts point cloud data (second point cloud data) of an area corresponding to point cloud data (first point cloud data) based on image data of the basketball 10 detected by the sensor 3, as shown in Figure 4(b) or Figure 4(d), from the point cloud data of the estimated posture of the basketball 10 at the current time, and derives the rotational state of the basketball 10 by matching the second point cloud data to the first point cloud data.

[0029] In this way, when the distance to the basketball 10 is less than the first threshold value or the amount of rotation of the basketball 10 is greater than or equal to the second threshold value, the posture of the basketball 10 at the current time is estimated based on data indicating the rotation state of the basketball 10 derived in the past, and the rotation state of the basketball 10 is derived.

[0030] That is, this time, the rotation state of the basketball 10 at the current time is derived without relying only on the image data of the basketball 10 detected by the sensor 3. Therefore, it is possible to satisfactorily derive the rotation state of the basketball 10. Here, the matching can use a method such as ICP (Iterative Closest Point).

[0031] Next, a control flow when the robot 2 dribbles the basketball 10 will be described based on the data indicating the rotation state of the basketball 10 derived as described above. Fig. 6 is a flowchart showing the control flow when the robot dribbles the basketball.

[0032] First, the control unit 2b of the robot 2 acquires data indicating the rotation state of the basketball 10 at the current time from the DB 5 (S11). Then, the control unit 2b of the robot 2 determines whether the amount of topspin of the basketball 10 included in the data indicating the rotation state of the basketball 10 at the current time is within a preset rotation range (S12).

[0033] If the amount of topspin of the basketball 10 is within the rotation range (YES in S12), the control unit 2b of the robot 2 controls each actuator 2a of the robot 2 to perform a normal dribble without adding topspin or backspin to the rotation of the basketball 10 (S13). In other words, the control unit 2b of the robot 2 performs basic control of each actuator 2a.

[0034] On the other hand, if the topspin amount of the basketball 10 is not within the rotation range, i.e., if the topspin amount of the basketball 10 is outside the rotation range (NO in S12), the control unit 2b of the robot 2 determines whether the topspin amount of the basketball 10 is greater than the rotation range (S14).

[0035] If the amount of topspin of the basketball 10 is greater than the rotation range (YES in S14), the control unit 2b of the robot 2 controls the actuators 2a of the robot 2 so that backspin is added to the rotation of the basketball 10 (S15).

[0036] On the other hand, if the amount of topspin of the basketball 10 is not greater than the rotation range (NO in S14), i.e., if the amount of topspin of the basketball 10 is less than the rotation range, the control unit 2b of the robot 2 controls each actuator 2a of the robot 2 so that topspin is added to the rotation of the basketball 10 (S16).

[0037] In the robot 2 of this embodiment, when dribbling the basketball 10, the basketball 10 approaches the sensor 3 and the distance to the basketball 10 becomes less than the first threshold, but the robot 2 can be made to dribble the basketball 10 based on the data indicating the rotation state of the basketball 10 at the current time that is derived satisfactorily as described above. Therefore, the robot 2 can be made to dribble the basketball 10 with high accuracy.

[0038] In this way, the rotational state derivation device 4 of this embodiment estimates the posture of the basketball 10 at the current time based on data indicating the rotational state of the basketball 10 derived in the past when the distance to the basketball 10 is less than the first threshold value or the amount of rotation of the basketball 10 is greater than or equal to the second threshold value, and derives the rotational state of the basketball 10.

[0039] That is, this time, the rotation state of the basketball 10 at the current time is derived without depending only on the image data detected by the sensor 3. Therefore, the rotation state of the basketball 10 can be derived favorably.

[0040] Furthermore, the robot system 1 of the present embodiment causes the robot 2 to dribble the basketball 10 based on the data indicating the rotational state of the basketball 10 at the current time derived as described above. Therefore, it is possible to cause the robot 2 to dribble the basketball 10 with high accuracy.

[0041] Here, it is advisable to, for example, have the robot 2 learn, in a supervised manner, the operation of each actuator 2a of the robot 2 when taking a free throw with the basketball 10 in relation to the rotational state of the basketball 10 when the robot 2 places the basketball 10 on the hand portion 2d for a free throw (i.e., the arrangement of the patterns when the basketball 10 is stationary).

[0042] This allows each actuator 2a of the robot 2 to be operated according to the rotational state of the basketball 10 when the basketball 10 is placed on the hand portion 2d, allowing the robot 2 to perform a free throw of the basketball 10 towards the rim with high accuracy.

[0043] <Embodiment 2> In embodiment 1, when the amount of rotation of the basketball 10 is equal to or greater than a second threshold value, the posture of the basketball 10 at the current time is estimated based on data indicating the rotation state of the basketball 10 derived in the past, and the rotation state of the basketball 10 is derived. However, for example, the rotation state of the basketball 10 may be derived as follows.

[0044] For example, similar to normal rotational state derivation processing, the rotational state derivation device 4 matches the point cloud data of the portion corresponding to the pattern of the basketball 10 acquired this time with the point cloud data of the portion corresponding to the pattern of the basketball 10 acquired last time, and then removes the point clouds that matched successfully, thereby eliminating the point cloud data of the portion corresponding to the pattern having regularity.

[0045] In other words, the rotational state derivation device 4 extracts point cloud data of portions corresponding to unique patterns such as letters, which have a lower matching success rate than the point cloud data of portions corresponding to patterns with regularity, from the point cloud data of portions corresponding to the patterns of the basketball 10 acquired last time and this time.

[0046] Then, the rotational state derivation device 4 derives the rotational state of the basketball 10 based on the displacement of the point cloud data of the portion of the basketball 10 corresponding to the unique pattern, such as letters, acquired this time relative to the point cloud data of the portion of the basketball 10 corresponding to the unique pattern, such as letters, acquired last time.

[0047] In this way, the point cloud data of the portion of the basketball 10 that corresponds to a pattern having regularity is excluded, and the rotation state of the basketball 10 is derived using the point cloud data of the portion that corresponds to a unique pattern such as letters, so that even if a pattern having regularity like that of the basketball 10 exists, the rotation state of the basketball 10 can be derived well.

[0048] Here, a method such as ICP is used for matching the point cloud data, but if the number of data is large, the calculation load of the rotational state derivation device 4 becomes high, so it is preferable to perform downsampling during matching. At this time, it is preferable to change the amount of downsampling depending on the matching.

[0049] For example, in order to extract point cloud data of a basketball 10 based on image data of the basketball 10 detected by a sensor 3, when matching point cloud data based on image data of the basketball 10 detected by the sensor 3 last time with point cloud data based on image data of the basketball 10 detected by the sensor 3 this time, the downsampling amount can be set to the first reduction amount.

[0050] When matching point cloud data of a portion corresponding to a pattern having regularity, the downsampling amount may be set to a second reduction amount that is smaller than the first reduction amount, and when matching point cloud data of a portion corresponding to a unique pattern, the downsampling amount may be set to a third reduction amount that is smaller than the second reduction amount (for example, no downsampling). This can reduce the computational burden on the rotation state deriving device 4.

[0051] <Other embodiments> In the above embodiment, the present disclosure has been described as a hardware configuration, but the present disclosure is not limited to this. Each process of the present disclosure can also be realized by causing a CPU (Central Processing Unit) to execute a program.

[0052] Here, a program includes a set of instructions (or software code) that, when loaded into a computer, causes the computer to perform one or more functions. The program may be stored on a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray® disk or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or a communication medium. By way of example and not limitation, a transitory computer-readable medium or a communication medium includes electrical, optical, acoustic, or other forms of propagated signals.

[0053] The present disclosure is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit and scope of the present disclosure. For example, in the above embodiment, the sensor 3 is fixed to the hand portion 2d of the robot 2, and therefore the position and posture of the sensor 3 can be derived based on the rotation angle of each joint of the robot 2, but if the position and posture of the sensor 3 cannot be derived, the position and posture of the sensor 3 can be derived based on point cloud data of the environmental parts other than the basketball 10 shown in the image data detected by the sensor 3. For example, in the above embodiment, the rotation state of the basketball 10 is derived, but it may be any sphere. Also, in the above embodiment, the sensor 3 is fixed to the robot 2, but it may be any moving object. For example, in the above embodiment, when the amount of rotation of the basketball 10 is equal to or greater than the second threshold, the rotation state derivation device 4 estimates the posture of the basketball 10 at the current time based on data indicating the rotation state of the basketball 10 derived in the past, and derives the rotation state of the basketball 10 based on the displacement of the point cloud data of a portion of the basketball 10 that corresponds to a unique pattern such as letters. However, when at least the distance to the basketball 10 is equal to or greater than the first threshold, the posture of the basketball 10 at the current time is estimated based on data indicating the rotation state of the basketball 10 derived in the past, and the rotation state of the basketball 10 is derived. [Explanation of symbols]

[0054] 1. Robot System 2 robot, 2a actuator, 2b control section, 2c robot arm, 2d hand section 3 Sensors 4. Rotational state extraction device 5. Database 6 Network 10. Basketball R Sensor detection range

Claims

1. A rotation state derivation device that derives a rotation state of a sphere based on image data obtained by detecting the sphere with a sensor, comprising: When a distance between the sensor fixed to a moving object and the sphere is equal to or greater than a first threshold value set in advance, a characteristic portion of the sphere is extracted, and a rotation state of the sphere is derived based on a time series displacement of the extracted characteristic portion; A rotational state derivation device that, when the distance between the sensor and the sphere is less than the first threshold, estimates the attitude of the sphere at the current time based on data indicating the rotational state of the sphere derived in the past, and derives the rotational state of the sphere.

2. 2. The rotation state derivation device of claim 1, wherein if the amount of rotation of the sphere contained in the data indicating the rotation state of the sphere derived previously is greater than or equal to a predetermined second threshold, the attitude of the sphere at the current time is estimated based on the data indicating the rotation state of the sphere derived in the past, and the rotation state of the sphere is derived.

3. 2. The rotation state derivation device of claim 1, wherein, if the amount of rotation of the sphere included in the data indicating the rotation state of the sphere derived previously is equal to or greater than a second threshold value set in advance, characteristic features of the sphere are extracted, characteristic features having regularity are excluded from the extracted characteristic features, and the rotation state of the sphere is derived based on the time series displacement of the remaining characteristic features.

4. the sensor is a three-dimensional distance sensor, A rotational state derivation device as described in any one of claims 1 to 3, wherein when the distance between the sensor and the sphere is less than the first threshold, second point cloud data of a region corresponding to the first point cloud data among the point cloud data of the sphere's estimated attitude at the current time is matched to first point cloud data based on image data of the sphere detected by the sensor, and the rotational state of the sphere is derived.

5. A rotation state deriving device according to claim 1 or 2; A robot having a robot arm; A sensor fixed to a base portion of a hand unit of the robot arm; a control unit that controls the robot arm based on a rotation state of the sphere derived from image data of the sphere detected by the sensor; Equipped with when the amount of topspin of the ball included in the data indicating the rotation state of the ball is greater than a preset rotation range, the control unit controls the robot arm so as to impart backspin to the ball; When the amount of topspin of the ball included in the data indicating the rotation state of the ball is less than the rotation range, the control unit controls the robot arm so that topspin is imparted to the ball.

Citation Information

Patent Citations

  • Stroke decision device, stroke decision method, stroke decision program, and ball-returning robot

    JP2021142234A

  • Robot control system, movable robot, robot control method, and robot control program

    JP2022177531A

  • Method and system for measuring ball spin and non-transitory computer-readable recording medium

    JP2018004638A