Research Article
Design of a Mathematical Unit in FPGA for the Implementation of the Control of a Magnetic Levitation System
Table 2
Results obtained from the mathematical unit.
| Angle degrees | Angle radians | Math unit result | Matlab result | Error obtained |
| 0.00000 | 0.00000 | 1.00000 | 1.00000 | 0.00000 | 9.84771 | 0.17188 | 0.98527 | 0.98510 | 0.00017 | 14.77157 | 0.25781 | 0.96695 | 0.96692 | 0.00003 | 19.69542 | 0.34375 | 0.94150 | 0.94141 | 0.00009 | 24.61928 | 0.42969 | 0.90910 | 0.90906 | 0.00004 | 29.99076 | 0.52344 | 0.86611 | 0.86609 | 0.00002 | 34.91462 | 0.60938 | 0.82001 | 0.81995 | 0.00006 | 39.83847 | 0.69531 | 0.76785 | 0.76782 | 0.00003 | 95.79138 | 1.67188 | −.10091 | −.10083 | 0.00008 | 210.38294 | 3.67188 | −.86266 | −.86255 | 0.00012 |
|
|