Solutions
Works with
Pricing
Log in
Teams
Get started
Log in
Get started
MIE1064 Presention
BJ
by
basel jamal
·
1 view
·
Updated Dec 1, 2020
Share
Embed
Create your own
Audio Transcript
Auto-generated
00:01 - 00:02
Oh, everyone, my name is Basil.
00:03 - 00:04
In. Today I'll be talking to you about design and
00:05 - 00:05
control of industrial robots.
00:07 - 00:11
Um, these robots included robots such as warehouse robots or
00:11 - 00:14
delivery Jones, but anyhow, the first step is to actually
00:15 - 00:18
generate a stream off trajectories that needs to be fed
00:18 - 00:18
into a controller.
00:19 - 00:21
Therefore, this is what I'll be talking about first.
00:22 - 00:25
Then I'll talk to you about the control off six
00:25 - 00:27
degrees of Freedom Arms, three degree of freedom arms.
00:27 - 00:30
These are open change, and then I'll talk to you
00:30 - 00:31
about design of based systems.
00:32 - 00:34
These are like the quad rotors or the cars that
00:34 - 00:34
will attach.
00:35 - 00:35
Use open chains.
00:36 - 00:36
Answer on.
00:36 - 00:39
Then I'll talk to you about coupling the dynamics of
00:39 - 00:42
these open chains and those based systems together so that
00:42 - 00:42
they work synchronously.
00:44 - 00:46
And then I'll show you some simulations and results that
00:46 - 00:46
I've got.
00:47 - 00:48
So let's go through this.
00:49 - 00:51
So I walk you through quickly the trajectory generation because
00:52 - 00:53
I want to have some more emphasis on control.
00:54 - 00:55
But essentially the first step is to have a space
00:56 - 00:58
plan points in space to go through, and these are
00:58 - 01:01
found using different methods such as random sampling methods or
01:02 - 01:05
great based methods and then finding the path between these
01:05 - 01:09
paths using a star search potential fields different, really mapping
01:09 - 01:10
techniques on.
01:10 - 01:13
Then what we do is we These two points we
01:14 - 01:18
join these two thes consecutive points in spaces and we
01:18 - 01:22
for equation number three, which is a trajectory from the
01:22 - 01:23
start, point to the endpoint.
01:23 - 01:26
And we actually need to.
01:26 - 01:28
Paramount tries the valuable s so we need to make.
01:29 - 01:29
This is a function of time.
01:30 - 01:32
Now I just like to mention that equation Number four
01:32 - 01:34
from four and five are the same as that in
01:34 - 01:36
three, but it's but it's decoupled.
01:36 - 01:38
So the trajectory is split rotation and translation.
01:39 - 01:41
What is the significance of that?
01:41 - 01:44
If we have ah, decoupled system, then we translate and
01:45 - 01:48
rotate around the body frame simultaneously, so we translate in
01:48 - 01:48
a straight line.
01:49 - 01:51
On the other hand, in the couple system where we
01:52 - 01:55
had the X trajectory, we actually rotate around the twist
01:56 - 01:59
access and rotate around the body frame simultaneously.
02:00 - 02:03
So now we need to time tries the function that
02:03 - 02:06
we have in space, and usually the literature addresses two
02:06 - 02:08
main ways, which is the minimum snap trajectory.
02:08 - 02:11
The minimum jerk trajectory on will actually be discussing the
02:11 - 02:13
harder one, which is the minimum snap trajectory case.
02:14 - 02:16
Regardless, this is all the drive from calculus of variations
02:17 - 02:20
where we should find a function that satisfies, like lunging.
02:21 - 02:25
The way we paramo tries is by, um, forming 1/7
02:26 - 02:29
order polynomial in time and then solving for the constants
02:29 - 02:32
by ensuring the initial and final condition and solving for
02:33 - 02:35
the continuity of the derivatives across the whole.
02:35 - 02:37
Graf if we do that, we get the system off
02:37 - 02:40
this system of matrices Alfa equals B and were able
02:40 - 02:41
to solve for Alfa.
02:41 - 02:43
I've actually quoted a trajectory generated myself.
02:44 - 02:46
It takes in the States that we need to Parramatta
02:46 - 02:49
rise on dhe the point in space that you need
02:49 - 02:50
to go through.
02:50 - 02:52
And it generates that trajectory for you.
02:52 - 02:55
Ah, very smooth trajectory that can be achieved without jerky
02:56 - 03:00
motion off the motors and yeah, so we account for
03:00 - 03:01
the mass effects of the system.
03:02 - 03:02
The dynamics of the system.
03:03 - 03:05
Yeah. Okay, so that was it for trajectory.
03:06 - 03:10
So I'll dig into talking about open chain cinematics now
03:11 - 03:11
in open change aromatics.
03:12 - 03:14
The first thing that we should note is that it's
03:14 - 03:16
very important to know how to find the universe schematics
03:17 - 03:17
and universe dynamics.
03:18 - 03:21
Universe schematics are found using the equations on the bottom
03:21 - 03:26
right corner, where we have the body twist multiplied by
03:26 - 03:29
the pseudo universe of the Jacoby in in order to
03:29 - 03:32
get all corresponding joined velocities and invest dynamics.
03:33 - 03:34
I'll be talking to you about it now.
03:34 - 03:36
But regardless I mean controlling these chains.
03:37 - 03:39
There are two main methods that are addressed in the
03:39 - 03:42
literature Ah, low level control with all other controller, which
03:43 - 03:45
is controlled using force inputs, and the other one is
03:45 - 03:48
a control with it's more like a high level controller.
03:49 - 03:52
The velocity input case on also be just briefly talking
03:52 - 03:54
about some other types of controls addressed.
03:55 - 03:58
So let's quickly go through the inverse dynamics, while the
03:58 - 04:01
inverse dynamics for any arbitrary number of links can be
04:01 - 04:04
can be derived using the first equation, which is derived
04:04 - 04:07
from from the The significance of this equation is that
04:07 - 04:10
it immediately gives you the Tao, the torque, the joy,
04:10 - 04:12
the joints, the talks at the joints.
04:13 - 04:15
On the other hand, the second equation is the older
04:15 - 04:20
YouTube equation on that gives you, um, the wrench be
04:21 - 04:22
at that joint.
04:22 - 04:26
So this matrix the rich BF b that you see
04:26 - 04:31
right there is an is A is M is a
04:31 - 04:33
six by M matrix, where m is the number of
04:34 - 04:35
links you see.
04:35 - 04:37
So if you want to find the torque at that
04:37 - 04:40
joint, what we need to do is take the column
04:40 - 04:44
corresponding to that to that joint transpose it multiplied by
04:44 - 04:47
this crew access associated with that joint.
04:47 - 04:48
And then we get the torque.
04:49 - 04:52
So there's a case when the in vertebral body Jacoby
04:52 - 04:54
in off at the at the end of factor.
04:54 - 04:55
Okay, Me.
04:57 - 05:00
Okay, well, there's there's a special case when the Jacoby
05:01 - 05:03
in in the body frame of the end of factor
05:03 - 05:03
is in vertebral.
05:04 - 05:07
In that case, we can actually lump everything and the
05:07 - 05:08
mass matrix.
05:08 - 05:12
And, um, it's when we call it the valuable Lambda.
05:12 - 05:14
It's known as the apparent and effective Mass.
05:14 - 05:17
The result of this is it's six by one victor.
05:18 - 05:21
So in the end, effective wrench f.
05:22 - 05:24
And if we multiply that, multiply that by the Jacoby
05:24 - 05:29
universe, we get all corresponding, um, joint torques, which we
05:29 - 05:30
can use for control.
05:31 - 05:33
So let's talk about the first type of control, which
05:33 - 05:34
is the control using force inputs.
05:35 - 05:37
So essentially, there are two main methods that are addressed
05:37 - 05:39
in the literature, the feedback and feedback and feet forward
05:40 - 05:41
and feed our controller.
05:41 - 05:42
We essentially use the P I.
05:42 - 05:45
D controller where the integral term is used to, um,
05:45 - 05:47
zero out the steady state.
05:48 - 05:50
Better. But the problem is that what I'd like to
05:50 - 05:52
draw your attention to is that the integral gain has
05:52 - 05:55
an upper bound that upper bound can really stabilize the
05:55 - 05:58
system. I think this is called the integral wind up.
05:58 - 06:01
So thistle is what an integral wind up is on
06:02 - 06:05
DSO. Usually these types of systems tend to use a
06:06 - 06:08
P D controller instead with a very high proportional game.
06:09 - 06:10
If not, then the integral control.
06:11 - 06:12
The integral gain is very low.
06:13 - 06:15
I'd like to also draw your attention to the fact
06:16 - 06:18
that this type of controls the third order system.
06:18 - 06:21
If you notice at the very last equation, this is
06:21 - 06:24
opposed to the velocity control which I'll discuss later, which
06:24 - 06:25
is going to be a second order system.
06:27 - 06:30
Okay, how about feedback and feed forward control er well
06:31 - 06:32
in feedback and feed forward control.
06:32 - 06:33
What we do is we model the system.
06:34 - 06:36
You see, we have em hat and a chat is
06:36 - 06:37
a model for the mass metrics.
06:38 - 06:41
And a chat is a model for the exploration and
06:41 - 06:43
the gravity terms on what we do here is we
06:43 - 06:47
apply a p I D controller onto the acceleration term.
06:48 - 06:49
I really fucked that it.
06:50 - 06:52
Okay, so this is really the feedback control.
06:52 - 06:56
Now, is this method off modeling the system better than
06:56 - 06:57
the feedback on Lee?
06:58 - 06:59
I mean, it depends if we have a very good
06:59 - 07:02
model of the system, it will give better results.
07:02 - 07:07
You see here, when tracking a desired trajectory data, we
07:07 - 07:10
are able to track it at much higher accuracy and
07:10 - 07:11
also at lower control effort.
07:12 - 07:14
So definitely, yes, it does give better results.
07:15 - 07:17
Um, but if the system model is not that good,
07:18 - 07:19
then it might actually do harm to the system.
07:21 - 07:22
So let me talk to you about the second type
07:23 - 07:26
of control, which is ah, high level controller, velocity control
07:26 - 07:30
inputs. In this case, we trust local controllers at the
07:30 - 07:34
joints to achieve the desired velocity that we need, You
07:34 - 07:37
see? So this is why it's called the high level
07:37 - 07:40
controller because we're not really controlling the talks were controlling
07:40 - 07:40
the velocity.
07:41 - 07:42
We trust the local controllers to achieve that.
07:43 - 07:46
Well, the basic discussion is done in joint space.
07:47 - 07:49
So you see the state of valuable here?
07:50 - 07:55
Yeah, that's a, um, and by one matrix.
07:55 - 07:57
So where m is the number of things?
07:58 - 07:58
Number of joints.
07:59 - 07:59
I'm sorry.
07:59 - 08:02
So, you know, it's a matrix containing all the joints.
08:02 - 08:04
Now, you see, I would like to draw your attention
08:04 - 08:07
to something that this, uh, the dynamics of the off
08:07 - 08:09
the velocity control is second order.
08:10 - 08:10
It's not third order.
08:11 - 08:12
And that's why we don't need a derivative.
08:12 - 08:15
We don't need a derivative gain on.
08:15 - 08:18
So when we use velocity control, we tend to use
08:18 - 08:19
a p I controller.
08:19 - 08:25
The best performance is achieved by by using a bye
08:26 - 08:26
bye critical damping.
08:29 - 08:34
Mhm. The best performance is achieved in critical in the
08:34 - 08:35
critically damped case.
08:35 - 08:37
When K I equals K P squared over four.
08:38 - 08:40
And as you can see, it completely zeros out the
08:40 - 08:45
study. The studies, it all My God, One second.
08:46 - 08:53
Okay, so it seems that mhm the best case of
08:53 - 08:56
this controller, the best set of gains for this controller
08:56 - 08:59
is that she is the one that achieves critical damping.
08:59 - 09:02
And that's achieved one k I equals to keep his
09:02 - 09:02
squared over four.
09:03 - 09:05
You can see it's really you know, uh, the steady
09:05 - 09:06
state later approaches.
09:06 - 09:09
Zero. Uh, this is only the case.
09:09 - 09:13
When when theater is changing constantly, you see theater there.
09:13 - 09:16
The desire data is linear, so one should, when that
09:16 - 09:17
is changing very slowly.
09:18 - 09:19
So how about some?
09:20 - 09:21
How about tasks based control?
09:21 - 09:24
We'll all that would happen is that the velocities will
09:24 - 09:28
turn into twists and the positions will turn into trajectories.
09:28 - 09:31
And in order to find the joint velocities in fatal
09:32 - 09:34
dot all we need to do is take is take
09:34 - 09:36
the inverse of the body Jacoby and the end effective
09:36 - 09:39
frame on Multiply that by the end, effective twist.
09:40 - 09:42
Okay. And then we apply the same feet forward p
09:43 - 09:44
i controller to the whole thing, you see.
09:44 - 09:46
I mean, it's the same controller again.
09:46 - 09:47
All we need to do is find the end effect
09:48 - 09:50
er twist and then use that to find the joint
09:51 - 09:53
philosophies, the corresponding joint velocities using inverse cinematics.
09:55 - 09:56
Okay, So how about other methods?
09:57 - 09:59
Well, you see the feedback and feet forward Controller is
09:59 - 09:59
very competition.
10:00 - 10:03
We accept expensive, very computational intensive.
10:03 - 10:04
And so there is some other.
10:05 - 10:06
There is the other method P, D and graffitti competition
10:07 - 10:07
and notice.
10:08 - 10:10
There is no I just like I said, because off
10:10 - 10:13
the integral upper bound, we tend to remove the I
10:13 - 10:15
on. So we use a P D controller and plus
10:15 - 10:18
the gravity compensation term where we model only the gravity
10:18 - 10:21
term. Other types of controls include hybrid motion force control,
10:22 - 10:25
where we use both velocity and force inputs nominal control.
10:25 - 10:29
Robust control when we account for modeling, enters its creative
10:29 - 10:31
learning control when the tax are being repetitive.
10:32 - 10:34
So, for example, we're picking up putting back things in
10:34 - 10:39
and, uh, adaptive control when the conditions are not ideal.
10:39 - 10:43
So it kind of works like but by retuning the
10:43 - 10:47
system every, you know, depending on the conditions, it's it's
10:47 - 10:48
something like that.
10:48 - 10:53
Yeah. Okay, so now let's talk about the design off
10:53 - 10:55
the base systems, which is extremely important
See full transcript