Documente Academic
Documente Profesional
Documente Cultură
Introduction:
We chose and built a circuit that was not in our project workbooks that
would demonstrate a complex circuit's ability to be both analog and digital in
nature. The circuit we chose was a Reverse Parking Sensor that was made up of
a 555 timer, 3 resistors, a capacitor, and infrared transmitter that would send
signals to an infrared receiver. The received signal would then amplified by the
LM324 op-amp, and outputted to three comparators that would then compare the
inverting and non-inverting voltages and light the LED outputs according to the
voltages that were given.
Objectives:
Our goal for this project was to construct a sensor that would be able to
indicate the distance between a hypothetical driver's car and their potential
parking space so that the difficulty of attempting to guess the distance on their
own would be lessened. This would be accomplished through the combined
efforts of the pulse-emitting transmitter and its receiver, which would display a
digital 2 as an indicator that the driver should stop moving and a 1 which
would indicate that it was still safe for the driver to continue backing up. As a
result, our group was able to integrate analog and digital aspects of a circuit into
a singular circuit in addition to further pushing our team-dynamic by making sure
that we all understood the material that we were working with so our presentation
Lessons Learned:
Since this was our first time integrating analog and digital circuitry
together, we had to learn how to construct a way for the transmitter and the
receiver to communicate with each other so that the sensor would accomplish its
designated task. Also, as with our previous projects, we learned how to
contribute our individual learning styles to this project to both help us understand
the concepts at work and to help ourselves understand the concepts even more.
We found that as we each shared our own understanding of the information at
hand, the more comfortable we felt about explaining what we learned to the class
during our presentation; there were many times when one of us would be trying
to explain how parts of the circuit worked to each other (often times in ways that
made perfect sense to us) but found ourselves having to adjust what we were
saying to better illustrate our point. This unexpectedly proved the obvious fact
that we are all unique individuals with distinct backgrounds and methods of
thinking and we shouldn't assume that just because one of us thinks a certain
way that everyone one else can, or should, follow suit. Embracing each others'
individuality helped us learn to not only tolerant each others' differences, but to
better appreciate them as well.
Active Components:
1. 555 timer: used as an astable multivibrator for driving the IR
transmitter.
Analysis
I. Transmitter
The first half of our circuit was a transmitter. This transmitter made up the analog
component of our circuit.
Basic Components:
- NE555 timer
- IR transmitter
- Electrolytic Capacitor: 1uF and 16V
- Resistors: 10k, 1k, and 330 ohm
In our circuit, the transmitter used its three resistors and its NE555 timer
as a pulse generator to transmit IR pulses to the IR receiver. Also, the
frequency of the transmitter was set to 120 Hz. The 555 IC operates in
astable mode. In astable mode, the 555 timer puts out a continuous stream of
rectangular pulses having a specified frequency. Resistor R1 is connected
between VCC and the discharge pin (pin 7) and another resistor (R2) is connected
between the discharge pin (pin 7), and the trigger (pin 2) and threshold (pin 6)
pins that share a common node.
For this transmitter, the diagram we found did not specify what kind of
infrared transmitter we needed to use, so we had to improvise. Because of this,
we used an infrared LED that emits infrared light.
Figure 3. IR Transmitter
II. Receiver
The second half of our circuit was a receiver, which would intercept and
receive the IR pulses that were being sent out by the IR transmitter.
Basic Components:
- LM324 IC (low power quad op-amp)
- IR Receiver
- 1n4148 Diodes(2)
- Electrolytic Capacitors- 100u (2), 10u, 47p, and 1u
- LEDs- 2 (5mm)
- 12 V DC Battery
- Connecting Wires
- 1k Resistors (2)
- 4.7k and 1.5k Resistors
In our circuit, the receiver was able to amplify the received signal through
the U2:A. Also, resistors D4 and C3 form peak detectors to detect the
peak of the amplified signal. In other words, they work together to detect the
point at which the amplified signal being received is the greatest. FIGURE 6 & 7
below (the MultiSim for our receiver) further illustrates these points. The output
voltage of the peak detector is then sent to U2:B, U2:C, and U2:D. They act as
comparators, meaning they compare the voltages going into their inverting and
non-inverting pins. When the non-inverting input (V+) is at a higher voltage than
the inverting input (V-), the high gain of the op-amp causes the output to saturate
at the highest positive voltage it can output.
When the inverting voltage is higher than the non-inverting voltage, the
output of the op-amp is low. These outputs are what determine if each respective
LED shines or not. R8-R11 are used to set reference voltages. The effects of the
reference voltages will be discussed later in the Testing section of this report.
Figure 6. IR Receiver
Testing
Through building this circuit, we encountered many problems. As stated
earlier, there were no instructions to specify what kind of IR transmitter and
receiver to use, so for the transmitter we used an infrared LED that we took from
the sensor of a remote control toy.
Figure 8. IR LED
Figure 9. Oscilloscope
Another major issue we ran into was the signal was not very strong
despite the op-amp being in place. This caused us to observe the gain, which is
the ability for a circuit to increase the amplitude of the input to the output by
adding energy converted from some power supply to the signal.
To preface this next issue as well as the rest of this Testing section, it is
important to note that in preparation for implementing the digital output to our
circuit using a seven segment display, we changed the original design of the
circuit to have two different outputs instead of three. In other words, originally, no
LEDs would shine if you were out of range from your obstacle, one would shine if
you were not that close, two if you were moderately close, and three if you were
really close. In the new design, one LED shine if you were moderately close and
two if you were really close. That being said, another issue with signal strength
was that it affected the actual purpose of the circuit. Since the signals transmitted
by the IR LED are supposed to bounce off of the obstacle and come back to the
receiver, they need to be placed side by side. However, the signals outputted by
the IR LED were not strong enough to effectively bounce off of anything
appropriately to be used as a parking sensor, so we oriented the transmitter and
receiver to face each other so that the signals can be received and observed
properly.
As we tested it, we put something such as one of our fingers in between
the IR LED and the photo diode to simulate a long distance between the car and
the obstacle. We move our finger halfway out of the way so that part of the signal
from the IR LED is absorbed by the photo diode. This simulated the car
approaching the obstacle such that the one output LED would shine. When
nothing is in the way of the IR LED and the photo diode, this simulated the car
being a very short distance away from the obstacle, causing both LEDs to shine
to indicate the driver should stop immediately.
We changed the inverting and non-inverting pins in preparation for using
logic to incorporate digital circuits so it would be a little simpler. The output from
the receiver went into the non-inverting input of the op-amp and the inverting pin
goes to ground. The output of the op-amp connected to each of the non-inverting
pins of the other two comparators. R8-R11 set the reference voltages for each of
the inverting pins. Keep in mind that if the non-inverting voltage is higher than the
inverting voltage, the output will be high and vice-versa. Since originally, the
resistors set the reference voltages to each of the non-inverting pins, that would
mean the output of the op-amp would affect the inverting pins, thus making the
output of the comparators low if the reference voltages were too low.
Digital Output
To give the desired output we had to use three digital integrated circuits.
The three ICs 7486 (XOR Gate), 7404 (Inverter) and 4511 (7 segment) were
used together as shown in Figure 12. The seven segment would give the
numbers 1 and 2 where 2 is the closest to the obstacle. while the car is
reversing to the obstacle, the seven segment output would show 1 meaning
that you are close to the obstacle, then 2 meaning that your are too close and
need to stop.
The 7486 (xor gate) and 7404 (inverter) are used to convert binary
numbers to digital seven segment display (4511). Pins 1 and 2 inputs are used
and we discard pins 3 and 4. We need part b, c (pins 12 and 11) to be high to
show 1 on the seven segment display, and we need a, b, g, e, d (pins 13, 12,
14, 9, 10) to be high to show 2 on the seven segment display.
Conclusion
In conclusion, this project taught us how to properly integrate analog and
digital circuit components into a singular and more complex circuit, thus allowing
us to further our understanding of what it means for a circuit to be digital or
analog. We also learned how to appreciate each others' skills and utilize said
skills in a way that would benefit our group and overall presentation in addition to
practicing how to explain our circuit in a clear and concise way.
References
[1] Moderators, EH (2014, June 18). Reverse Parking Sensor. Posted to
http://www.electronicshub.org/reverse-parking-sensor-circuit/