|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Quote:
|
|
#17
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Me too. NP. |
|
#18
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
I have found this to be an acceptable take-back-half algorithm:
Code:
cval -= (cval - goodval) / 2; Code:
cval += constrain(-(cval - goodval) / 2,-max,max); Code:
float constrain(val,min,max) {
return val>max?max:val<min?min:val;
}
|
|
#19
|
|||
|
|||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Quote:
Now, if you instead have Code:
cval -= (sensorval - goodval) / 2; |
|
#20
|
||||
|
||||
|
Re: paper: Take-Back-Half Shooter Wheel Speed Control
Quote:
And, just because it's an integrator, and its gain is 1/2, does not make it a TBH algorithm. The hallmark of TBH is the unique way that the output is reset at each zero crossing. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|