Dynamic Current #13
Replies: 1 comment 1 reply
-
This sounds like an excellent concept! If we have the ability to do it, why not? For now, I'd like to focus on just getting the encoder speed working and the coils driven correctly. However, after that is done, this will be the first thing on my list to implement. Also, now that we have the temperature of the encoder, we can reduce the current of the motor if we have temperatures over a specific value, say 80C. The potential of this board is really great, it just needs the firmware to do it. As for the current setting, that is done through a PWM pin. So really, we can change it as fast as we want. I'll add this idea to the ToDo list. Definitely a good idea though! |
Beta Was this translation helpful? Give feedback.
-
Hello,
last night I had an idea for automatic current adjustment to prevent overheating motor and drivers even with high current settings.
Some firmwares already implement an extra setting for holding current, because when the motor stands still, the current can be drastically reduced while still keeping position. I think because the S42B is highly configurable and knows motor position and speed at all times, we can expand on this concept.
My idea is a dynamic current control, according to a linear or maybe quadratic equation, based on two input values and two configuration factors (0 to 1) as well as two limits:
I considered the following practical applications:
The controller would then automatically adjust motor current based on demand, and I think we could even write an auto-tuning algorithm for finding the factors automatically based on the hall sensor readings in a calibration sequence. I don't know how fast the current settings of the drivers can be changed, that could be a limiting factor.
Let me know what you think about this concept!
Beta Was this translation helpful? Give feedback.
All reactions