Samit PabuwalJeff ToplakEE 315 12/12/20011.AbstractThis project requires us to design and build a circuit that generates specified functions on the oscilloscope, as given on the project description. Also, we were required to design a means of selecting different frequencies and different amplitudes. This was especially difficult because the selection had to be made directly from the breadboard. For the final part of the lab, we were to draw the graphs we obtained to show how the various functions were generated digitally. The results we got were very sound. We were able to generate all of the minimum requirements (a square wave and ramp wave). Also, we were able to generate the waves that would give us extra credit (a triangle wave and approximations to a sine wave). We also discovered a way to easily vary frequency and amplitude.
2.IntroductionThis experiment uses four operational amplifiers (opamps) to deliver these waveforms in the 6 Hz to 7000 Hz range. The sine wave is a pseudo sine wave produces by a very simple waveShaping circuit. A digital counter can be used along with a DAC to generate analog voltage functions of time such as square wave and ramp wave. In this lab, we were to design and build a circuit that generates an analog square wave and a saw-tooth (ramp) wave of voltage, using a counter and DAC/.
3. Design ProcessWhile working on this project, we thought of alternatives that would increase efficiency. An alternative we considered was to switch to a different project. This was thought about when we were having trouble with the implementation of the circuit. However, we decided to stick with this project. We decided this because we had already put in much thought and work into this particular project. Also, we decided to use flip-flops to simplify the circuit.
4. ImplementationCIRCUIT DESCRIPTIONSquare, sine and triangle waves are produced using an LM348 and passive components. The LM348 is a quad operational amplifier IC package; that is, it contains four separate opamps all in the one IC. They are marked A, B, C & D in the schematic diagram.
One opamp (LM348:D) is used. The voltage level to pin 13 is set by the resistor divider pair R1 and R2. The input to pin 12 depends on two things; firstly the potential ofpin 14, and secondly, the voltage output of opamp C at pin 8. When the input at pin 13 is higher than the input at pin 12 the output goes low. If it is lower then the output goes high. Switching back and forth between the two states causes a square wave to be produced. The time constant (R4+R5)C2 determines the frequency.
You can also consider that opamp D is set up as a bi-directional threshold detector with positive feedbackprovided by R3. R3 also gives hysteresis. The output provides a bias, which tends to keep it in its existing state before allowing switching to take place. The inverting input is set up at about half the opamp output swing voltage by resistors R1 andR2. Accordingly the signal required from opamp C to cause switching is offset from this midpoint voltage by R11/(R11+R3), which is approximately2/3 the voltage from midpoint to swing limit, and is symmetrical above and below the switching point. Opamp C is set up as an integrator. It performs the mathematical operation of integration with respect to time. For a constant input the output is a constant multiplied by the elapsed time, that is, the output is a ramp. Since the input signal goes to the inverting input, a high input will produce a ramp down and a low input will produce a ramp up. The input signal is a square wave symmetrical about the midpoint potential. The current this potential produces through R4 and R5 is constant so the up and down ramps are of equal gradient and the resultant triangular wave is symmetrical. Any increase in the trimpot R5 reduces the current and the integrationconstant which lowers the gradient of the ramp. The switching levels have not changed so the frequencyreduces while the amplitude remains constant. In a similar way the current depends on the value of integration capacitor. Accordingly the integration constant and hence the frequency vary with the value of the capacitor. (Higher value, lower frequency since the capacitor takes longer to charge.) If C2, for example, is increased to say 680nF then the minimum frequency will be less than 1Hz. The output triangle wave does not require amplification but it does require buffering so that that loading does notaffect the waveform generator circuit. It is buffered here with opamp A connected as a unity gain buffer. Unity gain is achieved by directly coupling back the output to the inverting input.
A pseudo or imitation sine wave is produced by a wave shaping circuit. A diode is a non-linear device. As the potential difference across it increases the current rises in the characteristic way published in all textbooks. This circuit ‘joins together’ this characteristic curve to produce an approximation to a sine wave. Two diodes have been joined together as a series pair in order to provide higher amplitude than would be obtained using only a single diode. The shape of the pseudo sine wave could be improved atany particular frequency by filtering, but filtering will cause distortion at lower frequencies and loss ofamplitude at higher frequencies. You can have perfect sine waves at particular frequencies by switching inappropriate filters at those frequencies. The sine wave is sensitive to loading and must bebuffered. It is also low in amplitude and needs amplification. R9 & R10 set the gain of opamp B byforming a voltage divider between the source and the output. If the wave shaper voltage is 1 volt higher than the reference (at the non-inverting input) the opamp reduces the output voltage until the inverting input voltage set by the divider is equal to the non-inverting voltage. The ratio of the values of R10 to R9 gives the gain. The gain here is about 2.
5. Testing6. EvaluationOverall, we were very successful in completing the objectives set forth by the project description. We worked very well together to finish this project, and the following write-up. Initially, we encountered a problem with developing the square wave. However, this problem was solved with the proper logic techniques. We were surprised to find that adding a flip-flop changed the signal to a sine wave.
7. SummaryThis project, in particular, is well designed. We learned much information about flip-flops, frequency control and counters. We would recommend this project to any incoming students taking this class. If we were to do a redesign, we would draw the schematic before the actual construction of the circuit. This is very efficient and saves much needed time, as well as improves organization.
ASSEMBLY INSTRUCTIONSIdentify all the components supplied in the kit against theComponents listing. Make sure you get the 4 diodes andthe integrated circuit (IC) around the correct way. Matchthe bar on the diodes with the bar shown on the PCBoverlay.
WHAT TO DO IF IT DOES NOT WORKPoor soldering is the most likely reason that the circuitdoes not work. Check all solder joints carefully under agood light. Next check that the four diodes and the IC arein their correct orientation on the PCB. Is the battery flat?A cathode ray oscilloscope (CRO) is the ideal testinstrument to check the operation of the Kit.
Why Work with Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.
Effortlessly get the essays and grades you need. You can now get any essay, on any subject and at ANY deadline with just 10 minutes of your time (or less). Your professor will love you for it!