CN101574586B - Shuttlecock robot and control method thereof - Google Patents

Shuttlecock robot and control method thereof Download PDF

Info

Publication number
CN101574586B
CN101574586B CN200910011919XA CN200910011919A CN101574586B CN 101574586 B CN101574586 B CN 101574586B CN 200910011919X A CN200910011919X A CN 200910011919XA CN 200910011919 A CN200910011919 A CN 200910011919A CN 101574586 B CN101574586 B CN 101574586B
Authority
CN
China
Prior art keywords
coordinate
shuttlecock playing
shuttlecock
image
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910011919XA
Other languages
Chinese (zh)
Other versions
CN101574586A (en
Inventor
满永奎
胡景新
原所先
秦娜娜
赵亮
刘膑生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northeastern University China
Original Assignee
Northeastern University China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northeastern University China filed Critical Northeastern University China
Priority to CN200910011919XA priority Critical patent/CN101574586B/en
Publication of CN101574586A publication Critical patent/CN101574586A/en
Application granted granted Critical
Publication of CN101574586B publication Critical patent/CN101574586B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a shuttlecock robot and a control method thereof, which belong to the field of robots. The invention provides a shuttlecock robot capable of moving in a three-dimensional spaceand a control method thereof. The shuttlecock robot comprises an operation track part, a hitting part and a visual part, wherein a longitudinal track is provided with a longitudinal sliding block, an d a transverse track is provided with a transverse sliding block; longitudinal and transverse synchronous belts are connected with a motor respectively; the transverse sliding block is provided with the hitting part, and a shaft of a racket is connected with a shaft of the motor; the visual part comprises two cameras which are perpendicular to each other; and the inside of the motor is provided with a sensor. The control method of the shuttlecock robot comprises the steps of: acquiring an image for binarization processing, extracting coordinates of a shuttlecock image, and converting the coordinates of the shuttlecock image into actual coordinates; establishing a three-dimensional rectangular coordinate system, and evaluating three-dimension coordinates of a shuttlecock; performing Kallmanfiltering on the coordinates; performing trajectory pre-estimation; and detecting information of the racket through the sensor, sending the information of the racket into a signal control system alon g with pre-estimated coordinates, and using a servo system to control the motor to finish the operation along the tracks and the action of the hitting of the robot.

Description

Shuttlecock playing robot and control method
Technical field:
The invention belongs to the robot field, particularly a kind of can be in the shuttlecock playing robot and the control method of three dimensions activity.
Background technology:
First robot truly is born in the U.S. from nineteen fifty-nine, and Robotics has experienced development at full speed, and its developing direction is also intelligent, specialized day by day.In the development process of physical culture robot system, not only want comprehensive artificial intelligence, precision optical machinery, communication and computer technology etc., but also relate to multi-disciplinary contents such as image processing, sensing data fusion, decision-making and countermeasure.The shuttlecock playing robot is as one in numerous branches of physical culture robot, become the project that each scientific research institution, academic unit both at home and abroad give priority to.Yet, because traditional physical culture robot is confined to two-dimensional space mostly for the processing of data and the feedback of moving, make its vision system bad to the anticipation effect of object space, cause the identification and the location of object accurate inadequately.Being embodied in the shuttlecock playing robot, is exactly that the shuttlecock playing robot is bad to the anticipation effect of shuttlecock playing position, causes the identification and the location of shuttlecock playing accurate inadequately.
Summary of the invention:
The present invention is directed to existing physical culture robot for the problem that the processing and the action feedback of data only is confined to two-dimensional space, provide a kind of can be in the shuttlecock playing robot and the control method of three dimensions activity.
To achieve these goals, the present invention adopts following technical scheme, a kind of shuttlecock playing robot, comprise orbit part, batting part and vision part, described orbit partly comprises the base with long rails, long rails is provided with the longitudinal sliding block that can have cross track above moving on the long rails, and the cross track of longitudinal sliding block is provided with the transverse slider that can move on cross track; Between long rails, be respectively arranged with vertically synchronously band, horizontal band synchronously between cross track, vertically synchronously band, laterally synchronously band respectively with vertical control motor of base side, laterally control motor and link to each other; Transverse slider is provided with described batting part, and described driving part branch comprises the base plate that is fixed with racket, and the axle of racket links to each other with the axle of the worm reducer of motor; Described vision partly comprises two the mutually perpendicular cameras that link to each other with the shuttlecock playing robot control system that are arranged on top, shuttlecock court ground; At vertical control motor of rail portion, laterally the motor internal of controlling motor and batting part is provided with the sensor that detects racket angle and positional information.
Described shuttlecock playing ROBOT CONTROL method comprises the steps:
Step 1: by two mutually perpendicular two-dimensional images of two mutually perpendicular camera collections, and the two-dimensional image that collects is carried out binary conversion treatment, obtain two width of cloth bianry images by OPENCV software; The last image coordinate that extracts shuttlecock playing in two width of cloth bianry images, and the image coordinate of the shuttlecock playing that extracts carried out the correction of image radial distortion and projection distortion is converted to actual coordinate with respect to the place with the image coordinate of shuttlecock playing;
Step 2: set up three-dimensional cartesian coordinate system according to two mutually perpendicular bianry images, in three-dimensional cartesian coordinate system, determine the actual coordinate P of shuttlecock playing in horizontal bianry image 1(x 1, y 1, 0) and the actual coordinate P of shuttlecock playing in vertical bianry image 2(0, y 2, z 2); Record the actual coordinate Pc of vertical camera in three-dimensional cartesian coordinate system 1(x C1, y C1, z C1) and the actual coordinate Pc of horizontal camera in three-dimensional cartesian coordinate system 2(x C2, y C2, z C2); Connect P 1With Pc 1, obtain space line L 1, connect P 2With Pc 2, obtain space line L 2, space line L 1, L 2The mid point Pt (x of common vertical line section t, y t, z t) be the coordinate of shuttlecock playing in three-dimensional cartesian coordinate system;
Step 3: to the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system that tries to achieve in the step 2 t, y t, z t) carry out Kalman filtering, obtain the coordinate Pt ' (x of a filtered shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t);
Step 4: the orbiting motion equation that obtains shuttlecock playing by mechanical analysis; The coordinate Pt ' (x of the filtered shuttlecock playing that obtains in the integrating step three in three-dimensional cartesian coordinate system again t, y t, z t), carry out trace predicating with least square method; Estimate the three-dimensional coordinate P (x that obtains next moment drop point of shuttlecock playing P, y P, z P), and the coordinate input signal control system that will put;
Step 5: by being arranged on the sensor of rail portion and batting motor internal partly, detect the angle information and the positional information of racket, and with voltage signal input signal control system; Next three-dimensional coordinate P (x of drop point constantly of the shuttlecock playing that whistle control system obtains in the integrating step four again P, y P, z P), calculate the amount of exercise of shuttlecock playing robot, and, finish the shuttlecock playing robot along the operation of track and the action of batting by motor servo control system control motor; Promptly reach laterally control driven by motor batting partly at the horizontal rail componental movement, then control the motor of batting part again and carry out shot by vertical control motor.
Described image coordinate is carried out the correction of image radial distortion and projection distortion, the image coordinate of shuttlecock playing is converted to actual coordinate with respect to the place, the specific implementation process is as follows:
(1) two mutually perpendicular cameras being looked the shuttlecock playing place and demarcated respectively along edge in the place, is initial point with the upper left corner, place, measures the actual coordinate of calibration point; And by in image, clicking the image coordinate that calibration point draws calibration point;
(2) utilize the multinomial scaling method of radial distortion, set up actual coordinate (x w, y w) and image coordinate (u, v) the cubic polynomial relation between:
x w = a 0 + a 1 v + a 2 v 2 + a 3 v 3 + a 4 u + a 5 uv + a 6 uv 2 + a 7 u 2 + a 8 u 2 v + a 9 u 3 y w = b 0 + b 1 v + b 2 v 2 + b 3 v 3 + b 4 u + b 5 uv + b 6 uv 2 + b 7 u 2 + b 8 u 2 v + b 9 u 3 - - - ( 1 )
(3), utilize least square solution overdetermined equation group according to the actual coordinate and the image coordinate of the calibration point of measuring in the step (1):
Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] = 0 Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] x i 1 = 0 . . . Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] x iq = 0 - - - ( 2 )
Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] = 0 Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] x i 1 = 0 . . . Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] x iq = 0 - - - ( 3 )
Wherein, a i(i=0,1,2 ... 9), b i(i=0,1,2 ... 9) be parameter, obtain a i(i=0,1,2 ... 9), b i(i=0,1,2 ... 9) value; The mapping relations between image coordinate and the actual coordinate have promptly been set up;
(4) according to image coordinate of setting up in the step (3) and the mapping relations between the actual coordinate, and the image coordinate of the shuttlecock playing that in two width of cloth bianry images, extracts in the step 1, obtain the actual coordinate of shuttlecock playing with respect to the shuttlecock playing place.
Coordinate Pt (the x of described shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) concrete computational process as follows:
(1) asks for space line L 1, L 2Equation:
Space line L 1:
x - x 1 x c 1 - x 1 = y - y 1 y c 1 - y 1 = z - z 1 z c 1 - z 1 - - - ( 4 )
Space line L 2:
x - x 2 x c 2 - x 2 = y - y 2 y c 2 - y 2 = z - z 2 z c 2 - z 2 - - - ( 5 )
(2) with square distance be asking for of object function:
M ( x t , y t , z t ) = d 1 2 ( x t , y t , z t ) + d 2 2 ( x t , y t , z t ) - - - ( 6 )
Wherein, M (x t, y t, z t) be object function, d 1, d 2Be respectively the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) apart from space line L 1, L 2Distance;
(3) the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) try to achieve:
To the object function M (x that asks in the step (2) t, y t, z t) ask about x respectively t, y t, z tPartial derivative, simultaneous becomes equation group:
∂ M ( x t , y t , z t ) ∂ x t = 0 ∂ M ( x t , y t , z t ) ∂ y t = 0 ∂ M ( x t , y t , z t ) ∂ z t = 0 - - - ( 7 )
Find the solution this equation group, obtain the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) coordinate figure.
The detailed process of described trace predicating is as follows:
Set up air drag model: f=kv (8)
Wherein, k is the intrinsic parameter of shuttlecock playing, and is relevant with its volume and shape under the constant substantially situation of atmospheric density;
In addition, shuttlecock playing also is subjected to gravity,
G=mg (9)
a → = f → + G → m - - - ( 10 )
According to the newtonian motion law, have again
s = v 0 t + 1 2 at 2 - - - ( 11 )
v=v 0+at (12)
Because shuttlecock playing is to move in three dimensions, existing motion with shuttlecock playing is decomposed into three components of axially going up motion, and comprehensive above equation finally obtains the equation of motion of shuttlecock playing track:
x ( t ) = v x 0 t + v x 0 · t 2 - 2 t - 2 m k + x 0 y ( t ) = v y 0 t + v y 0 · t 2 - 2 t - 2 m k + y 0 z ( t ) = v z 0 t + ( v z 0 + mg k ) · t 2 - 2 t - 2 m k + z 0 - - - ( 13 )
With the x direction is example:
x = v x 0 t + v x 0 · t 2 - 2 t - 2 m k + x 0 , It is turned to
y = a 0 ( x + x 2 - 2 x - 2 m k ) + a 1 - - - ( 14 )
The coordinate Pt ' (x of the filtered shuttlecock playing that obtains in the integrating step three in three-dimensional cartesian coordinate system t, y t, z t), carry out trace predicating with least square method, get equation group:
Σ i = 0 k [ y i - a 0 ( x i + x i 2 - 2 x i - 2 m k ) - a 1 ] · ( x i + x i 2 - 2 x i - 2 m k ) = 0 Σ i = 0 k [ y i - a 0 ( x i + x i 2 - 2 x i - 2 m k ) - a 1 ] = 0 - - - ( 15 )
Separate this equation group, promptly get parameter a 0, a 1Value; In like manner, try to achieve the parameter b of y direction 0, b 1Value, the parameter c of z direction 0, c 1Value, promptly obtained estimating curve;
Make z (the t)=H in the equation (13) 0(16)
Wherein, H 0Be the axis of the shuttlecock playing robot racket distance apart from horizontal plane, simultaneous (13) and (16) can solve next three-dimensional coordinate P (x of drop point constantly of shuttlecock playing P, y P, z P).
Beneficial effect of the present invention: shuttlecock playing of the present invention robot utilizes binocular vision system to finish collection to the Three-Dimensional Dynamic image, the image processing algorithm that utilization is optimized, the trace predicating of dynamic object are finished the space orientation to the Three-Dimensional Dynamic target, finish control by high performance motor servo control system again to plant equipment, realize the shuttlecock playing robot to shuttlecock playing continuously, stroke fast, accurately.Shuttlecock playing of the present invention robot is applicable to robot researches such as university and scientific research institutions exploitation mechanism, as the experiment porch of research directions such as machine vision, SERVO CONTROL, artificial intelligence.In addition, shuttlecock playing of the present invention robot can be used as amusement and leisure equipment, enriches people's free life.
Description of drawings:
Fig. 1 is the structural representation of the orbit part of shuttlecock playing of the present invention robot;
Fig. 2 is the structural representation of the batting part of shuttlecock playing of the present invention robot;
Fig. 3 is the flow chart of shuttlecock playing ROBOT CONTROL method of the present invention;
Fig. 4 is the schematic diagram of the position of the foundation of three-dimensional cartesian coordinate system and the coordinate points of shuttlecock playing in three-dimensional cartesian coordinate system.
Wherein, among Fig. 1,1-orbit part, the 2-long rails, 3-vertically is with synchronously, the 4-longitudinal sliding block, the laterally synchronous band of 5-cross track, 6-, 7-transverse slider, 8-are laterally controlled motor, and 9-base, 10-are vertically controlled motor;
Among Fig. 2,11-motor, the 12-part of batting, 13-base plate, 14-worm reducer, the axle of 15-worm reducer, the axle of 16-racket, 17-racket.
The specific embodiment:
A kind of shuttlecock playing robot, comprise orbit part 1, batting part 12 and vision part, as shown in Figure 1, described orbit part 1 comprises the base 9 with long rails 2, long rails 2 is provided with the longitudinal sliding block 4 that can have cross track 5 above motion on the long rails 2, and the cross track 5 of longitudinal sliding block 4 is provided with the transverse slider 7 that can move on cross track 5; Be respectively arranged with at 2 of long rails, 5 of cross tracks and vertically be with 3 synchronously, laterally be with 6 synchronously, vertically synchronously with 3, laterally synchronously with 6 respectively with vertical control motor 10 of base 9 sides, laterally control motor 8 and link to each other; Transverse slider 7 is provided with described batting part 12, and as shown in Figure 2, described batting part 12 comprises the base plate 13 that is fixed with racket 17, and the axle 16 of racket 17 links to each other with the axle 15 of the worm reducer 14 of motor 11; Described vision partly comprises two the mutually perpendicular cameras that link to each other with the shuttlecock playing robot control system that are arranged on top, shuttlecock court ground; At vertical control motor 10 of rail portion 1, laterally motor 11 inside of controlling motor 8 and batting part 12 are provided with the sensor that detects racket 17 angles and positional information.
As shown in Figure 3, described shuttlecock playing ROBOT CONTROL method comprises the steps:
Before the use, at first need system is carried out the initialization setting, comprise and adjust the camera parameter, measure shuttlecock playing size, place size, camera height, set the shuttlecock playing luminance threshold, calculate and preserve place information searching table.The shuttlecock playing robot is to being subjected to the influence of picture brightness in the treatment of picture process, same threshold value can obtain different binaryzation results under the different illumination conditions; Therefore, need adjust threshold value according to each illumination condition, the result who makes image handle can identify shuttlecock playing preferably, and then can analyze the information of shuttlecock playing, as area, center of gravity etc.
Step 1: by two mutually perpendicular two-dimensional images of two mutually perpendicular camera collections, and the two-dimensional image that collects is carried out binary conversion treatment, obtain two width of cloth bianry images by OPENCV software; The last image coordinate that extracts shuttlecock playing in two width of cloth bianry images, and the image coordinate of the shuttlecock playing that extracts carried out the correction of image radial distortion and projection distortion is converted to actual coordinate with respect to the place with the image coordinate of shuttlecock playing.
Owing to there are being these errors inevitably to exist in the middle of the reality: camera and shuttlecock playing place out of plumb, camera make projection distortion inevitably take place not directly over the shuttlecock playing place etc.In the process of setting up place information searching table, it is the most key technology that projection distortion is proofreaied and correct.In addition, the image radial distortion that wide-angle lens brought also must be proofreaied and correct.
Described image coordinate is carried out the correction of image radial distortion and projection distortion, the image coordinate of shuttlecock playing is converted to actual coordinate with respect to the place, the specific implementation process is as follows:
(1) two mutually perpendicular cameras is looked the shuttlecock playing place and demarcated respectively, vertical camera is looked the shuttlecock playing place get 12 calibration points, parallel camera is looked the shuttlecock playing place get 13 calibration points along edge in the place along edge in the place along edge in the place; With the upper left corner, place is initial point, measures the actual coordinate of calibration point; And by in image, clicking the image coordinate that calibration point draws calibration point;
(2) utilize the multinomial scaling method of radial distortion, set up actual coordinate (x w, y w) and image coordinate (u, v) the cubic polynomial relation between:
x w = a 0 + a 1 v + a 2 v 2 + a 3 v 3 + a 4 u + a 5 uv + a 6 uv 2 + a 7 u 2 + a 8 u 2 v + a 9 u 3 y w = b 0 + b 1 v + b 2 v 2 + b 3 v 3 + b 4 u + b 5 uv + b 6 uv 2 + b 7 u 2 + b 8 u 2 v + b 9 u 3 - - - ( 1 )
(3), utilize least square solution overdetermined equation group according to the actual coordinate and the image coordinate of the calibration point of measuring in the step (1):
Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] = 0 Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] x i 1 = 0 . . . Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] x iq = 0 - - - ( 2 )
Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] = 0 Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] x i 1 = 0 . . . Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] x iq = 0 - - - ( 3 )
Wherein, a i(i=0,1,2 ... 9), b i(i=0,1,2 ... 9) be parameter, obtain a i(i=0,1,2 ... 9), b i(i=0,1,2 ... 9) value; The mapping relations between image coordinate and the actual coordinate have promptly been set up;
(4) according to image coordinate of setting up in the step (3) and the mapping relations between the actual coordinate, and the image coordinate of the shuttlecock playing that in two width of cloth bianry images, extracts in the step 1, obtain the actual coordinate of shuttlecock playing with respect to the shuttlecock playing place.
Step 2: as shown in Figure 4, set up three-dimensional cartesian coordinate system, in three-dimensional cartesian coordinate system, determine the actual coordinate P of shuttlecock playing in horizontal bianry image according to two mutually perpendicular bianry images 1(x 1, y 1, 0) and the actual coordinate P of shuttlecock playing in vertical bianry image 2(0, y 2, z 2); Record the actual coordinate Pc of vertical camera in three-dimensional cartesian coordinate system 1(x C1, y C1, z C1) and the actual coordinate Pc of horizontal camera in three-dimensional cartesian coordinate system 2(x C2, y C2, z C2); Connect P 1With Pc 1, obtain space line L 1, connect P 2With Pc 2, obtain space line L 2, space line L 1, L 2The mid point Pt (x of common vertical line section t, y t, z t) be the coordinate of shuttlecock playing in three-dimensional cartesian coordinate system.
Coordinate Pt (the x of described shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) concrete computational process as follows:
(1) asks for space line L 1, L 2Equation:
Space line L 1:
x - x 1 x c 1 - x 1 = y - y 1 y c 1 - y 1 = z - z 1 z c 1 - z 1 - - - ( 4 )
Space line L 2:
x - x 2 x c 2 - x 2 = y - y 2 y c 2 - y 2 = z - z 2 z c 2 - z 2 - - - ( 5 )
(2) with square distance be asking for of object function:
M ( x t , y t , z t ) = d 1 2 ( x t , y t , z t ) + d 2 2 ( x t , y t , z t ) - - - ( 6 )
Wherein, M (x t, y t, z t) be object function, d 1, d 2Be respectively the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) apart from space line L 1, L 2Distance;
(3) the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) try to achieve:
Object function M (the x that asks in the step (2) t, y t, z t) pairing x when being minimum of a value t, y t, z tRepresent such point:
1. he is on the common vertical line of two space line L1, L2; 2. he equates apart from the distance of two space line L1, L2; Be the mid point of space line L1, L2 common vertical line section, also be the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t).To the object function M (x that asks in the step (2) t, y t, z t) ask about x respectively t, y t, z tPartial derivative, simultaneous becomes equation group:
∂ M ( x t , y t , z t ) ∂ x t = 0 ∂ M ( x t , y t , z t ) ∂ y t = 0 ∂ M ( x t , y t , z t ) ∂ z t = 0 - - - ( 7 )
Find the solution this equation group, obtain the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) coordinate figure.
Step 3: to the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system that tries to achieve in the step 2 t, y t, z t) carry out Kalman filtering, obtain the coordinate Pt ' (x of a filtered shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t).
Because shuttlecock playing belongs to irregularly shaped, thereby its visual identity is difficult to disturbance and error not occur with the location, and the present invention adopts Kalman filtering that the coordinate of shuttlecock playing in three-dimensional cartesian coordinate system carried out filtering to handle at this problem.
Step 4: the orbiting motion equation that obtains shuttlecock playing by mechanical analysis; The coordinate Pt ' (x of the filtered shuttlecock playing that obtains in the integrating step three in three-dimensional cartesian coordinate system again t, y t, z t), carry out trace predicating with least square method; Estimate the three-dimensional coordinate P (x that obtains next moment drop point of shuttlecock playing P, y P, z P), and the coordinate input signal control system that will put.
The detailed process of described trace predicating is as follows:
Through repeatedly experimental verification, it is comparatively desirable adopting formula (8) to describe the air drag model:
f=kv (8)
Wherein, k is the intrinsic parameter of shuttlecock playing, and is relevant with its volume and shape under the constant substantially situation of atmospheric density;
In addition, shuttlecock playing also is subjected to gravity,
G=mg (9)
a → = f → + G → m - - - ( 10 )
According to the newtonian motion law, have again
s = v 0 t + 1 2 at 2 - - - ( 11 )
v=v 0+at (12)
Because shuttlecock playing is to move in three dimensions, existing motion with shuttlecock playing is decomposed into three components of axially going up motion, and comprehensive above equation finally obtains the equation of motion of shuttlecock playing track:
x ( t ) = v x 0 t + v x 0 · t 2 - 2 t - 2 m k + x 0 y ( t ) = v y 0 t + v y 0 · t 2 - 2 t - 2 m k + y 0 z ( t ) = v z 0 t + ( v z 0 + mg k ) · t 2 - 2 t - 2 m k + z 0 - - - ( 13 )
With the x direction is example:
x = v x 0 t + v x 0 · t 2 - 2 t - 2 m k + x 0 , It is turned to
y = a 0 ( x + x 2 - 2 x - 2 m k ) + a 1 - - - ( 14 )
The coordinate Pt ' (x of the filtered shuttlecock playing that obtains in the integrating step three in three-dimensional cartesian coordinate system t, y t, z t), carry out trace predicating with least square method, get equation group:
Σ i = 0 k [ y i - a 0 ( x i + x i 2 - 2 x i - 2 m k ) - a 1 ] · ( x i + x i 2 - 2 x i - 2 m k ) = 0 Σ i = 0 k [ y i - a 0 ( x i + x i 2 - 2 x i - 2 m k ) - a 1 ] = 0 - - - ( 15 )
Separate this equation group, promptly get parameter a 0, a 1Value; In like manner, try to achieve the parameter b of y direction 0, b 1Value, the parameter c of z direction 0, c 1Value, promptly obtained estimating curve.
Make z (the t)=H in the equation (13) 0(16)
Wherein, H 0Be the axis of the shuttlecock playing robot racket distance apart from horizontal plane, simultaneous (13) and (16) can solve next three-dimensional coordinate P (x of drop point constantly of shuttlecock playing P, y P, z P).
Step 5: by being arranged on the sensor of rail portion and batting motor internal partly, detect the angle information and the positional information of racket, and with voltage signal input signal control system; Next three-dimensional coordinate P (x of drop point constantly of the shuttlecock playing that whistle control system obtains in the integrating step four again P, y P, z P), calculate the amount of exercise of shuttlecock playing robot, and, finish the shuttlecock playing robot along the operation of track and the action of batting by motor servo control system control motor; Promptly reach laterally control driven by motor batting partly at the horizontal rail componental movement, then control the motor of batting part again and carry out shot by vertical control motor.
The motor servo control system of shuttlecock robot of the present invention adopts Mitsubishi Electric's servo-control system, because this system has high accuracy, high-speed, can satisfy the requirement that the shuttlecock robot movement velocity is fast, the location is accurate. The controller of this system adopts Q series, more high-performance, miniaturization, thus realize motion control at a high speed, possess the motion control functions such as multi-axis interpolation, speed control, Software Convex Cam location, TRAJECTORY CONTROL.

