Author Topic: Quick quiz  (Read 8465 times)

0 Members and 1 Guest are viewing this topic.

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Quick quiz
« on: September 24, 2010, 06:05:27 am »
Just did poorly on a technical phone interview for a certain graphics card company. The recruiter told me that a lot of people also have trouble with this seemingly simple problem:

Qualitatively, what does the voltage at the resistor look like for this input assuming no initial charge on the cap?



I was pretty caught off guard because I thought they'd ask me questions about embedded systems, which is what I was applying for... also the fact that input went back down got me a little bit confused and I couldn't do it. Of course, I know the answer now... I'd like to see what some other people's reasonings are for this circuit though.

And no cheating with spice! :)
« Last Edit: September 24, 2010, 06:07:48 am by allanw »
 

Offline DJPhil

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: 00
Re: Quick quiz
« Reply #1 on: September 24, 2010, 06:30:38 am »
After all the book studying I've been doing the last six months, I feel like I should be able to nail this, but I'm not positive about my answer.

After cheating with spice because I couldn't stand it: Ok, wow. I see what you mean.  :o

I was close, but for mostly the wrong reasons. I had the charge waveform right, but the discharge reversed in time because symmetry in my head became somehow more important than reality. Seeing it in spice makes what I was just guessing look like gibberish, which it was. I'm humbled.  :-[
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37661
  • Country: au
    • EEVblog
Re: Quick quiz
« Reply #2 on: September 24, 2010, 06:49:35 am »
Ah yes, an old trap for young players.
Remember that the cap holds charge that doesn't go away instantly (unless you short it).

