Professional Documents
Culture Documents
Abstract:
Adam Kumpf
Ji Zhang
6.101 Analog Design Lab
Prof. B. Roscoe
May 13th, 2004
1
Table of Contents
The lighting control system allows the lighting inside the biodome to mimic
lighting conditions outside the biodome. The lighting control system involves a
small remote that senses external lighting conditions and then transmits the data
to a main controller. The biodome uses a 60W incandescent lightbulb, which is
powered from the AC wall mains and is dim-controlled by the lighting control
system.
The humidity control system generates a cool mist of water vapor when the
humidity generator is active. The humidity generator is run by an ultrasonic
transducer, which causes a standing wave on the surface of a column of water.
Under heavy excitation, water molecules are ejected from the surface of the water
column in the form of a mist. Contrary to common thermal humidifiers, the
ultrasonic humidity generator is able to produce cool water mist without affecting
the temperature of the biodome. The humidity control system also displays the
humidity level inside the biodome for the user’s reference.
The biodome’s four systems draw power from two different power supplies.
The control power supply is a voltage regulated and current-limited power supply
that gives power to opamps and other low-current components. The high-current
supply is an unregulated supply that delivers current to the peltier, humidifier, and
motor.
Looking at the Figure 2.1, the block diagram of the temperature system, a
comparator controls the user’s temperature input to the internal temperature of
the biodome. The internal temperature is measured through a thermistor, which is
labeled as the temp. sensor in the block diagram.
By using a Peltier block, the temperature control system can both heat and
cool the biodome, depending on the polarity of the voltage applied across the
Peltier. Two heatsinks with fans clamp the peltier so that thermal energy can be
transferred off the Peltier (see Figure 2.2). A hole on the biodome wall allows the
Peltier heatsink assembly to be mounted such that the two heatsinks lie on the
inside and outside of the biodome.
The last part of the heating system is an interface that drives an LED bar
graph to display the user’s desired temperature and the state of the Peltier (see
Figur 2.3). The desired temperature LED bar graph (on the left, green) moves up
and down according to the temperature input by the user. The user reference
temperature is controlled through a knob-potentiometer on the right hand side of
the board. The peltier status indicator (bottom middle, red) displays high when
the peltier is heating and low when the peltier is cooling on the inside of the
biodome.
Comparator
The comparator of the temperature control circuit is a LF356 opamp (see
Figure 2.4). The positive input is the output of a voltage divider formed by a 5K
resistor and a 10K thermistor. The negative input is the output of a voltage
divider formed by a 2K resistor and a 10K rheostat. The JFET input LF356 is
selected as the temperature comparator for its precision when compared to a
common LM741.
5
V2 V1
VDD VPowerP
15V 11
V4
V3
VEE VPowerN
-11 VDD VPowerP
-15V
0 0 TIP122 Darlington
R27
10
R15 R14
10k 2k
7
U6
3 1
V+
+ B1
D16 6
LF356 OUT
8k 120
D1N965A 2 5
V-
D17 - B2 RPeltier
8k 120 1.3
D1N965A R12
4
RThermistor
100k 0
RtempAdjust
10k 10k
TIP125 Darlington
VEE
VPowerN
Thermistor Linearization
One issue with the temperature control is that the thermistor’s resistance
decays and grows exponentially with temperature. The standard equation for
negative temperature coefficient (NTC) thermistors is
To calculate the voltage that results from the voltage divider consisting of
the 10K thermistor and a 10K resistor, just use
⎛ Rthermistor ⎞
Vdividier = ⎜ ⋅ 30V ⎟ − 15V
⎝ Rthermistor + 15K ⎠
7
Fahrenheit Celsius Tcoefficient Resistance(O) Vbias = 30*(Rthermistor)/(Rth. + 10K) – 15 = Voltage Input into comparator
-40 -40 17.042 170420 13.33721317
-31 -35 12.993 129930 12.85607089 Temp. Vs % RDegradation
-22 -30 10.017 100170 12.27693564
-13 -25 7.8037 78037 11.59234186 20
R
23 -5 3.1461 31461 7.764284508 5
32 0 2.5571 25571 6.566163448
41 5 2.093 20930 5.300678952 0
50 10 1.7245 17245 3.988805285 -60 -40 -20 0 20 40 60 80 100 120
Voltage
158 70 0.2533 2533 -8.93680683 5
0
167 75 0.2218 2218 -9.55393681 -5
176 80 0.1948 1948 -10.1088048 -10
185 85 0.1717 1717 -10.6038235 -15
194 90 0.1518 1518 -11.0461886 -20
Table 2.1 The first chart graphs the resistance of the thermistor at various temperatures. The second chart graphs the voltage of the voltage of the voltage divider consisting of the
thermistor and a 10K series resistor. While the resistance decays exponentially with temperature, the voltage decays linearly about the linearization point at 25o Celsius.
8
This voltage is calculated in the last column of Table 2.1, and the voltage
versus the temperature is represented in the second graph. The second graph
shows an approximately linear relationship between the output of this voltage
divider and the temperature with acceptable error for a range of temperature over
100oC.
With this voltage, which varies linearly with the temperature, going into the
temperature comparator, the temperature control system can regulate the
temperature of the biodome linearly.
Current Driver
V2 V1
VDD VPowerP
15V 11
V4
V3
VEE VPowerN
-11 VDD VPowerP
-15V
0 0 TIP122 Darlington
R27
10
R15 R14
10k 2k
7
U6
3 1
V+
+ B1
D16 6
LF356 OUT
8k 120
D1N965A 2 5
V-
D17 - B2 RPeltier
8k 120 1.3
D1N965A R12
4
RThermistor
100k 0
RtempAdjust
10k 10k
TIP125 Darlington
VEE
VPowerN
The output feedback of the comparator stage comes from the output of the
push-pull stage. If the output feedback came directly from the output of the
comparator, there would be a range of voltages (approximately two voltage drops-
corresponding to the two base-emitter junctions from the input to the push-pull to
9
the output) for which the output is shut off. Feedback from the output of the
push-pull ensures that the output voltage matches the output of the opamp.
Theoretically, assuming absolute symmetry of the push-pull transistors, the only
time that the output of the push-pull is zero with this configuration is if the output
of the opamp is kept at zero (actual results are in the Measurements and
Observations section). Two diodes also could have been inserted between the
input of the push-pull and each first stage transistor base. This will cushion the
input to the NPN stage by two diode drops and also drop the input to the PNP
stage by two diode drops such that there is no push-pull deadzone.
The Darlington’s current gain does not come without a cost. Looking at the
maximum output voltage swing, the output swing is a few volts short of the supply
voltages when the driving current is high. This loss of output swing at high
current levels comes from the required collector-emitter drop across the transistors
that is associated with increased collector current. One possible solution to this
loss of output swing is to put an additional pair of NPN and PNP power
transistors in parallel with the second stage of the Darlington. The current
through the push-pull should be divided between the parallel pair of transistors,
and the collector-emitter voltage drop of the on-transistors should be less. To
prevent possible problems associated from this setup due to the different Betas in
the parallel transistors, small emitter resistors could have been used to ensure equal
current distribution through the parallel transistor pairs. While this seems like a
good idea, especially since it reduces the heat generated in each pair of driving
transistors, it is not actually implemented. Reasons for abandoning this idea are in
the Measurements and Observations section.
Power
The temperature control system is meant to be a decently precise system;
therefore, the comparator should draw its power from a very-regulated supply.
The 15V supplies for the comparator represent the current limited, voltage
regulated control supply designed for low-power control components of the biodome.
The two diodes D16 and D17, are 1N965A’s (15V Zener) in series that help
maintain the voltage across the comparator supply at very close to 30V. R27 is a
10Ohm resistor that works in series with the Zener diodes to regulate voltage.
The Darlington push-pull stage draws its power from the biodome’s high-
current and unregulated supply. Voltage ripples on the supplies from excess
current draw will only change the intensity of the peltier power and should not
significantly affect the feedback control of the temperature system.
Display Driver
The LED bar graphs (see Figure 2.5) that indicate the user’s input reference
temperature and how hard the peltier is being driven are controlled by LM3914’s
(for 3914 setup, see the first section of the appendix). Essentially, the input signal
must lie in the range of 0-3V, with approximately .1V corresponding to the
uppermost LED that lights up on an LED bar graph display.
10
⎛ Vin1 Vin 2 ⎞
Vout = Rfeedback ⋅ ⎜ + ⎟
⎝ Rinput1 Rinput 2 ⎠
⎛ Vin1 Vin 2 ⎞
Vout = Rfeedback ⋅ ⎜ + ⎟
⎝ 100K 100K ⎠
The input resistors (see Figure 2.6) are 100K resistors. Ideally, to scale the
plus minus 15V temperature reference signal, the second input voltage should be -
15V and the feedback resistor should be 1/10 of 100K. That way, the plus minus
15V signal becomes a 0 to -30V signal, and then is attenuated down to 0 to 3V.
Instead of a 10K feedback resistor, a 250K potentiometer is used for flexible
calibration. The second voltage input is also controlled by a voltage divider
formed by a 5K and a 10K potentiometer.
7
3 1
V+
+ OS1
6 LM3914 Signal Input (0-3V signal) (Green Bar)
0 OUT
2 5
V-
- OS2
1k
LM741/NS VDD
250k pot
4
VDD
100k
8
U1A
5k 2
V+
1k -
1
100k OUT
3
V-
10k pot +
LM6152ACN
VEE
4
Peltier Status (Vout) VEE
VDD
250k pot 0
VDD
100k
8
5k 2 V+ LM3914 Signal Input (0-3V signal) (Red Bar)
-
1
100k OUT
3
V-
10k pot +
LM6152ACN
VEE Title
4
The output signal to the peltier also follows the same transformation process
to the peltier status output LED bar graph. This time, however, a positive voltage
indeed corresponds to an attempt at higher temperature and should light up the
top LED’s on the LED bar. Therefore, the output to the peltier signal is not put
through an inverter first before going through the adder-scaler and then to the
LED bar graph.
A common question for the heating system is how extreme can the
biodome’s temperature be pushed. The biggest observed limit to the peltier is the
heat and cold dissipation. In order for the peltier to effectively cool on one side
and heat on the other side, the thermal energy from both sides must be transferred
off of the peltier. In our case, transferring heat off the hot side of the peltier so
that the heat does not warm the cold side was the biggest limit. The big peltier
heatsink inside the biodome was more effective than the smaller peltier heatsink
extending out from the biodome. Consequently, when the inside of the biodome is
being heated, the big heatsink can effectively dissipate heat off the peltier. When
12
the biodome is being cooled, however, the smaller heatsink on the outside is not
as effective as the big heatsink in dissipating heat.
A more powerful peltier and improved heatsinks with fans should improve
the output temperature swing. Both datasheets and the advertisement for peltiers
the size of the biodome’s peltier show ice crystals on the cold surface of the peltier,
indicating that with sufficient heat dissipation and power, the peltier should be
able to significantly cool down.
13
3 Light Control
3.1 System Overview
The objective of the light control system is to emulate the external light
conditions such as sunlight. If it is bright and sunny outside, the inside of the
biodome should be very well-lit. At nighttime the biodome should be dark. When
clouds cover the sun, the biodome should be dimly lit.
Figure 3.1 shows the system diagram of the light control system. Some
brightness input measure, such as sunlight, must be converted to a workable signal.
The light input device can be placed outside so that the light detector fully
receives true sunlight. The workable light-level signal is transmitted through
infrared communication to the main light control at the biodome and is then used
to dim or brighten an incandescent lightbulb.
Figure 3.2 shows the light control system in more detail. The light detector
and translator, the first two boxes, is essentially a PWM controller that converts
the brightness into lower duty cycle. The signal is then transmitted through
powerful 880nm infrared LED’s, shown in Figure 3.3.
14
Figure 3.3 The light detector and translator, powered by a 9V battery. The function
of this device is to transmit the light intensity to the main light controller as a PWM signal.
At the output of the IR receiver stage comes out a PWM signal that has the
same duty-cycle as the transmitted IR signal—that is, the sunlight brightness
encoding is unchanged. The signal then goes through a high-pass filter (C6), which
has a 3dB point at (1/2pi*C6R4 = 1/2pi*.68u*50K), which is around 5Hz. This
high-pass is designed to rid some of the more slowly-varying noise without harming
the PWM signal. The PWM signal can be treated as an approximate AC signal.
The PWM signal is then passed to the positive input of a LF301 opamp.
The negative input is biased to roughly .1V, which is adjustable with the biasing
resistors R17 and R18. Without any feedback, the LF301 opamp acts like a
comparator and amplifies the PWM signal’s amplitude to match the positive power
supply.
The output of the opamp is still a PWM signal whose duty-cycle matches
the duty-cycle of the original sunlight-PWM transmitter. This signal is AC-
coupled through C7, whose function will be revealed shortly. The PWM signal
ultimately reaches transistor Q4, which drives a tiny lamp R19. R2 is in series with
R19 as a current-limiting resistor so that the lamp does not burn out. It also acts
as a default brightness controller. The lower R2 is, the brighter the small lamp is
on average. The PWM signal is fed into the base of the transistor. The time-
average voltage of the PWM signal controls the time-average voltage applied to the
small lamp and therefore the brightness of this lamp.
17
Earlier the function C7 was not mentioned. The goal of the light controller
thus far is to lighten or dim the tiny lamp at the end of this circuit. When the
sunlight is very bright, the duty-cycle of the PWM becomes near 50%, and the
voltage applied to the tiny lamp is very low. When the sunlight is very bright, the
duty-cycle increases to almost 100% and the voltage applied to the tiny lamp is
higher. When the IR PWM signal is not being transmitted or received, we do not
want this tiny lamp to light up. When the PWM signal is filtered through C7, it
passes without much attenuation. When there is no PWM signal, however, the
output of the opamp could potentially be pulled high. If that is the case, the AC
coupling capacitor C7 will not allow this high signal to pass to the lamp driver.
Consequently, in the absence of an IR PWM signal, the tiny lamp remains off.
18
Figure 3.6 The PWM transmitter and the main light controller circuit.
Bypass capacitors (470uF to .1uF) have been placed around the circuit,
especially at opamp rails, are not shown.
19
AC Light Dimmer
The AC light dimmer controls the brightness of the big incandescent lamp
through the value of R111, which is a photoresistor coupled to the tiny lamp of the
main light controller. Thus, when the sun is very bright, the PWM signal’s duty
cycle is high, the tiny lamp is bright, R111 becomes very low, and the big
incandescent light is turned on very bright.
The Triac and Diac are the key components of the AC light dimmer.
Shown in figure 3.8, a Triac only allows current through its bidirectional terminals
T1 and T2 (modeled with a diode since we are considering the forward current case)
when the corresponding gate voltage and current is applied. A Diac works in
conjunction with the Triac by eliminating any small voltage that can be applied to
the gate of the Triac. When the voltage applied across a Diac is very low, no
current conducts. When the voltage across a Diac builds up to its breakpoint,
current starts conducting, and the voltage drops since the Diac starts to act like a
diode (see Figure 3.8 right hand side). The 31C1428 Diac has a breakpoint voltage
of approximately 30V.
20
The current through the Triac is limited when the gate voltage of the Triac
is becomes out of phase with the diode terminal voltage (see Figure 3.9). The gate
voltage of the Triac becomes out of phase through the RC series generated by C1
and R1 and R111. When R111 is large (that is, when sunlight is very dim), the gate
voltage is nearing 90o delayed and little current conducts through the Triac since
the gate voltage does not match the diode terminal voltages. When the sunlight is
very strong and R111 becomes small, the gate phase is very small, and current is
allowed through the Triac. Note that this whole time the Diac works to limit the
current to the Triac. With a first order RC network, the phase can at most be 90o.
This phaseshift at the Triac gate may not be enough to current-limit the Triac, but
when the Diac further suppresses this phaseshifted voltage, the gate voltage to the
Triac becomes very small.
The wonderful thing about the light controller is that the output is obvious
when the circuits are working correctly. By adjusting the voltage gain of the main
controller’s tiny lamp through R2, the sensitivity of the AC light can be brought to
extremes. At one extreme, the incandescent light simply will not turn off. At the
other extreme, the incandescent light only turns off when there is absolute darkness.
Overall, the lighting control circuit is a very flexible circuit. The range of
the IR transmission exceeded 10 feet. If stronger or more diffusive IR LED’s and
phototransistors are used, this range can be dramatically increased.
One problem that occurred with the light control circuit is that the
biodome’s
Incandescent lightbulb triggered the phototransistor that is supposed to receive the
PWM signal. When the lightbulb is turned slightly on, its light emission forces
current through the phototransistor, which in turn drives the output of the PWM
reception stage down. This causes the next stage to think that there the PWM
duty cycle is 0%, which turns off the incandescent light and stops the interference.
When this happens, the PWM signal is transmitted successfully again and the
incandescent light turns on. Once again, the incandescent light’s own emission
starts to interfere with the IR transmission, and an incandescent light’s brightness
oscillation at about 1Hz is very noticeable.
The quick solution for this is a small electrical tape cover on top of the
phototransistor, which blocks any emission from the incandescent light to the
phototransistor. A more permanent solution may involve filters to filter out the
incandescent light signal or a band-pass filter for the PWM signal.
22
4 Humidity Generation and Control
4.1 System Overview
In its entirety, the humidity generation and control system allows the user
to view the current humidity level within the control environment and add more
water vapor to the air if desired. The humidity sensor, or hygrometer, is connected
to measurement circuitry that turns the humidity level into a voltage which can
then be shown on an LED display. On the other hand, humidification is
accomplished ultrasonically by vibrating water at high frequencies to form a
standing wave that eventually break the surface of the water and converts it into a
mist. This method is chosen over heating the water since temperature control is
another monitored environmental element and adding more thermal energy would
make obtaining lower temperatures very difficult.
Figure 4.4 The left photograph shows the ultrasonic humidifier driver circuit.
The right photograph shows the column of water to be vaporized.
Ultrasonic Humidifier
The ultrasonic humidifier starts out with a 1.7MHz oscillator. To
accomplish this, a colpitts configuration was used. Assuming that the transistor is
off at power-on, the 1k pull up resistor will force the output to go high. This is fed
back via a 100k resistor to a tuned LC tank at 1.7Mhz. However, when the
voltage rises far enough to turn the transistor on, the output is pulled low, which
in turn sinks current from the LC pair and pulls the input voltage to the base of
the transistor down. This prohibits current to flow into the collector and brings
the circuit back to the beginning of the cycle. There is one exception, though.
The long-run behavior (many cycles after power-on) of the oscillator improves as
stored energy in the inductor and the capacitor is sloshed back and forth at
resonance and behaves much more consistently than the first dozen cycles.
The oscillator behaves very well, but cannot drive much current at the
output. It is for this reason that a transistor pair push-pull is used to buffer the
oscillator voltage and allow for substantial current gain to drive the MOSFET. A
biasing network was considered, but not implemented since a pure sine wave is not
necessary and the added components seemed to outweigh the loss of ± .6 volts in
the prototyping phase.
26
The final stage of the oscillator is a high voltage, high current class C
amplifier. Since the inductor and capacitor above the MOSFET are in parallel,
they form a nice resonant point and allow for a peak-to-peak voltage of well over
70 Volts. This is very important since the piezo element needs a peak-to-peak
voltage of at least 65 Volts to cause the water droplets at the top of the standing
wave to escape into a vapor. The MOSFET essentially gives the resonant
piezo/inductor pair a kick at the frequency of the input which, in this case, is
1.7Mhz. Even though the class C amplifier is designed to give a sinusoid at twice
the input voltage at the output of the resonant device, if the device is slightly out
of resonance, a higher voltage, non-sinusoidal signal can be generated. This can be
quite beneficial when a large peak-to-peak voltage is needed.
Since voltages at the output can reach over 150 Volts peak-to-peak at
startup, a high voltage MOSFET was used. While a BJT could have been used
here instead, initial trials pushed them beyond their maximum ratings at startup
and caused them to not work properly. The BUK456 MOSFET did not have these
problems and handled even the harshest power-on transients beautifully.
Hygrometer
The humidity sensor circuitry can be broken down into three basic stages.
The first stage is a variable frequency inverted pulse train. In other words, a
square wave with a duty cycle much greater than 50% is generated. The
capacitance, which is comprised of the addition of a 150nF capacitor and the
hygrometer, is charged via a 10k and a 1k resistor and is discharged through the 1k
resistor only. This means that the rising time constant (RC) is eleven times larger
than the falling time constant, thus producing a duty cycle of roughly 11/12 or
0.92. The frequency of the output depends on how long it takes to discharge and
charge the capacitors. Since the capacitance value of the hygrometer changes with
humidity, the output frequency will change as well.
The second stage is a fixed width, one-shot square wave. When driven by
the high duty cycle signal from the previous stage, a fixed length pulse is produced
on every rising edge as the 68nF capacitor is charged through a 1k resistor and a
50k potentiometer. If the input period is very close to the pulse width, the average
27
output waveform voltage will be very close to the positive supply. Contrary wise,
if the input period is much larger than the fixed pulse width, the average output
voltage will be very close to zero. The combination of the two LM555 timers in
the above configuration creates a pulse width modulator (PWM) in which the duty
cycle of the output waveform is proportional to the input capacitance of the
hygrometer.
Finally, the pulse width modulated signal is passed through a low pass filter
and scaled to drive the LED display correctly. The low pass filter was chosen to
create a near-constant voltage across the capacitor at the input PWM frequency.
(approx. 1kHz)
1 1
f 3dB = = = 3.12 Hz << 1kHz
2πRC 2π (51kΩ) ⋅ (1µF )
The signal is then put through a buffer so that the voltage across the
capacitor is not significantly altered by a load and the true low-passed value can be
used. A variable voltage divider is used at the output to correctly scale the voltage
for the LED display. This new value is then once again buffered to supply the
current needed by the display circuitry.
Calculating the Frequency range of the short negative duty cycle astable
oscillator:
1 1
f = =
0.693 ⋅ ( R1 + 2 R2 ) ⋅ C 0.693 ⋅ (10kΩ + 2 ⋅ 1kΩ) ⋅ (150nF + C hygro )
C low = 0.1nF : f high = 801.1Hz
C high = 0.4uF : f low = 218.6 Hz
1 1
t high ≈ 0.9 ⋅ = 0 .9 ⋅ = 1.12m sec
f high 801.1Hz
t high _ MIN < t high < t high _ MAX
47.1µ sec < 1.12m sec < 2.40m sec
All systems worked very well when they were built and tested and needed
only a small amount of adjusting via the positive duration pulse-width-adjustment
potentiometer.
Figure 5.3 Motor Control circuit (bird’s eye view and side view).
I will start the analysis of this circuit at the input from the tachometer.
(from AC Motor Tach) To reduce high frequency spikes that can result from the
primary motor being close to the AC generator (AC tachometer), a low pass filter
is used. The pole of the filter is placed high enough such that the desired AC
signal is not greatly attenuated (no more than 20 revolutions per second) and low
enough to greatly diminish high frequency voltage spikes.
1 1
f 3dB = = = 65Hz
2πRC 2π (3kΩ)(0.82uF )
The filtered signal then goes through a peak-detector OpAmp circuit. The
1k resistor enclosed in the feedback path keeps the OpAmp from every needing to
limit its output current. Since almost no current enters the LF353 at its inputs,
the only method of discharging the peak-holding capacitor is through the reverse-
biased diode. It is for this reason that a diode with a somewhat large reverse
leakage current (1N4007 ˜ 5uAmps) was selected.
32
The peak-detected DC signal goes through a buffer so that the 47nF
peak-holding capacitor is not drastically altered by other circuits that use its
voltage level. One of those circuits is a non-inverting variable gain stage used to
drive the LED display with the correct voltage range. The gain ranges from 1 to
the gain limit of the OpAmp, however only a factor of about 2 is needed for this
application.
Below the peak detector is the input voltage reference level. The resistor
divider values were chosen to limit the user’s input range and also give the user
greater resolution in the practical range when trying to dial in a desired angular
velocity. The output of this voltage divider goes through a 510k resistor and then
to a large 47uF cap to create long and smooth transitions between the desired
value and the value that the feedback system is comparing.
Since the motor can require up to 1Amp to function correctly, the high
current power supply at approximately ± 16V was used for Vcc and Vee.
Eventually it was decided that Vee should come from a cleaner lower-current
supply since the load on the negative rail for the motor control is minimal.
33
Figure 5.4 Baskets are attached to the motor shaft in the biodome.
Conversion to g’s:
a 420.0
g' s = = = 42.8 g ' s
a gravity 9.81
Is horizontal approximation good?
⎛ 9.81 ⎞
tan −1 ⎜ ⎟ = 1.34 from horizontal (great!)
o
⎝ 420.0 ⎠
a tan = 419.9m / s 2
At very low speeds the system does not behave ideally because the peak-
detected AC tachometer voltage falls off between peaks even though the motor is
turning at a constant velocity. This confuses the feedback control into thinking
that more power should be applied to the motor to bring its angular velocity back
to the desired reference value. The result is a slow stop-and-go motion as the
reference level approaches, but has not yet reached, a value of zero volts.
Another important error that was discovered involved the choice of power
supplies to drive and control the motor. The system manages to perform very well
with a noisy positive supply, but runs unacceptably with a noisy negative supply.
This is because the reference voltage is based upon a voltage divider between the
negative power supply and ground and can confuse the user when looking at the
reference value on the LED display. Therefore, instead of using the high-current
power supply for both the positive and negative voltage sources, using it only for
the positive source and using the cleaner, lower-current supply for the negative
supply rail proved to be a very good solution.
35
6 Power Supplies
6.1 Control Power Supply
D44H11 Q3
120VAC +18
.5
7
D1N4001 D3 D1N4001 21k U20
3 5
V+
+ OS2 node
C8 LM741 6 RLoad
OUT 680nnode 100
2000u 2 1
V-
D1N4001 D1N4001 D4 - OS1
0 Q4
D41
R11 0 Q2N3904
4
-18 D1N759
25k
50k
0
Q6 0
D45H11
R18
.5
4
R13 LM741
2 1
V-
+ OS2 Q7
2000u D42 U21 Q2N3906
7
D1N759 0 R14
R15 25k
0 50k
0
Figure 6.1 The Control Power Supply Circuit
Red and green LED power indicators in series with a 5K resistor from the positive
and negative outputs and a cooling fan are not shown.
The control power supply is a plus and minus 15V supply used mainly for
the opamps (see Figure 6.1). The transformer used was a 36V transformer. A
bridge rectifier is used for maximum output voltage. In order to reduce the ripple
at the output, large 2000uF capacitors are used at the end of the bridge circuit.
The Zener diodes D41and D42 are 1N759 Zener diodes that regulate to 15V. When
the Zener reference voltage is connected to the input of an opamp (LM741),
adjusting the gain of the opamp with the feedback resistor (R25and R14) allowed the
output voltage swing up to positive and negative 25V (the output of the
transformer with no load exceeded the advertised 36V).
Figure 6.2 The Control Power Supply encased in a metal box with a fan.
36
The outputs of the opamps connect to the bases of power transistors Q6
and Q3, which are the D4XH11 series transistors. The emitters of these transistors
then are connected to the base of a 3904 for the positive output and a 3906 for the
negative output. The 390X transistors act as current limiters. The .5Ohm resistor
in connecting the base of the 390X transistors to their emitters will allow roughly
1.2A of current before the base-emitter voltage of the 390X transistors is high
enough for the 390X transistors to turn on and take all of the current from the
opamps. When the current from the opamps are rerouted through the 390X
transistor, there is little current left for the big D4XH11 transistor, and the power
supply will not allow any more current to pass through. Thus the power supply is
limited to 1.2A (see Figure 6.2).
120VAC +12
R12 R9
2 C12 10000u 2
10000u
0
0
0
-12 0
0
Figure 6.3 The High Current Power Supply Circuit
R9 and R12 are loads that model the peltier and the motor for the biodome.
The bridge diodes are in parallel to model a high-current bridge rectifier.
Red and green LED power indicators in series with a 5K resistor from the positive
and negative outputs and a cooling fan are not shown.
Figure 6.4 The High-Current Power Supply is encased in a metal box with a fan.
A multimeter reads the positive DC output of the supply.
The high-current supply outputted roughly positive and negative 15V when
the peltier is not being driven hard. When the peltier is turned on to heating,
there is a 4V voltage ripple across the positive supply. When the peltier is turned
on to cooling, there is a 4V voltage ripple across the negative supply. The
transformer of the high-current supply is rated at 8A. Indeed, 8A seems to be the
approximate current limit to the big power supply. When the ultrasonic humidifier
is turned on, peltier heating is turned on, and motor is turned on, it becomes
noticeable that each of the systems does not receive high voltage as it would
receive without other loads. Nevertheless, the high-current power supply provided
enough power for the biodome.
A 30V transformer could have been used for the control supply. Since the
transformer actually outputs a 36V signal and since that signal has been
attenuated to 30V in the control supply, there is some power inefficiency and heat
dissipation in the control supply. Also, the feedback resistor of the opamp in the
control supply should have been connected directly to the output of the power
supply. That way, the opamp reads and can regulate the true output voltage
(instead of the output voltage after the voltage drop across the .5Ohm resistor).
38
7 Conclusion
After all four systems of the Analog Microcosm were integrated together
and the biodome was assembled, all four systems functioned well enough to
noticeably control the different environmental conditions of the biodome.
The light control system successfully emulated the external light conditions
from complete darkness to very bright sunlight. The infrared transmission system
was able to reliably send data well over ten feet. The AC light dimmer’s drawing
power from the wall AC saved much power as well as transformer costs. With
more powerful infrared signal emitters and receivers, the infrared transmission
should reach even greater distances. Of course, radio frequency data transmission
would allow the light control system to be able to function around many room
obstacles and walls.
The gravity control system stably spun the centrifuge to the user’s desired
gravity. When objects were placed in the biodome platforms, the gravity control
system smoothly accelerated them to over 40g’s without any slip from the objects.
Above 5g’s, the platform with the objects seem completely horizontal to the Earth
since the source of the generated gravity was the normal centripetal force. With
more precisely machined mechanical components and a stronger motor, the gravity
control system should be able to push the biodome environment to well over 100g’s.
Horowitz & Hill. Art of Electronics, The. Cambridge University Press: Cambridge,
UK, 2001.
Neaman, Donald. Electronic Circuit Analysis and Design, 2nd ed.. McGraw-Hill
Higher Education: New York, NY, 2001.