Claims (5)

1. shuttlecock playing robot, it is characterized in that, comprise orbit part (1), batting part (12) and vision part, described orbit part (1) comprises the have long rails base (9) of (2), long rails (2) is provided with and can goes up the longitudinal sliding block (4) that the top of moving has cross track (5) at long rails (2), and the cross track (5) of longitudinal sliding block (4) is provided with can go up the transverse slider (7) of motion at cross track (5); Between long rails (2), be respectively arranged with vertically synchronously band (3), horizontal band (6) synchronously between cross track (5), vertically synchronously band (3), laterally synchronously band (6) respectively with vertical control motor (10) of base (9) side, laterally control motor (8) and link to each other; Transverse slider (7) is provided with described batting part (12), and described batting part (12) comprises the base plate (13) that is fixed with racket (17), and the axle (16) of racket (17) links to each other with the axle (15) of the worm reducer (14) of motor (11); Described vision partly comprises two the mutually perpendicular cameras that link to each other with the shuttlecock playing robot control system that are arranged on top, shuttlecock court ground; At vertical control motor (10) of described orbit part (1), laterally motor (11) inside of controlling motor (8) and batting part (12) is provided with the sensor that detects racket (17) angle and positional information.
2. be used to control shuttlecock playing ROBOT CONTROL method as claimed in claim 1, it is characterized in that, comprise the steps:
Step 1: by two mutually perpendicular two-dimensional images of two mutually perpendicular camera collections, and the two-dimensional image that collects is carried out binary conversion treatment, obtain two width of cloth bianry images by OPENCV software; The last image coordinate that extracts shuttlecock playing in two width of cloth bianry images, and the image coordinate of the shuttlecock playing that extracts carried out the correction of image radial distortion and projection distortion is converted to actual coordinate with respect to the place with the image coordinate of shuttlecock playing;
Step 2: set up three-dimensional cartesian coordinate system according to two mutually perpendicular bianry images, in three-dimensional cartesian coordinate system, determine the actual coordinate P of shuttlecock playing in horizontal bianry image 1(x 1, y 1, 0) and the actual coordinate P of shuttlecock playing in vertical bianry image 2(0, y 2, z 2); Record the actual coordinate Pc of vertical camera in three-dimensional cartesian coordinate system 1(x C1, y C1, z C1) and the actual coordinate Pc of horizontal camera in three-dimensional cartesian coordinate system 2(x C2, y C2, z C2); Connect P 1With Pc 1, obtain space line L 1, connect P 2With Pc 2, obtain space line L 2, space line L 1, L 2The mid point Pt (x of common vertical line section t, y t, z t) be the coordinate of shuttlecock playing in three-dimensional cartesian coordinate system;
Step 3: to the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system that tries to achieve in the step 2 t, y t, z t) carry out Kalman filtering, obtain the coordinate Pt ' (x of a filtered shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t);
Step 4: the orbiting motion equation that obtains shuttlecock playing by mechanical analysis; The coordinate Pt ' (x of the filtered shuttlecock playing that obtains in the integrating step three in three-dimensional cartesian coordinate system again t, y t, z t), carry out trace predicating with least square method; Estimate the three-dimensional coordinate P (x that obtains next moment drop point of shuttlecock playing P, y P, z P), and the coordinate input signal control system that will put;
Step 5: by being arranged on the sensor of rail portion and batting motor internal partly, detect the angle information and the positional information of racket, and with voltage signal input signal control system; Next three-dimensional coordinate P (x of drop point constantly of the shuttlecock playing that whistle control system obtains in the integrating step four again P, y P, z P), calculate the amount of exercise of shuttlecock playing robot, and, finish the shuttlecock playing robot along the operation of track and the action of batting by motor servo control system control motor; Promptly reach laterally control driven by motor batting partly at the horizontal rail componental movement, then control the motor of batting part again and carry out shot by vertical control motor.
3. control method according to claim 2 is characterized in that, described image coordinate is carried out the correction of image radial distortion and projection distortion, and the image coordinate of shuttlecock playing is converted to actual coordinate with respect to the place, and the specific implementation process is as follows:
(1) two mutually perpendicular cameras being looked the shuttlecock playing place and demarcated respectively along edge in the place, is initial point with the upper left corner, place, measures the actual coordinate of calibration point; And by in image, clicking the image coordinate that calibration point draws calibration point;
(2) utilize the multinomial scaling method of radial distortion, set up actual coordinate (x w, y w) and image coordinate (u, v) the cubic polynomial relation between:
x w = a 0 + a 1 v + a 2 v 2 + a 3 v 3 + a 4 u + a 5 uv + a 6 uv 2 + a 7 u 2 + a 8 u 2 v + a 9 u 3 y w = b 0 + b 1 v + b 2 v 2 + b 3 v 3 + b 4 u + b 5 uv + b 6 uv 2 + b 7 u 2 + b 8 u 2 v + b 9 u 3 - - - ( 1 )
(3), utilize least square solution overdetermined equation group according to the actual coordinate and the image coordinate of the calibration point of measuring in the step (1):
Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] = 0 Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] x i 1 = 0 . . . Σ i = 1 N [ y i - ( a 0 + a 1 x i 1 + . . . + a q x iq ) ] x iq = 0 - - - ( 2 )
Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] = 0 Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] x i 1 = 0 . . . Σ i = 1 N [ y i - ( b 0 + b 1 x i 1 + . . . + b q x iq ) ] x iq = 0 - - - ( 3 )
Wherein, a i(i=0,1,2 ... 9), b i(i=0,1,2 ... 9) be parameter, obtain a i(i=0,1,2 ... 9), b i(i=0,1,2 ... 9) value; The mapping relations between image coordinate and the actual coordinate have promptly been set up;
(4) according to image coordinate of setting up in the step (3) and the mapping relations between the actual coordinate, and the image coordinate of the shuttlecock playing that in two width of cloth bianry images, extracts in the step 1, obtain the actual coordinate of shuttlecock playing with respect to the shuttlecock playing place.
4. control method according to claim 2 is characterized in that, the coordinate Pt (x of described shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) concrete computational process as follows:
(1) asks for space line L 1, L 2Equation:
Space line L 1:
x - x 1 x c 1 - x 1 = y - y 1 y c 1 - y 1 = z - z 1 z c 1 - z 1 - - - ( 4 )
Space line L 2:
x - x 2 x c 2 - x 2 = y - y 2 y c 2 - y 2 = z - z 2 z c 2 - z 2 - - - ( 5 )
(2) with square distance be asking for of object function:
M ( x t , y t , z t ) = d 1 2 ( x t , y t , z t ) + d 2 2 ( x t , y t , z t ) - - - ( 6 )
Wherein, M (x t, y t, z t) be object function, d 1, d 2Be respectively the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) apart from space line L 1, L 2Distance;
(3) the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) try to achieve:
To the object function M (x that asks in the step (2) t, y t, z t) ask about x respectively t, y t, z tPartial derivative, simultaneous becomes equation group:
∂ M ( x t , y t , z t ) ∂ x t = 0 ∂ M ( x t , y t , z t ) ∂ y t = 0 ∂ M ( x t , y t , z t ) ∂ z t = 0 - - - ( 7 )
Find the solution this equation group, obtain the coordinate Pt (x of shuttlecock playing in three-dimensional cartesian coordinate system t, y t, z t) coordinate figure.
5. control method according to claim 2 is characterized in that, the detailed process of described trace predicating is as follows:
Set up air drag model: f=kv (8)
Wherein, k is the intrinsic parameter of shuttlecock playing, and is relevant with its volume and shape under the constant substantially situation of atmospheric density;
In addition, shuttlecock playing also is subjected to gravity,
G=mg (9)
a → = f → + G → m - - - ( 10 )
According to the newtonian motion law, have again
s = v 0 t + 1 2 at 2 - - - ( 11 )
v=v 0+at (12)
Because shuttlecock playing is to move in three dimensions, existing motion with shuttlecock playing is decomposed into three components of axially going up motion, and comprehensive above equation finally obtains the equation of motion of shuttlecock playing track:
x ( t ) = v x 0 t + v x 0 · t 2 - 2 t - 2 m k + x 0 y ( t ) = v y 0 t + v y 0 · t 2 - 2 t - 2 m k + y 0 z ( t ) = v z 0 t + ( v z 0 + mg k ) · t 2 - 2 t - 2 m k + z 0 - - - ( 13 )
With the x direction is example:
x = v x 0 t + v x 0 · t 2 - 2 t - 2 m k + x 0 , It is turned to
y = a 0 ( x + x 2 - 2 x - 2 m k ) + a 1 - - - ( 14 )
The coordinate Pt ' (x of the filtered shuttlecock playing that obtains in the integrating step three in three-dimensional cartesian coordinate system t, y t, z t), carry out trace predicating with least square method, get equation group:
Σ i = 0 k [ y i - a 0 ( x i + x i 2 - 2 x i - 2 m k ) - a 1 ] · ( x i + x i 2 - 2 x i - 2 m k ) = 0 Σ i = 0 k [ y i - a 0 ( x i + x i 2 - 2 x i - 2 m k ) - a 1 ] = 0 - - - ( 15 )
Separate this equation group, promptly get parameter a 0, a 1Value; In like manner, try to achieve the parameter b of y direction 0, b 1Value, the parameter c of z direction 0, c 1Value, promptly obtained estimating curve;
Make z (the t)=H in the equation (13) 0(16)
Wherein, H 0Be the axis of the shuttlecock playing robot racket distance apart from horizontal plane, simultaneous (13) and (16) can solve next three-dimensional coordinate P (x of drop point constantly of shuttlecock playing P, y P, z P).
CN200910011919XA 2009-06-09 2009-06-09 Shuttlecock robot and control method thereof Expired - Fee Related CN101574586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910011919XA CN101574586B (en) 2009-06-09 2009-06-09 Shuttlecock robot and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910011919XA CN101574586B (en) 2009-06-09 2009-06-09 Shuttlecock robot and control method thereof

