Tải bản đầy đủ (.pdf) (22 trang)

Industrial Control Student Guide Version 1.1 phần 10 pdf

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.09 MB, 22 trang )

Appendix D: LM34 Manufacturer’s Datasheet

Industrial Control Version 1.1 • Page 243


Appendix D: LM34 Manufacturer’s Datasheet

Page 244 • Industrial Control Version 1.1


Appendix E: LM358 Manufacturer’s Datasheet

Appendix E:
National Semiconductor
LM358 Datasheet
Appendix E consists of the National Semiconductor LM358 datasheet. This appendix includes the first five (5)
pages of the 23-page datasheet. Should you wish to see more applications of the LM358 than are shown in
this datasheet, the entire document may be downloaded from />
Industrial Control Version 1.1 • Page 245


Appendix E: LM358 Manufacturer’s Datasheet

Page 246 • Industrial Control Version 1.1


Appendix E: LM358 Manufacturer’s Datasheet

Industrial Control Version 1.1 • Page 247



Appendix E: LM358 Manufacturer’s Datasheet

Page 248 • Industrial Control Version 1.1


Appendix E: LM358 Manufacturer’s Datasheet

Industrial Control Version 1.1 • Page 249


Appendix E: LM358 Manufacturer’s Datasheet

Page 250 • Industrial Control Version 1.1


Appendix F: DS1302 Manufacturer’s Datasheet

Appendix F:
Dallas Semiconductor
1302 Datasheet
Appendix F consists of the Dallas Semiconductor 1302 datasheet. This appendix includes the first five (5) pages
of the 23-page datasheet. Should you wish to see more applications of the DS1302 than are shown in this
datasheet, the Parallax web site includes AppKit documentation for this part.

Industrial Control Version 1.1 • Page 251


Appendix F: DS1302 Manufacturer’s Datasheet

Page 252 • Industrial Control Version 1.1



Appendix F: DS1302 Manufacturer’s Datasheet

Industrial Control Version 1.1 • Page 253


Appendix F: DS1302 Manufacturer’s Datasheet

Page 254 • Industrial Control Version 1.1


Appendix F: DS1302 Manufacturer’s Datasheet

Industrial Control Version 1.1 • Page 255


Appendix F: DS1302 Manufacturer’s Datasheet

Page 256 • Industrial Control Version 1.1


Appendix G: Parts Listing and Sources

Appendix G:
Parts Listing
and Sources

All components (next page) used in the Industrial Control
experiments are readily available from common electronic suppliers.

Customers who would like to purchase a complete kit may also do so
through Parallax. To use this curriculum you need three items: (1) a
BASIC Stamp II module (available alone, or in the Board of Education - Full Kit); (2) a Board of Education
(available alone or in a Board of Education Full Kit); and 3) the Industrial Control Parts Kit.
Board of Education Kits
The BASIC Stamp II (BS2-IC) is available separately or in the Board of Education Full Kit. If you already have a
BS2-IC module, then purchase the Board of Education Kit. Individual pieces may also be ordered using the
Parallax stock codes shown below.
Parallax Code#
28150
800-00016
BS2-IC
750-00008
800-00003

Board of Education – Full Kit (#28102)
Description
Board of Education
Pluggable wires
BASIC Stamp II module
300 mA 9 VDC power supply
Serial cable

Quantity
1
10
1
1
1


Parallax Code#
28102
BS2-IC

Board of Education Kit (#28150)
Description
Board of Education and pluggable wires
Pluggable wires

Quantity
1
6

This printed documentation is very useful for additional background information:
Parallax Code#
27919
27341

BASIC Stamp Documentation
Description
Internet Availability?
BASIC Stamp Manual Version 2.0

Industrial Control Text


Industrial Control Version 1.1 • Page 257


Appendix G: Parts Listing and Sources


The Industrial Control experiments require the Industrial Control Parts Kit (#27340)
Similar to all Stamps in Class curriculum, you need a Board of Education with BASIC Stamp and the Parts Kit.
The contents of the Industrial Control Parts Kit is listed below, broken down by experiment. Replacement
parts in the kit may be ordered from .
Industrial Control Parts Kit (#27340)
Stock#
150-01020
150-01030
15002030
150-02210
150-04710
152-01031
15300001
153-00002
20006840
201-01050
201-01060
251-03230
350-00001
350-00006
350-00007
350-00017
350-00018
400-00002
500-00001
604-00005
602-00015

Description

1K ¼ watt resistor
10K ¼ watt resistor
20K ¼ watt resistor

#1

220 ohm ¼ watt
resistor
470 ohm ¼ watt
resistor
10K ¼ watt multi-turn
pot
5.1 V .5 W Zener Diode

1

Page 258 • Industrial Control Version 1.1

#3
1

#5

1
1

1

2


3

1

1

1

1

4

1

1

1

1

4

2

2

2

2


2

1

1

1

1
1

1

1
1

1

1

1
1

1
1
1

1

1


1

1

2
1

1
1

1

1

1
1
1

1

1

1
1

2

2


1

BS170 MOSFET
.68uF capacitor
1uF capacitor
10uF 10V capacitor
32.768 kHz Clock
Crystal
LED green
LED red
LED yellow
IR Led w/ shrink tube
Infrared
Phototransistor
Pushbutton
2N3904 Transistor
DS 1302 Clock Chip
LM358 Dual Op-Amp

#4

1

1

#2
1
2
1


1
1

#6

#7
1

1

1

1
1
1
1

1

2
1
1

Total/Kit
2
2
1

1
1

1
1
1
1
1
1
2
2
1
1


Appendix G: Parts Listing and Sources
700-00039
700-00040
800-00027
800-00028
ADC0831

35 mm Black Film
Canister
12 VDC Brushless Fan
LM34 Temperature
Probe
47 Ohm Resistor
Heater
ADC 0831 8-bit A/D
converter

1

1

1

1

1

1

1

1

1
1

1
1

1
1

1
1

1
1

1


1

1

1

1

1

1

1

1

1

1

Industrial Control Version 1.1 • Page 259



Appendix H: Commercial Incubator Challenge

Appendix H:
Commercial Incubator
Challenge


Hopefully this text has given you insight into the
selection and proper interfacing of industrial field
devices.

The film-canister incubator has provided a system for
modeling basic process control strategies. The BASIC
Stamp is well suited for monitoring and controlling applications ranging from around-the-house hobby
circuits to critical industrial process control. A great project for the serious hobbyist or for a school
laboratory is to develop a real microcontroller-based poultry and game bird incubator. Tabletop systems are
available for as low as $20.00. GQF Manufacturing of Savanna, Georgia () is only one
of many manufactures that carry a full line of incubators and equipment. The tabletop Model 2362 pictured
below would be an excellent choice. It contains a 25 watt 120 VAC heater and a 120 VAC – 500 mA circulating
fan. Add to this the Model 1611 egg turner and you have three 120 VAC outputs to control. The total cost is
around $90.00.

Mfg #2362N

Mfg #1611

Industrial Control Version 1.1 • Page 261


Appendix H: Commercial Incubator Challenge
Experiment #3 discusses the interfacing of relays to control high voltage, high power loads. The fan and egg
turner are turned on and off infrequently and could be controlled with a properly sized electromechanical
relay. The heating element will be cycled quickly and should be controlled by an electronic solid-state relay.
Radio shack carries a variety of suitable relays.
An in-line bi-metal mechanical thermostat usually controls the incubator’s heating element. This should be
left in place as a “failsafe” cutoff and adjusted to 2 degrees higher than the desired setpoint It would

therefore remove power if your electronic thermostat or solid state relay failed. The LM34/ADC 0831 sensor
circuit and current boost heater drive circuit used in Experiments #4 through #7 would work great for our
real application. Instead of driving the 47-ohm resistor however you would be driving the solid-state relay.
The relay, in turn, controls the high-voltage heater.
Optimum hatching temperature is dependant on the type of eggs. For instance, chicken eggs should be
incubated at 101.5 while the best temperature for goose and duck eggs is 100.5. The span of the ADC0831
could be more focused around this temperature and Experiment #4 gave you the insight to do this. Doing so
would give better resolution and more accurate data.
Your control strategy for the heater could be based on any of the five modes that were discussed in
Experiments #5 and #6. Experimentation and plotting with StampPlot Lite gives you the information needed to
analyze and evaluate the pros and cons of each method.
An audible alarm for out-of-range conditions would be a good feature to add to the incubator. Radio Shack’s
108 dB Piezo Buzzer (part # 273-057) pictured below would definitely get your attention. And, it could be
driven form the BASIC Stamp’s power supply. The current boost BS170 MOSFET used in Figure 3.9d would be
an effective drive circuit to deliver its 150 mA requirement.

Over temperature and prolonged under-temperature should be alarmed. You would want to add a couple of
pushbutton switch inputs to program for alarm reset and deactivation during initial warm-up. Review
Experiment #2 for proper interfacing and programming of digital inputs.

Page 262 • Industrial Control Version 1.1


Appendix H: Commercial Incubator Challenge
A water pan in the incubator ensures that humidity stays high enough to keep the eggs hydrated. How could
the BASIC Stamp add intelligence to this aspect of our incubator? Perhaps an LED could flash to remind you
to check the water. Or better yet, the moister sensing lab in the Stamps-in-Class Earth Measurements text
could be modified to detect the pan being dry. This condition could flash the lamp or beep the alarm. To
automate the process, the output of a humidity sensor could be compared to a voltage reference at the
inputs to your LM358. The HI/LOW output of the comparator would be an electronic digital input to the

Stamp. When humidity drops below the desired value, turn on a humidifier and pipe in some water vapor.
Adding the DS1302 timekeeping chip introduced in Experiment #7 gives you all of the features of a top-of-line
commercial incubator. Temperature and humidity is monitored and controlled. Daily reports of temperature
variations can be time-stamped and reported. The eggs can be turned at programmed intervals. Cool down
can be scheduled and a 1-degree ramp up for the 24 hours before catching can be programmed. Each
Experiments 7’s three exercises can be modified to accomplish these tasks. The healthy chicks pictured below
are the successful result of maintaining the process for 21 days.

If you dedicate a computer to the system, StampPlot Lite could continually plot and report system conditions.
If you really want to get fancy though, StampPlot Pro software adds an enormous amount of computer
interface possibilities. Multiple analog channel plotting, full graphic drawing capability, two-way interaction
on the fly, and the ability to diplay .jpg and play .wav files only limits the possibilities to the limit of your
imagination. In addition, StampPlot Pro’s Internet capability allows you monitor and control the incubator
remotely. Stamp Plot Pro is available for evaluation through Parallax at the Stamps in Class web sites.

Industrial Control Version 1.1 • Page 263


Appendix H: Commercial Incubator Challenge
As you can see, this commercial incubator application incorporates the concepts covered in every section of
this text. It is doubtful that many of you will be stop here and become chicken ranchers. As you continue to
experiment with the BASIC Stamp and apply it to your hobbies and in your real industrial application, keep
these concepts in mind and this textbook on your shelf as a reference.

Page 264 • Industrial Control Version 1.1



×