Skip to content

Commit 1fb8fb2

Browse files
authored
Fix a minor detail in current control docs (Aalto-Electric-Drives#174)
* Fix a detail in a current control tuning doc for synchronous machines * Update pre-commit-config
1 parent 4e1526e commit 1fb8fb2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313

1414
# Generic
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v4.6.0
16+
rev: v5.0.0
1717
hooks:
1818
- id: end-of-file-fixer
1919
name: fix end of files
@@ -33,7 +33,7 @@ repos:
3333

3434
# TOML
3535
- repo: https://github.com/pre-commit/pre-commit-hooks
36-
rev: v4.6.0
36+
rev: v5.0.0
3737
hooks:
3838
- id: check-toml
3939
name: check toml
@@ -44,7 +44,7 @@ repos:
4444

4545
# YAML
4646
- repo: https://github.com/pre-commit/pre-commit-hooks
47-
rev: v4.6.0
47+
rev: v5.0.0
4848
hooks:
4949
- id: check-yaml
5050
name: check yaml

docs/source/control/drive/current_ctrl.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,17 @@ Here, the complex vector design is considered. Hence, the controller :eq:`cc` ca
123123
124124
where the angular speed of the coordinate system equals typically the measured rotor speed, :math:`\omega_\mathrm{s} = \omega_\mathrm{m}`, or the estimated rotor speed :math:`\omega_\mathrm{s} = \hat{\omega}_\mathrm{m}`. If the magnetic saturation is not considered, this flux-linkage-based current controller is equivalent to a regular 2DOF PI current controller (even if inductance estimates are inaccurate). Notice that :math:`\boldsymbol{i}_\mathrm{s,ref} = \boldsymbol{i}_\mathrm{s}` holds in the steady state even with inductance estimate inaccuracies, since the same inductances are used to map both the reference current and the actual current to the corresponding flux linkages.
125125

126+
.. note::
127+
The control law :eq:`cc_flux` omits the effect of the stator resistance for simplicity, i.e., :math:`\hat R_\mathrm{s} = 0` is assumed. This is a common and practical assumption. However, if needed, the resistive voltage drop term :math:`\hat R_\mathrm{s}\boldsymbol{i}_\mathrm{s}` could be simply added to :math:`\boldsymbol{u}_\mathrm{s,ref}` in :eq:`cc_flux`.
128+
126129
The gain selection analogous to :eq:`complex_vector_gains` becomes
127130

128131
.. math::
129-
\boldsymbol{k}_\mathrm{p} = 2\alpha_\mathrm{c} - \hat R_\mathrm{s} \qquad\qquad
132+
\boldsymbol{k}_\mathrm{p} = 2\alpha_\mathrm{c} \qquad\qquad
130133
\boldsymbol{k}_\mathrm{i} = \alpha_\mathrm{c}^2 \qquad \qquad
131134
\boldsymbol{k}_\mathrm{t} = \alpha_\mathrm{c}
132135
133-
where :math:`\hat R_\mathrm{s} = 0` can be used in practice. Assume accurate parameter estimates and perfect alignment of the controller coordinate system with the rotor coordinate system. Then, using :eq:`sm_model`, :eq:`flux_mapping_sm`, and :eq:`cc_flux`, the closed-loop system can be shown to be analogous to the induction machine case. This control design corresponds to the implementation in the :class:`motulator.drive.control.sm.CurrentController` class.
136+
Assume accurate parameter estimates and perfect alignment of the controller coordinate system with the rotor coordinate system. Then, using :eq:`sm_model`, :eq:`flux_mapping_sm`, and :eq:`cc_flux`, the closed-loop system can be shown to be analogous to the induction machine case. This control design corresponds to the implementation in the :class:`motulator.drive.control.sm.CurrentController` class.
134137

135138
.. rubric:: References
136139

0 commit comments

Comments
 (0)