MATLAB Answers

Simulation of a three phase motor and generator

15 views (last 30 days)
Dieter Heestermans
Dieter Heestermans on 29 May 2020
Answered: Joel Van Sickel on 5 Aug 2020
Hi
I'm trying to create a Simulink model which simulates a three phase asynchronous motor, connected through a shaft to a synchronous generator.
My end goal is to send data (like rpm/field current) from this simulation to an WiFi-enabled Arduino board, which eventually sends this data to an IOT-platform (not Thingspeak).
I'm pretty new to Simulink so any help would be much, much appreciated!
Kind regards,
Dieter

  2 Comments

And_Or
And_Or on 31 May 2020
Maybe you can use Simscape to simulate both coupled motors (https://www.mathworks.com/products/simscape-electrical.html). Inside simscape, SimPowerSystems can be used to model both synchronous and asynchronous motors/generators.
I suggest that you start looking some electrical models related to motors and generators:
You can find an example where a synchronous generator is mechanically coupled. Maybe you could take it as a reference and include the asynchronous motor.
Hope it is helpful
Dieter Heestermans
Dieter Heestermans on 31 May 2020
Yeah, I came across those examples, thanks!
I got the coupling of the asynchronous motor and synchronous generator more or less figured out.
The challenge now is to send the right data via serial to the Arduino.

Sign in to comment.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 5 Aug 2020
Hello Dieter,
additionally, if you have the coder products, you could actually generate code an run simulations on the arduino if that would be easier than having an active instance of matlab talking to the arduino.
If you go the code generation route, you would want to think about switching from using simpowersystems (now called specialized power systems) to using the simscape electrical core components (they are blue instead of black). The Simscape components support a wider range of code generation options than specialized power systems.
Regards,
Joel

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!