Final exam day. They say the waiting is the hardest part. 😐
Update: 1:32 PM
Well that was easier than I thought. I finished early so that’s a good sign. We’ll find out how I did once he posts the solutions online. Grades are due on the 15th so hopefully I’ll know my final grade a week from now. Tonight I plan on finishing the documentation for my RF scripts and placing them online in the hope they’ll be useful to someone else.
Update: 5:24 PM
Well I did some analysis on the magnitude estimation trick I talked about Monday and it looks like it may work for us. Here’s the table of errors using a fixed point version of the estimator:
Angle Error using Magnitude Estimator
Name Alpha Beta Avg Err Peak Err
degrees) (degrees)
--------------------------------------------------
Min RMS Err 31048 12860 -0.07 3.18
Min Peak Err 31470 13035 0.70 2.37
Min RMS w/ Avg=0 31065 12867 -0.03 3.14
1, Min RMS Err 32767 10592 1.12 3.94
1, Min Peak Err 32767 11009 1.38 3.36
1, 1/2 32767 16383 4.53 6.06
1, 1/4 32767 8191 -0.48 7.55
Frerking 32767 13106 2.67 4.10
1, 11/32 32767 11263 1.54 3.11
1, 3/8 32767 12287 2.18 3.65
15/16, 15/32 30719 15359 1.01 3.82
15/16, 1/2 30719 16383 1.63 3.82
31/32, 11/32 31743 11263 -0.02 4.45
31/32, 3/8 31743 12287 0.64 3.01
61/64, 3/8 31231 12287 -0.15 3.72
61/64, 13/32 31231 13311 0.51 2.82
Using the Min RMS w/ Avg=0 we could get about 0.03o error on average. I think, because our phase rolls evenly from 0 to 2π, we should achieve the average response with perhaps a little extra error from incomplete cycles. I’ll have to think a bit more about this but it looks promising.