1
00:00:02,000 --> 00:00:06,000
welcome to control systems lectures before you started don't think there's a

2
00:00:06,000 --> 00:00:07,000
few who subscribe to the channel:

3
00:00:07,000 --> 00:00:11,000
and also whether your control student whose hearing this for the first time

4
00:00:11,000 --> 00:00:16,000
or a veteran engineer brushing up on the basics appreciate you taking the time to

5
00:00:16,000 --> 00:00:16,000
watch this video

6
00:00:16,000 --> 00:00:21,000
and you find these venues hopeful or if you find them not being clear enough

7
00:00:21,000 --> 00:00:25,000
please leave a comment below and I'll try to address it but now

8
00:00:25,000 --> 00:00:29,000
on the lecture in this lecture on to describe

9
00:00:29,000 --> 00:00:33,000
transfer functions and how control engineers use them to model elements

10
00:00:33,000 --> 00:00:34,000
like filters

11
00:00:34,000 --> 00:00:38,000
actuators in order to simplify control system design

12
00:00:38,000 --> 00:00:42,000
and analysis in the simplest description I can find

13
00:00:42,000 --> 00:00:45,000
a transfer function is the applause transform

14
00:00:45,000 --> 00:00:50,000
up the impulse response other linear and time-invariant system

15
00:00:50,000 --> 00:00:54,000
when you set the system initial conditions 20

16
00:00:54,000 --> 00:00:58,000
now unless you're already familiar with transfer functions

17
00:00:58,000 --> 00:01:02,000
I'm betting that statement didn't make a whole lot of sense for the time being

18
00:01:02,000 --> 00:01:06,000
well just think about transfer function as a mysterious black box

19
00:01:06,000 --> 00:01:11,000
and we imply an input signal into it we had a modified signal out

20
00:01:11,000 --> 00:01:14,000
and if we've designed this black box correctly

21
00:01:14,000 --> 00:01:17,000
means pretty good morrow a real physical process

22
00:01:17,000 --> 00:01:22,000
let's take a completely ridiculous example to explain the benefit of

23
00:01:22,000 --> 00:01:23,000
transfer functions

24
00:01:23,000 --> 00:01:26,000
and hope we'll get a better understanding of them in the process see

25
00:01:26,000 --> 00:01:28,000
you got in trouble at school

26
00:01:28,000 --> 00:01:32,000
and your ass to rate your name a hundred times on the chalkboard but instead of

27
00:01:32,000 --> 00:01:34,000
standing right next to the board

28
00:01:34,000 --> 00:01:37,000
the teacher says you to stand on the opposite side of the room

29
00:01:37,000 --> 00:01:40,000
and since you can't physically reach the word from where you're standing

30
00:01:40,000 --> 00:01:44,000
you have to use the strange contraption this consists a

31
00:01:44,000 --> 00:01:48,000
a flexible stick it has acquired test to the Indic

32
00:01:48,000 --> 00:01:53,000
and miss clark moves in remote control which drives a pair of linear actuators

33
00:01:53,000 --> 00:01:59,000
and then moves another flexible stick which is then attached to a piece of

34
00:01:59,000 --> 00:01:59,000
choc

35
00:01:59,000 --> 00:02:04,000
which finally is touching the chalkboard and now you can finally start to rate

36
00:02:04,000 --> 00:02:04,000
your name

37
00:02:04,000 --> 00:02:09,000
I told you this was ridiculous so just stay with me if we take the simplified

38
00:02:09,000 --> 00:02:10,000
block diagram

39
00:02:10,000 --> 00:02:14,000
love this system might look something like this: the input into the whole

40
00:02:14,000 --> 00:02:15,000
system

41
00:02:15,000 --> 00:02:20,000
are your hand movements this moves the first flexible stick that all represent

42
00:02:20,000 --> 00:02:21,000
right now as a black box

43
00:02:21,000 --> 00:02:25,000
start thinking of these is transfer functions the up into this box is the

44
00:02:25,000 --> 00:02:26,000
position

45
00:02:26,000 --> 00:02:30,000
the end of the first ek the position is now the input

46
00:02:30,000 --> 00:02:35,000
into the remote control remote control another black box converts the position

47
00:02:35,000 --> 00:02:36,000
into an electrical signal

48
00:02:36,000 --> 00:02:40,000
in the form a change in voltage this voltage is applied to the linear

49
00:02:40,000 --> 00:02:41,000
actuators

50
00:02:41,000 --> 00:02:46,000
which converts the electrical signal the position again this position as the

51
00:02:46,000 --> 00:02:48,000
input into the final flexible stick

52
00:02:48,000 --> 00:02:51,000
whose output is the position a piece of choc

53
00:02:51,000 --> 00:02:56,000
we finally draws on a blackboard and if you've accounted for all the relative

54
00:02:56,000 --> 00:02:58,000
motions in the system correctly

55
00:02:58,000 --> 00:03:01,000
you can write your name 100 times and you get to go

56
00:03:01,000 --> 00:03:04,000
how can you possibly even draw streamlining

57
00:03:04,000 --> 00:03:08,000
let alone something as complex as your name to such a flexible system

58
00:03:08,000 --> 00:03:12,000
with so many different transformations the answer

59
00:03:12,000 --> 00:03:16,000
is by characterizing the behavior each individual part

60
00:03:16,000 --> 00:03:20,000
and his each black box in combining them to understand how the system behaves as

61
00:03:20,000 --> 00:03:21,000
a whole

62
00:03:21,000 --> 00:03:24,000
and the simplest way to do that is with transfer functions

63
00:03:24,000 --> 00:03:29,000
I'll finish this story in a bit the first thing to practice went back to

64
00:03:29,000 --> 00:03:29,000
claim

65
00:03:29,000 --> 00:03:33,000
with some background knowledge and just the smallest amount of math

66
00:03:33,000 --> 00:03:37,000
we start like most things in classical control theory

67
00:03:37,000 --> 00:03:41,000
with below-cost transport went to a plus transformed us

68
00:03:41,000 --> 00:03:45,000
his map a function from the time domain to the esta mi

69
00:03:45,000 --> 00:03:49,000
I will describe the intricacies of the transform into future lecture

70
00:03:49,000 --> 00:03:54,000
however for now I'm already here without any mathematical proof as you can

71
00:03:54,000 --> 00:03:54,000
imagine

72
00:03:54,000 --> 00:03:59,000
Google+ transform is a complex operation in all but the simplest cases

73
00:03:59,000 --> 00:04:03,000
likely actually performing this integration is rarely needed

74
00:04:03,000 --> 00:04:07,000
because the most common transformation between time and yes to main

75
00:04:07,000 --> 00:04:12,000
are part of software packages like MATLAB or can be easily looked up in

76
00:04:12,000 --> 00:04:13,000
Tables

77
00:04:13,000 --> 00:04:16,000
or even just memorized here are some more common ones

78
00:04:16,000 --> 00:04:20,000
the drop delta function which is a squealing DFT

79
00:04:20,000 --> 00:04:23,000
the low-cost transform is just more this is also the

80
00:04:23,000 --> 00:04:27,000
in polls function the head exit teeny

81
00:04:27,000 --> 00:04:31,000
Google+ transform that is just exit s ex-prime a team which is the first

82
00:04:31,000 --> 00:04:32,000
derivative

83
00:04:32,000 --> 00:04:35,000
X is s times exit s minus

84
00:04:35,000 --> 00:04:39,000
the initial position x0 then there's X double prime which is the second

85
00:04:39,000 --> 00:04:41,000
derivative 50

86
00:04:41,000 --> 00:04:45,000
is just s squared times exit s minus as times the initial position

87
00:04:45,000 --> 00:04:49,000
minus the initial velocity if you watch my video on linear time-invariant

88
00:04:49,000 --> 00:04:50,000
systems

89
00:04:50,000 --> 00:04:54,000
you know that any Lt I system can be completely described by its temples

90
00:04:54,000 --> 00:04:55,000
response

91
00:04:55,000 --> 00:05:01,000
just as repression all sum it up here if you subject to the LT I system to impose

92
00:05:01,000 --> 00:05:02,000
function

93
00:05:02,000 --> 00:05:05,000
est and Rec delta function at time 0

94
00:05:05,000 --> 00:05:08,000
you can either measure or calculate the output this is called the

95
00:05:08,000 --> 00:05:12,000
impulse response love the system

96
00:05:12,000 --> 00:05:16,000
lets the subject this 20 arbitrary input

97
00:05:16,000 --> 00:05:19,000
how can you determine with the output is that it well you can break that

98
00:05:19,000 --> 00:05:22,000
arbitrary input up into in infinite number

99
00:05:22,000 --> 00:05:26,000
love impulses and since this isn't all shy system

100
00:05:26,000 --> 00:05:31,000
you can steal and shipped through time the impulse responses

101
00:05:31,000 --> 00:05:34,000
appropriately base all the skilled and shifted impulse

102
00:05:34,000 --> 00:05:38,000
inputs now finding the system time domain response to the

103
00:05:38,000 --> 00:05:41,000
arbitrary input is the simplest summing up

