Author Topic: Question on a Comparator in a Schematic  (Read 952 times)

0 Members and 1 Guest are viewing this topic.

Offline eev_carlTopic starter

  • Regular Contributor
  • *
  • Posts: 224
  • Country: us
Question on a Comparator in a Schematic
« on: July 27, 2018, 01:23:27 pm »
Hi,

What's the purpose of the comparator in this schematic?  Is it possible to put the gate directly into R5 for demonstration purposes?

https://synthnerd.wordpress.com/2016/04/06/envelope-circuits-a-simple-ar-design-using-op-amps/

Thanks,
Carl
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7764
  • Country: de
  • A qualified hobbyist ;)
Re: Question on a Comparator in a Schematic
« Reply #1 on: July 27, 2018, 02:30:19 pm »
The opamp set up as comparator triggers the attack-release. If the input voltage is higher than the reference (voltage divider with R3 and R4) the opamp's output goes high, and vice versa. If you connect R5 directly to "Gate In" you'd get a different functionality.
 

Offline eev_carlTopic starter

  • Regular Contributor
  • *
  • Posts: 224
  • Country: us
Re: Question on a Comparator in a Schematic
« Reply #2 on: July 27, 2018, 03:07:02 pm »
What would the different functionality be?  If the gate w/o the compartor went high but was below the reference voltage the capacitor wouldn't charge?
 

Offline bsfeechannel

  • Super Contributor
  • ***
  • Posts: 1667
  • Country: 00
Re: Question on a Comparator in a Schematic
« Reply #3 on: July 27, 2018, 03:54:39 pm »
The two op amps in this circuit act as buffers. The first, the comparator, is a digital buffer. The second plays the role of an analog buffer.

It is always a good idea to buffer the input and output of your circuits, especially when you do not know what is going to be connected to them in terms of loads and impedances.

That's why any half decent guitar pedal must have buffers on their inputs and outputs.

Of course you can dispense with buffers if you know what you're doing. For instance, if you know that the output buffer of the gate is capable of driving the current necessary to charge C1 besides driving other circuits, you don't need the comparator. If you know that the input of the VCA or VCF is not going to unnecessary discharge C1, then off with the output buffer.

But I personally would not recommend it. The cool thing about analog synths is that you can patch together the various modules without having to worry about loads or impedance matching.

Good luck with your project.
« Last Edit: July 29, 2018, 12:47:17 am by bsfeechannel »
 
The following users thanked this post: eev_carl

Offline eev_carlTopic starter

  • Regular Contributor
  • *
  • Posts: 224
  • Country: us
Re: Question on a Comparator in a Schematic
« Reply #4 on: July 27, 2018, 04:20:40 pm »
Thanks!  I'll definitely buffer when I actually build something.  Today I'm looking for the minimal amount of components to better understand the diode / capacitor charging with my scope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf