Basically i have a 3phase brushless DC motor (an RC brushlessmotor), an optical encoder, and a microcontroller fast enough to read the steps, plus a bunch of mosfets for the H-bridge, though i may just cannibalize an existing RC ESC and disconnect its own microcontroller and use my own.
What i want to know is, how do i use this to make a servomotor, for use in CNC applications? i.e, to replace a stepper.
Does anyone know of any arduino libraries on how to control it?
So far ive been told i both do and dont need absolute encoding, so i want to know what the deal is, what do i need to do? If i need additional hardware for this.
I get that absolute positioning isnt really needed for a constant speed drive, thats simple enough, but i mostly plan on using this for controlling an axis.
Please understand i am allergic to buying an actual servomotor, i will die, i have to make my own. So that is not an option. I already have all the parts and i just really want to construct one, but im really having difficulties locating the information about how, as well as sourcing arduino libraries for this, even if not for making cnc-servomotors, im finding 3-phase BLDC driver code exceptionally difficult to locate, for digitally controlling a BLDC motor, i.e, controlling the H-bridge, rather than generating a PWM signal for an ESC to use.
What i want to know is, how do i use this to make a servomotor, for use in CNC applications? i.e, to replace a stepper.
Does anyone know of any arduino libraries on how to control it?
So far ive been told i both do and dont need absolute encoding, so i want to know what the deal is, what do i need to do? If i need additional hardware for this.
I get that absolute positioning isnt really needed for a constant speed drive, thats simple enough, but i mostly plan on using this for controlling an axis.
Please understand i am allergic to buying an actual servomotor, i will die, i have to make my own. So that is not an option. I already have all the parts and i just really want to construct one, but im really having difficulties locating the information about how, as well as sourcing arduino libraries for this, even if not for making cnc-servomotors, im finding 3-phase BLDC driver code exceptionally difficult to locate, for digitally controlling a BLDC motor, i.e, controlling the H-bridge, rather than generating a PWM signal for an ESC to use.