Comparator problem - diyAudio
Go Back   Home > Forums > Live Sound > Instruments and Amps

Instruments and Amps Everything that makes music, Especially including instrument amps.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 18th February 2011, 10:49 PM   #1
diyAudio Member
 
Arsimantur's Avatar
 
Join Date: Oct 2010
Default Comparator problem

Hello

I've built little analog synthesizer. It works, but I can't get pure sinusoidal signal - it is mixed with square wave. There is a pot (RV3) for Timbre that mixes sinusoidal with square wave comming from comparator, but even it is set to pure sinusoidal I still hear square.

Sinusoidal wave comes from oscillators to X, Q8 amplifies the signal then sin goes through C29 or to comparator through C30 where it's converted into square. Then square and sin is mixed with RV3 and goes through C36 to VCA.
Click the image to open in full size.

I tried to get pure sin. I've removed pin 2 - no change. I've removed C30 - square disappeared from sin. Is this comparator overdriven? I tried additional low pass filter on V+, no change.
Measures: Q8 C=5,57 B=0,6 E=0,02, U1 5=3,84 4=3,84 2=3,56. I checked also supply. It gives V+ 8,2 and Vr 4,1, each filtered. 8.2 is split and goes through separate filters to different sections of synthesizer. One goes only to comparator. This one shows 7,7 while other are ok and show 8,2. Vr is 4,1 everywhere.

I hope you know what's happening and can help me.
Attached Images
File Type: jpg sch_001b.jpg (51.2 KB, 62 views)
  Reply With Quote
Old 18th February 2011, 11:54 PM   #2
Enzo is offline Enzo  United States
diyAudio Member
 
Join Date: Sep 2004
Location: Lansing, Michigan
You refer to square. Are you actually seeing square waves on a scope? Or are you just using the term square to mean you hear distortion?

What is the signal amplitude coming in at X? What is the signal amplitude at the collector of Q8?

Removing C30 stops the distortion? Scope the signal at the collector of Q8, and how does it change with and without C30?
  Reply With Quote
Old 20th February 2011, 09:46 AM   #3
diyAudio Member
 
Arsimantur's Avatar
 
Join Date: Oct 2010
Sorry, but i don't have a scope. I can only say that voltage on collector doesn't change with or without C30. I recorded audio to see the wave and you are right - it's rather distortion not square. But how does it happen? Maybe it is mixing with square going from comparator through C30 to C29?

First screen is without C30, second with it.
Attached Images
File Type: jpg ScreenHunter_1502.jpg (166.9 KB, 44 views)
File Type: jpg ScreenHunter_1503.jpg (169.2 KB, 44 views)
  Reply With Quote
Old 2nd March 2011, 05:09 PM   #4
diyAudio Member
 
Arsimantur's Avatar
 
Join Date: Oct 2010
Ok, I've got an oscilloscope, done some measures and it seems that problem is a comparator polluting PSU rails. This pollution goes to VCA. I see nice waves on R39.R42.C36 with/without C30 or pin2. Changes appear on VCA output when square wave is being generated (C30 and pin2 in place). VCA and comparator sections have separate RC filtering on V+ and Vr. There was clipping without pin2 on sine wave, so I've incresed R39 to 220k. Here is VCA
Attached Images
File Type: gif sch_09.gif (27.2 KB, 30 views)
  Reply With Quote
Old 7th March 2011, 12:11 AM   #5
diyAudio Member
 
Arsimantur's Avatar
 
Join Date: Oct 2010
Now I've found that most noticeble change is happening on decoupling capacitor! Connecting pin2 of IC1 adds harmonics on pin6 of IC2, but waveform is just slighly changed. Without pin2 of IC1 there is a nice sine on pin6 IC2 BUT AFTER C38 I see waveform with added peaks and amplitude is lower. It is only when I plug something to output jack. Tried to use different capacitors, no luck. Can someone explain what's happening and how to solve it? When I connect pin2 more harmonics appear and it's even worse.

BTW I use opa134 in place of 748.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hysteresis for comparator. W@ldur Analog Line Level 5 15th January 2006 12:41 AM
comparator audio-kraut Solid State 8 15th November 2004 06:44 AM
Need comparator recommendation Charles Hansen Parts 2 12th July 2004 05:24 PM
Problem with SPDIF comparator (Elso) tiroth Digital Source 52 29th August 2003 08:11 PM
Transistor Comparator ? thylantyr Solid State 9 9th April 2003 04:29 AM


New To Site? Need Help?

All times are GMT. The time now is 08:04 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2