Associate III
September 22, 2025
Solved
configuring speed and current regulation using ST tools
- September 22, 2025
- 2 replies
- 1107 views
Hello everyone,
I'm working on an application using a motor with a nominal speed of 1850 rpm and a nominal current of 4.1 A. The motor operates within a speed range of 300 to 800 rpm, and I'm looking to implement stable and efficient speed regulation.
I have already imported my project into MC Workbench and configured the following parameters:
Current configuration:
Speed sensing mode:
- Speed Sensor Mode: Hall Sensor
Speed regulator:
- Execution Rate: 1 ms
- Target Speed: 648 rpm
- Auto Calculate Kp & Ki: enabled
- Kp ≈ 14.96
- Ki ≈ 0.0105
- Maximum speed error before fault: 3
Current regulators (Torque/Flux):
- Execution Time: 50 µs
- Control Mode: Speed control
- Cut-off frequency: 6000 rad/s
- Auto Calculate Torque/Flux Kp & Ki: enabled
Iq (Torque) Regulator:
- Target: from speed regulator
- Kp ≈ 7.62
- Ki ≈ 0.326
Id (Flux) Regulator:
- Target: 0 A
- Kp ≈ 7.62
- Ki ≈ 0.326
Modulation:
- Selected modulation: None
PWM and current sensing:
- PWM frequency: 20 kHz
- Current sensing gain: 21
- Measurement range: -15.71 A to +15.71 A
My questions:
- Does this configuration seem suitable for stable regulation within my operating speed range (300–800 rpm)?
- Is the automatic tuning of the Iq and Id current regulators sufficient, or should I manually adjust the gains to optimize performance?
- Are there any recommendations to improve stability or accuracy at low speeds?
Thanks in advance for your feedback and suggestions!
