I am not able to understand how to implement this into simulink.

3 views (last 30 days)
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.

Accepted Answer

Peter O
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
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.
  1. Formulate your golden section search algorithm code. Test its performance on a simple optimization function to which you know the "true" solution.
  2. 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.
  3. Your cost function on the optimizer is probably to maximize the system efficiency.
  4. 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.
  5. 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.
Varun Nair
Varun Nair on 5 Aug 2021
It looks bit complicated with the time frame I have with me now.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!