Author Topic: Resistor combination calculator  (Read 19309 times)

0 Members and 1 Guest are viewing this topic.

Offline EliminateurTopic starter

  • Regular Contributor
  • *
  • Posts: 179
  • Country: ar
  • Electronic's Technician
Resistor combination calculator
« on: January 07, 2011, 09:52:15 pm »
Here's the short version:
I have a large bunch of assorted resistors WITH assorted tolerance values and i'm currently building a circuit and i require some weird nonstandard values(and standard as well).
Before going to the electronics store, i might as well check wheter i have or can combine any of my resistors for this purpose.
So my plan/what i need is:
1) Enter all the resistors i have, ammounts, tolerance(AND maybe power) into a spreadsheet(google docs, maybe excel, whatever works best)
2) Put my desired resulting value and tolerance and with some mathematic mumbo-jumbo the program/spreadsheet returns the combination(parallel/series/combination para-series) that will result into my value(taking tolerance into account(in the simplest way only take into account <X tolerance resistors, in more complex scenario, take all tolerances into consideration and see if results falls into resulting tolerance).
could also put another option to chose a limit on how many resistors you desire in the result.

i've been googling for something like this but the closest i've found is a website that allows you to enter a certain number of resistors and your desired value, but it's far limited as the data sample is too small to be of use.

¿any ideas on the math i should do(i can't remember squat about advanced math/calc/stats from uni, always hated it hehe), the workflow or program to use?(one of my ideas is to make a program for this into my Casio 9800G calculator, but that would leave me with the data stranded there, and my other more advanced calc i haven't got the slightest clue how to program it).

i don't know what would be the optimal path for the program(even if the loops aren't the best) to determine a value or return an error if it's impossible(and returning the resulting value and what resistor you need).

what would be best?, try summatory of values <desired and record closest matches(and what would be "closest"?), then try parallel(but with how many parallels?, 2, 3, 4, 10?), and then try combination?(and how do you chose how to cobine them?
meh, i'm so lost in this...

cheers!
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Resistor combination calculator
« Reply #1 on: January 07, 2011, 09:55:16 pm »
Here is your calculator

http://en.wikipedia.org/wiki/File:Nomogramparallelresistance.svg

From those days when men were still men, and engineers still engineers.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline EliminateurTopic starter

  • Regular Contributor
  • *
  • Posts: 179
  • Country: ar
  • Electronic's Technician
Re: Resistor combination calculator
« Reply #2 on: January 08, 2011, 01:05:30 am »
i don't quite follow how that could help me as it's a graphical aid for calculating parallel resistance whilst i need a loop approach for method decision and minimization of difference/components.

thanks anyway
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: Resistor combination calculator
« Reply #3 on: January 08, 2011, 08:34:43 am »
I have used my Resistor optimizer for some time now. It has been quite adequate for practical problems, despite the "brute force" approach.

Regards,
Janne
 

Offline saturation

  • Super Contributor
  • ***
  • Posts: 4787
  • Country: us
  • Doveryai, no proveryai
    • NIST
Re: Resistor combination calculator
« Reply #4 on: January 08, 2011, 01:24:54 pm »
Nice!  Thank you.

For my need I calculate non-precision resistances usually by determining current I need to find the wattage value to use, then just use a combo of 100kohm values I stock to zero in on the resistance I need.  This is apart from the capacitance and inductance such combos cause in precision requirements.

A single value like 100k in parallel/series combos can give a host of combinations you can use to zero in on the value you really need; its easier than stocking a lot of different types of values for resistors.

Successive 100K in parallel will yield:

50, 33, 25, 20, 17, 14.3, 12.5 etc., then mix series and parallel values until the value you need is won.




I have used my Resistor optimizer for some time now. It has been quite adequate for practical problems, despite the "brute force" approach.

Regards,
Janne
« Last Edit: January 08, 2011, 01:48:55 pm by saturation »
Best Wishes,

 Saturation
 

Offline johnmx

  • Frequent Contributor
  • **
  • Posts: 285
  • Country: pt
Best regards,
johnmx
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Resistor combination calculator
« Reply #6 on: January 08, 2011, 05:59:55 pm »
i don't quite follow how that could help me as it's a graphical aid for calculating parallel resistance whilst i need a loop approach for method decision and minimization of difference/components.
You failed to understand how it can be used.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Online blackdog

  • Frequent Contributor
  • **
  • Posts: 739
  • Country: nl
  • Please stop pushing bullshit...
Re: Resistor combination calculator
« Reply #7 on: January 08, 2011, 07:15:16 pm »
Hi Eliminateur :-)


