Upload
hoangliem
View
221
Download
0
Embed Size (px)
Citation preview
Electric Druid VCDO
Introduction! 2Features ! 3
Exponential frequency response with no exponential convertor! 310 octave note range from 8.18Hz to 8372Hz! 3Main Oscillator with 16 waveforms arranged as a wavetable! 3Sub Oscillator with 8 waveforms at four octaves! 3Bitcrushing effect! 3Glide/Portamento! 38-bit, 62.5KHz sample output rate! 3Easy interfacing to control voltage mixers! 3
Pinout Diagram! 4Application Notes! 5
Modular synth VCDO! 5Disabling unwanted controls or CV inputs! 9Calibration of the application circuit! 9
Main oscillator waveforms! 10Sub oscillator waveforms ! 12
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 1
IntroductionThe VCDO uses a PIC 16F1847 microprocessor to create a versatile and simple voltage-controlled 8-bit digital wavetable oscillator. All oscillator parameters are controlled by 0-5V control voltages. The chip has a native exponential control response, making interfacing with 1V/Oct control voltages very simple, even without an exponential convertor.
The chip contains 20 waveforms, most of which you’re unlikely to have seen before. There are six controls (abbreviated to CTRL above), plus four CVs and one digital input to switch glide on and off. Final output frequency is based on the NOTE CV, the FREQ MOD CV and the FREQ CTRL and FINE CTRL, which gives plenty of scope for control.
The WAVE CTRL and WAVE CV scan through the 16 waveforms of the main oscillator’s wavetable. The SUB SELECT CTRL and SUB SELECT CV switch between the 32 options for the sub oscillator, 8 waveforms over four octaves. Finally, the oscillator outputs can be modified by the BITCRUSH CTRL which reduces the output resolution from 8-bit to 1-bit.
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 2
FeaturesExponential frequency response with no exponential convertorThe Note CV input accepts 0-5V control voltages to cover the MIDI note range 0-63. The highest note the VCDO can produce is Note 120, 8372Hz.
10 octave note range from 8.18Hz to 8372HzThe basic frequency range of the VCDO is ten octaves from MIDI Note 0 to MIDI Note 120. The NOTE CV input is quantized to semitones, but the FREQ MOD CV input is not.
Main Oscillator with 16 waveforms arranged as a wavetableThe chip can produce 16 output waveforms. Rather than switch from one to another, the oscillator is able to crossfade from one to the next, creating a wavetable which you can scan through under voltage control.It would have been easy to include standard waveforms like ramps and triangles, but there are many oscillators that produce those. This oscillator has its own character and provides something different.
Sub Oscillator with 8 waveforms at four octavesAs well as the main oscillator, there is also a sub oscillator with 8 waveforms. Each waveform can be selected at one of four octaves, either +1 octave (above the main osc pitch!), in unison, -1 octave, or -2 octaves.
Bitcrushing effectThe BITCRUSH CONTROL input controls the sample bit resolution of the output. This can be reduced from 8-bit down to 1-bit in eight steps.
Glide/PortamentoThe chip also includes a glide/portamento effect, without requiring an external lag processor for the control voltage. Glide times range from 12ms/octave to 2.4secs/octave. Turning the GLIDE CTRL to minimum switches the glide effect off.
8-bit, 62.5KHz sample output rateThe internal waveforms and calculations are 8-bit, and new samples are output via the on-chip PWM modules at 62.5KHz. The PWM modules’ outputs are at 125KHz. The fact that this is higher than the sample rate allows more effective PWM filtering to be applied. The two-stage 24dB Bessel filter provides the best-possible pulse filtering.
Easy interfacing to control voltage mixersThe inputs intended for control voltages have an inverted response to make it simple to interface them with an inverting mixer. This is shown in the application circuits.
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 3
Pinout Diagram
Pin Function Details Notes1 FREQ CONTROL 0-5V analogue input Alters frequency in semitones over 4 octaves
2 FINE CONTROL 0-5V analogue input Fine tunes frequency, +/-100 cents
3 WAVEFORM CONTROL
0-5V analogue input Scans continuously through main oscillator waveforms
4 Unused 0-5V digital input
5 0V Power supply
6 MAIN OSC OUT 0-5V digital output Main Oscillator PWM output at 125KHz
7 SUB SELECT CONTROL
0-5V analogue input Selects one of 32 sub oscillator waveforms. Each of 8 waveforms can be selected at four octaves.
8 GLIDE CONTROL
0-5V analogue input Portamento times range from 12ms/octave to 2.4secs/octave. The lowest settings turn the glide off.
9 BITCRUSH CONTROL
0-5V analogue input 3 bit, values from 1 to 8Controls bit resolution of the output
10 NOTE CV 0-5V analogue input 0-5V gives MIDI notes from 0-63
11 FREQ MOD CV 0-5V analogue input Alters frequency +/-8 semitones
12 Unused 0-5V analogue input
13 GLIDE INPUT 0-5V digital input Switches glide on and off
14 +5V Power supply
15 Unused 0-5V digital IO
16 SUB OSC OUT 0-5V digital output Sub Oscillator PWM output at 125KHz
17 WAVEFORM CV 0-5V analogue input Scans through main oscillator waveforms under CV control.
18 SUB SELECT CV 0-5V analogue input Jumps through sub osc options under CV control
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 4
Application NotesModular synth VCDOA full circuit diagram for a comprehensive 1V/Oct voltage-controlled wavetable oscillator follows on the next three pages.
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 5
PIC
and
outp
ut fi
lters
3
18KH
z Be
ssel
Filte
r 24d
B/O
ct
18KH
z Be
ssel
Filte
r 24d
B/O
ct
31 M
ay 2
012
VCDO
.dch
1 of
3TM
W18
47 V
CDO
Osc
Out
put
10Vp
p
A4
Cont
rols
CV In
puts
SubO
sc O
utpu
t
Glid
e O
n/O
ff
10Vp
p
(Not
e th
at G
lide
On/
Off
sock
et s
houl
d be
nor
mal
led
to +
5V)
C1
330p
C2 330p
C3 330p
C4
330p
C5 330p
C6 330p
C7
150p
C8
150p
C9
100n
F
CN3
Glid
e
CN7
Osc
CN8
Osc
IC1.
1IC
1.2
IC2.
1IC
2.2
IC3.
1
IC3.
2
-5V
-5V
+5V
GND
GND GND
GND
GND
+5V
GND
GND GND
Q1
2N39
04
R1 20K
R2
20K
R3 20K
R4
20K
R5 27K
R6
27K
R7 27K
R8
27K
R9 51K
R10
51K
R11
100K
R12
100K
R13
100K
R14
100K
R15
10K
R16
10K
R17
10K
R36
1K R37
1K
uP1
16F1
847
AB
AB
A B
Title
Size
Mod
elRe
v
Date
Draw
n by
File
nam
eSh
eet
Page 6
Note
CV
0-5V
Freq
Mod
CV
4K7s
pro
tect
ADC
aga
inst
ove
rvol
tage
1V/O
ct A
djus
t
-5V
to +
5V
CV in
puts
331
May
201
2VC
DO.d
ch2
of 3
TMW
1847
VCD
OA4
-5V
to +
5V-5
V to
+5V
Opt
iona
l Sch
ottk
y di
odes
(BAT
54S
for S
MD)
Zero
TrimFM
CV
Amou
nt
Wav
e CV
Am
ount
Spar
e CV
Am
ount
Offs
et a
djus
t
Wav
e CV
CN1
Freq
Mod
CV
CN2
Wav
e CV
CN4
Note
CV
CN5
Spar
e CV
D1 D2 D3 D4
D5 D6 D7 D8
IC4.
1
IC4.
2
IC5.
1
IC5.
2
-5V
-5V
-5V
-5V
GND
GND
GND
GND
GND
GND GND
GND
+5V
GND
+5V
+5V
+5V
GNDGND
GND PR1
20K
PR2
20K
PR3
47K
R18
100K R1
9
100K
R20
100K
R21
100K
R22
200K
R23
200K
R24
200K
R25
200K
R26
200K
R27
91K
R28
91K
R29
4K7
R30
4K7
R31
4K7
R32
4K7
R33
180K
VR9
100K
VR10
100K
VR11
100K
A B
A B
CW
CW
CW
CW
CW CW
Title
Size
Mod
elRe
v
Date
Draw
n by
File
nam
eSh
eet
Page 7
Op-
amp
powe
r (5
x du
al o
p-am
ps)
Freq
uenc
y
Cont
rol k
nobs
and
Pow
er s
uppl
y
331
May
201
2VC
DO.d
ch3
of 3
TMW
1847
VCD
OA4Fine
/Det
une
Wav
efor
m
Glid
e
(The
re a
re 3
CV
atte
nuat
ors
addi
tiona
lly)
SubO
sc S
elec
t
Bitc
rush
Mai
n pa
nel c
ontro
ls
Proc
esso
r pow
er
-5V
offs
et re
fere
nce
10K
is O
ptio
nal.
Som
e re
gula
tors
requ
ire s
igni
fican
t loa
d.
C10
100nF
C11
100nF
C12
100nF
C13
100nF
C14
100nF
C15
100nF
C16
100nF
C17
100nF
C18
C19
C22
2.2uF
C23
2.2uF
C24
2.2uF
C25
2.2uF
CN6
Powe
r
IC1
IC2
IC3
IC4
IC5
-15V
+5V
GND
GND
GND
-5V
+5V
GND
-15V
GND
+15V
+15V
R34
68R
R35
68R
R39
1K
R40
1K
R41
1K
R42
1K
R43
1K
R44
1K
R46
10K
U1
79L0
5
U2
78L0
5
VR1
10K
VR2
10K
VR3
10K
VR4
10K
VR5
10K
VR6
10K
GND
GND
CW
CW
CW
CW
CW
CW
Title
Size
Mod
elRe
v
Date
Draw
n by
File
nam
eSh
eet
Page 8
Disabling unwanted controls or CV inputsThe table below suggests how to disable each input if it is not required
Pin Function Details1 FREQ CONTROL Any voltage between 0V and 5V will do
2 FINE CONTROL Use two 10Ks between 5V and 0V to give 2.5V at the pin
3 WAVEFORM CONTROL Any voltage between 0V and 5V will do
7 SUB SELECT CONTROL Any voltage between 0V and 5V will do
8 GLIDE CONTROL Tie input to 0V with 10K to disable glide
9 BITCRUSH CONTROL Tie input to 5V with 10K to give 8-bit resolution.
10 NOTE CV Any voltage between 0V and 5V will do
11 FREQ MOD CV Use two 10Ks between 5V and 0V to give 2.5V at the pin
13 GLIDE INPUT Tie input to 0V with 10K to disable glide, or tie input to +5V with 10K to allow Glide control to operate
17 WAVEFORM CV Tie input to 0V with 10K for no CV
18 SUB SELECT CV Tie input to 0V with 10K for no CV
Calibration of the application circuitThere are three trimmers in the application circuit. They should be set up as follows:
Firstly, centre the Frequency Control and the Fine Control, since these affect the tuning. The position you set now will become the “zero” position for these knobs.
Plug a source of 1V/Oct control voltages (an analogue synth or MIDI-to-CV convertor) into the NOTE CV input and adjust PR2 until an octave on the keyboard gives an octave from the oscillator. Don’t worry about the pitch being wrong (C plays a D, for example). This control alters the octave range, so it’s fine if pressing C0 then C1 plays D1 to D2, since both are an octave.
The offset adjust trimmer PR1 should be adjusted to give +5V at pin1 of IC4 with the NOTE CV input grounded, but the exact value is not crucial, since the voltage is quantized to semitones. If you find the oscillator is “skipping” between notes, tweak PR1 until it stops.
Next, adjust PR3, the FREQ MOD CV Zero Trim. With the FM CV Amount control turned down to zero, PR3 should be adjusted to give 2.5V at pin 7 of IC4. Alternatively, plug the oscillator output into an electronic tuner and adjust PR3 until the notes are well tuned. If the Fine control is set to the centre zero position, this should give 2.5V as before!
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 9
Main oscillator waveforms
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 10
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 11
Sub oscillator waveforms
Voltage-Controlled Digital Oscillator 1 - Datasheet www.electricdruid.com
Page 12