3502 views|0 replies

3836

Posts

19

Resources
The OP
 

TMU Introduction and Usage [Copy link]

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.

This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list