why does the switch exist at the speed reference in PMSM control?
2 次查看(过去 30 天)
显示 更早的评论
I'm going to use this PMSM control blockset, and I found that there's a switch at the speed reference.
As shown in the attached photo, I simulated with the speed reference set to 1000(green circle), and there's a step signal that applied to the output by the initial reference (blue circle) from the switch(red circle).
If I remove this switch, then the output immediately apply a speed reference to the input, the step output disappears, so I wonder why the switch was installed.
0 个评论
采纳的回答
Sayan
2024-4-29
Hi Esther Kang,
The switch in the example is for the reversal of the motor shaft. Suppose you need to control the motor speed in the anti-clockwise direction for some duration and in the clockwise direction after anti-clockwise rotation, and you need the speed reversal to happen dynamically while the model runs without running the model twice in different directions. In that case, the Switch block becomes very useful.
I am attaching a photo of the measured speed where the motor speed is reversed after 3 seconds, i.e., I have provided a negative speed reference in the "Speed_Ref_Final (rpm)" Constant block.
However, if you need to control the motor for a constant reference speed, you can omit the Switch and the Step function block and use a Constant block to provide a constant reference speed.
You can find more information on the Switch block in the following documentation.
Hope this answers the query.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Motor Parameter Estimation and Plant Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!