MPPT and SPPT Control for PV-Connected Inverters Using Digital Adaptive Hysteresis Current Control

Abstract: Most PV systems are usually controlled by a Maximum Power Point Tracking (MPPT) algorithm to maximize the generated electrical power. However, the maximum power is often unstable and depends on the solar irradiance and temperature. This makes it difficult to control the power grid supply-demand balance due to fluctuations caused by the increase of renewable and variable PV systems. This paper proposes a new control algorithm for a PV-connected inverter called Specified Power Point Tracking (SPPT) control in addition to the conventional Maximum Power Point Tracking (MPPT) control. The PV system is controlled to generate the maximum power or a specified power depending on the electricity transactions comes from the electricity trading system. A high-speed FPGA-based digital adaptive hysteresis current control method, which has fast and stable response and simple structure comparing with the popular Sine-triangle Pulse Width Modulation (SPWM) method, is proposed to implement the MPPT and SPPT control. The adaptive hysteresis current band is calculated adaptively to improve a disadvantage of the classical fixed band hysteresis current control on the varying switching frequency. A reference current used in the adaptive hysteresis current control is calculated such that the output power of the PV-connected inverter is maximized in the MPPT control or is maintained at a given value in the SPPT control. The experimental and simulation results show that the PV-connected inverter under the proposed control algorithm generates the desired power almost exactly and yields stable and fast response despite the varying irradiance.


Introduction
Nowadays, renewable energy has become a solution to address the energy security concerns and emission standards of most countries.Photovoltaic (PV) energy systems have gained tremendous attention as one of the most promising renewable energy sources due to their advantages on the power scalability, simple installation, and low operating cost [1].In most PV systems, the PV arrays are usually controlled by a Maximum Power Point Tracking (MPPT) algorithm to maximize the generated electrical power [2].However, the Maximum Power Point (MPP) of the PV panel is unstable and varies with solar irradiance and temperature.This may cause problems such as voltage rise and protection problems in the utility grid [3].Furthermore, it is difficult to control the supply-demand balance with the current power grid architecture due to fluctuations caused by the increase of renewable and variable energy generations like PV systems [4,5].
In Japan, at the end of August 2014, 1,368,749 PV projects with the total power of 69.4 GW had been approved.At that time, Kyushu Electric Power Company had approved PV generators with a capacity of 17.76 GW, which surpassed its maximum demand in summer (15.2 GW).The power company was unable to accept more PV energy and had to suspend responses to applications for grid connection contracts for new PV projects.After that, the same issue has been raised with other power companies in Japan, such as Hokkaido Electric Power (HEPCO), Tohoku Electric Power, Shikoku Electric Power, and Okinawa Electric Power [6].There is still a limit for the current power grid to accept the increasing PV generators.
In order to maintain the reliability of the current power grid while accepting more and more penetration of renewable energy, such as PV, a new power system concept called digital grid has been proposed [7].The digital grid enhances the current grid by dividing a large-scale synchronized power system into some smaller size power systems called digital grid cell.The digital grid cells connect together, to the current grid, and other distributed generations via a digital grid router (DGR).In this work, in order to reduce the effect of the demand-supply balance problem caused by the PV generators in the digital grid system, we propose a control algorithm for the PV-connected inverter called Specified Power Point Tracking (SPPT) control in addition to the conventional MPPT control.The control of the PV generator is decided based on the electricity transactions that the DGR receives from the electricity trading system.
Three major classes of current control techniques have been developed over the last few decades: predictive dead-beat, sine-triangle pulse width modulation (SPWM), and hysteresis current control [8].While the predictive dead-beat control technique tends to give accurate responses, it is complicated for implementation and its accuracy depends on the accuracy of the predictive model [9].The asynchronous SPWM is the most popular technique and is being used in most MPPT control algorithms in PV systems, such as perturb and observe (P&O), or incremental conductance (InC) [10,11], however, it requires complicated proportional-integral (PI) regulators with undesirable delays.On the other hand, the hysteresis current control has simple structure, fast response, and independent of the inverter system parameters [12].Because a low sampling frequency may lead to a large ripple current overshoot from the hysteresis current band, a digital hysteresis current control usually requires AD converters with sufficiently high sampling frequency to contain the ripple current within the band accurately [13].A high sampling frequency at MHz level may be difficult for implementation on conventional microcontrollers and digital signal processors (DSPs), however, such high sampling frequency is beyond the scope of the field programmable gate array (FPGA), which can execute calculations stably at a high frequency and is becoming more and more popular in many electronics applications [14,15].
The basic implementation of hysteresis current control bases on the switching signal derived by comparing the actual current and the tolerance band of the reference current.In classical hysteresis current control, the hysteresis current band is fixed to a certain value, which makes the switching frequency vary to contain the current within the band.This leads to unwanted heavy interference among the phases in the three-phase system.In order to solve this problem, an adaptive hysteresis current control technique has been developed and applied to control the grid-connected and stand-alone multi-functional inverter of the DGR [16,17].In this study, we propose the novel SPPT control in addition to the conventional MPPT for the PV-connected multi-functional inverter, and a method to implement the control algorithms by a high-speed FPGA-based digital adaptive hysteresis current control.
This paper is organized as follows: Section 2 introduces the concepts of digital grid and digital grid router.The digital adaptive hysteresis current control technique is presented in Section 3. Section 4 presents the MPPT and SPPT control algorithm for the PV-connected inverter using the adaptive hysteresis current control.In Section 5, the experimental and simulation results are shown to illustrate the performances of the proposed method.Conclusions are given in Section 6.

Digital Grid Router
The main concept of the digital grid is dividing a large synchronous grid into smaller segmented grid cells, which connect together, to the current grid, and other distributed generations via the DGR as shown in Figure 1 [18].The DGR controls power flow of the equipment within a cell based on the trading results receiving from the electricity trading system.The DGR also plays a role of a shock absorber so that intermittent renewable energy sources in digital grid cells will not affect the main grid.It can be used to support the stability of the main grid via energy storage such as batteries.The DGR is composed of multi-functional inverters connected to a common DC bus as shown in Figure 2.Each inverter may connect to a grid, load, PV panel, battery, or a DC sub-grid.grid.It can be used to support the stability of the main grid via energy storage such as batteries.The DGR is composed of multi-functional inverters connected to a common DC bus as shown in Figure 2.Each inverter may connect to a grid, load, PV panel, battery, or a DC sub-grid.The electricity trading within the digital grid bases on the demand and the supply ability in each digital grid cell, whose states are sent to the trading system on the cloud by a communication network.The smart-contracts using block-chain technology enable the electricity transactions to be operated automatically with the trading algorithm likes Zaraba method [19] in stock markets.This power grid system is expected to produce a free-electricity market between decentralized grids and enable the power grid to be adaptive to the instability due to peak-demand cutting and demandresponse matching issues.

Adaptive Hysteresis Current Control
Consider a single-phase half-bridge inverter circuit as shown in Figure 3.The inverter has two constant and balanced DC sources, each of which has a value of dc V .Parameters L , g L , and C .
Represent the hysteresis inductance, output inductance, and capacitance of the ripple current filter, respectively.Let the output current io of the inverter be controlled by switch devices S1 and S2 to track a given reference current iref The adaptive hysteresis current control is employed as shown below [16].
Define the current error grid.It can be used to support the stability of the main grid via energy storage such as batteries.The DGR is composed of multi-functional inverters connected to a common DC bus as shown in Figure 2.Each inverter may connect to a grid, load, PV panel, battery, or a DC sub-grid.The electricity trading within the digital grid bases on the demand and the supply ability in each digital grid cell, whose states are sent to the trading system on the cloud by a communication network.The smart-contracts using block-chain technology enable the electricity transactions to be operated automatically with the trading algorithm likes Zaraba method [19] in stock markets.This power grid system is expected to produce a free-electricity market between decentralized grids and enable the power grid to be adaptive to the instability due to peak-demand cutting and demandresponse matching issues.

Adaptive Hysteresis Current Control
Consider a single-phase half-bridge inverter circuit as shown in Figure 3.The inverter has two constant and balanced DC sources, each of which has a value of dc V .Parameters L , g L , and C .
Represent the hysteresis inductance, output inductance, and capacitance of the ripple current filter, respectively.Let the output current io of the inverter be controlled by switch devices S1 and S2 to track a given reference current iref The adaptive hysteresis current control is employed as shown below [16].
Define the current error The electricity trading within the digital grid bases on the demand and the supply ability in each digital grid cell, whose states are sent to the trading system on the cloud by a communication network.The smart-contracts using block-chain technology enable the electricity transactions to be operated automatically with the trading algorithm likes Zaraba method [19] in stock markets.This power grid system is expected to produce a free-electricity market between decentralized grids and enable the power grid to be adaptive to the instability due to peak-demand cutting and demand-response matching issues.

Adaptive Hysteresis Current Control
Consider a single-phase half-bridge inverter circuit as shown in Figure 3.The inverter has two constant and balanced DC sources, each of which has a value of V dc .Parameters L, L g , and C.
Represent the hysteresis inductance, output inductance, and capacitance of the ripple current filter, respectively.Let the output current i o of the inverter be controlled by switch devices S 1 and S 2 to track a given reference current i ref The adaptive hysteresis current control is employed as shown below [16].
Define the current error ∆i(t) as: Energies 2018, 11, 2075 where i L (t) and i re f (t) are the hysteresis current and the reference currents at the instant t.Consider an instant t 0 , when the hysteresis current i L starts to cross the lower hysteresis band, and the switch S 1 is switched on.Assume that the switch S 1 is switched on during [t 0 , t 1 ), and is switched off during [t 1 , t 2 ) intervals as shown in Figure 4. for , t t t ∈ .
The current errors at 1 t and 2 t are given by: where:   ( ) ( ) ( ) where ( ) Substituting Equations ( 10) and ( 11) into Equations ( 6) and ( 7), we can write the current errors ( ) ( ) where on s′ , off s′ are given as: ( ) ( ) ( ) Let sw f is a desired constant switching frequency.In the adaptive hysteresis current control method, the hysteresis current band ( ) is derived by using the following conditions: A dynamic equation for the hysteresis current can be written as: for t 0 ≤ t ≤ t 2 , where v o is the instantaneous output voltage and v dc (t) is the inverter input DC voltage elaborated as: Define the slopes of the hysteresis current in the on and off switching periods by .

I on and
.
I o f f respectively.By assuming that the output voltage v o is slowly varying during the switching modulation period [t 0 , t 2 ] , the hysteresis current slopes can be expressed by: for t ∈ [t 0 , t 1 ), and: Energies 2018, 11, 2075 5 of 16 The current errors at t 1 and t 2 are given by: where: The reference current i re f (t) is slowly varying during the modulation period, such that it can be approximated as: where di re f (t 0 ) is derivative of the reference current i re f (t) with respect to t at t = t 0 .Substituting Equations ( 10) and ( 11) into Equations ( 6) and ( 7), we can write the current errors ∆i(t 1 ), and ∆i(t 2 ) as: ∆i(t 1 ) = ∆i(t 0 ) + s on T on , ( 12) where s on , s o f f are given as: Let f sw is a desired constant switching frequency.In the adaptive hysteresis current control method, the hysteresis current band ∆i b (t 0 ) is derived by using the following conditions: where T sw = 1/ f sw .Substituting Equations ( 16)-( 18) into Equations ( 12) and ( 13), we can derive the hysteresis current band as: By substituting Equations ( 14) and (15) into Equation ( 19), the hysteresis current band in Equation ( 19) can also be written in the form of: For a digital control system, where the measured voltage and current is sampled by analog/digital converters, the hysteresis current band under zero-order-holds (ZOHs) can be written by: where kT ≤ t < (k + 1)T and T is a sampling interval.

Hysteresis Current Control for PV-Connected Inverter
Consider a half-bridge inverter circuit with a PV panel connected between the output and the negative voltage of the inverter as shown in Figure 5.The voltage of the PV panel can be calculated from the output voltage v o of the inverter as: The algorithms for MPPT and SPPT controls are described below.
For a digital control system, where the measured voltage and current is sampled by analog/digital converters, the hysteresis current band under zero-order-holds (ZOHs) can be written by: where ( ) and T is a sampling interval.

Hysteresis Current Control for PV-Connected Inverter
Consider a half-bridge inverter circuit with a PV panel connected between the output and the negative voltage of the inverter as shown in Figure 5.The voltage of the PV panel can be calculated from the output voltage o v of the inverter as: The algorithms for MPPT and SPPT controls are described below.

Algorithm for MPPT Control
Figure 6 shows voltage-current and voltage-power characteristic curves of the PV panel.The maximum power point (MPP) can be determined by a point, at which the derivative of output power P with respect to the voltage V is zero, i.e.: Consider a digital control system, where the measured voltage and current are sampled by analog/digital converters with a sampling interval T .Let sampled-values of the voltage and current of the PV at a sampled instant kT are k V and k I .Then, the power k P at instant kT is calculated as: The derivative of the power with respect to the voltage at instant kT for the sampled-value can be written by: The algorithm for hysteresis current control tracking the MPP is as below:

Algorithm for MPPT Control
Figure 6 shows voltage-current and voltage-power characteristic curves of the PV panel.The maximum power point (MPP) can be determined by a point, at which the derivative of output power P with respect to the voltage V is zero, i.e.: Consider a digital control system, where the measured voltage and current are sampled by analog/digital converters with a sampling interval T. Let sampled-values of the voltage and current of the PV at a sampled instant kT are V k and I k .Then, the power P k at instant kT is calculated as: The derivative of the power with respect to the voltage at instant kT for the sampled-value can be written by: The algorithm for hysteresis current control tracking the MPP is as below: where δi > 0 is a step-size of the reference current.It should be noted that due to the definition for direction of the output current from the inverter as shown in Figure 5, the reference current in this case takes only negative value.
The MPP divides the characteristics of the PV panel into two areas: positive power derivative dP/dV and negative power derivative dP/dV as shown in Figure 6.When the state of the PV panel is in the positive power derivative area, the reference current is decreased.On the contrary, when the state of the PV panel is in the negative power derivative area, the reference current is increased by a step-size δi.This process is continued until the state of the PV arrives the MPP.At the MPP, the reference current is unchanged.While the reference current is changed by the definite step-size δi, the output power of the PV panel may not identify to the MPP exactly.In order to avoid an oscillation of the reference current at the steady stay around the MPP, the MPP can be replaced by a maximum power bandwidth.Then, the MPPT algorithm can be revised as below.
where δP > 0 is the bandwidth of the MPP.
_ _ 1 7 : where 0 i δ > is a step-size of the reference current.It should be noted that due to the definition for direction of the output current from the inverter as shown in Figure 5, the reference current in this case takes only negative value.
The MPP divides the characteristics of the PV panel into two areas: positive power derivative dP dV and negative power derivative dP dV as shown in Figure 6.When the state of the PV panel is in the positive power derivative area, the reference current is decreased.On the contrary, when the state of the PV panel is in the negative power derivative area, the reference current is increased by a step-size i δ .This process is continued until the state of the PV arrives the MPP.At the MPP, the reference current is unchanged.While the reference current is changed by the definite step-size i d , the output power of the PV panel may not identify to the MPP exactly.In order to avoid an oscillation of the reference current at the steady stay around the MPP, the MPP can be replaced by a maximum power bandwidth.Then, the MPPT algorithm can be revised as below.
7 : where 0 P δ > is the bandwidth of the MPP.

Algorithm for SPPT Control
Let the PV-connected inverter is controlled to generate a given specified power P s , which is assumed to be less than the generable maximum power.There are two points on the characteristic curves of the PV panel can generate the given power P s as shown in Figure 7.

