The present application claims the priority to the Chinese invention patent application No. 201010219928.0 filed with the State Intellectual Property Office of the PRC on Jul. 1, 2010 and entitled “Control Method and Control Device of Mechanical Articulated Arm”, which is incorporated herein by reference in its entirety.
The present invention relates to a positioning field of a mechanical articulated arm, and especially, to a control method and a control device of the mechanical articulated arm.
As known to all, the traditional control manner of mechanical arm systems is a manual mode of manual operation, and an operator operates different handles to realize coordinated movements of multiple segments of a mechanical arm and then to reach a target position, but this manner has many disadvantages. For example, during the manual operation, especially in a situation of desiring the linkage and coordination of multiple segments of the mechanical arm, the efficiency and precision of the manual operation are usually low; the manual operation has high requirement on the operator's proficiency in the operation, and during the operation, the operator needs to always take care of the movements of the articulated arm, and there exists the danger of throwing construction personnel off buildings in case of any carelessness, thus there exists the disadvantages of poor safety and high labour strength.
With the quickly changing developments of society and science, how to provide a better working environment for workers and how to reduce the labour strength of the workers to the maximum extent have been always a focus and a hot issue during the research and development of mechanical arm systems. In 1993, the PUTZMEISTER company put forward in the U.S. Pat. No. 5,640,996A realizing the coordinated movements of multiple segments of a mechanical arm by the separate adjustment of the handles of a remote controller, so that the multiple segments will not affect one another and can independently retract, rotate and elevate, and also disclosed the first time in 1994 in the U.S. Pat. No. 5,823,218 the follow-up function of an end hose, that is, an operator guides the end hose to move to a concrete pouring point to realize the follow-up function of the mechanical arm.
Although research personnel home and abroad have always been trying to realize the robotization of mechanical arms, up to now, the application still cannot fully meet the demand of engineering, and the difficulty mainly lies in the precision of control.
Referring to
x=l1 cos θ1+l2 cos(θ1+θ2) Equation 1
y=l1 sin θ1+l2 sin(θ1+θ2) Equation 2,
wherein, (x, y) are the coordinate of the tail end A.
Further, during mechanical arm control and track planning, usually the movement amounts of the joints need to be calculated in the situation that the spatial position which a point will reach is known, so as to drive the movements of the joints and meet the position of the end point.
Equations 1 and 2 are simplified to render:
x2+y2=l12+l22+2l1l2[cos θ1 cos(θ1+θ2)+sin θ1 sin(θ1+θ2)]=l12+l22+2l1l2 cos θ2 Equation 3
Thus, in the situation that the position A(X, Y) to be reached is known, the desired rotation angles θ1 and θ2 of the joints can be obtained, and driving hydraulic oil cylinder controls the rotation of the mechanical arm so that the tail end of the mechanical arm reaches the target position A(X, Y). However, the movements of the mechanical arm can be divided into rigid movement and flexible movement due to its flexibility, the above calculations omit the flexibility of the mechanical frame, which will result in that there exists great deviation between the final calculations, the planning results and the facts, thus the precision of the control is affected.
The technical problem to be solved by the present invention is to provide a control method of a mechanical articulated arm, which enhances testability and controllability on the state of the articulated arm and then improves control precision.
The control method of a mechanical articulated arm according to the present invention at least arranges two tilt sensors at different positions of the articulated arm, and the method includes: calibrating the zero positions of the tilt sensors when the articulated arm does not have elastic deformation, setting positions of a tail end of the articulated arm to be a point P and a point P′ respectively before and after the elastic deformation, and selecting a point R at the articulated arm; using the tilt sensors to detect the angle values of the two different positions of the articulated arm before and after the elastic deformation, obtaining an angle offset Δθ of the articulated arm due to the elastic deformation, and calculating a length parameter La and an angle parameter θa of the articulated arm after the deformation based on the angle offset Δθ and the length values of OR and RP′; obtaining the position parameters Xp′ and Yp′ of the point P′ according to the length parameter La and the angle parameter θa, and controlling the action of the articulated arm according to the position parameters Xp′ and Yp′ and a control target.
Preferably, at least two tilt sensors are provided at different positions of the articulated arm by providing a tilt sensor at the head end and the tail end of each segment of the articulated arm, respectively.
Preferably, the point R selected at the articulated arm is the middle position of the arc formed after the elastic deformation of the articulated arm.
Preferably, the point R selected at the articulated arm is the point that is farthest to an equivalent rigid articulated arm formed after the elastic deformation of the articulated arm.
Preferably, using the tilt sensors to detect the angle values of the two different positions of the articulated arm before and after the elastic deformation and obtaining an angle offset Δθ of the articulated arm due to the elastic deformation comprises following steps: setting the angle values detected by the tilt sensors at the head end and the tail end of the articulated arm before the elastic deformation as θa0 and θb0, respectively, and setting an angle difference as Δ00 rendered that the mounting positions of the tilt sensors are not parallel to the axial direction of the articulated arm, then:
Δ00=0b0−0a0;
It is set that the position of the head end of the articulated arm is point O, the tilt sensors are used to respectively detect the angle values of point O and point P′ which are represented by θa1 and θb1, respectively, then the angle offset Δθ is calculated to be:
Δθ=θb1−θa1−Δθ0.
Preferably, calculating the length parameter La and the angle parameter θa of the articulated arm after the elastic deformation comprises the following steps:
Setting the angle values of ∠ROP′ and ∠RP′O as ∠1 and ∠2, respectively, then:
Δθ=∠1+∠2;
According to the triangle theorem, the following is rendered:
The formula “Δθ=∠1+∠2” is substituted to render:
Thereby the angle θa and the length La of the articulated arm are obtained as:
Preferably, according to the length parameter La and the angle parameter θa, the position parameters Xp′ and Yp′ of the point P′ can be specifically obtained as follow:
The present invention also provides a control device of a mechanical articulated arm, which enhances testability and controllability on the state of the articulated arm and then improves control precision.
The control device of a mechanical articulated arm according to the present invention comprises an articulated arm, and also comprises at least two tilt sensors arranged at different positions of the articulated arm, and a controller connected with the tilt sensors; the controller comprises a calculating unit and a driving unit; the calculating unit is used to calibrate the zero positions of the tilt sensors when the articulated arm does not have elastic deformation, the positions of the tail end of the articulated arm before and after the elastic deformation are respectively set as point P and point P′, and a point R is selected at the articulated arm; the tilt sensors are used to detect the angle values of the two different positions of the articulated arm before and after the elastic deformation, an angle offset Δθ of the articulated arm due to the elastic deformation is obtained, and a length parameter La and an angle parameter θa of the articulated arm after the deformation are calculated based on the angle offset Δθ and the length values of OR and RP′; the position parameters Xp′ and Yp′ of the point P′ are obtained according to the length parameter La and the angle parameter θa, and a driving amount is calculated according to the position parameters Xp′ and Yp′, and the driving unit is used to control the action of the articulated arm according to the driving amount.
Preferably, at least two tilt sensors are provided at different positions of the articulated arm in the following way: a tilt sensor is provided at the head end and the tail end of each segment of the articulated arm, respectively.
Preferably, the point R selected at the articulated arm is the middle position of the arc formed after the elastic deformation of the articulated arm.
Preferably, the point R selected at the articulated arm is the point that is farthest to an equivalent rigid articulated arm formed after the elastic deformation of the articulated arm.
Compared with the prior art, the present invention has the following advantages:
The present invention fully takes into consideration the elastic deformation of the articulated arm during the movement, and conducts reasoning and operating using the values of the angle changes of the articulated arm before and after the deformation, realizes more accurate and more reliable judgement on the state of the articulated arm, enhances the testability and controllability on the state of the articulated arm and then improves control precision.
To make the above objects, features and advantages of the present invention clearer and easier to be understood, the present invention will be further detailed hereinafter in conjunction with the accompanying drawings and the embodiments.
The present invention aims to achieve the following object: two or more tilt sensors are provided at different positions (for example, head end and tail end) of a mechanical arm, then the tilt sensors are used to measure an angle value to obtain the state parameters of the mechanical arm after its elastic deformation, the coordinate position parameters of the tail end after the elastic deformation are obtained via mathematic operation, and then mechanical act is controlled according to the position parameters of the tail end.
Referring to
Step S201, a tilt sensor is provided at the head end and the tail end of the mechanical articulated arm, respectively. Of course, the mounting positions of the tilt sensors can be determined according to the length of the mechanical articulated arm and the characteristics of its material, for example, the position can be at L/8, L/4 or L/2 of the articulated arm.
Step S202, the zero positions of the tilt sensors are calibrated when the articulated arm does not have elastic deformation, the positions of the tail end of the articulated arm before and after the elastic deformation are respectively set as point P and point P′, and a point R is selected at the articulated arm. The zero positions refer to positions of the articulated arm when the articulated arm is placed at a stand having a complete supporting structure and in a state of having no elastic deformation, and the supporting structure can be horizontal and can also be inclined along the extending direction of the articulated arm, as long as it is ensured that the articulated arm can be completely supported and does not have elastic deformation.
Step S203, the tilt sensors are used to detect the angle values of the two different positions of the articulated arm before and after the elastic deformation and an angle offset Δθ of the articulated arm due to the elastic deformation is obtained, and a length parameter La and an angle parameter θa of the articulated arm after the deformation are calculated based on the angle offset Δθ and the length values of OR and RP′;
Step S204, the position parameters Xp′ and Yp′ of the point P′ are obtained according to the length parameter La and the angle parameter θa; and
Step S205, the action of the articulated arm is controlled according to the position parameters Xp′ and Yp′ of the point P′.
The present invention fully takes into consideration the elastic deformation of the articulated arm during the movement, and conducts reasoning and operating using the values of the angle changes of the articulated arm before and after the deformation, realizes more accurate and more reliable judgement on the state of the articulated arm, enhances the testability and controllability on the state of the articulated arm and then improves control precision.
The following description takes a one-segment articulated arm as an example to detail the computing process of the present invention. As shown in
Furthermore, to better approximate the deformation of the articulated arm, sampling points M, N and R can be provided at different positions at the articulated arm, for example, at L/8, L/4 and L/2 of the articulated arm, then the broken line OMNRP can more approximately describe the deformation of the articulated arm OP, which substantively is a method of approximating a curve with a broken line, and the more the sampling points are, the higher the precision is. During practical application, the number of the sampling points on the one hand depends on cost of a sampling device and on the other hand depends on the sampling precision of the sampling device, and considering the two factors, a suitable solution can be selected according to the demand on the application precision.
From
When the articulated arm only has minute deformation, the tilt sensors are preferably provided at the head end and the tail end of the articulated arm, referring to the position O and the position B (the positions when the articulated arm has not had deformation) or the position B′ (the position when the articulated arm has had elastic deformation) in
If the articulated arm OP is placed at a stand having a complete supporting structure so that the articulated arm is in a state of having no elastic deformation, it can be deemed that the angle parameter of OP can also be described with the angle value θb0 measured by the tilt sensor B at point B, then when the mounting positions of tilt sensors A and B are completely parallel to the axial direction of the articulated arm, there exists the following formula:
θa0=θb0 Formula 6.
During practical application, as the mounting positions of the tilt sensors A and B may not be completely parallel to the axial direction of the articulated arm, this may result in initial deviations of the measurements of the two tilt sensors, that is,
θa0≠θb0 Formula 7.
The measurements of the tilt sensors A and B when the articulated arm has not had elastic deformation are recorded as zero-position values which are respectively represented by θa0 and θb0.
It is set that:
Δθ0=θb0−θa0,
That is,
θb0=θa0+Δθ0 Formula 8.
As shown in
Δθ=θb1−θa1−Δθ0 Formula 9.
From
Δθ=∠1+∠2 Formula 10.
The variation of the length parameter of the articulated arm when the articulated arm is deforming is omitted, for the length of the articulated arm, suppose |OP|=L is known, then:
|OR|+|RP′|=L Formula 11.
According to the triangle theorem, the following is rendered:
The formula “Δθ=∠1+∠2” is substituted into the above formula to render:
which is expanded to render:
that is,
It is set that
then cos ∠2=k sin ∠2 Formula 17,
and also, as cos2 ∠2+sin2 ∠2=1,
the following can be rendered from the above:
Thus, the parameters of the angle (θa) and the length (La) of the articulated arm can be obtained as follow:
and
the position of the tail end of the articulated arm after the deformation is:
Therefore, the action of the articulated arm can be controlled using the position of the tail end of the articulated arm after the deformation, and this control manner fully takes into consideration the elastic deformation of the articulated arm and improves the precision of the control.
For an articulated arm with two segments or more than two segments, it is only necessary to take the joint of the current segment with the last segment as the point O of the above coordinate, and its solving method can be implemented according to the method shown in the above formulas 7-18.
As shown in
Thus, the coordinate parameters of the tail end of the articulated arm after the deformation are calculated as follow:
Based on the above control method of a mechanical articulated arm, the present invention also provides a control device of a mechanical articulated arm, referring to
The calculating unit 141 is used to calibrate the zero positions of the tilt sensors when the articulated arm does not have elastic deformation, the positions of the tail end of the articulated arm before and after the elastic deformation are respectively set as point P and point P′, and a point R is selected at the articulated arm; the tilt sensors are used to detect the angle values of the two different positions of the articulated arm before and after the elastic deformation and an angle offset Δθ of the articulated arm due to the elastic deformation is obtained, and a length parameter La and an angle parameter θa of the articulated arm after the deformation are calculated based on the angle offset Δθ and the length values of OR and RP′; the position parameters Xp′ and Yp′ of the point P′ are obtained according to the length parameter La and the angle parameter θa, and a driving amount is calculated according to the position parameters Xp′ and Yp′;
and the driving unit 142 is used to control the action of the articulated arm according to the driving amount.
The control method and the control device of a mechanical articulated arm provided by the present invention are detailed hereinabove, in which specific examples are used to describe the principles and the embodiments of the present invention, and the above embodiments are just intended to help understand the method and the core thoughts of the present invention; meanwhile, for those skilled in the art, according to the thoughts of the present invention, the specific embodiments and the scope of application may be varied. In conclusion, the content of the description should not be understood as restrictions on the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2010 1 0219928 | Jul 2010 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2011/076099 | 6/22/2011 | WO | 00 | 4/8/2013 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2012/000400 | 1/5/2012 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4570065 | Pryor | Feb 1986 | A |
6654665 | Arai et al. | Nov 2003 | B2 |
7657355 | Rau et al. | Feb 2010 | B2 |
7747351 | Tsusaka et al. | Jun 2010 | B2 |
20040076503 | Rau et al. | Apr 2004 | A1 |
20050278099 | Benckert et al. | Dec 2005 | A1 |
20080162005 | Tang et al. | Jul 2008 | A1 |
20090105880 | Okazaki | Apr 2009 | A1 |
20100139792 | Rau et al. | Jun 2010 | A1 |
Number | Date | Country |
---|---|---|
101522377 | Sep 2009 | CN |
101633168 | Jan 2010 | CN |
101870110 | Oct 2010 | CN |
11000883 | Jan 1999 | JP |
11165287 | Jun 1999 | JP |
Entry |
---|
English Translation for reference JP11000883. |
Number | Date | Country | |
---|---|---|---|
20130197695 A1 | Aug 2013 | US |