## Improve Your Circuit Manufacturing Yield With Monte Carlo Analysis In PSpice! (Part 4 of 4)

To begin with this blog, it's important to be clear on what exactly does Manufacturing Yield mean? Formally, the definition of Yield states:

## Circuit Maufacturing Yield:

Here's a simple graphical way to understand the meaning of Circuit Yield, refer to **Figure 1 (below) **

** Figure 1: Simple Yield Diagram of any Circuit**

The above Yield Figure shows that the circuit will work between the limits Pmin and Pmax with an approximate yield of a little less than 100%. Also, note that yield is best in the region around P average when probability is the highest.

Why is such a Yield graph helpful for any circuit?

## Importance:

It is astonishing that today a circuit designer can quantify failures before beginning mass manufacturing of the boards.

Let's understand the importance with two more examples- If you are producing large quantity of PCB boards, you would worry about even 0.1% rejection. When building mission critical project for Military/ Space application, you cannot afford to have your design fail in any scenario. Thus, you would keep minimal/ no variation of components in your design. Monte Carlo comes to your rescue in such situations! With Yield prediction, you can evaluate if tighter component tolerances (at a higher cost) will be better for your product/ design. Else, lower tolerance components can save you a lot of money.

Would you not like to achieve 100% yield? Be sure that your design is "truly" ready for mass production. Monte Carlo statistically predicts behavior of any circuit for a set of varied component values within their tolerance range. It calculates yield and presents it in an easy to understand graphical format (**like Figure 4**), so you can balance yield and cost.

Let's look at the easy steps required to perform Monte Carlo Analysis in PSpice,

## Flow For Monte Carlo Analysis:

## Circuit Used For Monte Carlo Analysis:

**Figure 2****: RF Amplifier Circuit **

The design shown in **Figure 2 (above)** is same as the one we used in Blog 3 (on Smoke Analysis) after Transistor Replacement. Going back to the steps required for performing Monte Carlo Analysis, we have already assigned the Tolerances and set the Measurement expressions in Blog 1 (on Sensitivity Analysis). All we have to do is run Monte Carlo Analysis on this design after giving appropriate values as shown in Profile Settings tab below **(****Figure 3****)**

## Running Monte Carlo Analysis (Profile Settings):

* *** Figure 3****: Profile settings required before running Monte Carlo Analysis**

**Understanding Setting Options:**

**Understanding Setting Options:**

**Number of Runs**: This is the number of times the selected simulation profiles will be run. For each run, component parameters with tolerances will be randomly varied. More the simulation runs, more accurate the yield prediction. Better the yield, more the profit margin!**Starting Run number**: The default starting run number is one. This is the nominal run.**Random Seed Value**: The random number generator uses this value to produce a sequence of random numbers for Monte Carlo Simulation**Number of Bins**: This value determines the number of divisions in the histogram

Monte Carlo calculates a nominal value for each measurement using the original parameter values. After the nominal runs, algorithm randomly calculates the value of each variable parameter based on its tolerance with a flat (uniform) distribution or a Gaussian distribution function. For each profile, it uses the calculated parameter values, evaluates the measurements, and saves those values.

After running Monte Carlo analysis on this design, the output window looks like **Figure 4 (below) **

## Monte Carlo Output Environment:

** ****Figure 4****: Output window after performing Monte Carlo Analysis**

The graph above displays the range of measurement values along the X-axis and the number of runs with those measurement values along the Y-axis. Probability Distribution can be displayed in either Probability Distribution Function (PDF) or Cumulative Distribution Function (CDF) graph.

Note, that the measurements are the same we used in Blog 1, 2 and 3 of Gain, Bandwidth, Noise Figure and Output Noise. Monte Carlo Analysis calculated the yield for each of these measurements varying the tolerance range of each component in the circuit, thus giving a holistic realization any circuit's capability.

For this circuit, the selected Bandwidth measurement in **Figure 4** shows that the Yield is 100% for the entire frequency range from 0.14 GHz to 0.17 GHz. Same applies for the other three measurement values. It simply means that all our goals are met with perfection within the specified frequency range which is great!

## Generic SPICE Technology vs PSpice AA Technology:

Let's wrap this Tech Blog series with a value proposition for each PSpice Advanced Analysis capability that we have,

** ****Figure 5****: Overall PSpice Advanced Analysis Capabilities**

Thus, you can leverage PSpice Advanced Analysis to reduce design cost, improve design reliability, engineer's productivity and manufacturing yield.

Utilize Monte Carlo Analysis within PSpice Advanced Analysis to increase the Yield of any circuit design.

Refer to the other 3 blogs of this series here,

1. Know How Your Circuit Works!- Using Sensitivity Analysis In PSpice (Part 1 of 4)

2. Grab A Coffee And Let Optimizer In PSpice Do The Work For You! (Part 2 of 4)

3. Make Reliable Designs That Won’t Fail In The Real World!- Use Smoke Analysis In PSpice (Part 3 of 4)

Video reference: Leverage PSpice Advanced Analysis to reduce design cost, improve design reliability, engineer's productivity and manufacturing yield.

Try the OrCAD free version yourself and start applying these Advanced Analysis capabilities on one of the many demo designs available in there.

## LP

Nice article guys, thanks! I feel that I'm much better now!

## The cost of adult braces and

The cost of adult braces and Invisalign will depend on several factors. To get an answer to the question, “how much do braces cost UK?”, it is important to look at a few things

## Such posts are good for electrical engineers

Such posts are good for electrical engineers but I am interested to use this for completing my next https://cheapessayswritingservice.com/coursework-help-service online assignment work.I am thankful to you for this. Good job.

## yourself and start applying

yourself and start applying these Advanced Analysis capabilities on one of the many demo real estate Hungary

## has been doing astonishing

has been doing astonishing work in the marketing of this producthouse clearance## great content that I will now

great content that I will now analyze for a long time

## and start applying these

and start applying these Advanced Analysis capabilities on one of the many everipedia crime scene cleanup

## It is well noted that circuit

It is well noted that circuit repair takes alot of time. When we look Monte Carlo it is a method that is well improved.

Cynthia | Ac repair Las Vegas

## Olson

Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know.

kalknagels behandelen

## I can not thank you

I can not thank you sufficiently for the articles on your web-site. I know you place a lot of time and energy into these and hope you know how considerably I enjoy it.

focuspropertyinvestments.com

## Nice post.

Nice post.

## The Avenir Showflat

Hi to everybody, here everyone is sharing such knowledge, so it’s fastidious to see this site, and I used to visit this blog daily

The Avenir Showflat

## The Landmark

Thanks for the informative and helpful post, obviously in your blog everything is good..

The Landmark

## no bake cookies

Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing. no bake cookies

## It has fully emerged to crown

It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. lyric sunflower

## Please give you a comforting

Please give you a comforting hug. You guys have done well. I hope good things will come to you ❤️ unblocked games