This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi RK,
Thanks for pointing out, the document is not up to date on the software snippet. But I guess you got the point.
rgds,
ramesh
Hi Chris,
I try to work with HFI lib but I have no success.
I use:
High Voltage Motor Control and PFC Developers Kit (v2.1)
Part Number: TMDSHVMTRPFCKIT
CPU is F28035
with motor:
Permanent Magnet Synchronous Motor for TMDSHVMTRPFCKIT
Part Number: HVPMSMMTR
up to build Level 7 everything works fine.
But build Level 8 and 9 I have no success.
build Level 8:
after activating
after a short time hfi1.HFI_Status switch to HFI_RUN_STATE
I can hear injection in motor
but when I turn the shaft EstimatedTheta does not change.
build Level 9:
after activating
short noise in motor and then over current protection.
I did not change anything in transition.h or hfi.h or other things in code.
please advise how to go on.
Thanks
Hi,
IPD and HFI will work well on PMSM with saliency, I mean, Ld and Lq are different. The motor you chose to test is not a salient PMSM.
Best regards,
ramesh
ramesh,I thought about the problem.
If I have a non salient motor and make a short cut to the windings and turn the shaft I feel nothing.
If I have a salient motor and make a short cut and turn the shaft I can feel the poles.
Is this right?
Sorry I am a practical developer.
But if I use HFI on the non salient motor and turn the shaft I can hear where the poles are the sound is less on the poles but I can not see in the current.
Do you contemplate on developing on rotor initial positon of non salient motor?
rgds,
steve
Peter,
I replied to our local field who was helping you (asktexas) through email on 5/22 with the URL to request access to the code.
leave your email directly and I will send to you.
Hi Chris,
On HFI/IPD Library.
I have got a setup file. C2000MCU_IPDLIBRARYCS_1_00_00_00_setup
Can you please explain how can I use this file to examine IPD algorithm on HVPM Sensorless project.
Thanks
Ravi
follow the documentation at
C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Enhanced_Sensorless_2803x\~Docs
and in the main .c of that project
*************************************************************************
* RELEASE NOTES :- *
* ================ *
* This release is an enhanced version of TI's earlier SMO based *
* HVPM_sensorless FOC solution offering, with enhancements to SMO *
* itself and to zero and low speed operation due to high frequency *
* injection (HFI). *
* *
* The enhancements are listed below: *
* - FOC from zero speed *
* - bidirectional speed control through zero speed *
* - Lower speeds, not covered by SMO, are now possible due to HFI *
* - SMO filter lag compensation *
* - Inverter dead band compensation *
* - Smooth transition between HFI and SMO methods *
* *
* BUILD LEVELs 1 through 6 from the earlier version are retained *
* *
* BUILD LEVEL 7 *
* ============= *
* The executable for enhanced SMO is in esmo.lib file, which is part of *
* the control suite. The user is free to evaluate the function of esmo *
* using this executable. For access to its executable code, the user is *
* advised to contact the nearest TI sales office or distributor. *
* *
* BUILD LEVEL 8/9 *
* =============== *
* The executable for Initial Position Detection (IPD) and *
* High Frequency Injection (HFI) are in hfi.lib file, which are not *
* part of the downloadable version of control suite. *
* Any attempt to build LEVEL8/9 code will result in error. *
* For access to the library and/or executable code, the user is advised *
* to contact the nearest TI sales office or distributor. *
* ***********************************************************************
Hi Chris,
Thanks for quick response.
My question is different and not answered in the
C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Enhanced_Sensorless_2803x\~Docs
I have downloaded a set up file : C2000MCU_IPDLIBRARYCS_1_00_00_00_setup
How I can generate a HFI.LIB file from this setup file.
Thanks
Ravi
Hello Chris,
I got this file downloaded from TI Registered software after I received the access from TI sales.
Again I tried to install from Control Suite. But , I am not sure where I can find the HFI Library.
Please see my attached document which shows the details.
It is a self extracting file, and should automatically load the files. Can you send me the setup file you received, so I can verify here.
rgds,
ramesh
Review the docs again, it is all given there. Spend some time digging in for familiarizing.
rgds,
ramesh
Hi Ramesh,
Can you share if any test results avaliable , which compare the estimated rotor position with encoder rotor position during HFI and IPD phase.
Thanks
Ravikumar
Hi Chris, when I use eSMO.lib,there is a function"esmo1.Theta = angleFilter(&pi_smo, &esmo1)",
1,"angleFiltera()" is a supplemental filter, but what's the kind of this filter? Low-pass filter or others? Can you tell me the filter form?
2,Can you explain the meaning of variable smoFreq and smoShift ?
Best regards.
thank you very much.
Hi Chris,
Now, I am developing PMSM sensorless drive using HVPM_Sencorless from ControlSuite. I use eSMO library (level 7) for speed control.
In the beginning, I use 2kW PMSM and it seems the controller works very well even at full speed (2000rpm) and full load condition (9.55Nm).
However, when I want to implement to compressor, It have huge vibration at low speed(900rpm/30Hz). Although, It runs well at high speed (3000rpm/100Hz).
As shown in the picture above, speed ripple at low speed is very big compared to high speed. I know the compressor have high dynamic load. I try a torque compensation method which estimate the load based on torque equation,
TL = Tem - J dw/dt
And use this TL as a feedforward compensation to Iq controller. It seems this method doesn't show significant result to reduce speed ripple. Modify PI gain didn't really help as well.
Do you have any idea to overcome high dynamic load of compressor?
Thanks,
Regards,
Luiz