• Praktische Grundlagen der Informatik
  • Algorithmen und Datenstrukturen
  • Foundations for Robotic and AI
  • Übersicht Data Science:
  • Data Science / Machine Learning
  • Projekt: Deep Teaching
  • Alte Veranstaltungen:
  • Grundlagen der Informatik (NF)
  • Octave/Matlab Tutorial
  • Game Physik
  • Home
  • Lehre
  • Publikationen
  • Kontakt/Impressum

Introduction¶

Motivation: The Necessity of Uncertainty Management¶

In the fields of robotics, autonomous systems, and signal processing, we face a fundamental challenge: the world is inherently uncertain. When we attempt to track the position of a vehicle or the orientation of a robotic arm, we rely on two primary sources of information, both of which are flawed:

  1. Mathematical Models: Our physical equations (e.g., $F = ma$) are idealizations. They cannot account for every gust of wind, patch of friction, or mechanical vibration. This is known as Process Noise.
  2. Sensors: No sensor provides a perfect truth. Cameras have resolution limits, and GPS signals suffer from atmospheric interference. This is known as Observation Noise.

The goal of this course is to provide the mathematical rigor required to "fuse" these imperfect sources. By treating every state not as a single point, but as a probability density function, we can calculate the most likely state of a system at any given time.

The Power of the Covariance Matrix¶

Throughout this course, the Covariance Matrix serves as the unifying mathematical engine, providing a consistent framework for modeling uncertainty, identifying patterns, and guiding optimization in high-dimensional spaces.

  1. In Kalman Filtering: The Covariance Matrix is our Confidence (telling us how much to trust our sensors). It quantifies the uncertainty in our state estimates, mathematically determining how much the algorithm should "trust" a noisy sensor measurement versus an imperfect physical model.

  2. In PCA: The Covariance Matrix is our Structure. By analyzing the variance and correlation between variables, it reveals the internal geometric structure of a dataset, allowing us to discard redundant information and focus on the dimensions that contain the most significant "signal."

  3. In Evolution Strategies (CMA-ES): The Covariance Matrix is our Search Direction. In the context of optimization, the matrix adaptively reshapes itself to follow the landscape of the objective function, identifying the most promising paths to explore in order to find high-performing optima, e.g. for robot control parameters.

The Recursive Logic of the Kalman Filter¶

One cornerstone of this course is the Kalman Filter. Its power lies in its recursive nature: it does not need to store the entire history of a robot's movement to make a prediction. Instead, it operates in a continuous loop:

  • Predict: Project the current state forward in time using a physical model.
  • Update: Correct that prediction using new sensor measurements.

To master this, we begin with the 1D-Case to establish the fundamentals of Bayesian Estimation and Convolution. We then transition into high-dimensional space, where we utilize Linear Algebra and Multivariate Gaussian Distributions to track complex kinematics.

In this course, our primary focus will be on fusing these steps with IMU (Inertial Measurement Unit) data. To master this, we begin with the 1D-Case to establish the fundamentals of Bayesian Estimation and Convolution. We then transition into high-dimensional space, where we utilize Linear Algebra and Multivariate Gaussian Distributions to track complex kinematics.

The IMU: The "Inner Ear" of Motion Tracking¶

An IMU typically combines accelerometers and gyroscopes to measure internal forces and rotation rates. Whether it is attached to a drone or a professional athlete, the IMU is the essential bridge between the physical world and digital data.

Where IMU Data is Critical:

  • Robotics & Navigation: In "GPS-denied" environments (like tunnels or indoors), the IMU is the only tool available to estimate position through "Dead Reckoning." It provides high-frequency updates (up to 1kHz) to keep estimates smooth between slower sensor pulses.
  • Sports Analytics: IMUs are the backbone of modern performance tracking. They allow for the analysis of explosive movements, limb velocities, and precise body orientation—enabling coaches to optimize a sprinter's gait, handball player's throwing velocity, or a tennis swing path in real-time.
  • Dynamic Stability: For drones, satellites, and legged robots, IMU data is the primary input used to maintain balance and orientation, preventing the system from tumbling.

Dimensionality Reduction and Non-Linearity¶

As systems grow in complexity, we encounter two significant hurdles:

  • High-Dimensional Data: Not all data is useful. We will explore Principal Component Analysis (PCA) to identify the "Principal Components" or the directions of maximum variance. This allows us to simplify models and compress data without losing essential information.

  • Non-Linearity: Real-world motion, particularly 2D and 3D Rotations, does not follow straight lines. You will learn to implement the Extended Kalman Filter (EKF), which uses Taylor Series expansion to linearize these complex transitions, allowing the filter to function in non-linear environments.

Beyond Estimation: Evolutionary Optimization¶

The final segment of this course shifts from estimating a state to optimizing a behavior. When a system's parameters are too complex to solve with traditional calculus, we turn to Evolution Strategies (ES).By applying the same principles of covariance and Gaussian sampling learned in the Kalman sections, we explore the Covariance Matrix Adaptation Evolution Strategy (CMA-ES). This algorithm "evolves" optimal control gains ($\mathbf{K}$), allowing a robot to learn the most efficient way to perform a task through a process of stochastic search.

Course Objectives¶

By the conclusion of this course, you will possess the theoretical and practical framework to:

  • Construct State-Space Models for dynamic systems. We are focusing on IMU-data.
  • Implement Optimal Estimators for linear and non-linear kinematics.
  • Utilize Eigendecomposition and PCA for data analysis.
  • Apply Stochastic Optimization to solve high-dimensional control problems.
Kontakt/Impressum