Author Topic: Simple but Fully Discrete Triangle Wave Generator  (Read 1539 times)

0 Members and 1 Guest are viewing this topic.

Offline PinePolarBearTopic starter

  • Newbie
  • Posts: 1
Simple but Fully Discrete Triangle Wave Generator
« on: May 03, 2019, 06:08:20 pm »
Hello. I'm working on a fully discrete class D amplifier. I'm looking for a triangle wave generator design. It would be preferably simple, but it needs to go above 250 kHz. Thanks.
 

Online JPortici

  • Super Contributor
  • ***
  • Posts: 3531
  • Country: it
Re: Simple but Fully Discrete Triangle Wave Generator
« Reply #1 on: May 03, 2019, 06:35:26 pm »
Component selection and how to get around all the gotchas to achieve an triangle that as pure and symmetric as possible is left as an excercise to the reader
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6268
  • Country: de
Re: Simple but Fully Discrete Triangle Wave Generator
« Reply #2 on: May 03, 2019, 06:57:08 pm »
You should add that the triangular output is from the first amp.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22436
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Simple but Fully Discrete Triangle Wave Generator
« Reply #3 on: May 03, 2019, 07:51:09 pm »
I've used some variant of this, many times:

https://www.seventransistorlabs.com/Images/Flashlight2_Schematic.png

IC2 is a astable multivibrator and PWM comparator.  Q4A isn't necessary, but it improves linearity.  If not needed, it can be replaced with a pull-up resistor.

Note that you don't want to skip the rest of the circuit: IC3B compares the inductor current to the current setpoint, providing a first line of defense against destruction of transistors or other components.  The output current simply cannot be anything other than what it can be set to, within a controlled range.  IC3A then controls that current, in order to regulate the output value (in this case, a combination of output current and voltage for driving LEDs, but just voltage would be fine for a power supply or amplifier).

The chained error amplifier topology also avoids putting the double-pole output filter inside a single loop.  Instead, the inductor is in the first loop, and the capacitor and load in the second.  This is much easier to compensate, and gives much nicer waveforms.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17229
  • Country: us
  • DavidH
Re: Simple but Fully Discrete Triangle Wave Generator
« Reply #4 on: May 04, 2019, 10:03:52 pm »
Oscilloscope sweep generators meet your requirements so you might want to study how they work.

I would also consider bipolar implementation of a PUT based relaxation oscillator with the resistance replaced with a constant current source.

https://www.instructables.com/id/Circuit-Collection-of-the-Programmable-Unijunction/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf