- Forum
- Roboteq Motor Controllers
- General Issues
- straight line tracking (in closed loop speed mode) works level but not uphill
straight line tracking (in closed loop speed mode) works level but not uphill
4 years 11 months ago #29534155
by JDB
SBL2360 with dual brushless motors tracks perfectly straight on level surface but unable to track straight up an incline - any ideas?
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
4 years 11 months ago - 4 years 11 months ago #29534157
by Gabriel_Isko
Replied by Gabriel_Isko on topic straight line tracking (in closed loop speed mode) works level but not uphill
Hmm, It is a little bit unclear what you mean by track. If you are talking about running at matching speed, let me know which operating mode you are in.
Please Log in or Create an account to join the conversation.
4 years 11 months ago #29534159
by JDB
Replied by JDB on topic straight line tracking (in closed loop speed mode) works level but not uphill
Hi Gabriel thanks so much for reply :) I am using Mix 1 - this my first vehicle and since posting i've give my question more thought. here's perhaps better description...
System behavior:
In mix-mode 1 closed-loop speed setting, on level surface vehicle faithfully tracks straight (when command 2 is neutral and command 1 is positive). Same on decline. Wheel speeds are perfectly matched. When negotiating an incline however, the slightest unevenness in surface introduces a rotation that exceeds command 2 input's ability to recover/adjust
My thinking:
I believe the controller is doing its job to maintain matching speeds but on the incline if the surface introduces minor rotation, my PID is too lazy to keep their relative speeds matching such that command 2 input can compensate. i.e. once the vehicle has started moving diagonally on the incline even the slightest bit, the downslope wheel needs to speed up faster and to a greater degree than command 2 correction (with my current PID settings) can achieve...
Does this sound like I am on the right track (no pun intended) in my thinking? Would love any guidance or pointers to references related to PID tuning for this type of challenge. I was so happy with myself that it followed commands well on level surface. Time to gain more tuning wisdom i guess.
System behavior:
In mix-mode 1 closed-loop speed setting, on level surface vehicle faithfully tracks straight (when command 2 is neutral and command 1 is positive). Same on decline. Wheel speeds are perfectly matched. When negotiating an incline however, the slightest unevenness in surface introduces a rotation that exceeds command 2 input's ability to recover/adjust
My thinking:
I believe the controller is doing its job to maintain matching speeds but on the incline if the surface introduces minor rotation, my PID is too lazy to keep their relative speeds matching such that command 2 input can compensate. i.e. once the vehicle has started moving diagonally on the incline even the slightest bit, the downslope wheel needs to speed up faster and to a greater degree than command 2 correction (with my current PID settings) can achieve...
Does this sound like I am on the right track (no pun intended) in my thinking? Would love any guidance or pointers to references related to PID tuning for this type of challenge. I was so happy with myself that it followed commands well on level surface. Time to gain more tuning wisdom i guess.
Please Log in or Create an account to join the conversation.
- Gabriel_Isko
4 years 11 months ago #29534160
by Gabriel_Isko
Replied by Gabriel_Isko on topic straight line tracking (in closed loop speed mode) works level but not uphill
Okay, I sent you a pretty lengthy email about this, but the short version is that both your motor controller and motors are undersized to handle the hill you that you are trying to go up, at least without any sort of transmission.
One of our distributors has a pretty good write up about the math you need to do to properly size motors in this condition, however we are currently working on our own application note that should be a bit more comprehensive.
One of our distributors has a pretty good write up about the math you need to do to properly size motors in this condition, however we are currently working on our own application note that should be a bit more comprehensive.
Please Log in or Create an account to join the conversation.
4 years 11 months ago #29534163
by JDB
Replied by JDB on topic straight line tracking (in closed loop speed mode) works level but not uphill
Thanks so much Gabriel for the excellent insights and advice! Digesting the email and doing the math. Will keep u posted on email and upgrade as needed. Cheers
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- General Issues
- straight line tracking (in closed loop speed mode) works level but not uphill
Time to create page: 0.062 seconds