Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Demo of sensorless commutation in single-leg PWM mode. Run Tests.Comm…
…utation.IntBEMF3.mo
- Loading branch information
Showing
7 changed files
with
170 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
within OpenBLDC.Tests.Commutation; | ||
model IntBEMF2 "Commutation based on BEMF integration with extended method" | ||
model IntBEMF2 | ||
"Commutation based on BEMF integration with extended method, 2-leg-PWM" | ||
extends Modelica.Icons.Example; | ||
extends Assemblies.SensorlessBLDC( | ||
redeclare Blocks.SensorlessCtrl3phStateGraphNG sensorlessCtrl3phPWM( | ||
catchStart(KV_Method = 3), | ||
redeclare Blocks.DetectCommutationIntBEMFext detectCommutation), | ||
redeclare Blocks.DetectCommutationIntBEMFext detectCommutation(sampleAll=true), | ||
PwmMode=1), | ||
mechanicalLoad(w_fixed = 8000 * 2 * Modelica.Constants.pi / 60), motorVoltageCommand(k = 0.8)); | ||
annotation(experiment(StopTime = 0.003)); | ||
end IntBEMF2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
within OpenBLDC.Tests.Commutation; | ||
model IntBEMF3 | ||
"Commutation based on BEMF integration with extended method, 1-leg-PWM" | ||
extends Modelica.Icons.Example; | ||
extends Assemblies.SensorlessBLDC( | ||
redeclare Blocks.SensorlessCtrl3phStateGraphNG sensorlessCtrl3phPWM( | ||
catchStart(KV_Method = 3), | ||
redeclare Blocks.DetectCommutationIntBEMFext detectCommutation(sampleAll=false), | ||
PwmMode=2), | ||
mechanicalLoad(w_fixed = 8000 * 2 * Modelica.Constants.pi / 60), motorVoltageCommand(k = 0.6)); | ||
annotation(experiment(StopTime = 0.003)); | ||
end IntBEMF3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
IntBEMF1 | ||
IntBEMF2 | ||
IntBEMF3 | ||
ZeroCrossings1 | ||
TestIntBEMFext |