Using Simulations for Virtual Prototyping of Electronics

July 28, 2020 Cadence PCB Solutions

Key Takeaways

  • Your new device might start on a breadboard or a development board, but you’ll eventually need to produce some prototypes for functional testing and field testing.

  • Virtual prototyping methods can be used to examine prototype functionality without starting a prototyping fabrication run.

  • This methodology requires simulation tools, which are used to evaluate circuit functionality before prototyping.
    Virtual prototyping for circuit design on a breadboard

You can use virtual prototyping to evaluate a device like this before your first prototyping run.

New electronics are often developed on top of a development board or, for lower speed/frequency devices, using through-hole components on a breadboard. For simpler designs, such as the breadboard arrangement shown above, you won’t need multiple prototyping runs. The design can be laid out in nearly any way you like, and it will probably work as it did on a breadboard. For more complex designs that run at higher speed/frequency, the design most likely needs multiple prototyping runs to ensure signal integrity, power integrity, and functionality match your specifications.

This is where a virtual prototyping methodology is important to ensure your design operates as you intend. Just as you can use simulation tools to help check specific circuits and design choices, you can use simulation tools in your schematic editor to check your overall system functionality after your circuit design is finished. Here’s what you should examine in your circuit with your circuit design tools as part of a virtual prototyping methodology.

How Virtual Prototyping Works

The idea behind virtual prototyping is simple:  use your design software to model a system’s functionality during and after finishing a new design. The goal is to simulate and visualize its behavior in real-world conditions. Ideally, you can identify functionality problems and correct them through an iterative process. These corrections might involve choosing different components, adjusting component values, or changing large portions of a circuit.

Virtual prototyping does not help you prevent errors in your initial design. However, if your design happens to contain errors, either because the engineer or system designer made mistakes, virtual prototyping can help you catch these errors before you start a prototyping run. The end goal is to eliminate design errors that cause a prototype to fail functional testing or in-circuit testing before producing prototypes.

Once design problems are located in simulations, the results can be compared to design specifications, and areas requiring change can be identified. Required design changes should be executed and re-evaluated in a cyclical process until the system reaches the desired specifications. Your simulation tools should give you some trial-and-error sweep features, as you would find in a parametric sweep with a SPICE package. As you design, simulate, and analyze your system, you’ve created an iterative workflow that helps you identify problems and correct them before beginning fabrication runs.

Virtual prototyping flowchart

Virtual prototyping flowchart for circuit and system optimization.

(Alt text: Virtual prototyping flowchart)

https://drive.google.com/open?id=1yRZ9gzBVJwJ_unxBErFM89V0kopHCRCs

There are two types of virtual prototyping simulations that you should perform during the design phase: circuit-level and system-level.

Circuit-Level

A circuit-level simulation should focus on individual circuit blocks. Hierarchical schematics make this type of simulation methodology easy, as you can inspect individual circuits in your design. Your focus should be on functionality within a circuit block, specifically that the circuit outputs at the desired level without exceeding component ratings.

System-Level

A system-level simulation is one step up in the virtual prototyping hierarchy. In fact, within a hierarchical schematic design process, the highest level schematic can be used to define links between circuit blocks and is the location where your system-level simulations should be performed. Your goal is to ensure the overall system produces the desired behavior at its outputs. If you’ve fully optimized your circuit blocks with circuit-level simulations, you shouldn’t need to worry about reliability, except in the case of strong feedback between circuit blocks.

Post-Layout Virtual Prototyping Gets More Realistic

Once you’ve created a PCB layout for a complex system, including a system with mechanical and signal integrity constraints, you can use post-layout simulation and modeling tools to evaluate its behavior and function. This requires different types of software applications:

Post-layout Simulation

These simulation tools fall into two categories: signal integrity and power integrity. Your signal integrity tools are used to calculate metrics like interconnect impedance, reflections along an interconnect, crosstalk, return paths, skew/trace length matching, and other important values. These simulation tools are typically field solvers in that they take data directly from a PCB layout and your schematics, but they are not full-wave EM solvers.

Power integrity simulations also use EM field solvers in your layout data, but they focus on electromagnetic behavior on the PDN. Your goal in these simulations is to ensure that your components always receive stable power. The results you see from these simulations can help you determine if ground potential shifts (i.e., ground bounce) or ripple on the power bus will exceed allowed limits and create signal problems. The best simulation tools will use models that couple signal and power behavior in a single application.

Virtual prototyping in a power-aware signal integrity simulation

Power-aware signal integrity simulations are critical for identifying signal problems in your PCB layout.

(Alt text: Virtual prototyping in a power-aware signal integrity simulation)

Full-Wave Field Solver

These simulations require examining how electromagnetic waves are emitted from your PCB as it operates. Switching components, analog components, antennas, and other elements emit some radiation as they operate. This emitted radiation can create a complex electromagnetic environment around your PCB that is responsible for noise coupling and transfer throughout your system. Noise-sensitive systems and RF systems should always be examined using full-wave field solvers.

Multiphysics Solver

Some points that should be examined with these simulations include airflow and heat flow throughout the system (CFD simulations). Your electronics generate heat, and airflow helps transport some of this heat away from components. This is the type of complex problem that can only be examined with a numerical simulation in a 3D multiphysics field solver.

The common thread among these simulation packages is the need to take data from your layout and build a numerical model for use in your simulations. With the right design and analysis tools, you’ll have everything you need to create a pre-layout and post-layout simulation workflow.

When you need to design your circuits and simulate their behavior in a virtual prototyping methodology, the best PCB design and analysis software help make this process easy. The front-end design features from Cadence integrate with the powerful PSpice Simulator to create the ideal system for circuit design and evaluation. Once you’ve created a PCB layout, Cadence has a suite of SI/PI Analysis Point Tools for post-layout verification and simulation. You’ll have access to a full suite of design and optimization features.

If you’re looking to learn more about how Cadence has the solution for you, talk to us and our team of experts.

 

About the Author

Cadence PCB solutions is a complete front to back design tool to enable fast and efficient product creation. Cadence enables users accurately shorten design cycles to hand off to manufacturing through modern, IPC-2581 industry standard.

Follow on Linkedin Visit Website More Content by Cadence PCB Solutions
Previous Article
Where Can You Find Crosstalk in Your Designs?
Where Can You Find Crosstalk in Your Designs?

Controlling crosstalk is one of the most important aspects of signal integrity. Here’s how you can use Alle...

Next Article
The Use of Steady State Thermal Analysis on Power Semiconductor Devices
The Use of Steady State Thermal Analysis on Power Semiconductor Devices

A Steady State Thermal Analysis provides insight into a device’s functionality and performance under extrem...