1 / 33

Final Lecture

Final Lecture. Review Step 7 Deliverables Final Course Information. Quiz 2. Opens Friday Aug. 22nd at 9am Closes Friday Aug 29 at 5pm Covers topics addressed in all parts of the voice recorder design including simulation, control circuitry, and specific chip performance

sheila
Download Presentation

Final Lecture

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Final Lecture Review Step 7 Deliverables Final Course Information

  2. Quiz 2 • Opens Friday Aug. 22nd at 9am • Closes Friday Aug 29 at 5pm • Covers topics addressed in all parts of the voice recorder design including simulation, control circuitry, and specific chip performance • (Hint, be sure you understand what it means to be edge triggered) ECE Lab IV Lecture 9

  3. Extended Lab Hours • Eric will be available for extended lab hours starting this week. • Week 9 and 10 • Monday 12pm-4pm • Wednesday 11am-5pm • Friday 9am-4pm • Finals Week • Tuesday 12pm-4pm • Wednesday 12pm-4pm • Unless discussed with me otherwise all lab reports and disassembled boards are due Wednesday September 3rd by 4pm!!!! ECE Lab IV Lecture 9

  4. Step 7 Goals • Control the ADC • Modify the RAM control according to the chosen timing strategy • Add the RAM chip to the circuit • Optimize performance • Test the circuit ECE Lab IV Lecture 9

  5. 20 1 CS 2 19 RD 3 18 WR DB0 4 17 CLK IN • • • • 5 16 INTR 6 15 7 14 8 13 9 12 10 11 DB7 ADC ControlADC0804 Pins CS = Chip Select RD = Read WR = Write INTR = Interrupt ECE Lab IV Lecture 9

  6. ADC ControlFree-Running Circuit 100 ns min Rising transition on WR begins the conversion ECE Lab IV Lecture 9

  7. ADC ControlFree-Running Circuit RD must be low for data to appear at outputs. When RD is high, outputs are Hi-Z. ECE Lab IV Lecture 9

  8. ADC Control • Hint • To avoid designing and wiring a lot of new logic, use the outputs and unused gates of your current RAM control as much as possible • Verify ADC control on the logic analyzer BEFORE adding RAM chip to circuit ECE Lab IV Lecture 9

  9. The first task is to make sure the 555 clock and the ADC internal clock are coordinated.

  10. If WE_ never rises, no conversions will occur.

  11. If there are no conversions, INTR_ will stay high.

  12. There should be no pulses on WR_ in READ mode.

  13. When RD_ is high the ADC output is high-impedance.

  14. OE_ is low in READ mode.

  15. Optimizing the Circuit • Goal: Record audio to your specs • Storage is limited • 131,072 sites in RAM (217) • 65535 sites in RAM (216) • Acquisition speed is limited • ADC internal clock must make about 72 cycles per conversion • High speed = high bandwidth • High speed = short capture time ECE Lab IV Lecture 9

  16. Optimize the Circuit • You have a design goal for how you want your circuit to function • If necessary to meet this goal: • Adjust the ADC internal clock frequency • Adjust the on-board (555) clock ECE Lab IV Lecture 9

  17. Test the Circuit • Display analog input (sine or ramp) and analog output on scope • During the RAM WRITE cycle, the data on the bus comes from the ADC • The DAC automatically converts it back to analog. • At low frequencies, the DAC output should be identical to the analog input ECE Lab IV Lecture 9

  18. Test the Circuit • Display analog input (sine or ramp) and analog output on scope • During the RAM READ cycle, the data on the bus comes from the RAM • The DAC automatically converts it back to analog • The DAC output should be identical to the analog input of the previous acquisition cycle ECE Lab IV Lecture 9

  19. Test the Circuit • Note the length of the acquisition (WRITE) cycle. Does it equal 131,072 times the period of the on-board clock? • Note the length of the READ cycle. Does it equal 131,072 times the period of the on-board clock? • If you want to see if the circuit is really working, pull the RAM chip • Your output should be 0 during the READ cycle ECE Lab IV Lecture 9

  20. Experimental Results ECE Lab IV Lecture 9

  21. Deliverables • Test 1 - Bandwidth • Analog in, analog out • Determine failure frequency • A = (Goal - Measured)/Goal • A ≤ 0 (measured exceeds goal) 20 pts • 0.95 ≤ A < 1 18 pts • 0.90 ≤ A < 0.95 16 pts • A < 0.90 14 pts ECE Lab IV Lecture 9

  22. Deliverables • Test 2 - Address Generator • Working 17 bits 20 pts • Working 17 bits, novel design 22 pts • Working 16 bits 16 pts • < 16 bits 10 pts ECE Lab IV Lecture 9

  23. Deliverables • Test 3 - RAM/ADC Control • Working and in sync 20 pts • Working not in sync 15 pts • Not working 10 pts ECE Lab IV Lecture 9

  24. Deliverables • Test 4 - Timing • ADC internal clock period • INTR period • 555 timer period • Record time • Playback time ECE Lab IV Lecture 9

  25. Deliverables • Test 4 - Timing • For record time: • R = (Calculated - Measured)/Calculated • If R ≥ 0.9 10 pts • If R < 0.9 5 pts ECE Lab IV Lecture 9

  26. Deliverables • Test 5 - Playback • Is DAC output from stored data? • Yes 20 pts • No 10 pts ECE Lab IV Lecture 9

  27. Deliverables • Test 6 - Construction • Has the circuit been constructed neatly and with a reasonable floorplan? • 0 to 10 pts ECE Lab IV Lecture 9

  28. Deliverables • Test 7 - Understanding of Circuit • Each group member will be asked questions to show that the entire group understands circuit operation and design choices and criteria ECE Lab IV Lecture 9

  29. Deliverables • Test 8 - Return Board • Has the circuit been returned in good condition? • Good Condition multiplier = 1.0 • Not Returned multiplier = 0.0 ECE Lab IV Lecture 9

  30. Deliverables - Final Lab Report • Write up your ADC control design: • Design criteria • what were the specs you wanted • sketch the desired output waveforms • Sketch the ADC control schematic • Show any equations used, and define terms if necessary ECE Lab IV Lecture 9

  31. Deliverables-Final Lab Report • Write up your ADC control design: • Discuss what changes were made to the circuit to optimize performance • How effective were they? • Document the performance change ECE Lab IV Lecture 9

  32. Deliverables - Final Lab Report • Have eric verify functionality and quality of work • Comment on your observations and provide conclusions on the entire experiment • Any improvements to this Step? • Any improvement to the lab course? ECE Lab IV Lecture 9

More Related