Try this little program, download is from my server => www.bramcam.nl/Rescalc.exe
It wil help you with parrralel resistors.

Maybe this Spreadsheet is also helpful => www.bramcam.nl/Electric-Excel.xls

Kind regarts,
Bram
Necessity is not an established fact, but an interpretation.
 

Offline EliminateurTopic starter

  • Regular Contributor
  • *
  • Posts: 179
  • Country: ar
  • Electronic's Technician
Re: Resistor combination calculator
« Reply #8 on: January 10, 2011, 06:40:42 pm »
oops, sorry for the delay, i was convinced i had setup the notify on reply but no... anyway, ive been looking at your posts and letme go by order:

@jahonen: excellent soft it's almost what i had in mind, but i don't quite inderstand what's "upper and lower" resistors and it seems oriented for voltage divider, i don't quite follow it (for example, to use series alone, do i put the same value in to/from, then check series, ignore division factor, check available values and choose how many resistors in series to consider?, am i wrong?).

@saturation: i already have this bunch of precision/non precision resistors and want to see what if i could accomplish the values i need with them, if i need to go get new resistors, it defeats the initial purpose.

@johnmx: umfortunately not what i was looking for, that rescad soft you input a value and it tells you what closest Exx values you need to accomplish it and with what error, seeing as to reach a value i can use thousands of combinations with the resistors i have at hand it's not of much use.

@boredatwork: explain it.

@blackdog: similar to rescad it's for the reverse path of what i need(you need an X value and the program tells you the Exx combinations closest for it, then you go buy them/check those specific values), but again, i add a layer of complexity in that the soft should check not a Exx range, but a finite list of existing resistors to make the combinations(and it also uses a 2-resistor limit). All in all it's almost there but on the reverse path ;).
What it is is extremely useful to find the combination(or direct value) for a resistor you just calculated in your circuit based on Exx values.
I like how it presents the other results below, so far i think it's the closest to what i need

Nice spreadsheet, i'll save it for future use(doesn't has what i need for this problem as well)

thanks everybody, now to see if the circuit works... :D
 

Online blackdog

  • Frequent Contributor
  • **
  • Posts: 739
  • Country: nl
  • Please stop pushing bullshit...
Re: Resistor combination calculator
« Reply #9 on: January 10, 2011, 08:34:53 pm »
Hi,

Maybe this program can help you a little...

www.bramcam.nl/Res-Optimizer.zip

Unzip en run the ResOpt.exe, Make a copy of the E96.res name it "Myres.ser" edit this file with "Notepad", put your values in it and save.
Now your happy ;-)

It uses a text file for the resistor values, you can put your resistors in it :-)

Kind regarts,
Bram
Necessity is not an established fact, but an interpretation.
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: Resistor combination calculator
« Reply #10 on: January 10, 2011, 09:14:33 pm »
@jahonen: excellent soft it's almost what i had in mind, but i don't quite inderstand what's "upper and lower" resistors and it seems oriented for voltage divider, i don't quite follow it (for example, to use series alone, do i put the same value in to/from, then check series, ignore division factor, check available values and choose how many resistors in series to consider?, am i wrong?).