It might help to think of it like this. Once the cap is charged, picture taking it out of the circuit (still with it's charge), and putting it into another circuit with the new conditions (i.e. the battery replaced by a link).

Dave.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19345
  • Country: gb
  • 0999
Re: Quick quiz
« Reply #3 on: September 24, 2010, 07:36:05 am »
I think the thing that will confuse most nubes is where the negative voltage comes from. Dave is right, here's another clue: when the capacitor is charged and its positive is connected to negative, what will be the voltage across the resistor?

Of course it's a trick question anyway: the circuit never reaches steady state because the capacitor never charges to 100%.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37661
  • Country: au
    • EEVblog
Re: Quick quiz
« Reply #4 on: September 24, 2010, 07:41:24 am »
Of course it's a trick question anyway: the circuit never reaches steady state because the capacitor never charges to 100%.

That's the smart-arse theoretical answer, so = instant FAIL!  :P

Dave.
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Quick quiz
« Reply #5 on: September 24, 2010, 07:47:29 am »
Of course it's a trick question anyway: the circuit never reaches steady state because the capacitor never charges to 100%.

That's the smart-arse theoretical answer, so = instant FAIL!  :P

Dave.

I agree. It gets pretty close to 100% such that it doesn't matter for actually practically answering the question. The next part to the question is a bit more difficult but I won't share it yet...
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11537
  • Country: my
  • reassessing directives...
Re: Quick quiz
« Reply #6 on: September 24, 2010, 12:22:15 pm »
this is my guess (red line):
top graph: the source
middle: if after pulse, V = short.
bottom: if after pulse = open

edit: the max magnitude of red line should be the same as V, the picture showed smaller magnitude (mistake)
« Last Edit: September 24, 2010, 12:25:56 pm by shafri »
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online NiHaoMike

  • Super Contributor
  • ***
  • Posts: 8973
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Quick quiz
« Reply #7 on: September 24, 2010, 01:07:12 pm »
To be fair, the ESR of the capacitor would mean the peak would be a little lower, but it's negligible in most signal circuits.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline Strube09

  • Regular Contributor
  • *
  • Posts: 125
  • Country: 00
Re: Quick quiz
« Reply #8 on: September 24, 2010, 01:16:17 pm »
Yep,

Classic Differentiator... if the RC constant didn't reach stead state and the output taken off the cap it would be an integrator circuit.

Strube
 

Offline FreeThinker

  • Frequent Contributor
  • **
  • Posts: 791
  • Country: england
  • Truth through Thought
Re: Quick quiz
« Reply #9 on: September 24, 2010, 02:19:31 pm »
Well,
Did you get the job?
Machines were mice and Men were lions once upon a time, but now that it's the opposite it's twice upon a time.
MOONDOG
 

Offline KTP

  • Frequent Contributor
  • **
  • Posts: 512
Re: Quick quiz
« Reply #10 on: September 24, 2010, 03:25:43 pm »
this is the kind of stuff I was trying to explain qualitatively to a fellow ee classmate several quarters back.

Voltage cannot change instantly in a capacitor and current cannot change instantly in an inductor.

So for this simple circuit, the capacitor with zero initial charge (0V) will have 0 volts at t = 0- and 0 volts at t = 0+.  It charges up to V through the resistor R exponentially with a time constant of R*C.  At t = x-, when the ideal capacitor is charged to V volts, it will remain at V volts at t = x+.  Therefore the voltage across the resistor at t = x+ will be V - Vcap, or -V.  The capacitor will then discharge through R exponentially with a time constant of R*C.

Replace the capacitor with an inductor and you can do a similar analysis.  Since the current cannot change in the inductor instantly, and it is in series with the resisitor, then the voltage across the resistor at t = 0- is the same as that at t=0+, or 0 volts.  In fact if you look at the voltage across the inductor, it will look similar to the voltage across the resistor in the capacitor example (for certain values of L and R).  The voltage across R will look similar to the voltage across the capacitor in the capacitor example also.  This duality (is that the correct word?) is pretty dang cool.

Btw, I failed at trying to help my fellow student realize this, and they just went back to trying to memorize formula to work all of the different circuit topologies that might be on the exam.  It turned out the exam was simple enough that this worked.

 

Offline JohnS_AZ

  • Frequent Contributor
  • **
  • Posts: 499
  • Country: us
    • About.me
Re: Quick quiz
« Reply #11 on: September 24, 2010, 03:37:58 pm »
This reminds me of my first job interview around 1978 to be a technician for Motorola.
The guy asked me to diagram and explain the operation of a successive approximation AtoD converter.

Got it mostly right, and did get the job.
I'm either at my bench, here, or on PokerStars.
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Quick quiz
« Reply #12 on: September 24, 2010, 06:00:57 pm »
Ah, thinking of it as a differentiator would have helped.

I have another phone interview today. These phone interviews are just screening candidates to fly to CA for a site interview, so it'll be a while before I know.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19345
  • Country: gb
  • 0999
Re: Quick quiz
« Reply #13 on: September 24, 2010, 07:47:53 pm »
I think I would probably fail to answer this question if it was a telephone interview. In person I would've been fine as I would've been able to have drawn a diagram.

Here's another simple but confusing question:

What's the DC component of the waveforms attached?

Draw the waveform if the signal is put through a differentiator with a very long time constant compared to the frequency and allowed to the steady state (yes I know it never gets there but assume it's 99.99% there)?
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Quick quiz
« Reply #14 on: October 27, 2010, 07:37:35 pm »
update: got the internship despite missing this question. woot :)
 

Offline DJPhil

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: 00
Re: Quick quiz
« Reply #15 on: October 27, 2010, 07:45:40 pm »
Congratulations! :D
I hope you'll be allowed to share some neat stories, it doesn't seem like much makes it out from inside graphics card companies (for obvious reasons I guess).
 

Offline David

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: gb
Re: Quick quiz
« Reply #16 on: October 27, 2010, 08:46:58 pm »
I had this exact question in an interview not long ago...now working for the company :)
David
(United Kingdom)
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Quick quiz
« Reply #17 on: October 27, 2010, 08:48:20 pm »
Haha cool. Do they do design work in the UK too?
 

Offline David

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: gb
Re: Quick quiz
« Reply #18 on: October 27, 2010, 09:01:43 pm »
Haha cool. Do they do design work in the UK too?

Do who? Do you mean is there much electronics design in the UK? If so, then there is still quite a lot of design going on. I work on engine control units for jet engines (it sounds a lot more exciting than it is...) :P
David
(United Kingdom)
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Quick quiz
« Reply #19 on: October 27, 2010, 09:02:23 pm »
Oops, thought you were talking about the same company as I was.
 

Offline Zad

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: gb
    • Digital Wizardry, Analogue Alchemy, Software Sorcery
Re: Quick quiz
« Reply #20 on: October 27, 2010, 09:25:39 pm »
Well done :D

Maybe, just maybe, you got it because you didn't write it off but went out of your way to find the right answer, and why it does it. That's what real world engineering is about. Most days are full of not knowing the full correct answer, that's what makes it interesting!


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf