Previous Top Next |
Table Lookup to define the desired roll angle |
The force is supposed to be applied only when the roll angle is +/- 15 degrees. As shown on the cosine plot below, the only place where the output of the cosine function is greater than or equal to .9659 is between +/- 15 degrees.
We will model this by feeding the roll angle into a cosine element. The output of the cosine will then be feed into a lookup table which will then output a pulse train.
-1.0 | 0.0 |
.9659 | 1.0 |
1.0 | 1.0 |
Any time that the cosine of the roll angle is greater than .9659 the roll angle is between +/- 15 degrees
Your block diagram should look similar to the diagram below
© 2002 Arrow Tech Associates |