Yes, the resistor optimizer was originally for optimizing the dividers, but there is a parallel resistor optimizer tab available which lets you to optimize parallel combinations of resistors to achieve specified target resistance.

I'm working on a new version, which has some enhancements, like series optimizing for target resistance and taking source and load resistances into consideration when optimizing dividers (I actually needed that feature).

Regards,
Janne
 

Offline EliminateurTopic starter

  • Regular Contributor
  • *
  • Posts: 179
  • Country: ar
  • Electronic's Technician
Re: Resistor combination calculator
« Reply #11 on: January 11, 2011, 04:59:34 pm »
@jahonen: looking forward to new version, because atm it can only calculate parallel combinations, does not take serial into account.

a combination of rescalc and resitor optimizer would be awesome(bad thing about rescalc is that it only takes 2 resistors into account for serial resultants.

@blackdog: yeah it's the same one that was posted before, i'll load my values into excel then export it to txt and see what happens :S

can you believe that my 2 largest local electro-shops almost do not stock 1% resistors.... :'(
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: Resistor combination calculator
« Reply #12 on: January 11, 2011, 07:27:46 pm »
@jahonen: looking forward to new version, because atm it can only calculate parallel combinations, does not take serial into account.

a combination of rescalc and resitor optimizer would be awesome(bad thing about rescalc is that it only takes 2 resistors into account for serial resultants.

FYI, the new 0.45 version should be available now on the URL I posted before. Check it out! :)

Note that although optimization using nominal value might get the value you are after, it does not improve tolerances. So resultant resistor still has bad tolerance. And of course, LC-parasitics will be multiplied compared to single resistor, sometimes that matters.

Regards,
Janne
 

Offline EliminateurTopic starter

  • Regular Contributor
  • *
  • Posts: 179
  • Country: ar
  • Electronic's Technician
Re: Resistor combination calculator
« Reply #13 on: January 11, 2011, 07:56:38 pm »
downloading....
i'm not expecting better tolerance, it's just that i simply can't get the values i need here(we're in the stone age of electronics, for example, you simply cannot get any smd components at all).

luckily my design is pure constant DC so i don't care about LC-values going haywire
 

Offline EliminateurTopic starter

  • Regular Contributor
  • *
  • Posts: 179
  • Country: ar
  • Electronic's Technician
Re: Resistor combination calculator
« Reply #14 on: January 17, 2011, 05:22:31 pm »
absolutely fantastic Janne, you deserve a box of cookies!

Process was: inputting values in K in excel(along with quantity), exporting as CSV, replacing ";" and . to ,

fiddling with number of resistors to get optimal results and deleting(or not) from source file if i depleted said value...
not the most direct method but pretty straightforward and works like a charm!

turns out i could build all the resistors i needed from the assorted box!, this just saved me a ton of cash and grief(large distributors that carry 1% resistors would only ship for orders >25$, and i needed at most 1~2$ worth of resistors...., PLUS the shipping charge, another 10$~)

now ontowards the build! :P
 

Offline brian1taylor

  • Newbie
  • Posts: 3
Re: Resistor Combination Chart Calculator
« Reply #15 on: May 18, 2014, 01:52:10 am »
Hi all,

For your information attached is a resistor combination chart I've used before. It is from Electronic Australia 1975 and contains the original Fortran program which I've transposed to C#. I like it because it shows all the best combinations in a couple of pages. A high resolution of the original is available at:
http://www.logostechnology.com/ResistorCombinationChart.pdf

Brian
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5029
  • Country: ro
  • .
Re: Resistor combination calculator
« Reply #16 on: May 18, 2014, 07:07:37 am »
There is another thread about a resistor calculator on this forum. Not to say that your contribution isn't appreciated, just point out that there are already some alternatives.

There's also the online solution of using Wolfram Alpha for example, which was mentioned in one of those other threads: http://www.wolframalpha.com/input/?i=1234+Ohm  Scroll down and you will see the engine giving you suggestions of series/parallel resistors to get to that value.
 

