elnt = 0; eDotSmoothed 0; %3D ePrev 0: tNow 0; dt = 0.01; while ( 1) { tNow tNow + dt; = reference read.sensor (); eDot Partial = 2 * (e - ePrev )/ dt; e eDotSmoothed 1 * eDotsmoothed + eDotPartial;...

Leave the first 2 parts and solve only that parts that i highlighted by red pen plz solve this in one hour plz and get a thumb up
elnt = 0;<br>eDotSmoothed<br>0;<br>%3D<br>ePrev<br>0:<br>tNow<br>0;<br>dt = 0.01;<br>while ( 1) {<br>tNow<br>tNow + dt;<br>= reference<br>read.sensor ();<br>eDot Partial = 2 * (e - ePrev )/ dt;<br>e<br>eDotSmoothed<br>1 * eDotsmoothed + eDotPartial;<br>eInt = eInt + dt * (e + ePrev )/ 2;<br>= kP * e + kI * eInt + kD * eDotSmoothed;<br>ePrev = e;<br>send.control (u);<br>}<br>What is the sampling period that has been used ?<br>What is the use of the two variables: eInt, eDotSmoothed ?<br>Derive the Z-domain transfer function describing the discrete con-<br>troller.<br>Which of the following approximation schemes has been used to derive<br>this discrete time controller ?<br>• Forward rectangular approximation,<br>Backward rectangular approximation,<br>• Trapezoidal approximation, or,<br>• Some other approximation, that is different from the above three.<br>

Extracted text: elnt = 0; eDotSmoothed 0; %3D ePrev 0: tNow 0; dt = 0.01; while ( 1) { tNow tNow + dt; = reference read.sensor (); eDot Partial = 2 * (e - ePrev )/ dt; e eDotSmoothed 1 * eDotsmoothed + eDotPartial; eInt = eInt + dt * (e + ePrev )/ 2; = kP * e + kI * eInt + kD * eDotSmoothed; ePrev = e; send.control (u); } What is the sampling period that has been used ? What is the use of the two variables: eInt, eDotSmoothed ? Derive the Z-domain transfer function describing the discrete con- troller. Which of the following approximation schemes has been used to derive this discrete time controller ? • Forward rectangular approximation, Backward rectangular approximation, • Trapezoidal approximation, or, • Some other approximation, that is different from the above three.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here