Super Accurate Resistor Fun

Status
Not open for further replies.

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
Another interesting aspect of this circuit approach is even distribution of current to a set of LEDs:

1698623304438.png

With my power supply connected to the network:



1698623390531.png
So I am powering a large number of LEDs at 15V and around .2 Amps, that is 3 Watts of power.
 

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
Sorry, but I just ran the first 5 terms, on a calculator, and my numbers agree with Ian.

Check your formula.
I understand what you did but most calculators do not have the accuracy that a powerful spread sheet program like Excel has. The double precision numbers have enough accuracy to verify the convergence. Also did you let the number 'go' and not round them? Rounding will also cause a problem with convergence, you cannot round the numbers, it invalidates any formula trying to achieve convergence. I might if I get some time wright a small C program to verify that Excel is accurate. And send you the program. Also did you perform actual board testing with a real circuit? I have and in confirms by calculations.

That is I simply applied the Scientific Method. After the concept I had to prove or disprove it. That required an experiment and the experiment confirms the calculations.
 
Last edited:

WBahn

Joined Mar 31, 2012
32,854
Yes, I know all that. The experiments still have yielded some interesting results. The resistance goes up closer to the target the more bottom rows you add to it. Also the power distribution gets evenly distributed throughout the resistor network. I was able to pull well over 3W of power into the network. You seem to have something against experimentation, but I am not sure what it is? Is not science about experimentation?
The power is NOT evenly distributed.

Let's take your five layers of 1 kΩ resistors. You say that you put well over 3 W into it. So let's use 3 W for discussion.

The total resistance is about 438 Ω. But you claim it somehow converges on 500 Ω. Fine. Let's use that. How much voltage across 500 Ω does it take to get 3 W into it? Would agree that it takes about 39 V? Is that what you are applying?

How much current is flowing in that top layer consisting of a single 1 kΩ? Easy, 39 V / 1 kΩ = 39 mA. How much power does that translate to? Again, easy. 1.521 W. So more than half of the 3 W is being dumped into that single resistor.

How about each of the resistors in the fifth layer, consisting of five 1 kΩ resistors in series? Still not difficult. The current in this string is 39 V / 5 kΩ = 7.8 mA, resulting in a total power dissipating in the entire string of 0.304 W and just 61 mW in each resistor. This is just 4% of the power dissipated in the top resistor.

How can you say that the power is evenly distributed?

What measurements back up that claim? What are the voltages at each node in the network? Are they consistent with this assertion?
 

BobTPH

Joined Jun 5, 2013
11,519
No, it is not accuracy. You do not lose 7 digits with one iteration of the formula:

R = 1/(1/R1 + 1/R2.)

We have exactly the same answer for the first calculation, 2/3, but you are off in the second significant digit on the next one.

1 / (1/(2/3)+ 1/3) = 1 / (3/2 + 1//3)=
1 / (9/6 +2/6) = 1 / (11/6) = 6/11 = 0.54645454

Which is what Ian and I both got.

Show us Excel formula so we can diagnose what you are doing wrong. If you would just measure the damn resistances you would see that you are wrong.

Not only that, but your calculation also contradicts what you said before, that the total resistance is 1 Ohm.

The networks resistance is 1 ohm. And is one ohm no matter how large the mesh is.
 

WBahn

Joined Mar 31, 2012
32,854
Well that looks good on the surface, but you made one major fault, you only used 5 significant digits for the accuracy. You must use something more modern like a double precision floating point numbers. This is in excel and proves it is converging on 0.5 and very quickly at that it only took 21 steps in excel and about 1 minute to make the chart. I took it out to a total 3221 Entries and solid as a rock at 0.5

View attachment 306213
You need to show the equations you used in each cell, because they are wrong.

If you show your formulas, we can help you see the errors.

What is your definition of a "node"? If it's the number of layers in your tree, how can 2 layers have a resistance 1 Ω when that is clearly what you get with just a single layer.
 

WBahn

Joined Mar 31, 2012
32,854
Another interesting aspect of this circuit approach is even distribution of current to a set of LEDs:

View attachment 306217

With my power supply connected to the network:



View attachment 306218
So I am powering a large number of LEDs at 15V and around .2 Amps, that is 3 Watts of power.
Please show the exact schematic -- not some picture of a breadboard that we can't tell what half of the connections are -- of your entire circuit.
 

WBahn

Joined Mar 31, 2012
32,854
I understand what you did but most calculators do not have the accuracy that a powerful spread sheet program like Excel has. The double precision numbers have enough accuracy to verify the convergence. Also did you let the number 'go' and not round them? Rounding will also cause a problem with convergence, you cannot round the numbers, it invalidates any formula trying to achieve convergence. I might if I get some time wright a small C program to verify that Excel is accurate. And send you the program. Also did you perform actual board testing with a real circuit? I have and in confirms by calculations.

That is I simply applied the Scientific Method. After the concept I had to prove or disprove it. That required an experiment and the experiment confirms the calculations.
The current Windows calculator uses far more sig figs than Excel does. But even single precision floating point math is far more than sufficient for the task at hand.

But since you seem to be in awe of Excel, let's see what Excel says.

The first column is the number of resistors in that layer.

The second column is the total resistance of the resistors in that layer.

The third column is the conductance of that layer (which is the reciprocal of the resistance of that layer).

The fourth column is the sum of the conductances of that layer and all of the layers above it.

The fifth column is the corresponding resistance of that layer in combination with all of the layers above it.

1698627065312.png

As you can see, the results match what everyone, except you, is getting.
 

WBahn

Joined Mar 31, 2012
32,854
I understand what you did but most calculators do not have the accuracy that a powerful spread sheet program like Excel has. The double precision numbers have enough accuracy to verify the convergence. Also did you let the number 'go' and not round them? Rounding will also cause a problem with convergence, you cannot round the numbers, it invalidates any formula trying to achieve convergence. I might if I get some time wright a small C program to verify that Excel is accurate. And send you the program. Also did you perform actual board testing with a real circuit? I have and in confirms by calculations.

That is I simply applied the Scientific Method. After the concept I had to prove or disprove it. That required an experiment and the experiment confirms the calculations.
And your measurement disproved your claim right from the very start. You stated that the resistance of the mesh was 1 Ω regardless of how large the mesh was. Your measurement shows that this was not even remotely the case. So how does that experiment confirm your calculations?
 

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
And your measurement disproved your claim right from the very start. You stated that the resistance of the mesh was 1 Ω regardless of how large the mesh was. Your measurement shows that this was not even remotely the case. So how does that experiment confirm your calculations?
You are correct but it did prove one thing, the series does converge on 1/2 of the stated value of 1 ohm.
 

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
No, it is not accuracy. You do not lose 7 digits with one iteration of the formula:

R = 1/(1/R1 + 1/R2.)

We have exactly the same answer for the first calculation, 2/3, but you are off in the second significant digit on the next one.

1 / (1/(2/3)+ 1/3) = 1 / (3/2 + 1//3)=
1 / (9/6 +2/6) = 1 / (11/6) = 6/11 = 0.54645454

Which is what Ian and I both got.

Show us Excel formula so we can diagnose what you are doing wrong. If you would just measure the damn resistances you would see that you are wrong.

Not only that, but your calculation also contradicts what you said before, that the total resistance is 1 Ohm.
My calculation approaches 1/2 of an ohm, yes that is my point it does converge.
 

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
The current Windows calculator uses far more sig figs than Excel does. But even single precision floating point math is far more than sufficient for the task at hand.

But since you seem to be in awe of Excel, let's see what Excel says.

The first column is the number of resistors in that layer.

The second column is the total resistance of the resistors in that layer.

The third column is the conductance of that layer (which is the reciprocal of the resistance of that layer).

The fourth column is the sum of the conductances of that layer and all of the layers above it.

The fifth column is the corresponding resistance of that layer in combination with all of the layers above it.

View attachment 306221

As you can see, the results match what everyone, except you, is getting.
Here is the spreadsheet. Let me know if you see something wrong. It shows convergence to 1/2 of an ohm like I stated.
 

Attachments

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
I want to thank everyone for their contribution to this thread, it has been a great learning experience for me and my hope is that everyone else has found it interesting as well. Thanks.
 

Thread Starter

dcbingaman

Joined Jun 30, 2021
1,065
No, it is not accuracy. You do not lose 7 digits with one iteration of the formula:

R = 1/(1/R1 + 1/R2.)

We have exactly the same answer for the first calculation, 2/3, but you are off in the second significant digit on the next one.

1 / (1/(2/3)+ 1/3) = 1 / (3/2 + 1//3)=
1 / (9/6 +2/6) = 1 / (11/6) = 6/11 = 0.54645454

Which is what Ian and I both got.

Show us Excel formula so we can diagnose what you are doing wrong. If you would just measure the damn resistances you would see that you are wrong.

Not only that, but your calculation also contradicts what you said before, that the total resistance is 1 Ohm.
Getting upset about it is not gentleman like. Please try to remain civil. The word damn is not a good word and it can hurt peoples feelings. What are you thinking?
 

WBahn

Joined Mar 31, 2012
32,854
You are correct but it did prove one thing, the series does converge on 1/2 of the stated value of 1 ohm.
No, it does not. You have an error in your spreadsheet.

Just do the math by hand for four strings.

The resistances of the first four strings are: 1 Ω, 2 Ω, 3 Ω, 4 Ω

The equivalent resistance is:

1/Req = (1 / 1 Ω) + (1 / 2 Ω) + (1 / 3 Ω) + (1 /4 Ω)

But these over a common denominator of 12 Ω

1/Req = (12 / 12 Ω) + (6 / 12 Ω) + (4 / 12 Ω) + (3 / 12 Ω) = 25 / 12 Ω

That makes

Req = (12/25) Ω = 0.48 Ω

There is NO round off error in this calculation AT ALL. The equivalent resistance of just the first four layers is already LESS than 0.5 Ω. There is NO mechanism by which adding additional strings in parallel with the first four is somehow going to raise the total resistance.
 

WBahn

Joined Mar 31, 2012
32,854
Here is the spreadsheet. Let me know if you see something wrong. It shows convergence to 1/2 of an ohm like I stated.
Your speadsheet doesn't show anything of the sort.

You have hardcoded the first two rows in the resistance column to be 1 and 0.666666666666666.

What is the basis for doing that?

Then you are somehow claiming that the total resistance of a network with N+1 layers is somehow equal to one-third of the sum of 1 Ω and the resistance of the N layer network.

What is the basis for that claim?

It makes zero sense from a few perspectives. First, it has no awareness of how many resistors are in the row that is being added to the prior network. Second, where does the magic 1/3 come from?
 

AnalogKid

Joined Aug 1, 2013
12,140
strings​
Parallel resistance​
14​
0.30754​
15​
0.30137​
still not converging​
26​
0.25944​
27​
0.25697​
28​
0.25464​
29​
0.25242​
30​
0.25031​
still not converging​
66​
0.20945​
67​
0.20880​
68​
0.20816​
69​
0.20753​
70​
0.20692​
still not converging​
71​
0.20632​
72​
0.20573​
73​
0.20515​
74​
0.20458​
75​
0.20403​
still not converging​
76​
0.20348​
77​
0.20294​
78​
0.20242​
79​
0.20190​
80​
0.20139​
still not converging​
81​
0.20089​
82​
0.20040​
145​
0.17994​
still not converging​
146​
0.17972​
147​
0.17950​
148​
0.17928​
149​
0.17907​
150​
0.17885​
still not converging​
151​
0.17864​
152​
0.17843​
153​
0.17822​
154​
0.17802​
155​
0.17781​
still not converging​
156​
0.17761​
157​
0.17741​
158​
0.17721​
159​
0.17701​
160​
0.17682​
still not converging​
161​
0.17662​
162​
0.17643​
163​
0.17624​
164​
0.17605​
165​
0.17586​
still not converging​
166​
0.17568​
167​
0.17549​
168​
0.17531​
169​
0.17513​
170​
0.17495​
still not converging​
171​
0.17477​
172​
0.17459​
173​
0.17442​
174​
0.17424​
175​
0.17407​
still not converging​
176​
0.17390​
177​
0.17373​
178​
0.17356​
179​
0.17339​
180​
0.17322​
still not converging​
181​
0.17306​
182​
0.17289​
183​
0.17273​
184​
0.17257​
185​
0.17241​
still not converging​
186​
0.17225​
187​
0.17209​
188​
0.17193​
189​
0.17177​
190​
0.17162​
still not converging​
191​
0.17146​
192​
0.17131​
193​
0.17116​
194​
0.17101​
195​
0.17086​
still not converging​
196​
0.17071​
197​
0.17056​
198​
0.17042​
199​
0.17027​

What do you mean by "converging"? There are
2 values beginning in 0.30
5 values beginning in 0.25
17 values beginning in 0.20
55 values beginning in 0.17

That looks pretty asymptotic -ish.

ak
 

WBahn

Joined Mar 31, 2012
32,854
What do you mean by "converging"? There are
2 values beginning in 0.30
5 values beginning in 0.25
17 values beginning in 0.20
55 values beginning in 0.17

That looks pretty asymptotic -ish.

ak
The series that is actually not converging is the series

G = 1/1 + 1/2 + 1/3 + 1/4 + ...... 1/N + 1/....

The sum of this series goes to infinity, but we are not interested in G, but rather R = 1/G, which therefore does converge, but to 1/Inf = 0.

Another, more practical, way of thinking about this case is that the sense in it which it doesn't converge is that it doesn't converge to a non-zero value that is dependent on the size of the resistors. Instead, whatever resistor size you choose to use, the limit of the total resistance will always be the same, namely zero.
 

Ian0

Joined Aug 7, 2020
13,132
Well that looks good on the surface, but you made one major fault, you only used 5 significant digits for the accuracy.
Unfortunately not.
It was displayed to 5 decimal places.
Calculated to the best that Open Office Calc can manage, whatever that is.
 
Status
Not open for further replies.
Top