Skip to content

Commit d64c46b

Browse files
update
1 parent 669c7d0 commit d64c46b

1 file changed

Lines changed: 40 additions & 2 deletions

File tree

tutorials/Lecture6.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,44 @@
22

33
## Lecture 5 concepts
44

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.
643

744
## State Machine
845

@@ -13,8 +50,9 @@ Key concepts:
1350
- States: Distinct modes or conditions in which the system can exist.
1451
- Transitions: Rules that define how and when the system moves from one state to another, often triggered by events or inputs.
1552
- Events/Inputs: External actions or signals that cause state transitions.
53+
- A State Machince can be open or closed
1654

17-
## Implement a State Machine
55+
## Implement a Open Loop State Machine
1856

1957
## Usage: Controller Class (State Machine Example)
2058

0 commit comments

Comments
 (0)