Part Number: TMDSHVMTRPFCKIT
Other Parts Discussed in Thread: TMS320F28035, TMS320F28027F, MOTORWARE
_iq offsetB=0;
_iq offsetC=0;
clarke1.Bs = _IQmpy2(_IQ12toIQ(AdcResult.ADCRESULT2)-offsetB); // Phase B curr.
For my custom design (a PMSMS FOC control with rated 3KW and rated Vbus=86V ), the Rshunt=0.003/4 Ohm and the OPA gain=20 (A) for the phase current sensing.
In this manner, how can I modify the project files provided by TI to meet my design? For the above offset values, do I need to modify them?
I found the *.h (setting file) for TMDSHVMTRPFCKIT (with TMS320F28035) is simpler than the user.h for InstaSPIN MCU, such as TMS320F28027F or 69M. Does it mean the project programs of TMDSHVMTRPFCKIT is very smart, so the users only have to set the motor data, base voltage, and base current?
I really need your help to finish the job. Could you kindly show me how to solve the problem?
Many thanks in advance!
Tang Han