| Author |
Message |
fonik

Joined: Jun 07, 2006 Posts: 3619 Location: Germany
Audio files: 23
|
Posted: Wed Aug 04, 2010 1:21 am Post subject:
Reset timing cap of AR to pull output to zero Subject description: why does it not work in real life? |
 |
|
i built an AR generator on breadboard. my idea was to short the timing cap to force the circuit to go down to zero volt in the release phase at some point.
the idea was to use a comparator to create a short pulse that controlls a NPN in parallel to the timing cap (circuit below).
it works in vitro (screenshot of scope in the simulation software), but not in vito (picture of the analoge scope). in real life the 100n cap seems to try to reset when upper limit is reached?
any ideas?
| Description: |
|
| Filesize: |
21.4 KB |
| Viewed: |
1658 Time(s) |

|
| Description: |
| real life scope with circuit on breadboard |
|
| Filesize: |
46.31 KB |
| Viewed: |
1658 Time(s) |

|
| Description: |
|
| Filesize: |
10.64 KB |
| Viewed: |
101 Time(s) |
| This image has been reduced to fit the page. Click on it to enlarge. |

|
_________________
cheers,
matthias
____________
fonitronik at
FlickR (pix) / SoundCloud (sounds) / YouTube (vids) / Vimeo (vids) / facebook (news) |
|
|
Back to top
|
|
 |
fonik

Joined: Jun 07, 2006 Posts: 3619 Location: Germany
Audio files: 23
|
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 19599 Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317
|
Posted: Thu Aug 05, 2010 7:06 am Post subject:
|
 |
|
Not sure if its a problem ... but when your comparing-opamp goes negative the switching transistor is reverse biased and that may do some odd things if it goes into zener mode .. which it probably will. _________________ Jan |
|
|
Back to top
|
|
 |
fonik

Joined: Jun 07, 2006 Posts: 3619 Location: Germany
Audio files: 23
|
Posted: Thu Aug 05, 2010 7:12 am Post subject:
|
 |
|
| Blue Hell wrote: | | Not sure if its a problem ... but when your comparing-opamp goes negative the switching transistor is reverse biased and that may do some odd things if it goes into zener mode .. which it probably will. |
thanks for the reply, jan!
by 'zener mode' you are refering to the transistor?
the comparator going negative... this would explain the difference from software to breadboard, i think. i should try a single rail powered comparator then... _________________
cheers,
matthias
____________
fonitronik at
FlickR (pix) / SoundCloud (sounds) / YouTube (vids) / Vimeo (vids) / facebook (news) |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 19599 Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317
|
Posted: Thu Aug 05, 2010 7:16 am Post subject:
|
 |
|
| fonik wrote: | | by 'zener mode' you are refering to the transistor? |
Yes, the BE diode of that transistor - like in a noise generator, there the zener effect is used to generate the noise.
You could try a diode after the opamp. Why did you use AC coupling for the discharge circuit BTW? _________________ Jan |
|
|
Back to top
|
|
 |
fonik

Joined: Jun 07, 2006 Posts: 3619 Location: Germany
Audio files: 23
|
Posted: Thu Aug 05, 2010 7:31 am Post subject:
|
 |
|
| Blue Hell wrote: | | fonik wrote: | | by 'zener mode' you are refering to the transistor? |
Yes, the BE diode of that transistor - like in a noise generator, there the zener effect is used to generate the noise.
You could try a diode after the opamp. Why did you use AC coupling for the discharge circuit BTW? |
AC coupling??? i just wanted to create a short pulse from the comparators output. i did not recognize that it is ac coupling actually.
do you think this is a problem? from my thinking i need a short pulse to allow the timing cap to charge again after reset. without this gate to pulse conversion i would constantly bypass the timing cap. _________________
cheers,
matthias
____________
fonitronik at
FlickR (pix) / SoundCloud (sounds) / YouTube (vids) / Vimeo (vids) / facebook (news) |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 19599 Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317
|
Posted: Thu Aug 05, 2010 9:40 am Post subject:
|
 |
|
| fonik wrote: | | from my thinking i need a short pulse to allow the timing cap to charge again after reset. without this gate to pulse conversion i would constantly bypass the timing cap. |
that makes sense, yup. _________________ Jan |
|
|
Back to top
|
|
 |
BananaPlug

Joined: Jul 04, 2007 Posts: 302 Location: Philly
Audio files: 5
|
Posted: Fri Aug 06, 2010 7:15 am Post subject:
|
 |
|
Rethinking the original problem. Your timing cap discharges through a diode (for separate attack/decay resistors) so I assume that's where the slight residual charge you want to dump comes from. You have two op amps. How about using them one after the other (as inverting op amps) for the output buffer. Now you have a summing point at the first one and can sum in a small negative voltage to null out the effect of the residual charge. You could put a diode in the feedback path of the final op amp to guarantee uni-polar output.
Just a thought. |
|
|
Back to top
|
|
 |
|