Algorithm for SPPT Control
Let the PV-connected inverter is controlled to generate a given specified power s P , which is assumed to be less than the generable maximum power.There are two points on the characteristic curves of the PV panel can generate the given power s P as shown in Figure 7.However, in order to reduce the power loss, the point in the positive power derivative area, which has smaller current, is preferred.The algorithm tracking the specified power point (SPP) is as below: ( ) The reference current is unchanged when the output power equals to the given power s P .When the output power is less than the given power s P and the state of the PV panel is in the negative power derivative area of the SPP, the reference current is increased.In the other cases, the reference current is decreased by the step-size i δ .This process is continued until the state of the PV panel arrives the SPP.By the same way of the MPPT control, in order to avoid an oscillation of the reference current at the steady state around the SPP, the SPP can be replaced by a specified power bandwidth.
Then, the SPPT algorithm can be revised as below: However, in order to reduce the power loss, the point in the positive power derivative area, which has smaller current, is preferred.The algorithm tracking the specified power point (SPP) is as below: 1 : if P k = P s 2 : i re f _k = i re f _k−1 3 : else

:
if ( k < P s )P ∩ ∆P ∆V < 0 5 : The reference current is unchanged when the output power equals to the given power P s .When the output power is less than the given power P s and the state of the PV panel is in the negative power derivative area of the SPP, the reference current is increased.In the other cases, the reference current is decreased by the step-size δi.This process is continued until the state of the PV panel arrives the SPP.By the same way of the MPPT control, in order to avoid an oscillation of the reference current at the steady state around the SPP, the SPP can be replaced by a specified power bandwidth.Then, the SPPT algorithm can be revised as below: where δP S > 0 is the specified power bandwidth.

Grid-Connected PV System
Consider a DGR composed of two multi-functional inverters with a common DC bus, which is composed of electrolytic capacitors C 1 and C 2 as shown in Figure 8.The first inverter connects to a PV panel and another one connects to an AC power grid.The grid-connected inverter is controlled to maintain the voltages of capacitors C 1 and C 2 at a given constant value V dc_re f .The PV-connected inverter sends the power generated by the PV panel to the common DC bus, and the grid-connected inverter sends that power from the common DC bus to the grid.
( ) where 0 S P d > is the specified power bandwidth.

Grid-Connected PV System
Consider a DGR composed of two multi-functional inverters with a common DC bus, which is composed of electrolytic capacitors 1 C and 2 C as shown in Figure 8.The first inverter connects to a PV panel and another one connects to an AC power grid.The grid-connected inverter is controlled to maintain the voltages of capacitors 1 C and 2 C at a given constant value . The PVconnected inverter sends the power generated by the PV panel to the common DC bus, and the gridconnected inverter sends that power from the common DC bus to the grid. .The grid has a voltage of g v .In this work, the grid-connected inverter is controlled by using the adaptive hysteresis current control presented in session 3 with the reference current is calculated as [18]: where , 0 t b k k > are the control gains, which tune the speed of the response, g V is an effective value of the grid voltage g v .

Simple Model for PV Panel
Due to space constraints of the laboratory, a simple electrical circuit composing of a DC power source and a variable resistor as shown in Figure 9 is used to emulate the PV panel.The voltagecurrent and voltage-power characteristics of this PV model are as below.
The output power of this PV model is calculated as: Let v 1 and v 2 are the voltages of capacitors C 1 and C 2 .The grid has a voltage of v g .In this work, the grid-connected inverter is controlled by using the adaptive hysteresis current control presented in session 3 with the reference current is calculated as [18]: where k t , k b > 0 are the control gains, which tune the speed of the response, V g is an effective value of the grid voltage v g .

Simple Model for PV Panel
Due to space constraints of the laboratory, a simple electrical circuit composing of a DC power source and a variable resistor as shown in Figure 9 is used to emulate the PV panel.The voltage-current and voltage-power characteristics of this PV model are as below.
The output power P of this PV model is calculated as: Using Kirchhoff's rule for the circuit shown by Figure 9, we have: Substituting Equation (28) into Equation ( 27), we can write the output power P as: The voltage-current and voltage-power characteristic curves of the PV model given by Equations ( 28) and ( 29) can be figured by Figure 10.The maximum power point can be determined as: . (32) In Figure 10, it can be seen that the value of the variable resistor may change the voltagepower and voltage-current characteristics of the PV model.Thus, the variable resistor can be used to emulate the variation of the solar irradiance.Although the PV model showed in Figure 9 emulates only the basic voltage-current and voltage-power characteristics of the PV panel, it is efficient for the purpose of evaluating the MPPT and SPPT algorithms for the PV control.

Experimental Results
The proposed control algorithm for the PV-connected inverter has been assessed by using a prototype of the DGR, which is composed of two multi-functional inverters connected by the circuit shown in Figure 8.The experimental setup is shown by Figure 11.Each inverter has a rated power of 300 W .The circuit parameters of the inverters are given by: L = 2.2 mH, Lg = 1.1 mH, and C = 6.8 µF.(28) and ( 29) can be figured by Figure 10.The maximum power point can be determined as: ,

The reference voltage of the DC bus
. (32) In Figure 10, it can be seen that the value of the variable resistor may change the voltagepower and voltage-current characteristics of the PV model.Thus, the variable resistor can be used to emulate the variation of the solar irradiance.Although the PV model showed in Figure 9 emulates only the basic voltage-current and voltage-power characteristics of the PV panel, it is efficient for the purpose of evaluating the MPPT and SPPT algorithms for the PV control.

Experimental Results
The proposed control algorithm for the PV-connected inverter has been assessed by using a prototype of the DGR, which is composed of two multi-functional inverters connected by the circuit shown in Figure 8.The experimental setup is shown by Figure 11.Each inverter has a rated power of 300 W .The circuit parameters of the inverters are given by: L = 2.2 mH, Lg = 1.1 mH, and C = 6.8 µF.In Figure 10, it can be seen that the value of the variable resistor R may change the voltage-power and voltage-current characteristics of the PV model.Thus, the variable resistor R can be used to emulate the variation of the solar irradiance.Although the PV model showed in Figure 9 emulates only the basic voltage-current and voltage-power characteristics of the PV panel, it is efficient for the purpose of evaluating the MPPT and SPPT algorithms for the PV control.

