Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Design View / Design Solution]
Analog Simulation Tools Aid Digital-Control-Circuit Designers
Gain a greater intuitive understanding of system operation by transforming your design into its most fundamental elements for simulation.

David Caldwell  |   ED Online ID #6883  |   December 4, 2003


DESIGN VIEW is the summary of the complete DESIGN SOLUTION contributed article, which begins on Page 2.

Although analog and digital controllers may appear vastly different, their principles of operation are usually quite similar. Therefore, popular analog tools like Spice can still be used to benefit common digital proportional-integral controllers through analysis without spending hours on complex math or a fortune on specialized software.

Merging proven analog and digital technologies may achieve the best of both worlds. Listed are 10 benefits of analog simulation for digital circuits:

  1. Leverage decades of proven analog knowledge.
  2. Enhance intuitive understanding of system dynamics.
  3. Systematic circuit optimization.
  4. Time savings over trial-and-error iterations.
  5. Design validation through multiple-domain operation.
  6. Partition analog and digital circuitry.
  7. Substitute low-cost, high-speed op amps.
  8. Develop valuable education tools.
  9. Share results over multiple platforms.
  10. Free evaluation software is adequate for most circuits.

To give readers a hands-on view of these benefits, a digital infrared controller was developed. The PIC MCU drives current through an infrared emitter with its pulse-width modulator and measures the sensor voltage with its analog-to-digital converter.

The article details the simulation of the IR controller through the use of Spice. Among the topics covered are the voltage-controlled voltage source, which is essentially an ideal op amp that can simulate the controller simply by adding resistors and capacitors. Also discussed is execution of the proportional-integral algorithm in Visual Basic. Detailed Spice results are provided.

HIGHLIGHTS:
A Digital Controller Example A closed-loop controller's function is to maintain a desired response despite system changes and disturbances. An infrared controller was developed for this article to guide the reader through the analog simulation of a digital circuit.
Analog Simulation Of Digital Controllers One of the most popular programs for simulating analog circuits is Spice, thanks to decades of validated operation and ease of access. An analog equivalent of the digital infrared controller executing the proportional-integral algorithm is provided to illustrate the simulation. The algorithm is executed through a PC in Visual Basic for development ease because it's faster and easier than generating firmware.
Spice Results Spice results for various parameters were determined for the example digital controller. For instance, the loop gain showed a 3.25-Hz bandwidth and 72.3° phase margin. The values were calculated automatically by the postprocessor in the evaluation version of Intusoft Spice. Also calculated was the transient step response, which matched the hardware measurement that was reached earlier.


Full article begins on Page 2


<-- prev. page     [1] 2 3 4     next page -->

Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (177 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (168 views today)
    3) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (72 views today)
    4) GPS-Derived Grandmaster Clock Delivers Ultra-Precise Time And Frequency Sync
    (72 views today)
    5) Downconverting Mixers Lower Power Consumption While Improving Performance
    (56 views today)
    ALL TOP 20



    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Email Newsletter
    Sponsored By:
    Electronic Design UPDATE provides readers with late-breaking news, opinions from industry experts, and timely technology stories. It's a unique opportunity to get your product message in front of engineers, engineering managers, and corporate managers while they're reading about critical information online.

    Enter Email to Subscribe
      

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources