pid controller with two input and single output response

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

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?
Please tell me: How to use two inputs and one output in PID controller
Need urgent help?

Sign in to comment.

Answers (1)

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:

Asked:

on 10 Aug 2015

Edited:

on 11 Feb 2020

Community Treasure Hunt

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

Start Hunting!