Author Topic: Relaxation Oscillator readings on Analogic Oscilloscope  (Read 1098 times)

0 Members and 1 Guest are viewing this topic.

Offline wmundstockTopic starter

  • Contributor
  • Posts: 31
  • Country: br
Relaxation Oscillator readings on Analogic Oscilloscope
« on: June 30, 2022, 11:56:37 am »
Hi all.

I built a simple relaxation oscillator using a LM358 (circuit below) and I get weird readings in the Tek 2246 oscilloscope. The square wave seems more like a "Slope" square wave as seen in picture below.
If I compare with a digital oscilloscope I do not notice the same behavior. I tested the 2246 with a signal with same frequency and amplitude generated by the signal generator and I do not see this behavior.

Any ideas why?

Here is the circuit.
1526173-0

The sloped square wave.
1526179-1

 

Offline Uunoctium

  • Regular Contributor
  • *
  • Posts: 111
  • Country: de
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #1 on: June 30, 2022, 12:14:51 pm »
Is the scopes input feed trough coax-cable and termination is set to 50Ohms?
And the digital one didn't offer this feature?
 
The following users thanked this post: Old Printer, wmundstock

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #2 on: June 30, 2022, 12:27:59 pm »
What was the sample rate set to on the digital oscilloscope?

I think the slope is correct, due to the slew rate of the LM358, which is about 0.3V/µs.
 
The following users thanked this post: wmundstock

Offline wmundstockTopic starter

  • Contributor
  • Posts: 31
  • Country: br
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #3 on: June 30, 2022, 01:20:08 pm »
Thanks for the responses.

The difference was caused by wrong assumptions from my part. Because the frequency was too low with the 10k resistor I replaced with 1k when switching to the analogic scope. Turns out that made a difference.

Here is how it look like in the digital scope when I use the 1k resistor.


If I test with the 10k resistor in the digital scope, I get a flat line.


I still don't fully understand why higher frequency causes this slope. I will read about the slew rate, that may be the explanation.

For completenes:
I am using just the regular scope probe for the readings, no coax nor terminator.

Thanks.
 

Online CaptDon

  • Super Contributor
  • ***
  • Posts: 1730
  • Country: is
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #4 on: June 30, 2022, 01:20:33 pm »
.5ms per div? Were you a.c. coupled instead of D.C.? Also, as another poster said, maybe you loaded down the circuit with the 50 ohm terminator enabled.
Collector and repairer of vintage and not so vintage electronic gadgets and test equipment. What's the difference between a pizza and a musician? A pizza can feed a family of four!! Classically trained guitarist. Sound engineer.
 
The following users thanked this post: wmundstock

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 7825
  • Country: us
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #5 on: June 30, 2022, 01:23:33 pm »
Try turning the bandwidth limiter off.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: wmundstock

Offline wmundstockTopic starter

  • Contributor
  • Posts: 31
  • Country: br
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #6 on: June 30, 2022, 01:27:09 pm »
.5ms per div? Were you a.c. coupled instead of D.C.? Also, as another poster said, maybe you loaded down the circuit with the 50 ohm terminator enabled.

It was DC Coupled.

Try turning the bandwidth limiter off.

The BW Limit was on in the Analogic, and Off in the Digital. But after the retest using the 1k resistor (794 Hz frequency) I am now seing the slope in the digital too.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #7 on: June 30, 2022, 01:37:20 pm »
The slope shouldn't change much, when the frequency is changed. You should see similar rise/fall times, irrespective or whether the frequency is set to 800Hz or 80Hz. Zoom in on the parts of the waveform when it's changing from high to low, or vice versa, note the slope. Adjust the frequency and repeat.
 
The following users thanked this post: wmundstock

Offline wmundstockTopic starter

  • Contributor
  • Posts: 31
  • Country: br
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #8 on: June 30, 2022, 01:45:40 pm »
The slope shouldn't change much, when the frequency is changed. You should see similar rise/fall times, irrespective or whether the frequency is set to 800Hz or 80Hz. Zoom in on the parts of the waveform when it's changing from high to low, or vice versa, note the slope. Adjust the frequency and repeat.
Sorry, slope may have been a poor choice of words. What I mean is the curvature of the signal when the output is high/low as highlighted in the picture below.

The picture now shows 2 signals
- the top one is the output from the Oscilator
- the bottom one is the output from signal generator with same frequency and amplitude.

1526248-0
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #9 on: June 30, 2022, 01:52:47 pm »
The slope shouldn't change much, when the frequency is changed. You should see similar rise/fall times, irrespective or whether the frequency is set to 800Hz or 80Hz. Zoom in on the parts of the waveform when it's changing from high to low, or vice versa, note the slope. Adjust the frequency and repeat.
Sorry, slope may have been a poor choice of words. What I mean is the curvature of the signal when the output is high/low as highlighted in the picture below.

The picture now shows 2 signals
- the top one is the output from the Oscilator
- the bottom one is the output from signal generator with same frequency and amplitude.

(Attachment Link)
That's due to the loading of the output stage as the capacitor charges/discharges. It's insignificant when R is 10k but noticeable when R is reduced to 1k. If you keep R constant and just change C, you'll find it won't change as much.
 
The following users thanked this post: wmundstock

Offline wmundstockTopic starter

  • Contributor
  • Posts: 31
  • Country: br
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #10 on: June 30, 2022, 02:04:57 pm »
If you keep R constant and just change C, you'll find it won't change as much.

Nice! That is a true statement. Thank you!

This image shows the scope with 1k resistor and 470nF capacitor.
1526254-0

This one is with same 1k resistor and 6.8uF capacitor.
1526260-1

Indeed, both output seem very similar.

I also tried using a smaller capacitor (10nF) but the frequency go up to 10kHz and I think the opamp isnt fast enough. The output is no longer a square wave.
1526266-2

I assume for the Khz frequency range there should be other opamps that are suitable.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #11 on: June 30, 2022, 04:35:23 pm »
For higher speeds try the TL072 or NE5532.
 
The following users thanked this post: wmundstock

Offline Ground_Loop

  • Frequent Contributor
  • **
  • Posts: 644
  • Country: us
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #12 on: June 30, 2022, 05:43:33 pm »
Are your probes properly compensated?
There's no point getting old if you don't have stories.
 

Offline wmundstockTopic starter

  • Contributor
  • Posts: 31
  • Country: br
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #13 on: June 30, 2022, 06:27:07 pm »
Are your probes properly compensated?
Yes, they are, but I'm using them in 1X so compensation should not interfere.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: Relaxation Oscillator readings on Analogic Oscilloscope
« Reply #14 on: July 01, 2022, 07:44:58 am »
Are your probes properly compensated?
Yes, they are, but I'm using them in 1X so compensation should not interfere.
1X is uncompensated, is low impedance, 1M at DC, much lower at higher frequencies, and very slow, with a bandwidth of under 7MHz. None of that matters in this instance as the 10k or 1k resistor and timing capacitor loads the op-amp much more than the oscilloscope probe.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf