Part Number: TMS320F28054F
Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE
Tool/software: Code Composer Studio
Continuing our attempt to work through the motorware labs for our board. The good news is we found a way to get the motor to run with lab1b and lab1c. The bad news is we had to bypass a function which you do not offer source code for, so we are on shaky ground until you explain how to solve this. In addition I am attaching a graph output for lab1b that shows the Voltage with the AngleGen. Tom would like to know why it has defects. Is it because we need a better emulator than 100v2?
First in the case of lab1b, we have to manually change the gMotorVars.SpeedRef_krpm to 0.5 or higher to get the motor to run. It runs better at 0.6 or higher. Without modification, it sets it to about 0.1 which doesn't work. What is going on?
Second, in lab1c, we have to set the GmotorVars.gMotorVars.SpeedRef_krpm to 0 to get the motor to run to avoid the call to CTRL_setUserMotorParams which sets the kp variable to 0. Unfortunately you don't provide source code to CTRL_setUserMotorParams so we don't what calculation from user params is causing this. This doesn't seem right not to provide source code to a function that uses user parameters. Can you please give us a good clue so we can proceed to lab2a?
