Explore BrainMass

Proportional Plus Derivative Control

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 July 18, 2018, 10:28 pm ad1c9bdddf


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.