Post Reply 
Error margins
10-28-2024, 04:59 PM
Post: #8
RE: Error margins
(10-28-2024 03:33 PM)Albert Chan Wrote:  
(10-27-2024 02:51 PM)Thomas Klemm Wrote:  You might consider dual numbers:
Automatic differentiation using dual numbers
Here's an example on how this could be used for a circuit of two parallel resistors.

FYI, this only work with + * (parallel resistance intervals work due to luck)
For - /, we need to flip the sign of 2nd number, to maximize intervals
Other changes may need to adapt to other functions.

If you calculate a value based on measured parameters that are known with uncertainty (error), the canonical way of estimating the uncertainty of the calculated value is to multiply each error by the partial derivative respect to each parameter and then add them all in quadrature (square root of the sum of the squares). This of course assumes small errors as it is a Taylor expansion and statistical independence of the parameters.
Back in college I wrote a program for my 41 that calculated the derivatives numerically and used it to estimate the propagated error.
Funnily enough that lead to the only time in 40 years that I used my 41 for work. I needed to come up with an alternative resistor bridge design using the AD5254 digital pot (30% unit to unit tolerance!) that would not be hopelessly inaccurate. I used the 41 program to quickly evaluate alternatives.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Error margins - Maximilian Hohmann - 10-27-2024, 01:45 PM
RE: Error margins - Thomas Klemm - 10-27-2024, 02:51 PM
RE: Error margins - Albert Chan - 10-28-2024, 03:33 PM
RE: Error margins - born2laser - 10-28-2024 04:59 PM
RE: Error margins - Albert Chan - 10-28-2024, 05:34 PM
RE: Error margins - carey - 10-28-2024, 05:47 PM
RE: Error margins - born2laser - 10-28-2024, 08:35 PM
RE: Error margins - carey - 10-28-2024, 09:37 PM
RE: Error margins - Albert Chan - 10-29-2024, 03:07 PM
RE: Error margins - LinusSch - 10-27-2024, 06:12 PM
RE: Error margins - dm319 - 10-28-2024, 08:23 AM
RE: Error margins - LinusSch - 10-28-2024, 03:02 PM
RE: Error margins - dm319 - 10-28-2024, 03:31 PM
RE: Error margins - raprism - 10-28-2024, 07:24 PM
RE: Error margins - Albert Chan - 10-28-2024, 08:08 PM
RE: Error margins - Thomas Klemm - 10-28-2024, 07:49 PM
RE: Error margins - Mark Power - 10-28-2024, 08:39 PM
RE: Error margins - Thomas Klemm - 10-28-2024, 10:24 PM
RE: Error margins - Thomas Klemm - 11-01-2024, 11:27 AM
RE: Error margins - Thomas Klemm - 11-01-2024, 11:28 AM
RE: Error margins - c3d - 11-09-2024, 09:05 PM
RE: Error margins - raprism - 11-11-2024, 11:41 AM
RE: Error margins - Albert Chan - 11-11-2024, 12:10 PM
RE: Error margins - raprism - 11-11-2024, 12:46 PM
RE: Error margins - Csaba Tizedes - 11-11-2024, 10:18 AM



User(s) browsing this thread: 1 Guest(s)