Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218979

Forum Post: TMS320F28379D: What are the Better Ways to Implement Motor Lookup Tables for IPMSM

$
0
0
Part Number: TMS320F28379D Tool/software: Hello Forms, How to implement Bilinear Interpolation for the Below Tables in CCS(LAUNCHPADXL-F28379D) using C in TMS320F28379D Controller. Iq table: Id table: I tried to Implement the below table as using through below Steps. 1. Finding the Boundary Index of ReqX and ReqY. 2. Finding Boundary Values of ReqX, ReqY. 3. Find Dx, Dy and Find Interpolated Value(as Shown Below) Let the P(2900,16.65) in Iq Table, dx = 0.8, dy = 0.66, P11 = 145.1, P21= 145.1, P12 = 168.4, P22 = 168.4 First Term: P11*(1-dy) *(1-dx) : 145.1 *(1-0.66)*(1-0.8) = 36.3 Second Term: P12*(1-dy) *(dx) : 168.1 *(1-0.66)*(0.8) = 42.1 Third Term: P21*(dy) *(1-dx) : 145.1 *(0.66)*(1-0.8) = 36.3 Fourth Term: P22*(dy) *(dx) : 168.1 *(0.66)*(0.8) = 42.1 P = 36.3+42.1+36.3+42.1 = 156.7 What are the recommended methods for implementing interpolation without manual input? Please explain the process and suggest some file formats for optimizing size.

Viewing all articles
Browse latest Browse all 218979

Trending Articles