130-28176 Parallax Inc, 130-28176 Datasheet - Page 271

KIT PARTS PROCESS CONTROL

130-28176

Manufacturer Part Number
130-28176
Description
KIT PARTS PROCESS CONTROL
Manufacturer
Parallax Inc
Datasheets

Specifications of 130-28176

Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
The Output Drive Plot has these characteristics:
Testing Proportional Evaluation
Vertical green lines show the point at which data is evaluated for PID
calculations.
The default range is from -2000 to 2000, making the scale half that of the upper
plot.
A red line shows the 0 value, not the setpoint.
Shade the sensor with your hand to a comfortable amount where you can quickly
light or darken the sensor with hand movements.
If there is considerable difference between the setpoint (red line) and your value,
disconnect on StampPlot, change the Setpoint value on the plot and reset your
BASIC Stamp.
In the “Evaluate and plot” section of the Main Routine, ensure that the integral
and derivative subroutines are commented out as in the following:
' Evaluate and plot
Ensure that "Evaluation Time" is selected to 4.
Press Reset on the Board of Education and reset the plot.
Lighten and darken the sensor and note how often the data is sampled for
calculations (green vertical lines).
Note that the total drive is updated below.
Note that green vertical lines in the top plot denote when calculated samples are
taken. At each sample, the output, due to proportional control only, is updated
on the lower plot.
After about 40 seconds of data, change the sample time to 0.5 seconds and reset
the BASIC Stamp (not the plot).
GOSUB CalcError
GOSUB CalcProp
GOSUB MarkProp
' GOSUB CalcInteg
' GOSUB MarkInteg
' GOSUB CalcDeriv
' GOSUB MarkDeriv
GOSUB CalcTotal
GOSUB MarkTotal

Related parts for 130-28176