You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/Lecture6.md
+40-2Lines changed: 40 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,44 @@
2
2
3
3
## Lecture 5 concepts
4
4
5
-
- State Machine
5
+
- Open & Closed Loop Control Systems
6
+
- Open Loop State Machine
7
+
8
+
## Open & Closed Loop Control Systems
9
+
10
+
Open and closed loop control systems are two fundamental types of control systems used in engineering, automation, robotics, and other fields to manage the behavior of devices or processes.
11
+
12
+
### Open Loop
13
+
14
+
An open loop control system is a type of system in which the control action is independent of the desired output or the actual system output.
15
+
16
+
How it works:
17
+
18
+
- The system receives an input (command or reference signal).
19
+
- The controller processes this input and sends a control signal to the actuator.
20
+
- The actuator executes the control action, affecting the system or process.
21
+
- There is no feedback mechanism to compare the output with the input.
22
+
23
+
Example:
24
+
25
+
A microwave oven: You set the cooking time, and the microwave runs for that duration regardless of how hot the food actually gets.
26
+
27
+
### Closed Loop
28
+
29
+
A closed loop control system (also called a feedback control system) is a system in which the control action is dependent on the desired output and the actual system output.
30
+
31
+
How it works:
32
+
33
+
- The system receives an input (desired value or setpoint).
34
+
- The controller processes this input and sends a control signal to the actuator.
35
+
- The actuator operates on the system.
36
+
- A sensor measures the actual output.
37
+
- The output is fed back and compared with the input (setpoint).
38
+
- The difference (error) is used to adjust the control action to reduce the error.
39
+
40
+
Example:
41
+
42
+
A home thermostat: The home owner sets a desired temperature. The system measures the actual room temperature and adjusts the heater/cooler to reach and maintain the desired temperature. As the system gets closer (or overshoots) to the desired temperature it adjusts the output.
6
43
7
44
## State Machine
8
45
@@ -13,8 +50,9 @@ Key concepts:
13
50
- States: Distinct modes or conditions in which the system can exist.
14
51
- Transitions: Rules that define how and when the system moves from one state to another, often triggered by events or inputs.
15
52
- Events/Inputs: External actions or signals that cause state transitions.
53
+
- A State Machince can be open or closed
16
54
17
-
## Implement a State Machine
55
+
## Implement a Open Loop State Machine
18
56
19
57
## Usage: Controller Class (State Machine Example)
0 commit comments