×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Motor Drive - Current contoller with speed limiting

Motor Drive - Current contoller with speed limiting

Motor Drive - Current contoller with speed limiting

(OP)
My goal is to drive a BLDC motor that provides a propulsion power assist that supplements the push force effort required from a user attempting to move a cart. The input command comes from a force sensor in the handles used to push the cart. The control loop includes torque (current) control but with a limit on the cart's ultimate speed.
The control scheme that appears to be most common for two variable loops uses cascaded control architecture. As you can see from the diagram below, I can't figure out how to include the speed limiting function in a cascaded loop architecture. This diagram illustrates where I'm stuck.

It may help to know that I am trying to instruct my software engineer in how to write C coded firmware for a microchip MCU to perform this function. Any help that can be provided would be appreciated.
-Keith

RE: Motor Drive - Current contoller with speed limiting

You're current target must be the output of the outer loop's PI controller. The speed target goes into the difference function where you now show the current target. The speed target must be limited from 0 to max speed. The outer loop PI controller must have its output calibrated in units of current to give a proper current target signal to the inner loop difference function.

Also, you should show a few other things in the block diagram. The inner loop is missing the motor drive block, which will be between the inner loop PI controller and the current sensor tap. The outer loop is missing the cart block between the current sensor tap and the speed sensor tap, which includes the motor and the cart mechanical equipment.

xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.

RE: Motor Drive - Current contoller with speed limiting

Do you need PID control of speed? I think you are just looking for a limit on speed.

RE: Motor Drive - Current contoller with speed limiting

You do not need to control current. You need to control the force applied to the force sensor. If the force exceeds the set point, the motor speeds up (up to the speed limit). When the force is below set point, the motor slows down.

RE: Motor Drive - Current contoller with speed limiting

(OP)
Xnuke From what you said I think I had the inner and outer loops reversed and that the Current control loop should have been the outer loop. I incorporated the current limit as a PI signal that is only applied when the speed exceeds the limit. This is my best guess at this point. This is a complete guess. It still doesn't seem right.



BrianE22
> Do you need PID control of speed? I think you are just looking for a limit on speed.
You are exactly right. Only speed limiting is needed. The PID controller I proposed is more a product of my starting point than believing PID processing of the speed error signal is needed.

Compositepro
> You do not need to control current. You need to control the force applied to the force sensor. If the force exceeds the set point, the motor speeds up (up to the speed limit). When the force is below set point, the motor slows down

The system input is the sum of forces from two force sensors one in the right handle and one in the left handles. Here's a photo of the cart showing the handles on the left.

-Keith

RE: Motor Drive - Current contoller with speed limiting

(OP)
Bump

RE: Motor Drive - Current contoller with speed limiting

I'd recommend to check if you need to fulfill functional safety requirements (design the circuit and software in a way that failures don't harm anyone). If you do not consider such a requirement from the very beginning later modification will be cumbersome.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close