1. Summary
A new module called TrigonometricMath Unit (TMU) has been added to TI's newer TMS320F28x7x. TMU is a hardware accelerator developed by TI for mathematical operations such as trigonometric functions, division, and square root. It can calculate functions such as sin, cos, arctan, 1/x within 5 cycles, and these functions are mainly targeted at applications such as motor control and power supply. The performance of the control system can be greatly improved through TMU.
Parkand Inverse Park Transforms
Space Vector Generation
dq0and Inverse dq0 Transforms
FFTMagnitude and Phase Calculations
2. Performance (the following is excerpted from TI related documents)
First, let's take a look at the supported instructions, which mainly include division, multiplication, square root, and atan. These functions, which are mainly used in control algorithms, are a great test for the computing performance of traditional MCU/DSP, and usually require 30 to 90 cycles.
The performance improvements for related applications are as follows.
3. Usage
First, you need to enable the compiler support for TMU Intrinsic functions through the following configuration.
Call the following Intrinsic function in the .c project
Application example of motor FOC control.
|