Effacer les filtres
Effacer les filtres

Obtaining steady-state inductor current signal from actual AC signal in Simulink

5 vues (au cours des 30 derniers jours)
Abdul
Abdul le 12 Fév 2024
Réponse apportée : Sathvik le 20 Fév 2024
Hi team,
I am a masters student in electrical engineering. I am working on designing a CCCV control for the dual-active bridge (DAB) converter. This is the simulation model I've made in MATLAB.
I'm working on controlling the active component of inductor current in this simulation. Can you please guide me extracting the real steady-state component of the AC inductor current using any Simulink blocks from MATLAB? It would be very helpful.

Réponses (1)

Sathvik
Sathvik le 20 Fév 2024
Hi
You can extract the current of the AC Inductor in your model using Simscape Results Explorer.
  • On the Simulink window of your model, go to Modelling -> Model Settings. This will open a configuration parameters window.
  • In the configuration parameters window, go to Simscape -> Log Simulation Data and select “All”.
  • Check the “Open viewer after simulation” option. This will open the Simscape Results Explorer and update automatically upon completing a simulation run.
  • Run a simulation of your model. A Simscape Results Explorer window will open automatically.
  • In the Model Tree Structure, under Inductor, click on the i_L parameter to plot the current of the AC inductor.
  • You can export this data by using the “Export Data” option. By default, a simlog object would be created in your MATLAB Workspace.
To further perform operations to obtain only the steady-state value of current, you can use the “values” function to obtain the values of the current:
current = values(simlog.Inductor.i_L.series);
Have a look at the documentation for Simscape Results Explorer and the values function

Communautés

Plus de réponses dans  Power Electronics Control

Catégories

En savoir plus sur Data Logging dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by