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.

TMS320F28069: current control with upper and lower speed bound

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE

Hi!
I am using the launchpad with two booster pack motor drivers to create a dual traction motor driveline.
The two rear wheels are the two driven wheels

I want to do torque vectoring and limited slip differential.


Current in motor A = Ia

Current in motor B = Ib

Speed in motor A = Vb

Speed in motor B = Vb



The torque vectoring I want to do like this:

common current = Ic
differential current = Id

Ia=Ic/2+Id/2

Ib=Ic/2-Id/2


The limited slip I want to do like this

maximum allowed slip=X

minimum allowed speed=min(Va,Vb)-X

maximum allowed speed=max(Va,Vb)+X

This requires that I can set a lower and upper bound on the speed to the current controller.

I am considering two solutions:

Have a PI loop creating a max allowed current that limits the current controller based on the max allowed speed and a PI loop

a PI loop creating a min allowed current that limits the current controller based on the min allowed speed

Or this solution

 If speed > max speed, use PI set at max speed to control current until current > target current

 If speed < min speed, use PI set at min speed to control current until current < target current

What do you propose to create a lower and upper speed bound when using current control

  • Speed PI output depends on target speed, input voltage and motor load. Your description is a limitation, not a real feedback close loop. You can refer to TI controlSUITE or motorWare user guide to get more detail information to implement this.
  • I do not understand what you are writing.

    I do not want to use speed PI, I want torque mode.

    I do know what a PI regulator is and how the output depends on the inputs.

  • What lab project in controlSUITE or motorWare was based on? Or you was working on designing yourself algorithm? What motor type?

    In general, the output of current PI is voltage or pwm duty. For your reference, you can use a speed PI to implement speed limitation, set the outMax of speed PI to the target torque current, the reference value of speed PI is always the maximum or minimum speed.

    The reference torque current is the target value if the motor speed is less than the limited speed, and worked in torque mode.
    The reference torque current is the speed PI output if the motor speed is greater than the limited speed, and worked in speed mode.