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 degreesAngle radiansMath unit resultMatlab resultError obtained

0.000000.000001.000001.000000.00000
9.847710.171880.985270.985100.00017
14.771570.257810.966950.966920.00003
19.695420.343750.941500.941410.00009
24.619280.429690.909100.909060.00004
29.990760.523440.866110.866090.00002
34.914620.609380.820010.819950.00006
39.838470.695310.767850.767820.00003
95.791381.67188−.10091−.100830.00008
210.382943.67188−.86266−.862550.00012