Integrating closed loop brushless driver for CNC spindle.
-
Hi All,
I've be playing with odrive and more recently simpleFOC which is more appealing as I can develop the control firmware as it's Arduino based.Either can be configured as a closed loop servo with step and direction inputs.
Given I have full control of the simpleFOC Arduino board in terms of defining interfaces could I use a CAN interface daughter board to more closely integrate the driver or perhaps provide position feedback to the parent duet board over another interface?
Just thinking out loud for now. But my upcoming mill and lathe conversions may go this route if it's practical to do so.
Any constructive thoughts would be much appreciated.
Many thanks
Barry M -
@CNCModeller Some random thoughts which may or may not help...
Which "CAN interface daughter board" are you considering using? RRF typically uses CAN-FD, not standard CAN to communicate to an expansion board. There is experimental code for talking to some form of ODrive controller over standard CAN, I'm not sure how functional that code is.
Have you taken a look at the Duet3 Expansion project https://github.com/Duet3D/Duet3Expansion/tree/3.5-dev This is essentially what you would need to run on your control board (or at least a subset of it) to interface to RRF.
-
@gloomyandy said in Integrating closed loop brushless driver for CNC spindle.:
@CNCModeller Some random thoughts which may or may not help...
@gloomyandy anything constructive is always welcome and this definitely fits the bill so thank you for your input!
Which "CAN interface daughter board" are you considering using?
Anything that would work! TBD
Have you taken a look at the Duet3 Expansion project https://github.com/Duet3D/Duet3Expansion/tree/3.5-dev This is essentially what you would need to run on your control board (or at least a subset of it) to interface to RRF.
No but thanks for the pointer will take a look when I have a very clear head!
Cheers
BPM -
Barry, you might want to check this. It's a SAM-C21 evaluation board with 48V/10A BLDC support. (290$ )