# Question on setting up a fitting function

hegedus

Fri, 11/20/2009 - 12:50 pm

The independent experimental variable is current, I

The dependent measured variable is voltage, V

The form of the solution is

I = J1(exp(k(V-RsI))-1) + J2(exp(k/2(V-RsI))-1) + (V-RsI)/Rsh

we need to solve for J1, J2, Rs, and Rsh. k is a known value. Note that I appears in both sides of the equation. How would I set up the fitting function? A twist is that while experimentally the current, I, is set and Voltage, V, is measured in graphing V is on the X axis. I have started the discussion that fitting X by Y versus Y by X yield different answers.

Andy Hegedus

Principal MTS

Alta Devices

What if a change the problem a bit:

Change

I = J1(exp(k(V-RsI))-1) + J2(exp(k/2(V-RsI))-1) + (V-RsI)/Rsh

to

g(V,I) = J1(exp(k(V-RsI))-1) + J2(exp(k/2(V-RsI))-1) + (V-RsI)/Rsh -I

where the new function g(V,I) has a value of 0 (zero) at all the points. I can then run a multidimensional fit using V and I as input variables. Does this fly or is the error minimization thrown off?

Andy Hegedus

Principal MTS

Alta Devices

November 20, 2009 at 02:55 pm - Permalink

Another approach would be FuncFit/ODR=3 to do an implicit fit. Read about it:

DisplayHelpTopic "Fitting Implicit Functions"

John Weeks

WaveMetrics, Inc.

support@wavemetrics.com

November 20, 2009 at 03:15 pm - Permalink