Design of analog phase shifter controlled by microcontroller

Publisher:平和心态Latest update time:2014-11-06 Source: 21ic Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

  Phase shifters are widely used in various circuits, but due to the deviation in the amplifier and the tolerance of the capacitors, it is usually difficult to achieve the precise phase shift required for accurate control of the circuit. The circuit in Figure 1 uses the AD5227 64-step increment/decrement digital potentiometer IC3 to control the phase shift from input to output and replace the resistor value. The formula for calculating the output center frequency is: FCENTER = 1/(2×π×R×C). The AD5227 can take a variety of different ranges of resistor values. The resistor in this example is 10kΩ. By stepping 64 points, the 720kHz input sine wave can cycle from 0 degrees to 360 degrees several times. The AD5227 acts as a potentiometer, with A and B as the two ends and W as the wiper.

 

  Figure 1 PIC16F84 sets the resistance of the AD5227 digital potentiometer to accurately control the output phase shift about the analog input

 

  In this example, a PIC16F84 microcontroller IC2 with a 20MHz crystal frequency is used. This microcontroller has a theoretical potential performance of 5MIPS and can be used for many purposes in a phase-locked loop (PLL) circuit. The AD5227 can also be controlled by any microcontroller, even a field programmable gate array (FPGA).

Reference address:Design of analog phase shifter controlled by microcontroller

Previous article:Design of stepper motor control driver based on single chip microcomputer and L297/L298 chip
Next article:Simplifying embedded system connectivity design

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号