Author Topic: real word reasons to use an oscilloscope as a real tool?  (Read 13207 times)

0 Members and 1 Guest are viewing this topic.

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19488
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #25 on: November 18, 2015, 01:44:57 pm »
...whacked it into the breadboard...
And there's the source of your problem.

Congratulations on battering this particular instance of your circuit into temporary submission.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7763
  • Country: de
  • A qualified hobbyist ;)
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #26 on: November 18, 2015, 02:20:15 pm »
...whacked it into the breadboard...
And there's the source of your problem.

Congratulations on battering this particular instance of your circuit into temporary submission.

One of my first thoughts was that it's a breadboard problem. But I haven't seen any oscillation and the problem with breadboards is that they got too much capacitance between the contact strips. If you got a good explanation, I'd happy to hear it ;)
 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #27 on: November 18, 2015, 04:14:57 pm »
That is why I am so eager to see real world examples.

About a decade ago, I put together a CNC sherline milling machine, and I implemented a joystick option so that I could manually operate the milling table at a specific speed. I used the joystick to control direction and a 555 timer to control speed. As I turned up the speed control, the milling table would start to move erratically. I double and triple-checked the 555 timer circuit to try to find my mistake.

Finally, I got the scope (a B&K precision 20Mhz analog) out and probed the circuit in a few places. It became immediately obvious what was wrong -- I had selected too small a filter capacitor on my power supply. There was nothing wrong with the timer circuit itself, rather it was the power feeding the circuit that was the problem.

These days I often reach for the scope instead of the mulitmeter, just because it provides more information.

Scott
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19488
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #28 on: November 18, 2015, 04:40:21 pm »
...whacked it into the breadboard...
And there's the source of your problem.

Congratulations on battering this particular instance of your circuit into temporary submission.

One of my first thoughts was that it's a breadboard problem. But I haven't seen any oscillation and the problem with breadboards is that they got too much capacitance between the contact strips. If you got a good explanation, I'd happy to hear it ;)

That's only the least of it.

Much more important in high speed circuits is too much inductance, and dynamically variable resistance.

Work out the inductance of your wires (assume 1nH/mm) the change in current that flows during a transition, the transition time (signal repetition time is completely irrelevant), and plug the values into the elementary equation V= Ldi/dt

Work out the inductance and capacitance, and calculate the resonant frequency.

When you have correctly concluded that high speed circuits are unlikely to work reliably on breadboards, investigate the other techniques that work adequately.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline Ampere

  • Regular Contributor
  • *
  • Posts: 73
  • Country: us
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #29 on: November 18, 2015, 10:57:07 pm »
I'm working on an Arduino project which relies on two PWM signals. The duty cycle of both signals and ratio between the two duty cycles are controlled by their own respective potentiometer. I.e. The first pot adjusts the duty cycle of both from 25%/25% to 50%/50% and then the second pot changes the duty cycles from 50%/50% to 50%/75% or 25%/50%.

I might be a beginner, but I would think that even a pro would test the circuit how I did. I connected a probe to each output and watched how the signals changed in response to the inputs. I guess I could have used my DMM to monitor the duty cycle, but then I would have needed another DMM and I probably wouldn't have noticed the bug that occurred when the duty cycle rolled over past 100%.
 

Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 7586
  • Country: au
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #30 on: November 19, 2015, 12:26:01 am »
People will sometimes go to extreme lengths to avoid using an Oscilloscope.
At one employer,we made vehicle simulators.

The simulator's display had a "Test" function where you could check all the control settings & adjust them during initial set up.
Several of these controls output a PWM signal which was integrated passively,fed to a couple of Op Amps followed by an ADC* which was part of a "Mainboard" which interfaced with a PC.

The Op Amp circuit had adjustments of voltage range & offset,which had to be" tweaked" to both "centre" their output on,& make best use of, the ADCs range of acceptable inputs.
 
The standard way of setting these up was to look at the "Test" display on the PC screen .
This involved "dancing" the adjustments in & out till they were centred on,& just filled the display window.(which was a bit like the "pretend" analog scale on a DMM.)
I said:-
"Why not set one unit up in the "classic" way,then look at the signal into the ADC with an Oscilloscope,keep a record of the voltages,& preset all the others using a 'scope?"

They wouldn't even consider it,& continued wasting hours doing it the hard way!

