Verifying rescale factor for BLDC motor controller/PID
Posted: Sat Mar 20, 2021 9:44 pm
Hello, new to Phidgets and still figuring things out.
I have a Brushless DC Motor Controller Phidget (https://www.phidgets.com/?tier=3&catid= ... rodid=1013) hooked up to a 42DMW61 NEMA17 Gearless Brushless Motor (https://www.phidgets.com/tier=3&catid=1 ... rodid=1076).
My goal is to be able to turn the motor very slowly by degree using position control. I chose BLDC because near-silence is pretty important to my project.
I've watched the videos on PID configuration and the rescale factor but things aren't quite working out as I expected. First step = make sure I'm actually using the right rescale factor.
The motor is 8 poles and *I believe* 3 phase, so it's 24 commutations per rotation. To go from rotations to degrees, I'm following this logic:
comms >> rotations >> degrees
1 (comms/1) >> /24 (rotations/comms) >> * 360 (degrees/rotations) >> 15
So my rescale factor is 15.
Applying this to the controls, I am looking to limit the acceleration and velocity significantly. One question: are the units for these now degrees/second (or second^2)?
I have a Brushless DC Motor Controller Phidget (https://www.phidgets.com/?tier=3&catid= ... rodid=1013) hooked up to a 42DMW61 NEMA17 Gearless Brushless Motor (https://www.phidgets.com/tier=3&catid=1 ... rodid=1076).
My goal is to be able to turn the motor very slowly by degree using position control. I chose BLDC because near-silence is pretty important to my project.
I've watched the videos on PID configuration and the rescale factor but things aren't quite working out as I expected. First step = make sure I'm actually using the right rescale factor.
The motor is 8 poles and *I believe* 3 phase, so it's 24 commutations per rotation. To go from rotations to degrees, I'm following this logic:
comms >> rotations >> degrees
1 (comms/1) >> /24 (rotations/comms) >> * 360 (degrees/rotations) >> 15
So my rescale factor is 15.
Applying this to the controls, I am looking to limit the acceleration and velocity significantly. One question: are the units for these now degrees/second (or second^2)?