SPRADE6 October   2023 AM2634

 

  1.   1
  2.   Abstract
  3. 1Introduction
  4. 2Floating-Point Unit
  5. 3Trigonometric Math Unit
  6. 4Control Law Accelerator
  7. 5Viterbi, Complex Math, and CRC Unit
  8. 6Industrial Communication Subsystem
  9. 7Discover the Best MCU for Real-Time Control Needs

Trigonometric Math Unit

Within the control algorithm, certain mathematical operations emerge as especially critical. Operations such as Park and inverse Park transforms, space-vector generation, direct-quadrature-zero and inverse direct-quadrature-zero transforms, FFT magnitude, and phase calculations are fundamental. Why? Because these operations play pivotal roles in signal modulation, data conversion, and system analysis, helping in translating the raw sensor data into actionable insights. Furthermore, other foundational operations like sine, cosine, arctangent, division, and square root form the bedrock of these mathematical manipulations. However, being cycle-intensive, these operations can potentially slow down system responses when run on the CPU of the microcontroller.

To make sure that these operations do not become a bottleneck, using enhanced floating-point capabilities is paramount. One effective approach is to optimize these functions using an extended instruction set. A well-designed compiler is also essential, capable of generating trigonometric and arithmetic instructions automatically. This makes sure that the compiler leans on these optimized instructions rather than relying solely on standard run-time support library calls, leading to faster computations.