correlation b/w to Diode I_V curves
์กฐํ ์: 3 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
i have two I-V curves of an diode.. one is simulated result another is by equation solving using matlab . Now i have to calculate error between both the curves...Please mention best way of doing it by matlab..
Thank you
๋๊ธ ์: 1
Rosemarie
2014๋
6์ 20์ผ
Hi Raju,
How did you get the I values using Matlab? Did you have to iterate values for the 5 parameters (Photocurrent, exchange current density, ideality factor, Series and shunt resistances) then eventually solved for I?
I need to do similar activity as you except that I will need to compare Icalc vs. Iexperimental.
To check if the function works, I have made a trial calculation of I using fsolve function as advised here, but I fed values of these 5 parameters. It did give me the correct numerical result. Now I have to find the values of these 5 parameters using Matlab.
Thanks.
Rosemarie
๋ต๋ณ (3๊ฐ)
Arturo Moncada-Torres
2011๋
8์ 20์ผ
There are several ways to calculate the error. Let's suppose the following:
theoretical = 0:10;
experimental = awgn(theoretical, 1);
figure();
hold('on');
plot(theoretical, 'b');
plot(experimental, 'r');
hold('off');
Option 1 You could subtract the absolute value of the experimental result from the theoretical result and finally the add differences, something like this:
myError = theoretical - abs(experimental);
myTotalError = sum(abs(myError));
Option 2 You could subtract the values of the experimental result from the theoretical result, elevate it to square, add the values and divide them by the number of samples, something like this:
myError = (theoretical - experimental).^2;
myTotalError = sqrt(sum(myError)/length(theoretical));
I understand that there are many other methods. However, these first two are easy to implement and are the first that come to my mind. Try them both and choose the one that fits better for your application.
๋๊ธ ์: 0
joo jojow
2020๋
9์ 11์ผ
1- Let us develop a MATLAB code including (conditional and looping) to write,
debug and test the currentโvoltage characteristic of a p-n junction diode. The
circuit symbol for a diode is shown in Fig.2.
Fig. 2
5
Ideally, a p-n junction diode behaves as follows:
๐(๐ก) > 0, short circuit between terminals (a) and (b)
๐(๐ก) โค 0, open circuit between terminals (a) and (b)
More realistically, the relationship between the current through a p-n junction
diode and the voltage across it is given by ๐(๐) = ๐ฐ๐บ(๐๐ฝ(๐)โ๐ฝ๐ป โ๐), Where ๐(๐ก) =
the voltage a cross the diode, in volts (-1 V to +0.8 V, in 0.2 V steps), ๐๐ = the
thermal voltage, 25.85 mV and ๐ผ๐ = the saturation current of the diode, 10โe12A.
๋๊ธ ์: 0
Omar Khaled
2021๋
3์ 17์ผ
1- Let us develop a MATLAB code including (conditional and looping) to write,
debug and test the currentโvoltage characteristic of a p-n junction diode. The
circuit symbol for a diode is shown in Fig.2.
Fig. 2
5
Ideally, a p-n junction diode behaves as follows:
๐(๐ก) > 0, short circuit between terminals (a) and (b)
๐(๐ก) โค 0, open circuit between terminals (a) and (b)
More realistically, the relationship between the current through a p-n junction
diode and the voltage across it is given by ๐(๐) = ๐ฐ๐บ(๐๐ฝ(๐)โ๐ฝ๐ป โ๐), Where ๐(๐ก) =
the voltage a cross the diode, in volts (-1 V to +0.8 V, in 0.2 V steps), ๐๐ = the
thermal voltage, 25.85 mV and ๐ผ๐ = the saturation current of the diode, 10โe12A.
๋๊ธ ์: 0
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Power Converters์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!