Experimental Results
The proposed control algorithm for the PV-connected inverter has been assessed by using a prototype of the DGR, which is composed of two multi-functional inverters connected by the circuit shown in Figure 8.The experimental setup is shown by Figure 11.Each inverter has a rated power of 300 W. The circuit parameters of the inverters are given by: L = 2.2 mH, L g = 1.1 mH, and C = 6.8 µF.The reference voltage of the DC bus V dc_re f is set at 175 V.The analog/digital converter (ADC) has the sampling frequency of 4 MHz.The switching transistors in the inverter circuit are IGBT devices with the dead-time at 1.5 µ sec.The constant switching frequency in the adaptive hysteresis current control is at 20 kHz.The control algorithm is implemented on a FPGA board, which has a clock frequency of 160 MHz.The grid has an AC voltage of 100 V and frequency of 50 Hz.The DC power source of the PV model V DC in Figure 10 is at 250 V.The step-size δi of the reference current is at 0.1 A.
Table 1 shows experimental result data for the MPPT control with various solar irradiances, which is emulated by the variable resistor in the PV model.The output power of the PV-connected inverter matches with the maximum power of the PV model calculated using Equation (32) almost exactly.
Table 2 shows experimental result for the same system controlled by SPPT algorithm with the specified power of P s = 150 W. The output power of the inverter is kept at the specified power P s regardless to the variation of the solar irradiance.Figure 12 shows the voltage and current responses of the grid-connected and PV-connected inverters controlled by the MPPT algorithm with the solar irradiance emulating resistor R at 80 W. Figure 13 shows the responses of the same inverter controlled by the SPPT algorithm.In all the tested cases including that for different value of R, the PV-connected inverter generates a power, which exactly matches the desired power.The grid-connected inverter sends the power generated from the PV-connected inverter to the grid and keeps the voltage of the common DC bus at constant.The voltage and responses of the both inverters are stable for all tested cases. in Figure 10 is at 250 V.The step-size i d of the reference current is at 0.1 A.
Table 1 shows experimental result data for the MPPT control with various solar irradiances, which is emulated by the variable resistor in the PV model.The output power of the PV-connected inverter matches with the maximum power of the PV model calculated using Equation (32) almost exactly.
Table 2 shows experimental result for the same system controlled by SPPT algorithm with the specified power of 150W s P = .The output power of the inverter is kept at the specified power s P regardless to the variation of the solar irradiance.Figure 12 shows the voltage and current responses of the grid-connected and PV-connected inverters controlled by the MPPT algorithm with the solar irradiance emulating resistor R at 80 W. Figure 13 shows the responses of the same inverter controlled by the SPPT algorithm.In all the tested cases including that for different value of R , the PV-connected inverter generates a power, which exactly matches the desired power.The gridconnected inverter sends the power generated from the PV-connected inverter to the grid and keeps the voltage of the common DC bus at constant.The voltage and current responses of the both inverters are stable for all tested cases.Figures 14 and 15 show the responses of the inverters with the MPPT control when the solar irradiance emulating resistor R changes from 60 W to 100 W and contrarily from 100 W to 60 W, respectively.The experimental results show that the proposed control algorithm yields responses, which are stable and adapt to the variation of the solar irradiance quickly.
Simulations have been carried out to compare the proposed MPPT algorithm using adaptive hysteresis current control with other common MPPT algorithms based on SPWM technique by using Matlab-Simulink.Figures 16-19 shown the responses of the PV panel for the proposed MPPT, the perturb and observe (P&O) [20], and the incremental conductance (InC) [21], and fractional open-circuit voltage (FOCV) [22] algorithms, respectively.While the P&O and the InC algorithms yield unstable responses with oscillations when the irradiance changes, the proposed and FOCV algorithms give smooth and fast responses without oscillation.However, the proposed algorithm is simpler than the FOCV algorithm, which is based on complicated calculations using a PI regulator.Simulations have been carried out to compare the proposed MPPT algorithm using adaptive   Simulations have been carried out to compare the proposed MPPT algorithm using adaptive Energies circuit voltage (FOCV) [22] algorithms, respectively.While the P&O and the InC algorithms yield unstable responses with oscillations when the irradiance changes, the proposed and FOCV algorithms give smooth and fast responses without oscillation.However, the proposed algorithm is simpler than the FOCV algorithm, which is based on complicated calculations using a PI regulator.circuit voltage (FOCV) [22] algorithms, respectively.While the P&O and the InC algorithms yield unstable responses with oscillations when the irradiance changes, the proposed and FOCV algorithms give smooth and fast responses without oscillation.However, the proposed algorithm is simpler than the FOCV algorithm, which is based on complicated calculations using a PI regulator.

Conclusions
A new control algorithm for PV-connected inverters called Specified Power Point Tracking (SPPT) control has been proposed in addition to the conventional MPPT control.The PV system is controlled to generate the maximum power or a specified power depending on the electricity transactions.The control algorithm is based on high-speed FPGA-based digital adaptive hysteresis current control, which has a fast and stable response, and a simple structure compared with the conventional sine-triangle PWM method and can improve the disadvantages of the classical fixed band hysteresis current control on the varying switching frequency.The reference current is calculated such that the output power is maximized in the MPPT control or is maintained at a given value in the SPPT control.The hysteresis current control enables us to use the same multi-functional inverter hardware connecting to the PV, the grid, or the load in stand-alone system just by changing the calculation for the reference current.The experimental results show that the PV-connected inverter under the proposed control algorithm generates the desired power almost exactly with stable and fast response despite the varying solar irradiance.The simulation results show that the proposed MPPT control algorithm give better performance than the common MPPT algorithms such as P&O, InC, and FOCV.The proposed MPPT and SPPT control algorithm enables us to control of the PV system based on the electricity transactions receives from the electricity trading system.This operation method is expected to contribute to the improvement of the demand-supply balance problem, which is inhibiting the vast employment of renewable energy.

Figure 1 .
Figure 1.Digital grid system with electricity trading using block-chain.

Figure 2 .
Figure 2. Structure of the digital grid router.

Figure 1 .
Figure 1.Digital grid system with electricity trading using block-chain.

Figure 1 .
Figure 1.Digital grid system with electricity trading using block-chain.

Figure 2 .
Figure 2. Structure of the digital grid router.

Figure 2 .
Figure 2. Structure of the digital grid router.