Offline LukeW

  • Frequent Contributor
  • **
  • Posts: 686
Re: Resistor combination calculator
« Reply #17 on: May 18, 2014, 11:07:16 am »
http://jansson.us/resistors.html

I like this site. Find a match to the closest E-series preferred value with whichever series you want, using either a single resistor or series/parallel combo.

You can also do voltage divider calculations (eg. for opamp or regulator feedback) choosing E-series values combined to match your desired ratio most accurately.
 

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #18 on: July 21, 2016, 05:01:55 am »
I'll just let this here:
http://caffeineowl.com/electronics/calcs/rescomb/index.html

JavaScript based (uses your browser), series/parallel or both, allows custom subsets of E12/E24, goes up to 4 resistor networks with a full E12 in input, 3 for E24, up to 6 resistor combinations for limited number of the input set.

Cheers

 
 

Offline Kirr

  • Regular Contributor
  • *
  • Posts: 66
  • Country: jp
Re: Resistor combination calculator
« Reply #19 on: July 21, 2016, 06:09:26 am »
Here is one another calculator: Resistor Network Finder

Supports configurable stock (series, bases, range, gaps, extras), configurable target error, finds networks of up to 6 resistors including bridges, supports a list of target resistances. Runs on server side, so it's quite fast and won't freeze the browser (the downside is that in the unlikely event of too many requests the server might slow down). It's currently limited to 20 million networks per search.

It also shows the schematic of each found network. :)

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #20 on: July 21, 2016, 08:59:39 am »
Runs on server side, so it's quite fast and won't freeze the browser
Did the other one freeze yours? (is meant to work one a separate thread, WebWorkers and stuff).
If it did, what browser have you used?
 

Offline Kirr

  • Regular Contributor
  • *
  • Posts: 66
  • Country: jp
Re: Resistor combination calculator
« Reply #21 on: July 21, 2016, 09:12:18 am »
Runs on server side, so it's quite fast and won't freeze the browser
Did the other one freeze yours? (is meant to work one a separate thread, WebWorkers and stuff).
If it did, what browser have you used?
No, but some other JavaScript-based one did (forgot now which one). By the way, congrats on a very nice tool! The dynamically updating list of matches looks great. I will soon add it to my list of calculators.  :-+ (By any chance, do you have any interest in making a network solver too?)

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #22 on: July 21, 2016, 10:25:18 am »
By the way, congrats on a very nice tool!
The dynamically updating list of matches looks great. I will soon add it to my list of calculators.  :-+
Thanks.
BTW, get on github, download it as a zip, unpack in a directory at you liking, start index.html and you get it no matter if the caffeineowl server goes down.
Well, almost... some browsers are more finicky.

(By any chance, do you have any interest in making a network solver too?)
You mean resolving currents in a resistor network (Kirchhoff and the like)?
If not, what do you mean?
 

Offline Kirr

  • Regular Contributor
  • *
  • Posts: 66
  • Country: jp
Re: Resistor combination calculator
« Reply #23 on: July 21, 2016, 04:00:58 pm »
BTW, get on github, download it as a zip, unpack in a directory at you liking, start index.html and you get it no matter if the caffeineowl server goes down.
Well, almost... some browsers are more finicky.
Thanks, and nice of you to share your code. I should probably clean up and share my code too.

(By any chance, do you have any interest in making a network solver too?)
You mean resolving currents in a resistor network (Kirchhoff and the like)?
If not, what do you mean?
I mean finding the equivalent resistance between any two nodes of an arbitrarily complex resistor network. It's a kind of opposite problem compared to finding the replacement network for a missing resistor value. When finding the network, you try to find the best network for specified value. When solving, you are given a network, and now you are trying to find the equivalent resistance. This is a fascinating problem, especially if the network is large.

Offline mathsquid

  • Regular Contributor
  • *
  • Posts: 247
  • Country: us
  • I like math.
Re: Resistor combination calculator
« Reply #24 on: July 22, 2016, 12:24:24 am »
I mean finding the equivalent resistance between any two nodes of an arbitrarily complex resistor network. It's a kind of opposite problem compared to finding the replacement network for a missing resistor value. ... This is a fascinating problem, especially if the network is large.

Yes it is. There is a known solution for computing the resistance between any two points in a given network of resistors, but you need something like MATLAB or SageMath to compute it, because it involves taking the Moore-Penrose pseudoinverse of a noninvertible matrix. If you google "resistance distance", the formula is on the wikipedia page, but it's not the best explanation. The paper by Klein and Randic (http://link.springer.com/article/10.1007/BF01164627) has a good explanation, but unfortunately there doesn't seem to be a copy of it on the web. PM me if you want a copy.

 
The following users thanked this post: Kirr, acolomitchi

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #25 on: July 22, 2016, 12:46:03 am »
I mean finding the equivalent resistance between any two nodes of an arbitrarily complex resistor network. It's a kind of opposite problem compared to finding the replacement network for a missing resistor value. When finding the network, you try to find the best network for specified value. When solving, you are given a network, and now you are trying to find the equivalent resistance. This is a fascinating problem, especially if the network is large.
"Arbitrary complex resistor network"...hmmm... nerd sniping, are you? :)

From a pragmatical point of view, I'll say that the UI is going to take more effort that I can put in - if you volunteer to write the user interface and provide me the connectivity network (resistance between node i,j), then I'll consider.

As for the actual computation, I'd go on this path: Simplifying complex resistor networks - for pragmatical real-world network resistors (on the order of hundreds up to 1000) would be feasible even in browser.

If linear system solving is too trivial (it's only O(N3) complexity... with a little bit of elbow grease maybe a O(N2 log(N)), then I can think of an approach of NP-complexity that is very simple to program:
1. linearity of the system conduces to: the conductance of a resistor network between two nodes is the sum of conductances of all simple paths between the two nodes considered.
2. plug in a simple algo to enumerate all the simple (no node repetition) paths between the two nodes - problem already known as NP hard (come on, don't be a wimp, what those computers are for anyway?) - compute the conductances, invert and come back with the answer.

Speaking of nerd-sniping: have fun analyzing this one.
 
The following users thanked this post: Kirr

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #26 on: July 22, 2016, 01:38:06 am »
The paper by Klein and Randic (http://link.springer.com/article/10.1007/BF01164627) has a good explanation
Thanks for the ref.
 

Offline Kirr

  • Regular Contributor
  • *
  • Posts: 66
  • Country: jp
Re: Resistor combination calculator
« Reply #27 on: July 22, 2016, 03:04:28 am »
I mean finding the equivalent resistance between any two nodes of an arbitrarily complex resistor network. It's a kind of opposite problem compared to finding the replacement network for a missing resistor value. ... This is a fascinating problem, especially if the network is large.
Yes it is. There is a known solution for computing the resistance between any two points in a given network of resistors, but you need something like MATLAB or SageMath to compute it, because it involves taking the Moore-Penrose pseudoinverse of a noninvertible matrix. If you google "resistance distance", the formula is on the wikipedia page, but it's not the best explanation. The paper by Klein and Randic (http://link.springer.com/article/10.1007/BF01164627) has a good explanation, but unfortunately there doesn't seem to be a copy of it on the web. PM me if you want a copy.
Thanks for the reply! (PM sent).

So far I've been just toying with the naive approach to solving, that is, repeatedly applying the star-mesh transform to eliminate the nodes one by one. Surprisingly it works not too bad (or, at least much better than I expected). I'm curious if matrix-based approaches are known to be much faster.

In general, I guess we can distinguish different levels of a solution (when finding the equivalent resistance):
1. Approximate solution (perhaps using numerical approaches).
2. Exact answer. This is what I'm trying to do.
3. Symbolic answer. (A formula for a given topology).

I just wonder what is the fastest (or most scalable) method for each of the three cases, for large networks. In case of symbolic answer, the formula could grow fast with network size. But the other two should scale to thousands of resistors.

Offline Kirr

  • Regular Contributor
  • *
  • Posts: 66
  • Country: jp
Re: Resistor combination calculator
« Reply #28 on: July 22, 2016, 03:14:44 am »
"Arbitrary complex resistor network"...hmmm... nerd sniping, are you? :)
Well may be just a little. Actually it took some self-control to stop myself from posting that same link. :)

From a pragmatical point of view, I'll say that the UI is going to take more effort that I can put in - if you volunteer to write the user interface and provide me the connectivity network (resistance between node i,j), then I'll consider.
I decided to just make it a text input box, thus skipping the GUI design entirely.

As for the actual computation, I'd go on this path: Simplifying complex resistor networks - for pragmatical real-world network resistors (on the order of hundreds up to 1000) would be feasible even in browser.

If linear system solving is too trivial (it's only O(N3) complexity... with a little bit of elbow grease maybe a O(N2 log(N)), then I can think of an approach of NP-complexity that is very simple to program:
1. linearity of the system conduces to: the conductance of a resistor network between two nodes is the sum of conductances of all simple paths between the two nodes considered.
2. plug in a simple algo to enumerate all the simple (no node repetition) paths between the two nodes - problem already known as NP hard (come on, don't be a wimp, what those computers are for anyway?) - compute the conductances, invert and come back with the answer.
Interesting. I wonder how that would perform for large networks.

Speaking of nerd-sniping: have fun analyzing this one.
Well I guess you mean the resistor mesh on the right? It's too small for a good benchmark, but may it can serve as a well known example. Good idea!

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #29 on: July 22, 2016, 03:54:48 am »
In general, I guess we can distinguish different levels of a solution (when finding the equivalent resistance):
1. Approximate solution (perhaps using numerical approaches).
2. Exact answer. This is what I'm trying to do.
3. Symbolic answer. (A formula for a given topology).

I just wonder what is the fastest (or most scalable) method for each of the three cases, for large networks. In case of symbolic answer, the formula could grow fast with network size. But the other two should scale to thousands of resistors.
Just from curiosity, is there any practical consideration in the problem (perhaps outside EE)?
Is so, would you mind to share?
 

Offline The Electrician

  • Frequent Contributor
  • **
  • Posts: 743
  • Country: us
Re: Resistor combination calculator
« Reply #30 on: July 22, 2016, 08:01:29 am »
So far I've been just toying with the naive approach to solving, that is, repeatedly applying the star-mesh transform to eliminate the nodes one by one. Surprisingly it works not too bad (or, at least much better than I expected). I'm curious if matrix-based approaches are known to be much faster.

In general, I guess we can distinguish different levels of a solution (when finding the equivalent resistance):
1. Approximate solution (perhaps using numerical approaches).
2. Exact answer. This is what I'm trying to do.
3. Symbolic answer. (A formula for a given topology).

I just wonder what is the fastest (or most scalable) method for each of the three cases, for large networks. In case of symbolic answer, the formula could grow fast with network size. But the other two should scale to thousands of resistors.

The network to be solved can be represented as an admittance matrix.  The graph theory people would call this the "Laplacian matrix".  See:

https://en.wikipedia.org/wiki/Laplacian_matrix

This explanation assumes that all the resistors (conductances) in the network are all 1 ohm, but a network with any value resistors can be solved the same way.  A network being analyzed by an EE would usually have one node grounded, the reference node.  In this case, the admittance matrix (Laplacian matrix) is not singular, so the Moore-Penrose matrix need not be calculated; just a plain old ordinary inverse will do the job.  Having the inverse, the two nodes between which the resistance is wanted define a 2x2 submatrix in the inverse.  If the admittance matrix of the network under consideration is denoted Y, its inverse can be denoted Z.

If there are N nodes in the network, the the element of the Z matrix corresponding to node j will be Zjj.  If we want the resistance between nodes j and k, we need to do some arithmetic on four elements of the Z matrix.  The desired resistance is given by Req = Zii+Zjj-Zij-Zji

See: https://en.wikipedia.org/wiki/Resistance_distance

A network of the sort beloved by the graph theorists probably won't have one node grounded, so in that case the admittance matrix Y will be singular, and the Z matrix will be the Moore-Penrose pseudoinverse.  Once the pseudoinverse is calculated, we have again Req = Zii+Zjj-Zij-Zji

I can calculate the pseudoinverse on my HP50G calculator for numerical admittance matrices up to order 10 in only a few seconds.
 
The following users thanked this post: Kirr

Offline Kirr

  • Regular Contributor
  • *
  • Posts: 66
  • Country: jp
Re: Resistor combination calculator
« Reply #31 on: July 22, 2016, 08:06:47 am »
Just from curiosity, is there any practical consideration in the problem (perhaps outside EE)?
Is so, would you mind to share?
This paper talks about application for electrostatic discharge analysis: http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=5356296

"Large resistor networks arise during the design of very-large-scale integration chips as a result of parasitic extraction and electro static discharge analysis. Simulating these large parasitic resistor networks is of vital importance, since it gives an insight into the functional and physical performance of the chip."

For non-EE example, I saw resistor networks used in electrical impedance tomography research. Also there seems to be a large amount of research on random and diluted resistor networks, but I'm not sure how much of it is practical.

The simplest practical use is verifying resistor networks found by a network finder. :)

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #32 on: July 22, 2016, 09:54:02 pm »

A network of the sort beloved by the graph theorists probably won't have one node grounded, so in that case the admittance matrix Y will be singular, and the Z matrix will be the Moore-Penrose pseudoinverse.
The thing I don't get is: why the matrix is singular? A singular matrix usually denotes a "not enough constrained" system, with linearly dependent rows, leading to possibly many solutions when involved in a system of equations.

In practice, a (non-disjoint) network will always have one and only one resistance between any two nodes, why would one need to introduce the assumption of one node linked to the ground?
 

Offline The Electrician

  • Frequent Contributor
  • **
  • Posts: 743
  • Country: us
Re: Resistor combination calculator
« Reply #33 on: July 22, 2016, 10:26:20 pm »

A network of the sort beloved by the graph theorists probably won't have one node grounded, so in that case the admittance matrix Y will be singular, and the Z matrix will be the Moore-Penrose pseudoinverse.
The thing I don't get is: why the matrix is singular? A singular matrix usually denotes a "not enough constrained" system, with linearly dependent rows, leading to possibly many solutions when involved in a system of equations.

In practice, a (non-disjoint) network will always have one and only one resistance between any two nodes, why would one need to introduce the assumption of one node linked to the ground?

Because voltage is a relative quantity.  Voltmeters have two probes for a reason.  You must measure voltages between two points.  If you had a network of resistors floating in the air, and you wanted to know the voltage at one of the nodes how would you measure it?  So without a reference the voltages at various nodes (taken one at a time) are indeterminate; you can only find voltages between nodes.  Choosing one node as a reference, and conventionally calling it "ground", adds a constraint to the system.  Then the admittance matrix is no longer singular.

PM me a good email address and I'll send you a relevant paper.
« Last Edit: July 22, 2016, 10:29:23 pm by The Electrician »
 

Offline acolomitchi

  • Contributor
  • Posts: 28
  • Country: au
Re: Resistor combination calculator
« Reply #34 on: July 23, 2016, 12:26:25 am »
PM me a good email address and I'll send you a relevant paper.
Done.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf