420 likes | 659 Views
Continuous Frequency Synthesizer. Continuous Frequency Synthesizer. Presented by: Andrew Latham Daniel Pfeiffer Omar Khan. Presented by: Andrew Latham Daniel Pfeiffer Omar Khan. What Is A Theremin?. Theremin in action. History. First electronic instrument, circa 1921
E N D
Continuous Frequency Synthesizer Continuous Frequency Synthesizer Presented by: Andrew Latham Daniel Pfeiffer Omar Khan Presented by: Andrew Latham Daniel Pfeiffer Omar Khan
History • First electronic instrument, circa 1921 • 1929 – RCA buys rights to manufacture • 1954 – Robert Moog (of synthesizer fame) starts production • Used by such diverse bands as The Beach Boys, Led Zeppelin, and Nine Inch Nails.
General Overview • Analog Theremin • Perform synthesis using DSP and FPAA (Field Programmable Analog Array) • User-specified set of synthesis techniques and effects
Objectives • Incorporate multiple facets of ECE: 1. Analog circuitry 2. Digital Signal Processing 3. Electro-magnetics • Create a working analog and digital Theremin. • Unique • Fun!
Original Design • Single Antenna • Volume Dial • Synthesis using DSP • Additional effects by FPAA • FPAA output to amplifier
Original Design • Types of Synthesis: 1. Additive • Harmonics 2. Subtractive • Use analog filtering • Sawtooth • Triangle • Pulse • Additional Effects: •Tremolo • Reverb • Vibrato
Final Design • Single Antenna • Synthesis using DSP • Add’l filtering by FPAA • Volume Control and DC, Highpass filters • Output to Amplifier
Software Flowchart: • Determine pitch of input • Count samples between zero crossings • Determine step size through lookup table • Different step sizes produce different frequencies • Output all 5 waveforms • However, output nothing if the input amplitude is too small • Save pointer value to remove phase error
Software, cont’d • Optional Tremolo effect - modulates generated waveform by 8.3Hz sine wave
FPAA • Subtractive Lowpass Filtering – 2nd-order, -6dB cutoff at 2.33kHz
FPAA, cont’d • Subtractive Bandpass Filtering, 2nd order, -6 dB cutoff at 1kHz
DC Filter: Removes the +2 volt DC offset generated by the FPAA -6 dB cutoff at ~30 Hz (assuming amplifier impedance of 3 kΩ) Low-Pass Filter Removes high frequency content due to FPAA’s sample-and-hold routine -6 dB Cut-off at 21.276 kHz Analog Filters
Theremin Output Lowest Tone (188 Hz) 893Hz
DSP Outputs with FFT Sine Wave Sawtooth
DSP Outputs, cont’d Organ Tone Square Wave
DSP Outputs, cont’d Triangle Wave
DSP Output with Tremolo Sine Wave Square Wave
Tremolo, cont’d Triangle Sawtooth Organ
Lowpass Filtered Signals Square Wave Sawtooth
Bandpass Filtered Signals Sawtooth Square Wave
Testing Procedures • Signal-to-Noise Ratio(SNR) • Oscilloscope’s FFT function • Noise independent of signal input • Maximum-amplitude output signal used to determine SNR
SNR, cont’d • DSP and FPAA: SNR = 54.32 dB
Testing, cont’d • THD (Total Harmonic Distortion) - Unwanted harmonics in output signal - Measured using Line In on a computer to Matlab interface
THD, cont’d • DSP and FPAA: THD = -44 dB
Frequency Error Measurements Testing, cont’d
Testing, cont’d • Effective Bandwidth • Difference between 2 points: 1. User’s hand nearly touching antenna 2. Furthest distance between hand and antenna which produces negligible capacitance
Bandwidth, cont’d • Theremin • 196 Hz ↔ 3.2 kHz • DSP • 90 Hz ↔ 800 Hz • Overall • 200 Hz ↔ 800 Hz
Challenges • Theremin: • Faulty components • Antenna • DSP: • Availability of 32-bit processor • FPAA: • +2 V offset voltage • Tremolo implementation
Successes • Antenna construction • DSP implementation • LPF, Bandpass filtering using FPAA
Recommendations • More effects: • Reverb • Distortion • Vibrato • Different control instruments • Toggle switch array, GUI