infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: BLDC_SENSORLESS_FOC_LIN_EXAMPLE_TLE987X / Clarification of some variables

  1. #1
    Beginner Beginner M_BENDR is on a distinguished road
    Join Date
    May 2020
    Posts
    17
    Points
    140

    BLDC_SENSORLESS_FOC_LIN_EXAMPLE_TLE987X / Clarification of some variables

    Hello,
    In BLDC_SENSORLESS_FOC_LIN_EXAMPLE_TLE987X SW demo for BLDC motor control we find in Emo.c "Emo_lInitFocPar"
    void Emo_lInitFocPar(void)
    {
    /* set to 15V */
    float KU = 15.0;
    float KI;
    /* set to 0.1V/s */
    float KPSIE = 0.1;
    float KUZ;
    static float x;
    float CoAFlux = 200.0;
    float OpGain;
    uint16 i;
    Emo_Status.MotorStartError = 0;
    Emo_Svm.MaxAmp = (CCU6_T12PR / EMO_CFG_FOC_TABLE_SCALE);
    /*vectorial voltage limitation, for block limitation algorithm*/
    /*0.9091 * MaxAmp*/
    Emo_Svm.MaxAmp9091pr = (29789 * Emo_Svm.MaxAmp) >> MAT_FIX_SHIFT;
    /*0.4164 * MaxAmp*/
    Emo_Svm.MaxAmp4164pr = (13643 * Emo_Svm.MaxAmp) >> MAT_FIX_SHIFT;
    Emo_Svm.MaxAmpQuadrat = (uint32)Emo_Svm.MaxAmp * Emo_Svm.MaxAmp;
    Emo_Svm.Kfact256 = 8388608 / Emo_Svm.MaxAmp; //2 exp23/MaxAmp

    Could you please give as more information and clarification about the previous code

    Please tell me what is?
    KU
    KI
    KPSIE
    EMO_CFG_FOC_TABLE_SCALE
    Emo_Svm.MaxAmp
    Emo_Svm.MaxAmp9091pr
    Emo_Svm.MaxAmp4164pr
    Emo_Svm.MaxAmpQuadrat
    Emo_Svm.Kfact256

    Same for the following code:
    Emo_Foc.PhaseInd = x;
    Emo_Foc.Kdcdivident1 = KU * 1.7320508 * Emo_Svm.MaxAmp / KUZ * 32768 / 2.0;
    Emo_Foc.Kdcfactor2 = KUZ * 32768.0 * 32768.0 / (KU * 1.7320508 * Emo_Svm.MaxAmp * 64);
    Emo_Foc.Kdcfactoriqc = 32768.0 * KUZ / (1.7320508 * KU * 32.0);
    mo_Foc.PolePair = Emo_Focpar_Cfg.PolePair;
    x = Emo_Focpar_Cfg.StartCurrent / KI * 32768.0;

    Please tell me what is?
    Emo_Foc.Kdcdivident1
    Emo_Foc.Kdcfactor2
    Emo_Foc.Kdcfactoriqc

    thanks in advance for your support

  2. #2
    Beginner Beginner LiangXiao is on a distinguished road
    Join Date
    Sep 2019
    Location
    948928731@qq.com
    Posts
    29
    Points
    235
    Hi,
    These values are part of Infineon FOC algorithm.I guess only the Infineon engineer know the real meaning of these value.But you can find some clues in the figure below.
    Click image for larger version

Name:	捕获.JPG
Views:	2
Size:	56.0 KB
ID:	5303

+ Reply to Thread
Disclaimer

All content and materials on this site are provided as is. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.