ENGLISH 简体中文 日本語 한국어  


APPLICATION NOTE  2081

Digitally Controlled Sine-Wave Generator

The circuit of Figure 1 produces an accurate variable-frequency sine wave for use as a general-purpose reference signal. It includes an 8th-order elliptic, switched-capacitor lowpass filter (IC3) that is clocked with a 100kHz square wave generated by microcontroller IC2. (Any other convenient squarewave source is also acceptable.) The microcontroller is clocked by a 10MHz oscillator module. A voltage supervisor (IC1) ensures correct operation in the event of a power failure. IC3 sets the filter's cutoff frequency at 1/100 the clock frequency.

Figure 1. By removing harmonics from a square wave, this circuit generates an accurate and adjustable sine-wave output.
Figure 1. By removing harmonics from a square wave, this circuit generates an accurate and adjustable sine-wave output.

The 8th-order elliptic filter's sharp rolloff sharply reduces the harmonic amplitudes in a 1kHz square-wave input, thereby producing a near-perfect 1kHz sine wave at its output. Using divider-chain logic or a processor, you can then create a digitally adjustable sine-wave source by adjusting the clock and input frequencies while maintaining a ratio of 100:1 between them. For the microcontroller shown, software to implement this idea is available for download. (.asm, 4K)

To prevent clipping at the positive and negative peaks, attenuate the input signal and superimpose it on a dc level of VCC/2. The result (for a 5V input) is a 2.25V peak-to-peak output.

A similar version of this article appeared in the May 15, 2003 issue of EDN magazine.


의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.


자동 업데이트
관심있는 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트 받고 싶으세요? 그렇다면 EE-Mail™을 신청하십시오.



추가 정보  APP 2081: Jun 27, 2003
MAX7400 8차, 로우패스, 엘립틱, 스위치드 커패시터 필터 전체 데이터 시트
(PDF, 200kB)
무료 샘플
MAX809 3핀 마이크로프로세서 리셋 회로 전체 데이터 시트
(PDF, 208kB)
무료 샘플
 

다운로드, PDF 형식다운로드, PDF 형식 (24kB)
 AN2081, AN 2081, APP2081, Appnote2081, Appnote 2081



         



   Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor    법적 고지    개인정보보호 정책