104
00:05:41,000 --> 00:05:45,000
all the incident impulse responses and sense

105
00:05:45,000 --> 00:05:49,000
something an infinite number of signals is impossible to do a one-time

106
00:05:49,000 --> 00:05:54,000
mathematicians came up with what is called the convolution integral

107
00:05:54,000 --> 00:05:58,000
always plane using this block diagram notation if you have an arbitrary input

108
00:05:58,000 --> 00:05:59,000
you with T

109
00:05:59,000 --> 00:06:03,000
in you apply it to impulse response GFT

110
00:06:03,000 --> 00:06:06,000
Danielle Kawai T is equal to the convolution a few

111
00:06:06,000 --> 00:06:09,000
Angie rain here in general format or

112
00:06:09,000 --> 00:06:13,000
if you prefer shorthand using this star but these two representations

113
00:06:13,000 --> 00:06:17,000
are equivalent so in this representation

114
00:06:17,000 --> 00:06:20,000
GFT is the impulse response and used he is

115
00:06:20,000 --> 00:06:26,000
any arbitrary input here's what's great about the applause transform

116
00:06:26,000 --> 00:06:29,000
if you think a low-cost transform love the input

117
00:06:29,000 --> 00:06:34,000
which becomes you s and you keep along plus transformer the impulse response

118
00:06:34,000 --> 00:06:38,000
GS then the output wire s

119
00:06:38,000 --> 00:06:41,000
is just multiplication overview Angie

120
00:06:41,000 --> 00:06:45,000
NGN s low-cost transform up the impulse response

121
00:06:45,000 --> 00:06:50,000
which is called the transfer function so we have reduced it difficult convolution

122
00:06:50,000 --> 00:06:51,000
in a whole

123
00:06:51,000 --> 00:06:55,000
with a much simpler multiplication step or more accurately

124
00:06:55,000 --> 00:06:59,000
below-cost transforms taking care of the convolution for you

125
00:06:59,000 --> 00:07:03,000
to make sure that the sayings 10 was walk to this one more time

126
00:07:03,000 --> 00:07:07,000
but this time with an example take a simple harmonic oscillator

127
00:07:07,000 --> 00:07:12,000
with mass him and spring constant k which is subjected to an input forcing

128
00:07:12,000 --> 00:07:14,000
function you ft

129
00:07:14,000 --> 00:07:17,000
it can be shown that the equation of motion of such as system

130
00:07:17,000 --> 00:07:21,000
is am times the acceleration class K

131
00:07:21,000 --> 00:07:25,000
times the position and that said equal to the input you ft

132
00:07:25,000 --> 00:07:30,000
and find the impulse response in the system we say UT to the direct delta

133
00:07:30,000 --> 00:07:32,000
function

134
00:07:32,000 --> 00:07:36,000
and now it's all this differential equation using the low-cost transform

135
00:07:36,000 --> 00:07:39,000
to you that we take a look lost transformer the left side which is him

136
00:07:39,000 --> 00:07:43,000
times will cost transform the acceleration which we go back to our

137
00:07:43,000 --> 00:07:44,000
table

138
00:07:44,000 --> 00:07:48,000
we can find X double price remember that there were no initial conditions for

139
00:07:48,000 --> 00:07:51,000
this problem so we can set these 20

140
00:07:51,000 --> 00:07:55,000
and you're left with is s squared times Xmas

141
00:07:55,000 --> 00:07:58,000
so we go back down can replace external prime ft with esquire

142
00:07:58,000 --> 00:08:03,000
Xmas now we can do the same with the 2nd ter

143
00:08:03,000 --> 00:08:06,000
go back up 21 find X-eighty is just X

144
00:08:06,000 --> 00:08:10,000
s it seems simple to get K

145
00:08:10,000 --> 00:08:14,000
X a vast now you can take full cost transforming the right hand side

146
00:08:14,000 --> 00:08:17,000
which is just the impost function which has a low-cost transform

147
00:08:17,000 --> 00:08:21,000
of what

148
00:08:21,000 --> 00:08:25,000
from here's just a few outbreak steps to solve for x

149
00:08:25,000 --> 00:08:29,000
s which is the impulse response up the system

150
00:08:29,000 --> 00:08:34,000
in the esta mi which turns out is one over and that squared plus que

151
00:08:34,000 --> 00:08:37,000
but what if we want this is the time to me all we have to do is take the

152
00:08:37,000 --> 00:08:41,000
in personal plus transform and this is one that I have memorized

153
00:08:41,000 --> 00:08:44,000
so I had to look this up in a table and it turns out is one of the square root

