Transfer function model from block diagram

6 views (last 30 days)
Hello, i am facing difficulties in translating the transfer function of the block diagram above into Matlab.
I do have the control systems toolbox.
for the system plant, I have
tf_1 = feedback(tf([1],[I_wh 0]),c_vis); % small loop with c_vis
tf_2 = series(tf([1/R],[L/R 1])*3/2*kT, tf_1) % series of tf_1 and motor tf
tf_system_plant = series(feedback(tf_2,ke),tf([J 0],1))
The upper two paths in the controller can be summarized as
tf_ctrl1 = parallel(tf(k_omega,[1 0]),tf(k_phi,[1 0 0]))
But I do not know how to include the feedback loop of the reaction torque and the feed forward component k_alpha.
Any help is appreciated!

Accepted Answer

Paul
Paul on 29 Jan 2025
The easiest way, IMO, is to use connect. Feel free to post back here if you still have questions after reading the doc page and trying it out.

More Answers (0)

Categories

Find more on Electrical Block Libraries in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!