GitHub

motoko ice dragon line follower

logo robot

3d_print 3d_print

source structure

LQR controller

lqr_all

motor velocity control

  • inner loop controls brushless motors
  • LQR + Kalman are used for velocity control
  • runs 4kHz

position control

  • outer loop controls robot state - distance and orientation
  • LQR controller is used
  • state is : (distance, orientation, velocity, angular rate)
  • runs 250Hz

LQR optimal control

  • basic idea is solving discrete riccati algebraic equation
  • to remove distrubance, integral action term is included lqr_structure

lqr_structure

motors velocity control

step response 1st order identification

position controll

photos

animation

  • brushless motors
  • LQG - linear quadratic regulator + Kalman filter
  • LSTM for line shape prediction
  • multiple local optimal LQR controllers selecting

animation

software architecture

block_diagram

Read the original on github.com ↗