I am working a project that involves system control for robot movement and I want to try PID control. I modeled a DC Motor in MATLAB Simulink however each time I tried to combine inputs from Voltage Source and Motor torque with Mux block to generate a single vector output, I have the followoing error 

     "Unable to determine signal dimensions. There is a loop consisting of 'P_Control_DC_Motor/DC Motor/Sum' that cannot be resolved because signal dimensions are defined by a cyclic relationship. Specifying the signal dimensions on Inport, Mux, Selector, Demuxes will help resolve signal dimensions in the loop. You can also use the Signal Specifications to define the signal dimensions."

I tried using Gain Sum it worked but not producing desired result.

I want to be sure if I am doing the right thing before moving ahead to PID tuning.

My block diagrams and result(s) are attached.

Can some please assist?

Similar questions and discussions