﻿1
00:00:00,630 --> 00:00:01,420
‫Welcome back.

2
00:00:02,040 --> 00:00:08,040
‫Now that you are familiar with the general control structure that we are using for controlling the Web,

3
00:00:08,520 --> 00:00:18,090
‫it is time to zoom into the NPC controller and we are going to see how it finds the control inputs you

4
00:00:18,090 --> 00:00:20,250
‫to U3 and EUFOR.

5
00:00:21,120 --> 00:00:25,380
‫Remember that in NPC you had a cost function.

6
00:00:26,260 --> 00:00:31,610
‫And the whole point of NBC, in fact, was to minimize that cost function.

7
00:00:32,320 --> 00:00:41,800
‫The whole point of NBC was to find the right you to Q3 and Q4 control inputs so that you could minimize

8
00:00:41,800 --> 00:00:50,440
‫the errors between your system and the reference values while also keeping the change of your control

9
00:00:50,440 --> 00:00:52,870
‫inputs as small as possible.

10
00:00:53,890 --> 00:01:02,520
‫I want my errors to go to zero, but at the same time, I don't want my you to use three and you four

11
00:01:02,650 --> 00:01:03,900
‫go like crazy.

12
00:01:03,910 --> 00:01:06,580
‫You know, I don't want them to change like crazy.

13
00:01:07,360 --> 00:01:13,030
‫And that is why in the cost function, one of the variables where errors.

14
00:01:14,000 --> 00:01:22,320
‫And the other types of variables in the cost function, where the changes of my control inputs the Delta,

15
00:01:22,320 --> 00:01:32,840
‫you to the Delta U3 and Delta EUFOR, and then I got my real control inputs by taking the previous control

16
00:01:32,840 --> 00:01:41,450
‫inputs and then adding the changes of the control inputs that the NPC had previously found for me.

17
00:01:42,230 --> 00:01:44,960
‫So that was the general idea of the NPC.

18
00:01:45,740 --> 00:01:56,690
‫Now, from the previous section, you know that the NPC control gets its Fi, R and FITA are from the

19
00:01:57,080 --> 00:02:05,780
‫feedback penalization controller and then CI R comes from the planner and then the NPC will give you

20
00:02:06,050 --> 00:02:13,670
‫you two U3 and then you for end if you remember then the feedback loop mineralisation controller gave

21
00:02:13,820 --> 00:02:18,080
‫you one directly and sent it directly to the plant.

22
00:02:19,070 --> 00:02:26,900
‫However, since in this section we only focus on the NPC controller, then we don't care where the reference

23
00:02:26,900 --> 00:02:27,950
‫values come from.

24
00:02:28,730 --> 00:02:37,910
‫So in this section, we simply assume that the NPC controller gets its reference values from one source.

25
00:02:38,960 --> 00:02:46,340
‫But in the back of your mind, you know that player comes from the planner directly.

26
00:02:47,350 --> 00:02:55,300
‫The application of the NPC controller to the oveI will be quite similar to the steps that were taken

27
00:02:55,600 --> 00:03:00,790
‫when we applied it to the autonomous vehicle in order to laterally control it.

28
00:03:01,750 --> 00:03:08,110
‫Nevertheless, there will be some important differences as well, and we will consider them in great

29
00:03:08,110 --> 00:03:08,730
‫detail.

30
00:03:08,980 --> 00:03:10,840
‫So let's get started.

