Skip to content

Wisper1985/servo-firmware-b-g431-esc1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servo Control Firmware for B-G431-ESC Dev Board

The B-G431-ESC development kit/board from ST is a tiny, low-cost system that is designed to run advanced motor control algorithms such as FOC. It is possible to use ST tools to generate project templates that take care of the hardware abstractions, current regulation, hardware protection, and other low-level tasks that are otherwise a pretty difficult barrier to entry for motor control. This repository contains firmware that controls the motor in a position loop using an incremental encoder, and that uses the encoder feature of STM32 timers to create a step/direction interface that is a drop-in replacement for standard stepper motor drivers.

Done

  • Position Control
    • PID, PIV, Filtered Position PIV with Feedforward Velocity and torque
  • Step/direction input

TODO

  • Motion Feedforward from step/direction input
  • Automatic motor characterization
  • Automatic servo control tuning
  • CAN interface for configuration

About

Step Direction Servo firmware for the B-G431-ESC1 board from ST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.1%
  • Assembly 2.6%
  • Other 0.3%