|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Shooter Problem
Quote:
* this will mimic a bang-bang controller. |
|
#2
|
||||
|
||||
|
Re: Shooter Problem
Quote:
If you get flack from your mechanical/fabricators for "slamming" the motor, do what I did, add a linear cushion within ~3% of your target speed. Ex. For a shooter wheel capable of 10,000RPM when you're over 300 RPM lower than your setpoint, you go 100% power, when you're 150 RPM Lower, 75%, Dead on 50%, 150RPM Higher 25%, 300RPM Higher 0%. This will mimic the PID you're trying to use, and unless you really know what you're doing when PID tuning, will be half the headache. |
|
#3
|
||||
|
||||
|
Re: Shooter Problem
Quote:
If so, check the following and fix if necessary: - make sure the motor controller jumper is in the "coast" position (not "brake"). - make sure you are running the control loop fast enough (10 ms is good) - make sure your sensor is capable of giving an up-to-date speed reading faster than your control loop iteration rate |
|
#4
|
||||
|
||||
|
Re: Shooter Problem
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|