Publications (2)

Publication Number Publication Date
CN101574586A CN101574586A (en) 2009-11-11
CN101574586B true CN101574586B (en) 2010-11-17

Family

ID=41269740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910011919XA Expired - Fee Related CN101574586B (en) 2009-06-09 2009-06-09 Shuttlecock robot and control method thereof

Country Status (1)

Country Link
CN (1) CN101574586B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102990641B (en) * 2012-11-26 2015-12-02 哈尔滨工程大学 A kind of loose impediment location fetching device
CN104506830A (en) * 2014-12-25 2015-04-08 安徽寰智信息科技股份有限公司 Video acquisition and processing device for cricket teaching and training
CN104898551B (en) * 2015-03-08 2017-07-21 浙江理工大学 The double vision of full-automatic grass-removing robot feels self aligning system
CN106325302B (en) * 2015-06-17 2020-03-13 电子科技大学 Moving object position tracking platform, tracking device and tracking method
CN105373128B (en) * 2015-06-17 2018-06-12 电子科技大学 Shuttlecock robot and its whole audience localization method
CN106956258B (en) * 2016-01-08 2020-06-30 上银科技股份有限公司 Path planning method and compensator for array pick-and-place by using mechanical arm
WO2017127984A1 (en) * 2016-01-25 2017-08-03 张阳 Method and system for acquiring tennis ball drop point in tennis sports
CN105922275A (en) * 2016-06-04 2016-09-07 上海大学 Air hockey robot based on movement sensor
CN106426200B (en) * 2016-10-14 2018-09-18 深圳四博智联科技有限公司 A kind of ping-pong robot and its control method
CN106695740A (en) * 2017-02-07 2017-05-24 成都电科创品机器人科技有限公司 Capturing device with position compensation and method
CN109684919B (en) * 2018-11-15 2021-08-17 重庆邮电大学 Badminton service violation distinguishing method based on machine vision
CN110587578A (en) * 2019-09-09 2019-12-20 电子科技大学 Badminton education robot based on aluminum profile modularization

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008036383A (en) * 2006-08-09 2008-02-21 Quantaview Inc Arm type robot for playing match of table tennis

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008036383A (en) * 2006-08-09 2008-02-21 Quantaview Inc Arm type robot for playing match of table tennis

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
段勇,徐心和.自主足球机器人视觉系统结构及关键技术.东北大学学报(自然科学版).2006,27(1),9-12. *

