Implementing Haptic Feedback with SimpleFOC on a Brushless Gimbal Motor

Added:

Background
Discovery
Prototype
Algorithm
Setup
Magic Code
Loop Logic
Demo

Background

0:00
Playing Section
  • 1

    Describes the journey from CNC machines to exploring manual control bridges.

  • 2

    Discusses key inspirations including the Turn-by-Wire project and electronic lead screws.

Fundamentals of Brushless DC (BLDC) motors, particularly high-pole-count gimbal motors, and how they differ from standard brushed motors.
The core principles of Field Oriented Control (FOC) for achieving smooth, low-speed torque and precise angular positioning.
Basic Proportional-Integral-Derivative (PID) control theory, specifically how error feedback loops regulate position and velocity.
Microcontroller programming basics with the ESP32, including interfacing with magnetic encoders via I2C or SPI buses.
Mathematical modeling of advanced physical haptic effects, such as virtual springs, dampers, inertia, and complex friction models.
Bilateral teleoperation systems, enabling master-slave configurations where physical forces are bidirectionally mapped between two motors.
Designing smart interface devices, such as dynamic rotary input knobs, gaming wheels, or force-feedback flight simulation yokes.
Optimizing closed-loop motor efficiency using inline current sensing and thermal management algorithms under continuous stall torque conditions.
17.9K views640likes15:49@JesseSchochOriginal Release: 2020-12-07

This video demonstrates how to create haptic textures and dynamic user interfaces using a PID controller with only the proportional term, where the controller output is clamped to create variable detents (clicks) at specific angular positions; the key parameters include the proportional gain (which controls how quickly the voltage increases), the detent angle (the position where the detent occurs), and the maximum voltage limit, allowing the same hardware to provide different tactile feedback experiences based on the application mode.