[sdiy] Idea for DCO

Magnus Danielson magnus at rubidium.dyndns.org
Sat Jul 12 23:47:59 CEST 2008


From: Stewart Pye <stewpye at optusnet.com.au>
Subject: [sdiy] Idea for DCO
Date: Sat, 12 Jul 2008 10:18:04 +1000
Message-ID: <4877F83C.5040504 at optusnet.com.au>

Stewart,

> I've been thinking about attempting to build a VCO that has the integrator capacitor reset by a microcontroller. For now lets assume the VCO design is similar to the ASM1. It would still have the expo converter, but it could be built using standard (cheap) transistors and no tempco resistor. The expo converter is just there to charge the integrator capacitor. The comparator would be omitted as the discharge FET would be triggered by the microcontroller. The linear CV would go into a 16 bit DAC and the micro would calculate time period required for the reset pulse.
> 
> There would be a timer interrupt keeping track of the capacitor reset timing. In the background you sample the ADC, convert it to the value needed to be loaded into the count register and keep storing the value until it's time to reset the VCO. When it is time to reset the VCO you take the timer reload value of the last sample and put that into the count register. So the next cycle will have its period determined by the last ADC sample taken.
> 
> Has anybody tried something like this before? Am I missing any obvious flaws in this scheme.

I think the flaw or design problem lies in the microprocessor timing details
and resolution of the CV ADC.

Many DCOs have been built with the basic idea of having digitally controlled
timing such as you described, but they usually build upon timer circuits such
as the Intel 8253/8254. Just using the PIC (or whatever) for expo-conversion
isn't very optimal, but doable. You can probably make it hit notes fairly
well. Resolution problems will prohibit as smooth frequency as you would like.
Thus, frequency sweeps would be "steppy".

I still think normal design fits the generic fashion best. If you do a MIDI-
jobbie then you are on the right track, but better timing setup may be needed.

Cheers,
Magnus



More information about the Synth-diy mailing list