* No,I don't know why they didn't just sample the PWM directly---I just worked there! :P
« Last Edit: November 19, 2015, 12:28:08 am by vk6zgo »
 

Offline dolphin42

  • Newbie
  • Posts: 4
  • Country: us
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #31 on: November 19, 2015, 01:15:47 am »
What have I used a scope for, engineering-wise?
* Ensuring that pulses have a fast enough transition in a remote sensing application, where a semi-passive input circuit supplies a small current over a lopng line in the presence of line voltage.
* Making sure that output stages are being driven properly. (solenoid drivers, switching supplies, audio amplifiers, motor drivers, etc etc)
* Watching communication busses for slew rate and glitches (and with the new capabilities of even simple digital scopes, doing simple protocol debugging - of course the new scopes can do a lot of heavy lifting there that used to take building circuits to decode the buss to watch it work)
* Checking that LCD drive signals really are always exactly 50% in simple arrangements, and with at least two traces, depending, checking the switching voltages on a muxed one.
* Simple logic analysis of a digital circuit, is the clock alighed properly with the signal to be clocked in? Does the PWM go all the way from off to on as you vary the range?
* In any servo circuit (motor control, power supplies of the regulated persuasion, etc) is the contro,. of the circuit calm and controlled? Or is it unstable and oscillating around the center of the control voltage, and losing energy to switching losses that it needn't)
* When any sort of inductive load, are the freewheeling clamps doing the job of keeping the output devices from blowing up? (A more general case I've already stated above indirectly)
* Are unwanted signals in a circuit from adjacent signals? Parallel wires will tend to couple a signal in one wire onto other adjacent ones.
* Is power supply instability causing the circuit to misbehave when loaded to its' maximum?
* Where is signal loss happening in a chain of amplifier stages? (Less of a problem in the IC age, perhaps but still a valid problem)

Anytime I develop a circuit, I just "have to" watch it work. If I can't see it working, even if it works right off the bat, I get a little twitchy about it.

And once you have enough experience, to know what a circuit should be doing, the same thinking applies. And when you get a broken circuit that used to work, while static checking is often faster (e.g. are the caps open in a switcher, is often the best first test, with the circuit off) sometimes you gotta see it working in real time.

(THis is my first post in this forum, but I can't resist chiming in LOL even if I'm mostly repating things others have said)
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2573
  • Country: us
  • Not An Expert
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #32 on: November 19, 2015, 01:41:25 am »
...   At first I thought it was just good to have because they look cool and girls go crazy over guys with them!  :scared: ...

No, no no... It's not the scope.. The girls love the MULTIMETERS!
 

Offline fivefish

  • Frequent Contributor
  • **
  • Posts: 440
  • Country: us
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #33 on: November 19, 2015, 02:38:51 am »
Wait... a scope is a real tool for doing useful work?

I thought the point of buying a scope is so that we can hack it and then find all the bugs and imperfections, weird behavior, freezing scenarios, obscure combinations and permutations of switches and settings that will cause it to crash so we can have something to talk about.

 

Offline grifftech

  • Frequent Contributor
  • **
  • Posts: 369
  • Country: us
    • youtube channel
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #34 on: November 19, 2015, 03:51:28 am »
Is this guy for real ? he obviously has neber taken a TV apart from 30 years ago and found a diagram in it that showed oscilloscope waveforms to loof for on different points and even gave you a couple of alternative waveforms with a description of the problem they indicated. I could not live without a scope, it's like having eyes in your circuit.
:palm: I think that you mean never .
 

Offline crispy_tofu

  • Super Contributor
  • ***
  • Posts: 1124
  • Country: au
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #35 on: November 19, 2015, 11:21:19 am »
...   At first I thought it was just good to have because they look cool and girls go crazy over guys with them!  :scared: ...

No, no no... It's not the scope.. The girls love the MULTIMETERS!


Those probes are in the wrong jacks...  :-DD
 

Offline HighVoltage

  • Super Contributor
  • ***
  • Posts: 5469
  • Country: de
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #36 on: November 19, 2015, 11:41:00 am »
If you're trying to attract girls, I'm 99% sure an oscilloscope isn't going to help you. Try a motorcycle, or a little knowledge / interest in silver jewellery.

Well, I had one 23 year old German girl working in my lab and she loved the scopes as much as I do. Even asked if she could take one home to play with. May be there are more of them out there but I have only met one so far.
This is a funny thread!
There are 3 kinds of people in this world, those who can count and those who can not.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7763
  • Country: de
  • A qualified hobbyist ;)
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #37 on: November 19, 2015, 01:43:06 pm »
Much more important in high speed circuits is too much inductance, and dynamically variable resistance.

