|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Talon Stable RPM Check
We used the code of the Talon CAN rpm to reach a certain rpm every time but having a problem to check if the rpm is stable. We programmed a block that check's if the rpm is stable for 4 times( with a clearance of +-100) but were wondering if there's a better for doing this check?
Thanks in advance! |
|
#2
|
|||||
|
|||||
|
Re: Talon Stable RPM Check
The big question is whether four queries is enough to demonstrate stability. Plot the curves of your motor speed response over time to determine whether your system is underdamped (oscillates, though eventually converges) or critically or overdamped (does not oscillate). If you are critically or overdamped, your plan is proably adequate. If your system oscillates, measure the period of that oscillation (in terms of feedback counts), and make sure that your stability criterion includes at least that many samples.
|
|
#3
|
|||
|
|||
|
Re: Talon Stable RPM Check
I am almost 100% certain your motor speed will NOT be stable. Especially when a different battery is put in your robot.
You are better off varying motor power to "maintain" a speed corridor. |
|
#4
|
|||||
|
|||||
|
Re: Talon Stable RPM Check
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|