Hi,
I was testing a motor at 36V (the motor is rated up to 48V) on the motor driver using MathWorks field-oriented control example.
Although the motor rotates at the reference speed the nFault light is constantly on.
Is there a way I can identify the issue?
Many thanks

댓글 수: 2

Sabin
Sabin 2025년 2월 14일
Can you please give a bit more context about what example are you using and which product?
Pichigo
Pichigo 2025년 2월 14일
Apologise,
The example being used is mcb_pmsm_foc_hall_f28379d (Field-oriented control of PMSM Using Hall Sensor) with the named microcontroller on Texas instrument (TI) DRV8305 motor driver.
The motor is not from Texas Instrument, but I have used the estimation parameter example for the motor's parameters mcb_param_est_f28379D_DRV8305 to help in tuning the PI gains for the control loops.
The test was carried out after using these examples including the ADC and Hall sensor calibration offset.
Should also mention the Current (Ia & Ib) were not a perfect sinusoid please see attached.

댓글을 달려면 로그인하십시오.

답변 (1개)

Mukul Choudhury
Mukul Choudhury 2026년 3월 2일

0 개 추천

Hi,
Could you please verify the ADC offsets and HALL calibration offset value.
1) You can run the open loop motor control example and read the ADC values when the motor is not drawing any current.
2) Run the HALL calibration example to calculate the HALL offset.
The above could be the probable cause. Please ensure the above offsets are correct and then check whether the surrents are sinusoidal or not.
You can also connect with us on technical support if this does not help.
Thanks,
Mukul

질문:

2025년 2월 13일

답변:

2026년 3월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by