pid controller with two input and single output response

97 views (last 30 days)
x'(t) = Ax(t) + B*u(t)+Bphi*Uphi(t); y(t) = Cx(t) + Du(t); How to use two inputs in PID controller i.e u(t) and Uphi(t). Please tell the matlab program, if u(t) force input and Uphi(t) another input then implement PID controller to get y(t) response.
  2 Comments
Arkadiy Turevskiy
Arkadiy Turevskiy on 13 Aug 2015
What's Uphi? Why do you need to close the loop on it? Why is it not enough to simply use a controller to control x with u?
Mokhtar albukair
Mokhtar albukair on 7 Dec 2019
Please tell me: How to use two inputs and one output in PID controller
Need urgent help?

Sign in to comment.

Answers (1)

Aysegul GORDEBIL
Aysegul GORDEBIL on 11 Feb 2020
Edited: Aysegul GORDEBIL on 11 Feb 2020
2-DOF PID controllers give one output for two inputs. You can use it with "pid2" command on command line. You can visit this website to learn how to use:
There is also Simulink a module for 2-DOF PID. It is on this website:

Community Treasure Hunt

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

Start Hunting!