フィルターのクリア

Transfer Function of a simple Circuit using Simulink

121 ビュー (過去 30 日間)
Adnan
Adnan 2014 年 5 月 25 日
コメント済み: karan kedia 2021 年 8 月 20 日
I have a simple circuit for which I just need to obtain transfer function using Simulink. I have attached the image below. Any help would be appreciated. Thanks

採用された回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2014 年 5 月 30 日
編集済み: Arkadiy Turevskiy 2014 年 5 月 30 日
You did not specify which transfer function you want. Let's assume you want a transfer function from input voltage to output voltage.
1. Start a new Simulink model and add Capacitor, Inductor and Resistor blocks from Simscape, Foundation Library, Electrical, Electrical Elements:
2. Add Controlled Voltage Source block (from Electrical Sources sublibrary) for providing input voltage, Voltage Sensor (Electrical Sensors sublibrary) for measuring output voltage, also add Electrical Reference (ground) (Electrical Elements sublibrary) and Solver Configuration block (Utilities sublibrary in Simscape). Connect the blocks as shown in your image, and specify all the values as shown in the image.
3. Add Simulink-PS Converter and PS -Simulink Converter blocks (also from Utilities sublibrary) for converting Simulink signal to physical signal and back. Use Step block as an input to the model, and Scope as the output.
4. Now right click on the line coming from Step block, and select Linear Analysis Points - Input Perturbation. Right click on the line coming from PS-Simulink Converter block and select Linear Analysis Points - Output Measurement. Note that this requires a license of Simulink Control Design .
5. In the menu select Analysis - Control Design - Linear Analysis
6. In the Linear Analysis Tool click on Linearize:
This linearizes the model, plots the step response (or some other graph if you selected something else, Bode plot, for example) and adds a computed linear system to Linear Analysis Tool workspace:
8. Copy linsys1 to MATLAB workspace (drag and drop in Linear Analysis Tool).Now you can look at the formula and use the linear system for further analysis and design
  10 件のコメント
Kashif Mehmood
Kashif Mehmood 2019 年 9 月 5 日
@ Rajan Kumar
did you get transfer function of the transformer
karan kedia
karan kedia 2021 年 8 月 20 日
thank you for the step by step instructions.

サインインしてコメントする。

その他の回答 (6 件)

Luigi Dilan  Gervasio
Luigi Dilan Gervasio 2016 年 5 月 19 日
Sorry, I can obtain a symbolic transfer function without specific value of my component?
  3 件のコメント
fima v
fima v 2019 年 6 月 7 日
yes i will be happy to have a parametric transfer function
Arkadiy Turevskiy
Arkadiy Turevskiy 2019 年 6 月 20 日
No, creation of a symbolic transfer function from a Simscape model is not supported.

サインインしてコメントする。


Azzi Abdelmalek
Azzi Abdelmalek 2014 年 5 月 25 日
Do you want to simulate this circuit with Simulink? If yes , you will need a simscape toolbox
  1 件のコメント
Adnan
Adnan 2014 年 5 月 25 日
I already have the Simscape toolbox just need step by step advice as I'm new to this

サインインしてコメントする。


Nguyen Dinh Thuc
Nguyen Dinh Thuc 2017 年 6 月 2 日
From input "Step" to output "PS-Simulink Converter":
1000 s + 5e06
---------------------
s^2 + 6000 s + 2.5e07
Name: Linearization at model initial condition Continuous-time transfer function.
That is my result, I don't know why, please help me
  1 件のコメント
Arkadiy Turevskiy
Arkadiy Turevskiy 2019 年 6 月 20 日
you got a transfer function, what's the problem?

サインインしてコメントする。


Harshit Derasari
Harshit Derasari 2018 年 1 月 24 日
編集済み: Harshit Derasari 2018 年 1 月 24 日
can u give any suggestion how to get transfer function of this circuit???? which i attached here... as per the above steps i not able to attach PS-simulink converter... here DC input voltage is 12v and output of buck converter is around 6v with 50% duty cycle.. inductor of 1mH capacitor of 220uF and R is 10 ohm and i want transfer function from output to input
  3 件のコメント
Arkadiy Turevskiy
Arkadiy Turevskiy 2019 年 6 月 20 日
編集済み: Arkadiy Turevskiy 2019 年 6 月 20 日
Simscape Electrical handles switching circuits just fine. For a power electronics model with switching from power semiconductors, you will need to use an ac sweep. As switches like diodes are discontinuous, you cannot linearize them. To approximate your model with a transfer function, you inject a small signal (ac sweep) into your system, and compute frequency response from the input to the output. Once you have the frequency response, you can fit a transfer function to it.
This workflow is shown in this example.
Preeti Warrier
Preeti Warrier 2020 年 4 月 10 日
@Arkadiy Turevskiy
Sir I opened your example iddemo_boost_converter and tried to do what is explained. The figure in your explanation has a voltage sensor and PS-SIMULINK converter, but when I open the model, it is slightly different. It does not have a ground connection, and there is voltage measurement which is connected to the scope. When I run your code to compute discrete points on the frequency response,([sysData,simlog] = frestimate(mdl,ios,in)...,I get these errors.. Index exceeds matrix dimensions.
Error in frestimate>LocalConstructIOTable (line 875)
table{ct,2} = ph.Outport(io(ct).PortNumber);
Error in frestimate>LocalSetupForSimulation (line 435)
table = LocalConstructIOTable(io,ModelParameterMgr,opts)
I changed the outpot port to Uout instead of PS-SIMULINK converter, as the model which opens has only Uout.But still error is there.Please could you guide?
Thanks.

サインインしてコメントする。


Kashif Mehmood
Kashif Mehmood 2019 年 9 月 4 日
is this possible to find the transfer function of this circuit i have tried alot to find it .please help i want to find i2/i1 . m is the switching function alpha is the thyristor angle

Adilson Batista
Adilson Batista 2021 年 4 月 8 日
Help me please. I don't understand step 4. And, I can see the Simulink Menu showed in step 5.

カテゴリ

Help Center および File ExchangeGet Started with Simscape Electrical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by