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.

CCS/TMS320F28035: HFI library version

Part Number: TMS320F28035


Tool/software: Code Composer Studio

Hi , Yanming Luo :

      As you mentioned in the post(https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/741118/2760455#2760455) ,  low pass filter is included and implemented in  hfi.lib . but I cannot find it in example project and library document. the library version which I got from FAE  is V13.1 .  is it the version you mentioned ?

  • As replied to you in the post you mentioned, there is a high pass filter for Id and Iq to extract the HF component, and an optional low pass filter which is only used for speed estimation, both are defined and called in hfi.lib, not in the example project file.
    You could tune the HFP parameters as below in example project files, the filter parameters for speed can't be changed in project files which is a fixed value ib hfi.lib.
    // Initialize HPF parameters
    hpf_coeff1.freq = _IQ(18.0); // in Hz
    hpf_coeff1.PiT = _IQ(PI*T);
    HPF_INIT(&hpf_coeff1);
  • Thanks for your reply.
    we misunderstood each other in last post. as you mentioned, an optional low pass filter is only used for speed estimation. but my question is about low pass filter for d&q axis current regulator . more details seen in screenshot captured from training video in last post.
  • As replied to you, the related filters have been implemented in HFI library, you don't need to add an additional filter for current. Of course, you can add any filters for the current regulator, but the input current value to HFI module should be without any filter.
  • Thanks a lot. your conclusion seems not right according to train video (training.eeworld.com.cn/.../9223) represented by TI Century FAE Igor An. you can review it from the time 12' 30''. what I got from him is when HFI works , current feedback is combined by high frequency injected signal . we need to filter out low frequency part for current regulator . and high frequecy part for HFI , as you mentioned , this part is implemented in HFI library. do you agree with him ?  do I misunderstand him ?
    Looking forward to your reply, thanks in advance.

  • The block diagram shows the control flowchart, the different currents from the BPF will be used in HFI and current regulator, it's necessary to use a high pass filter to achieve the high-frequency part signal, which is implemented in the HFI library. But it's an option or unnecessary to use a low pass filter for the current regulator. So there is no such LPF for a current regulator in the example project.