element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Publications
  • Learn
  • More
Publications
Blog Troubleshooting Hints Come From the Strangest Places!
  • Blog
  • Documents
  • Events
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Publications to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: DaveYoung
  • Date Created: 12 Apr 2011 1:23 AM Date Created
  • Views 476 views
  • Likes 2 likes
  • Comments 3 comments
  • dyoung:dit
Related
Recommended

Troubleshooting Hints Come From the Strangest Places!

DaveYoung
DaveYoung
12 Apr 2011

image

I recently designed a sensitive circuit similar to those used in the front end of high input impedance meters such as an electrometer.  The design goal was to determine relative changes in capacitance on the order of 50fF.  To keep the 'variable capacitor' from getting swamped out, the circuit took advantage of sensitive measurement techniques such as using a unity gain buffer to create a guard signal for shielding.

 

After a bit of troubleshooting and solving layout issues, the circuit had one last problem – 60Hz noise.  But how was it coupling into my signal?  Immediately I thought of the power supply feeding the sensitive circuitry and dove in head first on the noise hunt.  At least until my co-worker walked out and accidentally turned off the lights.  Right before I blurted out a lighthearted but snarky comment along the lines of “Just because my circuit doesn't work yet doesn't mean I don't exist!” I saw that the noise disappeared!  No lights = no noise.  It seemed the glow of the skin-bleaching overhead fluorescents was the noise source, not the board's power supply.

image

Probing around inadvertently gave me another accidental hint – the noise changes depending on where my hand is positioned over the circuit.  At first I disregarded the effects of my hand as an antenna that only tuned the noise, similar to the iPhone 4 signal problems that occurred when a user's hand was too close to the antenna.  Then I noticed it wasn't like normal noise tuning where the position of a hand might only tweak the noise on the output -- I was able to eradicate the noise if I completely covered the circuit.  And cardboard could yield the same effect as my hand.  So it wasn't even electrical – it was visual!

 

Visual noise pointed me in the direction of the phototransistors on the board.  Sure enough, when they were covered the noise went away.  I knew it couldn't be the PT's circuit since that part of the design was left untouched in this revision.  But a glance at the new wiring harness showed the problem –  a missing connection to the PT's emitters.  The floating emitters were able to wreak havoc on my sensitive signal every time the base of the transistor got hit with light.  A quick skywire to make the connection, and I was able to have a circuit that worked in the mood-crushing ambiance of  overhead lights!

image

 

At the end of this problem, I was struck by two funny things.  First, as engineers we are always looking for problems in difficult but interesting places such as the sensitive input node.   Second, if I wasn't paying attention to the little things I would have missed big time saving hints, for example the scope when the lights went off and the nuances of my hand waiving.

 

My lesson that day?  Mouth closed, mind and eyes open.  Can't re-learn that one enough.  What about you?  What strange hints have you found by paying attention?  Tell us about them in the comments!

  • Sign in to reply
  • Former Member
    Former Member over 14 years ago in reply to DaveYoung

    +1 on fresh eyes. Don't know how many times this has helped me.

     

    I keep a copy of "Debugging Rules" poster on my wall:

     

    http://www.debuggingrules.com/index.htm

     

    Mac

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DaveYoung
    DaveYoung over 14 years ago in reply to DAB

    I dig the fresh eyes approach.  I've also found that after I've tried everything I can think of and don't know where to look next, the best path forward is to just tinker with the thing.  Mindless playing with all of the functions or signals almost always shows something that sparks an idea or a theory, which is good for another couple hours of testing in hopes of finding a root cause.

    And of course a spoon full of humility helps every time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 14 years ago

    You have indeed learned a good lesson.  I cannot count the number of times that I found the source to problems far away from where the symptoms told me it was.

    One good technique I learned was to grab someone who knows absolutely nothing about your project and sit down and start explaining it to them like you would to your mother, assuming your mother was not a genius.  I have found that as you go through the design and think about how to explain what each piece is doing you will reach the "AHA" point before you are done.  That or the person listening will ask that really dumb question that makes you smack yourself across your forehead and say DUH!

    The hardest part about debugging systems is knowing what to do when it does not work according to your design.  A fresh pair of eyes and ears can work wonders in jogging the truth hidden away in your own mind.

    Thanks for the reminder, I hope a lot of the younger engineers read this piece, we all think we know whats going to happen, but it takes a while to get humble enough to remember that asking for help is not a sign of weakness.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube