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

+ Reply to Thread
Results 1 to 10 of 10

Thread: Problem of Running BLDC motor with BEMF sensorless with the application circuit.

  1. #1
    Beginner Beginner muratrazi is on a distinguished road
    Join Date
    Aug 2019
    Posts
    35
    Points
    327.5

    Problem of Running BLDC motor with BEMF sensorless with the application circuit.

    Hello,

    I am trying to run a bldc motor with BEMF sensorless example program by tle9877a40 without MON directly after starting. I use trinamis qbl 4208-61-04-01 like in the example.I set up the
    application circuit without snubber circuit on the mosfet side as in the datasheet. The mosfet I use is infineon IPD50N06S4L-12. I do not use blocking capacitors for VDDP ,VDDC and VAREF,GND_REF and EMC filter on the batery side.
    The circuit i use is below. The unused parts are crossed with the red line. Click image for larger version

Name:	tle9877a40.jpg
Views:	5
Size:	87.5 KB
ID:	4685

    The code which is below run in the tle987 evalboard but do not work in my circuit. The leds i set up works correctly like in the code. But the motor do not run. What can be the problem regarding the circuit?

    ************************************************** *****************************/

    /************************************************** *****************************
    ** Revision Control History **
    ************************************************** *****************************/
    /*
    * V1.0.0: 2016-07-20, ISLE: Initial version
    */

    /************************************************** ****************************/
    /** BLDC: Motor Drive with sensorless block commutation (BEMF) **/
    /** configured to with the Trinamic QBL 4208-61-04-013 motor **/
    /************************************************** ****************************/
    /** runs on MON button press on a speed of 2000rpm **/
    /************************************************** ****************************/

    /************************************************** *****************************
    ** Includes **
    ************************************************** *****************************/
    #include <tle_device.h>
    #include "Emo_BEMF.h"
    #include <eval_board.h>
    /************************************************** *****************************
    ** Private Macro Definitions **
    ************************************************** *****************************/

    /************************************************** *****************************
    ** Private Function Declarations **
    ************************************************** *****************************/
    static void Main_lStartMotor(void);
    static void Main_lStopMotor(void);

    /************************************************** *****************************
    ** Globale Variable Definitions **
    ************************************************** *****************************/

    /************************************************** *****************************
    ** Private Variable Definitions **
    ************************************************** *****************************/
    static uint8 bMotorRun;

    /************************************************** *****************************
    ** Private Constant Definitions **
    ************************************************** *****************************/

    /************************************************** *****************************
    ** Global Function Definitions **
    ************************************************** *****************************/
    /** \brief Executes main test code.
    *
    * \param None
    * \return None
    *
    */
    int main(void)
    {
    int i;

    i=0;
    /************************************************** ***************************
    ** initialization of the hardware modules based on the configuration done **
    ** by using the IFXConfigWizard **
    ************************************************** ***************************/
    TLE_Init();
    Emo_Init();

    Emo_setspeedreferenz(2000);

    for (;
    {
    /* Service watch-dog */
    (void)WDT1_Service();

    /* Wait for MON button pressed */
    i++;


    Main_lStartMotor();
    bMotorRun = 1u;
    PORT_ChangePin(LED1, PORT_ACTION_SET);
    PORT_ChangePin(LED2, PORT_ACTION_SET);



    /* Start motor to run up to the desired speed */





    }
    } /* End of main() */


    void Main_HandleSysTick(void)
    {

    } /* End of Main_HandleSysTick */


    /************************************************** *****************************
    ** Private Function Definitions **
    ************************************************** *****************************/
    static void Main_lStartMotor(void)
    {
    uint32 Error;
    Error = EMO_ERROR_NONE;

    if (Error == EMO_ERROR_NONE)
    {
    Error = Emo_StartMotor();
    }

    if (Error == EMO_ERROR_NONE)
    {
    }
    else /* Error */
    {
    }
    } /* End of Main_lStartMotor */


    static void Main_lStopMotor(void)
    {
    uint32 Error;
    Error = Emo_StopMotor();

    if (Error != EMO_ERROR_NONE)
    {
    }
    } /* End of Main_lStopMotor */

    Kind Regards,
    Murat.
    Last edited by muratrazi; May 4th, 2020 at 04:57 AM.

  2. #2

    Infineon Employee
    Infineon Employee
    Elettrograffiti is on a distinguished road
    Join Date
    Oct 2019
    Posts
    20
    Hi! You must use the blocking capacitors for VDDP ,VDDC and VAREF,GND_REF otherwise. The EMC filter and the reverse battery protecton could be skipped.

    Furthermore I see that you have eliminated the protection for the phase voltage BEMF detection (P2.0, P2.3, P2.4):
    - did you at least connect the motor phases to the pins?
    - Did you keep the RC filter as indicated in the EvalKit schematic (linke below, page 13 and 15, pins SH1, SH2, SH3)
    https://www.infineon.com/dgdl/Infine...6c0f44edaa201a

    These pins are the ones that detect the BEMF of the phases, so the motor will never run if they are disconnected or not properly filtered.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner muratrazi is on a distinguished road
    Join Date
    Aug 2019
    Posts
    35
    Points
    327.5
    Hi,

    Thank you very much for your answer.

    I did not connect (P2.0, P2.3, P2.4) including input protection. Do i have to connect them fot BEMF? I thought only SH1,SH2 AND SH3 would be enough. Also I did not connect Rgate in the circuit.
    I have used RC filter like in the circuit that i shared above.

  4. #4

    Infineon Employee
    Infineon Employee
    Elettrograffiti is on a distinguished road
    Join Date
    Oct 2019
    Posts
    20
    Hi! Sorry, no need to connect to the Pins P2.0, P2.3, P2.4. I just meant the SHx pins.
    I think it would be better you share your schematic directly, so to have a quick look at it.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  5. #5
    Beginner Beginner muratrazi is on a distinguished road
    Join Date
    Aug 2019
    Posts
    35
    Points
    327.5
    Hi! here is the my circuit.

    Click image for larger version

Name:	1.jpg
Views:	3
Size:	88.5 KB
ID:	4692
    Click image for larger version

Name:	2.jpg
Views:	5
Size:	90.3 KB
ID:	4693
    Click image for larger version

Name:	3.jpg
Views:	3
Size:	86.8 KB
ID:	4694

  6. #6

    Infineon Employee
    Infineon Employee
    Elettrograffiti is on a distinguished road
    Join Date
    Oct 2019
    Posts
    20
    Hi! It seems to me that VSD is not connected to any power supply. VSD is the pin that sources the energy to get the internal charge pump running and without charge pump voltage you will not get voltage to the bridge driver.
    The simplest thing you could do is to connect the same supply to VS and VSD.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  7. #7
    Beginner Beginner muratrazi is on a distinguished road
    Join Date
    Aug 2019
    Posts
    35
    Points
    327.5
    In the pcb that the circuit above implemented You are right it seems it is not connected. But in the plastic board that i have set up all circuit according to application example i have connected vsd to vs as
    in the application circuit. What can be the other problem?
    Last edited by muratrazi; Yesterday at 06:04 AM.

  8. #8
    Beginner Beginner muratrazi is on a distinguished road
    Join Date
    Aug 2019
    Posts
    35
    Points
    327.5
    In evalboard and in my circuit different type of mosfets are used. What should i change in order to adapt the new mosfet in the software(Charge pump or BDRV settings)?

    Regards

  9. #9
    New Member New Member justin.lee is on a distinguished road
    Join Date
    Dec 2015
    Posts
    11
    Points
    125
    Hi

    I think, you should be the watch BDRV fault register via debug.

    when you doing run your program, how are the HSx_OC_STS , LSx_OC_STS , HSx_SUPERR_STS, LSx_SUPERR_STS ,

    HSx_DS_STS , LSx_DS_STS register?(it was CTRL1 and CTRL2 register)

    in my case , HSx_DS_STS is set and then BDRV shut down.

    if you are same case then change the DSMONVTH value.(may be you should be raise it)

    I hope that it was helpful.

    Thanks.

  10. #10
    Beginner Beginner muratrazi is on a distinguished road
    Join Date
    Aug 2019
    Posts
    35
    Points
    327.5
    Hi Elettrograffiti
    VSD is connected to VS. Do you think there is any other problem in the circuit?

    thank you very much justin.lee. I have increased the dsmonth value without debugging by hoping it would work but it did not. I had some problem about debugging.
    But i will solve the problem and let you know.

    kind regards
    Last edited by muratrazi; May 19th, 2020 at 02:42 AM.

+ 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.