I am not able to understand how to implement this into simulink.
2 views (last 30 days)
Show older comments
This is a stator current and Rotor angle (Beta) look up table under working condition.
How can I implement a look up table in simulink to decide the optimum points.
0 Comments
Accepted Answer
Peter O
on 26 Jul 2021
Fortunately, that current map looks very smooth. Consider using the 2D lookup block: https://www.mathworks.com/help/simulink/slref/2dlookuptable.html
Use one block for beta and another for magnitude, same inputs to each.
You will need to decide how you want it to handle edge cases where the inputs don't map inside the table boundaries.
5 Comments
Peter O
on 3 Aug 2021
I'm not sure if you'll need the Model Calibration Toolbox. Golden section search is a way of locating the optimum point along a curve by taking steps in a division driven by the golden ratio. This is a complicated problem, so I would recommend approaching it with several smaller steps.
- Formulate your golden section search algorithm code. Test its performance on a simple optimization function to which you know the "true" solution.
- Formulate the Simulink model of the motor, drive, and current controller. Verify its performance in open-loop by supplying a known current magnitude, angle, and speed. You can solve the steady-state formulation analytically to verify your model is outputting the correct information.
- Your cost function on the optimizer is probably to maximize the system efficiency.
- Sweep the operating domain of speed and torque points into the steady-state analytical formulation. The optimizer will report back the "best" current angle and magnitude for each power point.
- Collect these optimal values into the 2D lookup table that the "torque command" block area feeds to establish the full model with dynamic control. The PI controller in that block will probably also need some tuning to get the system to respond at the right level of agressiveness.
More Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Generate Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!