The basic principle of a solar cell is similar to that of a diode. It can be explained by a simple PN junction. Figure 1 shows the single model and appearance of a solar cell. When sunlight hits the PN junction, the atoms in the semiconductor are released due to light energy. Electrons, at the same time, correspondingly generate electron-hole pairs, so an electromotive force is generated between the PN junction. When the external circuit is connected, there is electrical energy output. The battery cell is the smallest unit of photoelectric conversion, and is generally not used as a separate unit. Power supply, the battery cells are connected in series, parallel and packaged to become solar cells. The power is generally a few watts, tens of watts or even hundreds of watts. Many solar cell modules need to be connected in series and parallel to form a solar cell array, which constitutes a solar cell. “Solar Generator”.

The temperature of photovoltaic cells is affected by various factors, as shown in formula (1)

T=T_{air}＋kS——(1)

In the formula, T is the temperature of the photovoltaic cell, ℃; T_{air} is the ambient temperature, C; S is the illuminance.w/㎡; k is the coefficient, ℃·㎡.

Under general test conditions, photovoltaic cells have five parameters: short-circuit current I_{sc}, open-circuit voltage U_{oc}, maximum power point output power Pm, maximum power point voltage U_{m}, and maximum power point current I_{m}.

The equivalent circuit of a photovoltaic cell is shown in Figure 2, which is equivalent to a current source and a diode in parallel. In the figure, R_{L} is an external load, R_{s} and R_{sh} are equivalent to actual internal losses, and the battery output voltage is U_{L}. I_{L} is the output current of the photovoltaic cell. I_{sc} is the current stimulated by the sun’s rays.

In Figure 2. I_{VD} is the diode current, and its expression is shown in (2):

I_{VD}=I_{D0}[e^{(qE/AKT)}﹣1]——(2)

In the formula, q is the charge of the electron, 1.6×10^{﹣19}C; K is Boltzmann’s constant, 1.38×10^{-23}J/K; A is a constant factor, generally 1 or 2: T is the temperature of the panel, ℃; E is the electromotive force of the battery, V.

From Figure 2 we can get formula (3) load current I_{L}:

I_{L}=I_{SC}﹣I_{D0}{e ^{[q(UL＋ILRS)/AKT]}﹣1}﹣(U_{L}＋I_{L}R_{S}/R_{Sh})——(3)

In the formula, R_{s} is the series resistance; R_{sh} is the bypass resistance. The two resistance values are related to the internal material of the battery panel.

Since R_{s} in formula (3) is very small. R_{sh} is very large and can be ignored, we obtain formulas (4) and (5)

I_{L}=I_{SC}﹣I_{D0}[e^{(qUL/AKT)}﹣1]——(4)

U_{L}=(AKT/q)ln{[(I_{SC}﹣I_{L})/I_{D0} ]＋1}——(5)

From equations (4) and (5), the output voltage and current of photovoltaic cells are mainly affected by irradiance and temperature. In the short circuit experiment, when R_{L}=0, the output current I_{L} is equal to I_{sc}; in the open circuit experiment, when R_{L}→∞, the voltage across the battery can be measured as UOC.

The open circuit voltage of the photovoltaic cell is shown in equation (6):

U_{OC}=(AKT/q)ln[(I_{SC}/I_{D0})＋1]≈(AKT/q)ln(I_{SC}/I_{D0})——(6)

It can be seen from the above formula that U_{oc} is related to the irradiance and temperature of the photovoltaic cell, and is inversely proportional to the temperature.

According to the engineering calculation method, formula (4) can be converted into formula (7):

I_{L}=I_{SC}{1﹣C_{1}[e^{(UL/C2UOC)}﹣1]}——(7)

In the open circuit state, the output current is 0. The voltage is U_{oc}: when the photovoltaic cell has the maximum power, the output current is I_{m} and the output voltage is U_{m}. Solutions have to:

{C_{1}=[1﹣(I_{m}/I_{SC})]e^{(﹣Um/C2UOC)}

{C_{2}=[(U_{m}/U_{oc})﹣1]{ln[1﹣(I_{m}/I_{SC})]}^{﹣1} ——(8)

Considering the irradiance and temperature changes, the output characteristic formula of the photovoltaic cell is equation (9)

{IL=I_{SC}[1﹣C_{1}(e^{[(UL﹣DUL)/C2UOC]}﹣1]＋DI_{L}

{DI=α·R/R_{ref}·DT＋(R/R_{ref}﹣1)·I_{SC}

{DU=﹣β·DT﹣R_{S}·DI

{DT=T﹣T_{ref}——(9)

In the formula, D is the open-air duty ratio; R_{ref} is the reference value of irradiance, generally 1000w/㎡; T_{ref} is the reference value of photovoltaic cell temperature, 25℃; α is the temperature coefficient of current change, A/℃; β is the voltage Change temperature coefficient, V/°C.

C_{1} and C_{2} can be obtained respectively at the maximum power point and the open circuit state. From the above mathematical model, the I-U and P-U characteristic curves of the photovoltaic cell at the reference irradiance R_{ref}=1000W/㎡ and the temperature T_{ref}=25℃ can be determined. The MAT-LAB/SIMULINK simulation model can obtain the characteristic curve at any irradiance S and photovoltaic cell temperature T.