Unknown Parameter in Transfer Function
Show older comments
Hi,
I am trying to simulate model reference adaptive control algorithm on Simulink. But i couldn't create a transfer function block which defines my plant. It must be like : b/(s+5). "b" is unknown parameter that's why i can't define it as a value. For example, i can't define b = 5 because purpose of algorithm is running by not knowing value of "b". When I define just b but not its value Simulink failed. It says it needs to define "b" with its numerical value. How can I define unknown parameter in transfer function block on Simulink ?
Answers (1)
Ameer Hamza
on 18 Nov 2020
Edited: Ameer Hamza
on 18 Nov 2020
1 vote
You can write the time-domain equation of this transfer function and then implement it using elementary blocks. Then you can vary 'b' however you want. The attached file (saved in R2020b) shows a demo. The model is also shown in the following image

2 Comments
Mert Candangüler
on 18 Nov 2020
Ameer Hamza
on 18 Nov 2020
In Simulink, you cannot leave any value undefined. In my model, I just used the sine wave as an example; you can connect b to anything. If you want to change 'b' based on some other logic, you can implement that and connect the value to 'b' port. In MARC, the unknown means that the control algorithm does not know the value of 'b'. It does not mean that the value of 'b' does not exist. As long as you don't directly input the value of 'b' to the controller and let it estimate the value itself, it should be fine.
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!