154
00:08:44,000 --> 00:08:45,000
km

155
00:08:45,000 --> 00:08:49,000
times the sign the square root of came over him times t

156
00:08:49,000 --> 00:08:53,000
or signs lead as you'd expect or if the input wasn't an impulse but a ramp

157
00:08:53,000 --> 00:08:54,000
function

158
00:08:54,000 --> 00:08:58,000
you have tea crostini how would you go about solving with responses to this

159
00:08:58,000 --> 00:08:59,000
input

160
00:08:59,000 --> 00:09:02,000
well if you're in the time domain you do this to convolution

161
00:09:02,000 --> 00:09:06,000
or UNC would convey all teeny with that sign is horrible

162
00:09:06,000 --> 00:09:10,000
and this is a pretty difficult integration to do

163
00:09:10,000 --> 00:09:13,000
likely we can do this in the S two main by taking the low-cost transform up the

164
00:09:13,000 --> 00:09:14,000
ramp

165
00:09:14,000 --> 00:09:17,000
which is one over a squared been defined the

166
00:09:17,000 --> 00:09:21,000
response to this ramp all we have to do is multiply

167
00:09:21,000 --> 00:09:25,000
one over a square I want over ms squared plus que

168
00:09:25,000 --> 00:09:29,000
and remember also that one over and ask where class K

169
00:09:29,000 --> 00:09:32,000
is the imports response to the system in the S two main

170
00:09:32,000 --> 00:09:36,000
so this is the transfer function and notice that we got this transfer

171
00:09:36,000 --> 00:09:40,000
function by taking the low-cost transform love your question motion

172
00:09:40,000 --> 00:09:44,000
we never need to go to the time to me snow we know that let's get back to our

173
00:09:44,000 --> 00:09:46,000
example above

174
00:09:46,000 --> 00:09:50,000
if we were able to write the equations of motion for each of these individual

175
00:09:50,000 --> 00:09:51,000
processes

176
00:09:51,000 --> 00:09:55,000
then by the method described below we would have the transfer functions

177
00:09:55,000 --> 00:09:58,000
which we can insert into all these unknown black boxes

178
00:09:58,000 --> 00:10:03,000
for example the sticks can be modeled as an inertial is spring and damper

179
00:10:03,000 --> 00:10:07,000
this has a transfer function of 10 for CS plus que

180
00:10:07,000 --> 00:10:10,000
the Remo can be modeled as a second order process as it converts mechanical

181
00:10:10,000 --> 00:10:13,000
position and electrical voltage

182
00:10:13,000 --> 00:10:16,000
in a linear actuators to be modeled as a mass

183
00:10:16,000 --> 00:10:20,000
snow would have been a near-impossible Senate into cross we're trying to do

184
00:10:20,000 --> 00:10:23,000
this in time domain with convolution

185
00:10:23,000 --> 00:10:27,000
combining his transfer functions in the S two main is as simple as multiplying

186
00:10:27,000 --> 00:10:30,000
them all together

187
00:10:30,000 --> 00:10:34,000
and the result is the transfer function up the entire planet

188
00:10:34,000 --> 00:10:38,000
where the input into the plant is your hand motion still

189
00:10:38,000 --> 00:10:41,000
and the output is the chart position

190
00:10:41,000 --> 00:10:45,000
so hopefully you can see how important transfer functions art modeling

191
00:10:45,000 --> 00:10:50,000
control system in lectures on frequency response an open-loop and closed-loop

192
00:10:50,000 --> 00:10:51,000
performance

193
00:10:51,000 --> 00:10:55,000
you'll see that there are many other ways we use transfer functions

194
00:10:55,000 --> 00:10:58,000
the last thing I want to leave you with is just something to think about

195
00:10:58,000 --> 00:11:02,000
this is actually a closed-loop system that you the troubled students part

196
00:11:02,000 --> 00:11:05,000
the reference signal is your name this is where you are written on the

197
00:11:05,000 --> 00:11:06,000
chalkboard

198
00:11:06,000 --> 00:11:10,000
you sense the current state of the system with your eyes in you compare

199
00:11:10,000 --> 00:11:12,000
what you're seeing to what you want written

200
00:11:12,000 --> 00:11:17,000
your brain interprets these errors and generates commands to move your hands

201
00:11:17,000 --> 00:11:21,000
well what if you want to remove yourself from this controlled in turn it into an

202
00:11:21,000 --> 00:11:23,000
automatic control system

203
00:11:23,000 --> 00:11:23,000
we'll discuss that in future lectures

204
00:11:23,000 --> 00:11:28,000



