Why Isn't My Relaxation Oscillator Producing a Square Wave in Multisim?

  • Thread starter Thread starter gfd43tg
  • Start date Start date
  • Tags Tags
    Oscillator
Click For Summary
SUMMARY

The forum discussion centers on troubleshooting a relaxation oscillator simulation in Multisim, specifically regarding the failure to produce a square wave output as expected. The user calculated a period of 0.220 seconds using resistor R=1000 Ω and capacitor C=100 μF, but observed a significantly longer period of just under 4 seconds in the simulation. The user also faced challenges in deriving the output relationship between the square wave and triangle wave, ultimately leading to confusion about selecting appropriate R and C values to achieve a triangle waveform with an amplitude of 4 V.

PREREQUISITES
  • Understanding of relaxation oscillators and their operation
  • Familiarity with Multisim simulation software
  • Knowledge of basic circuit components: resistors and capacitors
  • Ability to perform transient analysis in circuit simulations
NEXT STEPS
  • Review the principles of relaxation oscillators and their expected output waveforms
  • Learn how to configure Multisim for accurate transient analysis
  • Study the mathematical relationships between square and triangle waveforms
  • Experiment with different resistor and capacitor values to achieve desired waveform amplitudes
USEFUL FOR

Electronics students, circuit designers, and anyone involved in simulating oscillators and waveform generation using Multisim.

gfd43tg
Gold Member
Messages
948
Reaction score
48

I am doing page 4 of the lab attached, and I am trying to simulate the relaxation oscillator in Figure 2. However, I am not getting a square wave like the lab suggests I should get. I have been able to do the derivation at the bottom of the page.

I have attached my multisim diagram as well as my transient analysis of the probe at the output of the op-amp. What is going on here??

Based on my calculation of the period T, using R=1000 Ω and C = 100 μF, I get a period of .220 seconds, and here the spacing between the ''squares'' (which are not very squarey) is slightly under 4 seconds. It also goes above my rail of 5 V.

I'm also stuck on the derivation on page 6,

Vout = -∫Vin/RC dt and proving that it outputs a triangle wave from a square wave.
 

Attachments

Last edited:
Physics news on Phys.org
I have figured out that part about the relaxation oscillator, and my multisim now works. I am on the part about the triangle wave generator (page 7). I have derived the relationship, and now I am stuck making my triangle wave output.

I just took the circuit from the previous slide as my square wave and attached it to the triangle generator, and the oscillator just won't read a triangle.

The question asks to pick values of R and C such that the triangle waveform will have an amplitude of 4 V. I am a bit confused about this part I believe.

I just said that the y-axis is 4, and since f=10, then the time, or x-axis, is 0.1. That means RC = 40. So C = 40/R. Choose R=1000, then C = .04 F.

The supply is 5 V from my relaxation oscillator, so my square wave should be +/- 5V, but the oscilloscope for my triangle generator gives me nothing.
 

Attachments

  • 5.2 circuit attempt 1.jpg
    5.2 circuit attempt 1.jpg
    35.9 KB · Views: 1,756
  • 5.1 circuit.jpg
    5.1 circuit.jpg
    53.9 KB · Views: 1,709
Last edited:

Similar threads

  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 16 ·
Replies
16
Views
10K
  • · Replies 7 ·
Replies
7
Views
19K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
8
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
7K
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
11K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K