Académique Documents
Professionnel Documents
Culture Documents
EE 230, Section D
With Alex Haynes and Sarah Files
Final Design Lab
Introduction
For this final lab, the three of us designed a circuit to turn on or off two lights
over a wireless signal. Using the outline of the lab, we individually designed
each section of our two circuits and placed them together as we needed. In
the end, although we were able to get the lights to turn on and off as
required, we could not get the distance required nor did we fully understand
why the circuit was distance dependent.
Design
Transmitter
We first designed our transmitter circuit. The full design follow.
1
2 ln ( 3 ) RC
for R =
1
2 ln ( 3 ) RC
was
The measured voltage output of this circuit at the LED transmitter was found
to be saturated at 13.1 V.
The difficulty with the oscillators came from a lack of understanding. We
build this section of the project before the lectures on oscillators were given.
So we used the internet to find information, combined with experiences in op-
amps. This is why the other resistors do not match. We were under the
impression that a gain could be used an in other circuits. Again, I must stress
that all output voltages and frequencies held steady. We found no problem
with this circuit. There were never any burnt op-amps in this circuit. We
have no idea why our results as contradictory to equation measurements.
Receiver
The receiver circuit was designed as follows
Firstly in our circuit the signal form our transmitter was acquired by the LED
receiver. Immediately after that, the signal was fed into an op-amp designed
for voltage gain as shown below. This was because the detected signal was
very weak. We wanted a very large gain to maximize the effectiveness of our
1+
Rf
Rs
where
Rf
= 470 k and
V
Rs =330 . So our calculated gain was 1425
V . This was more than
enough for our signal to reach saturation. With a
V cc inputs of 15 V ,
1
2 RC
1
2 RC
for
R = 3.3 k and C = 100 nF. So our bandwidth frequency was 482 Hz. In
hindsight, this is a little low. It is a relic of our manipulation with our
oscillators and was never changed. If the resistor was replaced with a
1 k, the cutoff frequency would have been 1592 Hz and would have been
much more efficient.
After that, the filtered signal was passed through a simple rectifier as shown
below. The point of this rectifier was to alter the output voltage something
resembling DC voltage. The rectifier would output a positive half wave signal
if the signal detected by the receiver was low and a negative half wave signal
if the signal was high. Creating a pure or cleaner DC signal was not
necessary as the comparator used would not switch saturation unless the
voltage switched from positive to negative, something the rectifier was
designed to make impossible.
Lastly, the comparator form part 2 of lab 7 was used to compare the output
voltage from the rectifier. When the voltage was negative, one of the LEDs
attached in parallel to the comparators output would be on and the other off.
When the output voltage was positive, the current through the LEDs would
switch direction and the other one would turn on. The circuit for this
comparator follows.
Implementation
The receiver circuit did not perform well. It would only perform when the two
circuits were held at a certain distance from each other. If they were too
close, only the LED lit by the low signal would turn on. If they were too far
apart, only the LED lit by the high signal would turn on. If they were near the
distance, then the LEDs would oscillate. Either that, or one LED would
always be on and the other would always be off. Determining which of the
last two outcomes would happen was impossible as it appeared random. So
our receiver circuit was distance dependent.
I believe that the rectifier is to blame in the receiver. I did not understand
fully how to implement this particular design. If I has used a full wave
rectifier as shown below, I believe I would have had better results. Switching
the direction of the diodes in the circuit below would invert the signal and
create either a positive or negative voltage as required.
was observed with testing. The point at which the LED appeared to stop
blinking when an AC signal was passed through it was about 150 Hz.
Conclusion
This lab was challenging. It definitely made me question what I knew about
rectifiers and comparators. It also showed me that I need to study oscillators
more. I do understand how they work, but do not fully understand how to
implement them. The easiest part of this lab was by far the filters. Each
filter could be a first order, so not much was required. And since only two
signals were being sent, only a low pas and high pass were needed. We just
forgot to alter our filter when we settled on our transmitter frequencies. I
believe that with one more day in a lab, my partners and I could have gotten
this circuit to work.