Explore BrainMass

Proportional Plus Derivative Control

This content was STOLEN from BrainMass.com - View the original, and get the solution, here!

The attached drawing shows a proportional plus derivative controller that has a
proportional band of 20% and a derivative action time of 0.1 minutes.
Construct the shape of the output waveform for the triangular
input waveform shown, if the input rises and falls at the rate of 4 units
per minute.

© BrainMass Inc. brainmass.com September 22, 2018, 3:31 am ad1c9bdddf - https://brainmass.com/engineering/electrical-engineering/proportional-plus-derivative-control-545267


Solution Preview

Please see attachment -- matlab source code and output plot.

Matlab source code -- this code can be converted into other programming languages also:

clear all; % Clear the memory
Td = 0.1; % Derivative action time
nUnits = 4; %No. of units/minute
pb = 20; % Proportional band = 20%
kp = 100/pb; %propotional gain = 100/pb
setpoint = 0;
peakVal = 1; % triangle peak value = ...

Solution Summary

A Matlab code is written to generate output waveform corresponding to a given input waveform to a proportional plus derivative controller.