You are here

Motor Saturation Point Measurement

4 posts / 0 new
Last post
Ebike_Ninja
Offline
Last seen: 2 years 6 months ago
Joined: 2018-04-14 18:50
Posts: 4
Motor Saturation Point Measurement

After tinkering with HFI and getting really good results pushing higher currents while accelerating, I realized that the VESC has an option for saturation compensation, but not a simple way to measure the point at which the stator saturates.

The VESC has all the hardware necessary to pulse the stator with current, measure the phase current/voltage ramp characteristics, and spit out the current at which the stator saturates.

I think that this would be a really useful feature for many people who are wanting to find the maximum motor current, and who cannot afford/access the hardware (precise shunts, oscilloscope, etc) to do it manually.

Edit:

I tried an experiment using "rotor_lock_openloop" in the terminal at varying currents, plotting the HFI average inductance, and produced the following data for a Bafang SWXH hub motor:

SWXH Saturation.png

 

This shows that the VESC can be used to form a rough approximation of motor saturation characteristics. As shown, my data correlates with the roll-off and deep saturation regions of a general inductor curve:

 

district9prawn
Offline
Last seen: 1 year 11 months ago
Joined: 2018-04-26 12:18
Posts: 123

Those inductance measurements came out nicely. The HFI inductance measurement must be quite accurate.

The vesc stator saturation compensation feature is pretty basic. Its just a linear approximation with motor current. It still makes a noticeable difference though.

I wonder why the curve doesn't show the weak saturation shape of the curve?

TechAUmNu
Offline
Last seen: 2 months 4 days ago
Joined: 2017-09-22 01:27
Posts: 575

Something like this should be built into vesc tool, maybe on the foc experiments tab. It would make setting maximum current limits much easier or could even allow some modifier to account for saturation better. The current percentage control its a bit crude.

danilolattaro
Offline
Last seen: 4 months 1 week ago
VESC Free
Joined: 2021-01-17 23:26
Posts: 13

I am trying to replicate your method with my motor.

Could you please clarify if you measured the HFI inductance with foc_plot_hfi_en 2?
If you did, how did you manage to average the multitude of points measured on the Experiment tab of realtime data?
I can only export that to XML, which is useless to import on Excel and calculate the averages.

Thanks