Skip to main content
Associate II
October 7, 2026
Question

HSO profiler ERROR_DC_AC fault

  • October 7, 2026
  • 2 replies
  • 24 views

     I’m currently working on a PMSM drive project using the HSO scheme. I am using MC-Workbench 6.4.2 with the STM32G474RET6 MCU on a custom-designed control board. After configuring the project in Workbench and downloading the firmware to my custom board, I used the Pilot interface to verify my hardware design. First, I ran the FOC in open-loop duty mode. The motor spins normally, and the waveforms such as phase current and phase voltage look basically acceptable.

Then I started the Profiler for motor parameter identification. As soon as the identification process starts, the system throws an ERROR_DC_AC fault. This is where I am stuck now. I need to troubleshoot the root cause and check if there are any inappropriate configuration settings so that the automatic identification can complete successfully.

      To identify the root cause of the above issue, I tested Iα, Iβ, phase voltages Uα and Uβ in open‑loop mode. The waveforms themselves look acceptable. However, I observed a strange phenomenon: the 90‑degree phase relationship between Iα and Iβ is reversed relative to that between Uα and Uβ. Iα lags Iβ by 90°, whereas Uα leads Uβ by 90°. Is this behavior reasonable?

     Apart from the suspected root cause described above, I would like to know what other reasons may lead to tERROR_DC_AC fault  thrown by the Profiler.

 

2 replies

JAMES1968Author
Associate II
October 7, 2026

 

 

Gael A
ST Employee
October 8, 2026

Hello JAMES1968,

Could you verify with OL at low speed that Uab and Iab have the same angle ? Don’t hesitate to use the XY plot mode (under Type in the MotorPilot).

If it is not the case, there probably is a mismatch between current and voltage phases and how they are sampled.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.