122-28176 Parallax Inc, 122-28176 Datasheet - Page 281

GUIDE STUDENT PROCESS CONTROL

122-28176

Manufacturer Part Number
122-28176
Description
GUIDE STUDENT PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-28176

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Modify the code so that only proportional calculations are made and plotted.
Add a bias to your output by adding 500 to the total drive calculated in the
CalcTotal
Download the program, use 1.0 seconds for evaluations.
Hold the level at the setpoint.
Cycle the light level up and down several times while trying not to exceed the
range of 0 to 1000 on the output. Note that when operating at the setpoint, the
output is 500. Since there is no error, the only output is based on bias.
Have the BASIC Stamp calculate all 3 evaluations, but not plot mark any on the
upper plot. Leave integral with a gain of 0.1 (/10), but remove the gains from
proportional and derivative (no gain essentially means a unity gain, or gain of 1).
GOSUB CalcProp
' GOSUB MarkProp
GOSUB CalcInteg
' GOSUB MarkInteg
GOSUB CalcDeriv
' GOSUB MarkDeriv
Experiment with light levels to try and keep the output at or near 500.
Identify the different types of control action illustrated in the output plot.
Total = 500 + Prop + Integ + Deriv
subroutine.

Related parts for 122-28176