Skip to main content
13 events
when toggle format what by license comment
Feb 28, 2019 at 2:43 answer added D.A.S. timeline score: 0
Jan 31, 2019 at 13:19 comment added felvan I have found PySpice and ahkab where the former provides a python interface to ngspice and the latter is a SPICE-like simulator written in python. I will try to employ my non-existent python skills to achieve what I want. Thanks all for your answers.
Jan 31, 2019 at 13:17 comment added felvan @EdgarBrown I get what you say, however we are not looking for a global extreme, rather an extreme within small variations of component values. So I would assume it shouldn't be to much time consuming to find the extreme points once we have the overall transfer function of the circuit. What I am looking for is to be able to find a generalized way of determining the transfer function of the circuit. Then I think an optimization algorithm can be run to find the extreme points against the component values and their constraints.
Jan 30, 2019 at 20:55 comment added Edgar Brown @felvan The problem with a simplistic worst-case analysis is that for it to provide any meaningful information your circuit must be monotonic with respect to your parameter variations. Any moderately complex circuit will not be monotonic, the actual worst case will generally be at least one peak in a very complex parameter hyper-surface. The only way to explore such space in a reasonable amount of time is by using Monte Carlo techniques in a simulator. For small circuits, a formal sensitivity analysis (done by hand or with a, somewhat rare, algebraic circuit solver) would provide more insight.
Jan 30, 2019 at 20:43 answer added cholz timeline score: 0
Jan 30, 2019 at 15:55 comment added felvan Monte carlo seems to be not the kind of analysis that I want. What is require is worst-case analysis and I added another comment to Elliot's answer.
Jan 30, 2019 at 15:34 comment added Bimpelrekkie As mentioned in Elliot's answer: Monte Carlo analysis is an option. Most circuit simulators have such a function. However, you will need statistical data (information about tolerances) of your components. There is no separate tool, this is part a circuit simulator like LTspice, Qucs. If those names ring no bell then you first have to learn about circuit analysis using a circuit simulator. Only when you are familiar with simulating circuits can you consider doing Monte Carlo analysis.
Jan 30, 2019 at 15:25 review Close votes
Jan 31, 2019 at 20:18
Jan 30, 2019 at 15:23 comment added felvan Analyzing the circuit by hand is ok, however the tricky part is to vary the parameters of each and every component and rerun the analysis, get the results and find the worst or base ones. Which tool can I use for sensitivity analysis?
Jan 30, 2019 at 15:12 answer added Elliot Alderson timeline score: 1
Jan 30, 2019 at 15:11 comment added Bimpelrekkie How does this output change based on the possible changes in the circuit element parameters? That depends entirely on the circuit so you will need to analyze the circuit by hand and/or do a sensitivity analysis using a circuit simulator.
Jan 30, 2019 at 15:05 review First posts
Jan 30, 2019 at 16:20
Jan 30, 2019 at 15:03 history asked felvan CC BY-SA 4.0