Work out the inductance of your wires (assume 1nH/mm) the change in current that flows during a transition, the transition time (signal repetition time is completely irrelevant), and plug the values into the elementary equation V= Ldi/dt

It's around a few mV in my case. This shouldn't be the cause.

When you have correctly concluded that high speed circuits are unlikely to work reliably on breadboards, investigate the other techniques that work adequately.

I don't disagree, but 1MHz digital I/O isn't particularly high speed. A 74HC4050 used as unidirectional level shifter works fine with the same breadboard and same circuit. I've had circuits on the breadboard running around 10MHz without much issues. Though I wouldn't go much higher ;)

Anyway, identifying or specifying the maximums of a breadboard is a good application for a scope.
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2573
  • Country: us
  • Not An Expert
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #38 on: November 19, 2015, 06:27:30 pm »
...Those probes are in the wrong jacks...  :-DD

That's what she said?
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19488
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #39 on: November 19, 2015, 07:02:09 pm »
Much more important in high speed circuits is too much inductance, and dynamically variable resistance.

Work out the inductance of your wires (assume 1nH/mm) the change in current that flows during a transition, the transition time (signal repetition time is completely irrelevant), and plug the values into the elementary equation V= Ldi/dt
It's around a few mV in my case. This shouldn't be the cause.

Show your working, including length of wires, impedance (not resistance) of loads, type of driving logic, transition times.

Quote
When you have correctly concluded that high speed circuits are unlikely to work reliably on breadboards, investigate the other techniques that work adequately.
I don't disagree, but 1MHz digital I/O isn't particularly high speed. A 74HC4050 used as unidirectional level shifter works fine with the same breadboard and same circuit. I've had circuits on the breadboard running around 10MHz without much issues. Though I wouldn't go much higher ;)

Since you quote "1MHz", you clearly don't understand the issues. The problems will manifest themselves at 100kHz. Or 1Hz. Or 0.1Hz. Let me put it more directly: what do you think is the highest frequency present in a 1MHz digital signal, or a 0.1Hz digital signal?

Please check you answer by reading and understanding http://www.sigcon.com/Pubs/pubsKeyword.htm#rise%20time
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7763
  • Country: de
  • A qualified hobbyist ;)
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #40 on: November 19, 2015, 07:12:29 pm »
Since you quote "1MHz", you clearly don't understand the issues. The problems will manifest themselves at 100kHz. Or 1Hz. Or 0.1Hz. Let me put it more directly: what do you think is the highest frequency present in a 1MHz digital signal, or a 0.1Hz digital signal?

I think you misunderstood me, I'm very well aware about rise times, pulses and Mr. Fourier.
 

Offline crispy_tofu

  • Super Contributor
  • ***
  • Posts: 1124
  • Country: au
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #41 on: November 19, 2015, 08:32:19 pm »
...Those probes are in the wrong jacks...  :-DD

That's what she said?

Red is in the 10A jack, black is in the volts-ohms jack.  :-+
What about the common?
« Last Edit: November 19, 2015, 09:49:45 pm by crispy_tofu »
 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #42 on: November 19, 2015, 10:16:09 pm »
It's good you clarified, otherwise we could have misinterpreted and thought you had an unusually long thumb.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #43 on: November 19, 2015, 10:33:51 pm »
Subtle as always, timb :-DD
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: real word reasons to use an oscilloscope as a real tool?
« Reply #44 on: November 20, 2015, 06:54:09 am »
...   At first I thought it was just good to have because they look cool and girls go crazy over guys with them!  :scared: ...

No, no no... It's not the scope.. The girls love the MULTIMETERS!


Have a look around ebay and look at how crazy the chinese ones go for power inverters, a 5KW one can get you up to 3 girls drooling over it at once.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
real word reasons to use an oscilloscope as a real tool?
« Reply #45 on: November 20, 2015, 08:54:08 am »
It's good you clarified, otherwise we could have misinterpreted and thought you had an unusually long thumb.

I do. It's both! There was this industrial accident and... It's a *long* story. You know what else is long? My pen is. It's hard to write with sometimes. You know what else is hard? Diamonds.


Sent from my Tablet
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf