How to Design an Oscillator for Producing Square and Triangular Waves

Click For Summary

Discussion Overview

The discussion revolves around designing an oscillator capable of producing square and triangular waves, with specific emphasis on a square wave that has varying half-wave durations. Participants explore different methods and components that could be utilized in the design process.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant inquires about designing an oscillator for a square wave with specific timing characteristics (20ms for the first half and 5ms for the second half) and how to adapt it for a triangular wave.
  • Another participant suggests using two oscillators with different frequencies and offsets combined through an OR gate to achieve the desired square wave.
  • A third participant proposes using an op-amp configured as an integrator to convert a square wave into a triangular wave.
  • A later reply questions the method of posting images and mentions having schematics for various waveform generators, indicating a potential resource for further discussion.

Areas of Agreement / Disagreement

Participants present multiple approaches to the problem, indicating that there is no consensus on a single method for designing the oscillator or generating the triangular wave.

Contextual Notes

Some assumptions about the circuit design and component specifications are not explicitly stated, which may affect the applicability of the proposed solutions.

Monsu
Messages
38
Reaction score
1
I have a question as to how to design an oscillator that will produce a wave such as the one I have attached. It is a square wave, but with changing times, first half wave with time 20ms, and second half wave with 5ms. Also, how could i make this oscillator then produce a triangular wave.
 

Attachments

  • square wave.JPG
    square wave.JPG
    2.8 KB · Views: 504
Engineering news on Phys.org
Two oscillators with different frequencies and offsets pumped into an OR gate should do it.

As for producing the triangular wave, someone else will have to answer the question
 
To get a triangle wave from a square wave, use an op-amp wired up as an integrator.

- Warren
 
Monsu said:
I have a question as to how to design an oscillator that will produce a wave such as the one I have attached. It is a square wave, but with changing times, first half wave with time 20ms, and second half wave with 5ms. Also, how could i make this oscillator then produce a triangular wave.
How did you post that image?
I have schematics of many waveform generators.
 

Similar threads

  • · Replies 39 ·
2
Replies
39
Views
3K
Replies
16
Views
3K
Replies
9
Views
7K
Replies
15
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
14
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
5
Views
1K