+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Junior Member level 1
    Points: 182, Level: 2

    Join Date
    Apr 2019
    Posts
    17
    Helped
    0 / 0
    Points
    182
    Level
    2

    PID algorithm for BLDC speed control

    Hello guys,

    I have been working with PID algorithm to control bldc motor speed. currently I am tuning the gain kp,ki,kd values with a predefined RPM as setpoint or reference value. But the real application is controlling with bike throttle here,
    my question is how to convert the throttle value to RPM?
    and what will be the range of RPM? because the rpm will down in dynamic load condition right.
    Motor spec- 48v 1kW bldc motor
    rated rpm -3000

    If u guys have any ideas kindly share it.
    hoping for a reply
    thanks in advance

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 261,068, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,608
    Helped
    13875 / 13875
    Points
    261,068
    Level
    100

    Re: PID algorithm for BLDC speed control

    I expect that the throttle value is converted to torque or power rather than speed setpoint. You probably don't need a PID controller, except for speed limit control if required.



    •   AltAdvertisement

        
       

  3. #3
    Junior Member level 1
    Points: 182, Level: 2

    Join Date
    Apr 2019
    Posts
    17
    Helped
    0 / 0
    Points
    182
    Level
    2

    Re: PID algorithm for BLDC speed control

    Quote Originally Posted by FvM View Post
    I expect that the throttle value is converted to torque or power rather than speed setpoint. You probably don't need a PID controller, except for speed limit control if required.
    I thought PID controller is needed for Dynamic load condition to maintain the rpm



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 261,068, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,608
    Helped
    13875 / 13875
    Points
    261,068
    Level
    100

    Re: PID algorithm for BLDC speed control

    E-bike is usually not utilizing speed control, neither a car does.



  5. #5
    Junior Member level 1
    Points: 182, Level: 2

    Join Date
    Apr 2019
    Posts
    17
    Helped
    0 / 0
    Points
    182
    Level
    2

    Re: PID algorithm for BLDC speed control

    Quote Originally Posted by FvM View Post
    E-bike is usually not utilizing speed control, neither a car does.
    then how to maintain constant speed at dynamic load conditions. Are there any different technique to do so?



    •   AltAdvertisement

        
       

  6. #6
    Super Moderator
    Points: 78,377, Level: 68
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,899
    Helped
    3609 / 3609
    Points
    78,377
    Level
    68

    Re: PID algorithm for BLDC speed control

    Hi,

    Torque / load will always have an influence on motor RPM unless it is a synchronous motor (stepper motor).

    A BLDC motor with permanent magnet also is a synchronous motor. Thus RPM depends on fundamental frequency of applied signals.
    Keeping frequency cinstant will keep RPM constant .... as long as the torque does not cause a motor stall.

    There are several issues you have to consider:
    * what's the exoected RPM range, and how much deviation do you tolerate.
    * what's the expected load (torque) range do you expect?
    * what exact motor do you use?
    * what power stage (BLDC controller) do you use?
    * maybe you should give additional information about your application (what is it used for....)

    Klaus
    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  7. #7
    Super Moderator
    Points: 261,068, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,608
    Helped
    13875 / 13875
    Points
    261,068
    Level
    100

    Re: PID algorithm for BLDC speed control

    The driver is controlling the speed with throttle, unless a cruise control option is keeping constant speed. I never heard about cruise control for E-Bikes.



--[[ ]]--