Replies: 2 comments 4 replies
-
Hi @phpkadir, You can also use our forums at https://community.simplefoc.com to ask questions... I think more people read the questions there... SimpleFOC has support for encoders via the Encoder class, and on some STM32 MCUs there is also the STM32HardwareEncoder in our drivers repository, which uses the encoder mode of STM32 timers. However, controlling the steppers via the microstepping drivers is not something we support. SimpleFOC is intended to control BLDCs and also Stepper motors using field-oriented control (FOC). This means SimpleFOC needs to control the phase voltages/currents of the motor directly, not via a micro stepping driver. To use SimpleFOC with the steppers you will need a simpler half-bridge driver for each motor phase. |
Beta Was this translation helpful? Give feedback.
-
Hi
Check out Antuns link to Derivs Limiter here :
https://community.simplefoc.com/t/motion-planner-code/2424/3
Maybe this is What you are looking for?
søn. 25. dec. 2022 kl. 07.02 skrev Abdulkadir KUCUK <
***@***.***>:
… i mean adding a buffer simplefoc programmed microcontroller for PID
control of StepDir type drivers.
—
Reply to this email directly, view it on GitHub
<#226 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBKYHQHGYMIFS6PT54GIPLWO7PPLANCNFSM6AAAAAARRL2ICA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
i have a lot of ope loop stepper motor drivers with step/dir control interface. these drivers have curret adjust and step resolution swithches. i have a lot of cwd556 dm860 r60 model stepper motor drivers.
i want to make them closed loop stepper motor drivers by adding a bluepill and three opto couplers. we must use bluepills timer 2 as encoder interface. we need to integrate a step dir motor driver code and encoder interface in a bluepill code.
how can we use simple foc with step dir motor driver and optical incremental A/B/I encoders?
Beta Was this translation helpful? Give feedback.
All reactions