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.

  • TI Thinks Resolved

DRV8301-HC-C2-KIT: Reducing SMO lag in PM Sensorless project

Expert 1395 points

Replies: 1

Views: 79

Part Number: DRV8301-HC-C2-KIT

Hi

I am using a DRV8301-HC-EVM Rev D with a DRV8301 control card
I am trying to work through the PM Sensorless project.

I have made modifications to the settings to suit the motor we are using:
- these include setting motor R, L, poles and Base Freq
- current sense gain
- and increasing the ISR freq to 40KHz

For our application we are required to spin counter clockwise so I am using a target speed ref that is < 0.

We have hall sensors on the motor but would like to use FOC control as on testing it greatly improves acoustic noise.
We have no QEP encoder

With the loop closed around winding current we appear to spin smoothly: I can see that the hall signal becomes nicely locked to a single frequency on a scope
- looking at the speed3.EstimatedSpeed variable it is always within a couple of % of the target (SpeedRef)
- similarly measuring the time between entering the same "HallState" form the measure hall sensors looks to be giving a solid

However as soon as I switch to speed control in BUILDLEVEL 7 the motor stops

I notice that the lag between smo1.theta and rg1.out would be about 60deg (820us in a 4.95mS revolution - output on PWMDAC)
- however trying to adjust Kslf and Kslide do not appear to be able to reduce this in any way

I am presuming this discrepancy between the estimated and generated angle is likely the cause of the crash when switching to a speed control loop? as from the code it would appear that swapping the rg1.out for the smo1.theta is one of the key differences?

I would be grateful for any suggestions as to how to see this lab to completion

- and also if there are any recommendations for how best to incorporate hall feedback in to a FOC control scheme

Kind regards,
- Richard

  • Not whole error comes from the SMO. Actually, the angle of the RG module is not the ideal rotor angle, so you need to set the correct motor parameters and tune the Kslide and Kslf for SMO, and you need to tune the reference current and speed for open-loop running with RG module. Especially, the angle of the RG is not correct in LEVEL7 if you didn't use alignment to calibrate the zero offset for RG module.

    You may convert the hall signal to the rotor angle as the using angle of FOC module. You might find some papers about this topic on how to implement it, but there is no such reference in controlSUITE.

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.