Also Published As

Publication number Publication date
CN101574586A (en) 2009-11-11

Similar Documents

Publication Publication Date Title
CN101574586B (en) Shuttlecock robot and control method thereof
CN110948492B (en) Three-dimensional grabbing platform and grabbing method based on deep learning
CN103170973B (en) Man-machine cooperation device and method based on Kinect video camera
CN109947119A (en) A kind of autonomous system for tracking of mobile robot based on Multi-sensor Fusion and method
CN102646275B (en) The method of virtual three-dimensional superposition is realized by tracking and location algorithm
CN109949375A (en) A kind of mobile robot method for tracking target based on depth map area-of-interest
CN110223379A (en) Three-dimensional point cloud method for reconstructing based on laser radar
CN109460029A (en) Livestock and poultry cultivation place inspection mobile platform and its control method
CN109190508A (en) A kind of multi-cam data fusion method based on space coordinates
CN110334701B (en) Data acquisition method based on deep learning and multi-vision in digital twin environment
CN103227888B (en) A kind of based on empirical mode decomposition with the video stabilization method of multiple interpretational criteria
CN108607819A (en) Material sorting system and method
CN105160703A (en) Optical flow computation method using time domain visual sensor
CN106023211A (en) Robot image positioning method and system base on deep learning
CN107632559A (en) A kind of copline cricket experimental system and its method of work based on image procossing
CN112833892B (en) Semantic mapping method based on track alignment
CN107363834A (en) A kind of mechanical arm grasping means based on cognitive map
CN102156994B (en) Joint positioning method for single-view unmarked human motion tracking
CN103310191A (en) Human body action identification method for motion information imaging
Tian et al. Research on multi-sensor fusion SLAM algorithm based on improved gmapping
CN107345814A (en) A kind of mobile robot visual alignment system and localization method
CN114872055B (en) SCARA robot assembly control method and system
CN207408790U (en) A kind of copline cricket experimental system based on image procossing
WO2019153985A1 (en) Gyroscope-based system and method for assisting in tracking heat source on mechanical arm
CN110135352A (en) A kind of tactical operation appraisal procedure based on deep learning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101117

Termination date: 20120609