Introduction

Control Engineering with Python

Symbols

๐Ÿ Code ๐Ÿ” Worked Example
๐Ÿ“ˆ Graph ๐Ÿงฉ Exercise
๐Ÿท๏ธ Definition ๐Ÿ’ป Numerical Method
๐Ÿ’Ž Theorem ๐Ÿงฎ Analytical Method
๐Ÿ“ Remark ๐Ÿง  Theory
โ„น๏ธ Information ๐Ÿ—๏ธ Hint
โš ๏ธ Warning ๐Ÿ”“ Solution

๐Ÿท๏ธ Control Theory

A field of Mathematics that deals with the

  • modelling,

  • analysis and

  • control.

of abstract dynamical systems.

๐Ÿ‡บ๐Ÿ‡ธ Control Theory \(\to\) ๐Ÿ‡ซ๐Ÿ‡ท Automatique.

๐Ÿท๏ธ Dynamical Systems (Abstract)

  • Described by a set of time-dependent variables,

  • which are governed by mathematical equations,

  • that connects the system past, present and future.

๐Ÿงญ Examples

Mechanical Systems

Photo by enginakyurt on Unsplash

Population Dynamics

Photo by Jeremy Cai on Unsplash

World Dynamics (Forrester)

Epidemiological Models

Photo by Daniel Schludi on Unsplash

๐Ÿท๏ธ Control Engineering

Apply Control Theory to design & build concrete dynamical systems with specified behaviors.

Overlaps with and complements:

  • ๐Ÿ”Œ Electrical Engineering

  • ๐Ÿ”ง Mechanical Engineering

  • ๐Ÿ–ฅ๏ธ Software Engineering

  • โ€ฆ

๐Ÿงญ Applications

Robotics

Possessed Photography on Unsplash

๐Ÿค– or ๐Ÿง‘?

Consider:

  • ๐Ÿ’ธ Cost analysis

  • ๐ŸŽจ Creative/complex work?

  • ๐Ÿฆพ Strength, speed, precision

  • ๐Ÿœ๏ธ Hostile work environment

Manufacturing

Eurofighter Typhoon

Photo by Ray Harrington on Unsplash

  • twin-engine, canard delta wing, multirole fighter

  • air superiority fighter / agile / dogfighter

  • โš ๏ธ aerodynamically unstable in subsonic flight!

โ€œThe design of the Typhoon is such that without input to any control surfaces the aircraft will pitch up during flight extremely quickly.โ€

โ€œAlthough this improves the agility of the aircraft it also requires a system to enable controlled flight to be maintained.โ€

โ€œThis is achieved through the Fly By Wire ๐Ÿท๏ธ Flight Control System [โ€ฆ].โ€

โ€œWith this system the pilot has no direct link to any of the aircraftโ€™s control surfaces.โ€

โ€œInstead, all movements of the throttle, stick or pedals are interpreted by the FCS and an appropriate control response taken.โ€

Learn More

Boeing 737 MAX

Photo by Justin Hu on Unsplash

Boeing 737 MAX

4th generation of Boeing 737.

Larger and more powerful engines.

\(\to\) โ›ฝ fuel consumption reduced by 14%

\(\to\) ๐Ÿ’ธ profit!

\(\to\) โš ๏ธ engines located further forward and higher

\(\to\) โš ๏ธ pitch-up tendency that needs to be controlled

\(\to\) ๐Ÿท๏ธ Maneuvering Characteristics Augmentation System (MCAS)

Fatal Crashes

โœˆ๏ธ Lion Air Flight 610 (2018, Indonesia)

โ€œMCAS pushing the aircraft into a dive due to data from a faulty angle-of-attack sensor.โ€

โœˆ๏ธ Ethiopian Airlines Flight 302 (2019, Ethiopia)

โ€œEvidence suggests, that [โ€ฆ] the aircraft was configured to dive, similar to Lion Air Flight 610.โ€

\(\to\) ๐Ÿ›‘ global 737 MAX groundings.

Learn More

Rocket Booster Landing

๐Ÿš€ SpaceXโ€™s Starship

ADAS & Self-Driving Cars

SAE Automation Levels

๐Ÿท๏ธ SAE : Society of Automobile Engineers

  • Level 0: ๐Ÿ‘จ No automation: warnings, alerts, etc.

  • Level 1: ๐Ÿ‘จ/๐Ÿค– single-task assist (e.g. speed control)

  • Level 2: ๐Ÿ‘จ/๐Ÿค– many-task assist \(\leftarrow\) Telsa Autopilot

  • Level 3: ๐Ÿค–/๐Ÿ‘จ \(\leftarrow\) Mercedes Drive Pilot (2021)

  • Level 4: ๐Ÿค– \(\leftarrow\) Waymo (2022), Mercedes (2024 ๐Ÿ”ง)

  • Level 5: ๐Ÿค– fully self-driving \(\leftarrow\) ๐Ÿš€ Not achieved yet

  • ADAS Level 3-5 system design is mostly Machine Learning (see for example the official Waymoโ€™s blog)

  • ADAS Level 0-2 system design is mostly Control Engineering.

Level 1 ADAS

Single feature automation.

  • ๐Ÿท๏ธCAS: Collision avoidance systems

  • ๐Ÿท๏ธ CC: Cruise control

๐Ÿท๏ธ ACC: CAS + CC

Adaptative Cruise Control

๐Ÿท๏ธ ESC/ESP

Electronic stability control

Learn More