Debugging Lab: Learning the Art of Identifying and Fixing Circuit Errors, Lab Reports of Electrical and Electronics Engineering

A laboratory exercise focused on debugging circuits using a multimeter. Students are asked to identify and fix issues in various circuits by measuring voltages and performing other valid tests. The document also provides suggestions for debugging and encourages persistence and methodical approach.

Typology: Lab Reports

Pre 2010

Uploaded on 03/16/2009

koofers-user-bt8
koofers-user-bt8 ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Laboratory #7 โ€“ debugging
Grade
Pre-lab: /0
Lab: /12
Total: /12
Objectives
* Learn how to debug
* Learn how to experiment to identify source of errors
* Become aware of common mistakes
* Learn what to do when you have no idea that to do next
Lecture References
Orange Book
* None
Transparencies
* None
Mallard
* None
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Debugging Lab: Learning the Art of Identifying and Fixing Circuit Errors and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

Laboratory #7 โ€“ debugging

Grade Pre-lab: / Lab: / Total: / Objectives

  • Learn how to debug
  • Learn how to experiment to identify source of errors
  • Become aware of common mistakes
  • Learn what to do when you have no idea that to do next Lecture References Orange Book
  • None Transparencies
  • None Mallard
  • None

EXPERIMENT #7 - DEBUGGING

The time has come the walrus said to speak of many things ... the Walrus and the Carpenter (Alice through the looking glass) The Walrus says just before he eats the oysters. The time has come for you to get very serious about the your design. Which navigating scheme, or combination of navigating schemes will you use? Even thinking about things like circuit placement will become important because the coming labs focus on circuits that you may need, so placing them on your protoboard properly will save you having to deconstruct and reconstruct the circuit during every lab. But more important than anything else, if you learn nothing else in the class, if you forget what a chip looks like and cringe at the mention of a transistor, you MUST, maybe that was not

big enough, you MUST learn the fine and subtle art of

debugging. We are engineers after all, and this is our signature - what sets us apart from others - the ability to design, build, and/or fix things. The ability to debug circuits, a program, an algorithm of any kind will serve you well, whatever you do. So for this lab you will be asked to debug a circuit whose schematic is shown below. There will be many stations with this circuit built on a protoboard. Each circuit will not be functioning, for different reasons. You are to figure out the reason using ONLY the multimeter. To prepare for this challenge you are asked to think of as many possible ways for the circuit to fail. The problem could be in the wiring, the components, the vehicle... anything that you can think of. The Super Seeker Debugging Suggestions

  1. First and foremost, NEVE R GIVE UP. If you are completely stumped do not throw up your hands. Try anything, even if it seems pointless. Measure a voltage anywhere. Unplug and replug the motor connections. Pick the car up and put it down... anything.
  2. Be methodical. Unless the error is obvious through visual inspection, start measuring the voltages that you know starting with the battery voltage. - the battery voltage. Then measure the voltages coming from each sensor. Work your way from these two points further into the circuit to hopefully find the error.

EXPERIMENT

Rotate through each of the circuits - you have 20 minutes per circuit Indicate on a drawing of the circuit where the error occurred and indicate all of the tests that you performed on the vehicle to come to this conclusion โ€“ you must include at least three tasks. Valid tests are measuring voltage and current with the multimeter. Taking the protoboard off of the vehicle and making voltage and current measurements. Running the vehicle on a track. Putting the vehicle on the stand, running the vehicle and testing the sensor function. Invalid tests are asking other groups (either in your section or other sections). Even if, by visual inspection you find what you think is the error, validate this assumption with at least three test.

CIRCUIT 1

โ— Mark on the schematic to the right where you probed the voltage, label each position, and specify in the table provided what the values were. voltage (V) A B C D E โ— List all the other things you tried, like checking connections, reseating protoboard, etc... thing tried Result โ— Finally, mark on the schematic where you found the error, and describe why you came to this conclusion.

CIRCUIT 3

โ— Mark on the schematic to the right where you probed the voltage, label each position, and specify in the table provided what the values were. voltage (V) A B C D E โ— List all the other things you tried, like checking connections, reseating protoboard, etc... thing tried Result โ— Finally, mark on the schematic where you found the error, and describe why you came to this conclusion.

CIRCUIT 4

โ— Mark on the schematic to the right where you probed the voltage, label each position, and specify in the table provided what the values were. voltage (V) A B C D E โ— List all the other things you tried, like checking connections, reseating protoboard, etc... thing tried Result โ— Finally, mark on the schematic where you found the error, and describe why you came to this conclusion.

CIRCUIT 6

โ— Mark on the schematic to the right where you probed the voltage, label each position, and specify in the table provided what the values were. voltage (V) A B C D E โ— List all the other things you tried, like checking connections, reseating protoboard, etc... thing tried Result โ— Finally, mark on the schematic where you found the error, and describe why you came to this conclusion.

CIRCUIT 7

โ— Mark on the schematic to the right where you probed the voltage, label each position, and specify in the table provided what the values were. voltage (V) A B C D E โ— List all the other things you tried, like checking connections, reseating protoboard, etc... thing tried Result โ— Finally, mark on the schematic where you found the error, and describe why you came to this conclusion.