This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
openbench_fgen [2007/04/12 21:18] ladyada created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== what ====== | ||
- | A completely open design for a function/waveform generator: hardware, firmware, software | ||
- | |||
- | ====== Notes & stuff ====== | ||
- | |||
- | ===== Waveform generation ===== | ||
- | |||
- | Waveforms we want (in order of importance) | ||
- | * Sine wave | ||
- | * Square wave (with variable PWM) | ||
- | * Triangle wave | ||
- | * Sawtooth (possibly a modification of triangle wave???) | ||
- | * arbitrary waveform (sync, envelopes, etc) | ||
- | |||
- | Frequency range: | ||
- | * 1 Hz or lower | ||
- | * 100 KHz or higher | ||
- | * 1mHz -> 10MHz is ideal | ||
- | |||
- | ==== Generator tech ==== | ||
- | |||
- | Two options for chip 'styles' is the all-in-one oscillator (ICL3038, etc) +PLL or DDS | ||
- | |||
- | === Oscillators === | ||
- | |||
- | All-in-one is nice, except that the [[http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1257|MAX038]] is completely unavailable. And the [[http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=34972|XR2206]] kinda sucks. Also you'll need a PLL system to tune it. | ||
- | |||
- | === DDS === | ||
- | |||
- | Direct-Digital-Synthesis, currently popular. Basically: wavetable + 24 or 32 bit adder and sampling above nyquist to get precision waveforms. | ||
- | |||
- | Pros: digital, precise, no PLL needed | ||
- | Cons: hard to get high frequencies because of oversampling | ||
- | |||
- | Either roll your own or buy off the shelf ([[http://www.analog.com/en/subCat/0,2879,770%255F843%255F0%255F%255F0%255F,00.html|basically from AD]]) | ||
- | |||
- | == Off the shelf, AD parts == | ||
- | |||
- | They come with sync out, very very high speeds. But only sine and square out, and in small packages (TSSOP). | ||
- | |||