设计、搭建、测试
图示的电路板已装配完成且经过测试。

概览

设计资源

设计与集成文件

  • 原理图
  • BOM
下载设计文件 11.91 K

描述

MAXREFDES1264是MAX32630FTHR和MAX7404的参考设计。它产生准确的变频正弦波以用作通用参考信号。MAX7404是一款八阶椭圆开关电容低通滤波器。MAX32630FTHR是一款基于ARM内核的低功耗微控制器板,用于为MAX7400提供时钟和输入信号。

详情

TThe MAXREFDES1264 is a reference design for the MAX32630FTHR and MAX7404. It produces an accurate variable frequency sine wave for use as a general-purpose reference signal. The MAX7404 is an eighth-order elliptic switched-capacitor lowpass filter. The MAX32630FTHR is an ARM core-based low-power microcontroller board used to provide the clock and input signal to the MAX7400.

This document describes the hardware in Figure 1. It is a detailed, systematic technical guide to use a small, low-cost, portable sine-wave generator. The design was built and tested. The details follow later in this document.

Figure 1. MAXREFDES1264 hardware.
Figure 1. MAXREFDES1264 hardware.

Table 1. Design Specifications
Parameter Symbol Min Max
Input Frequency VIN 0Hz 5kHz
Clock Frequency CLK_IN 0Hz 500kHz

  • MAXREFDES1264
  • A laptop or PC

A sine wave with an arbitrary frequency is needed as a reference signal during various designs and testing. A simple sine wave is generated by passing a square wave through a lowpass filter. The MAX7404 is the lowpass filter used in this design. It is an eighth-order elliptic switch-capacitor filter that converts the input square wave to a sine wave (Figure 2).

Figure 2. Block diagram.
Figure 2. Block diagram.

The microcontroller acts as a square-wave generator feeding the filter with both clock and input signals. The filter's cut-off frequency is 1/100 of the clock frequency. The user can modify the frequencies through a serial monitor program from the PC. The algorithm works as follows:

The microcontroller clocks the filter with a 100kHz square wave. The input frequency of the filter is 1kHz. The eighth-order elliptic filter's sharp roll off sharply reduces the harmonic amplitudes in a 1kHz square-wave input, thereby producing a near-perfect 1kHz sine wave at its output. A digitally adjustable sine-wave source can be created by adjusting the clock and input frequencies, and while maintaining a ratio of 100:1 between them (using the divider-chain logic or a processor). Figures 3, 4, and 5 show the clock, input, and output signals, respectively.

Figure 3. Clock signal to the filter.
Figure 3. Clock signal to the filter.
Figure 4. Input square wave to the filter.
Figure 4. Input square wave to the filter.
Figure 5. Output sine wave.
Figure 5. Output sine wave.

The firmware is developed using an online MBED compiler. The input frequencies can be varied using a serial application like the tera term using the Universal Serial Bus-Universal Asynchronous Receiver/Transmitter (USB-UART) protocol. The microcontroller feeds the filter with the square waves. The firmware is tested. It can be downloaded from the design resources tab. The filter has a cut-off frequency of 10kHz, which needs a clock signal of 1MHz. The firmware is designed to support an input signal range from 0 to 5kHz due to the limitations of the MBED compiler to generate a 1MHz clock signal.

支持与培训

搜索我们的知识库,获取技术问题答案。我们专门的应用工程师团队也会随时为您解答技术问题。