Figure 8 .
Figure 8. Grid-connected PV panel circuit.Let 1 v and 2 v are the voltages of capacitors 1 C and 2 C .The grid has a voltage of g v .In this

Figure 9 .
Figure 9. Electrical model for PV panel.

Figure 10 .
Figure 10.Voltage-current and voltage-power characteristic curves of the PV model.

Figure 9 .
Figure 9. Electrical model for PV panel.

Figure 9 .
Figure 9. Electrical model for PV panel.

Figure 10 .
Figure 10.Voltage-current and voltage-power characteristic curves of the PV model.

Figure 10 .
Figure 10.Voltage-current and voltage-power characteristic curves of the PV model.

Figure 13 .
Figure 13.Responses of grid-connected and PV-connected inverters under SPPT control with 80 R = W.

Figures 14 and 15
Figures14 and 15show the responses of the inverters with the MPPT control when the solar irradiance emulating resistor R changes from 60 W to 100 W and contrarily from 100 W to 60 W, respectively.The experimental results show that the proposed control algorithm yields responses, which are stable and adapt to the variation of the solar irradiance quickly.Simulations have been carried out to compare the proposed MPPT algorithm using adaptive

Figure 13 .
Figure 13.Responses of grid-connected and PV-connected inverters under SPPT control with 80 R = W.

Figures 14 and 15
Figures14 and 15show the responses of the inverters with the MPPT control when the solar irradiance emulating resistor R changes from 60 W to 100 W and contrarily from 100 W to 60 W, respectively.The experimental results show that the proposed control algorithm yields responses, which are stable and adapt to the variation of the solar irradiance quickly.Simulations have been carried out to compare the proposed MPPT algorithm using adaptive

Figure 14 .
Figure 14.Responses of grid-connected and PV-connected inverters under MPPT control when the resistor R changes from 60 W to 100 W.

Figure 15 .
Figure 15.Responses of grid-connected and PV-connected inverters under MPPT control when the resistor R changes from 100 W to 60 W.

Figure 14 .
Figure 14.Responses of grid-connected and PV-connected inverters under MPPT control when the resistor R changes from 60 W to 100 W.

Figure 14 .
Figure 14.Responses of grid-connected and PV-connected inverters under MPPT control when the resistor R changes from 60 W to 100 W.

Figure 15 .
Figure 15.Responses of grid-connected and PV-connected inverters under MPPT control when the resistor R changes from 100 W to 60 W.

Figure 15 . 17 Figure 16 .
Figure 15.Responses of grid-connected and PV-connected inverters under MPPT control when the resistor R changes from 100 W to 60 W. Energies 2018, 11, x FOR PEER REVIEW 14 of 17

Figure 16 .
Figure 16.Responses of the proposed MPPT control with the varying irradiance.

Energies 2018, 11 , 2075 14 of 16 Figure 16 .
Responses of the proposed MPPT control with the varying irradiance.

Figure 17 .
Figure 17.Responses of the P&O control with the varying irradiance.

Figure 17 .
Figure 17.Responses of the P&O control with the varying irradiance.

Energies 2018 , 17 Figure 18 .
Figure 18.Responses of the InC control with the varying irradiance.

Figure 18 .
Figure 18.Responses of the InC control with the varying irradiance.

Figure 18 .
Figure 18.Responses of the InC control with the varying irradiance.

Figure 19 .
Figure 19.Responses of the FOCV control with the varying irradiance.

Figure 19 .
Figure 19.Responses of the FOCV control with the varying irradiance.

Table 1 .
Experimental result data for MPPT control.

Table 2 .
Experimental result data for SPPT control.

Measured Current I [A] Measured Voltage V [V] Measured Power P [W] Specified Power P s [W]
MHz.The switching transistors in the inverter circuit are IGBT devices with the dead-time at 1.5 µ sec.The constant switching frequency in the adaptive hysteresis current control is at 20 kHz.The control algorithm is implemented on a FPGA board, which has a clock frequency of 160 MHz.The grid has an AC voltage of 100 V and frequency of 50 Hz.The DC power source of the PV model DC V

Table 1 .
Experimental result data for MPPT control.

Table 2 .
Experimental result data for SPPT control.