LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One-diode model fitting using nonlinear curve fit

I am trying to fit the I-V curve of a solar cell using the one-diode model. The equation of this model is

Basjong53_0-1726480847454.png

The goal is to extract I_0, Rs, Rsh and n. I and V are the variables, the rest are constants.

 

I_ph can be removed, since it's just an offset that is easily found from the data.

Basjong53_1-1726480936308.png

 

Following the suggestions in these topics: Fitting Non-ideal Diode equationnon linear fit for diode equations and 

Fitting transcendental equation, I is moved to the right to format the data for the Non-Linear Curve Fit VI:

Basjong53_7-1726481279065.png

Fit main.png

For the fitting model, I have this:

Fit Model.png

 

Here is an example curve

Basjong53_9-1726481412098.png

 

The issue I'm having is that, although the fitting doesn't give an error, some parameters aren't reasonable:

Basjong53_11-1726482149107.png

The data is very typical of a silicon solar cell, as are the guess parameters. (Rs and Rsh guesses are extracted using the slope of the curve at V=0 and I=0, respectively). I've followed the suggestions of the abovementioned topics, which were said to have worked. Did I do something really wrong?

 

I have attached the VIs with example data.

Download All
0 Kudos
Message 1 of 1
(186 Views)