MathWorks - Mobile View
  • MathWorks 㚢㚫㚦㒳㒆への㚵㚤㒳㚤㒳MathWorks 㚢㚫㚦㒳㒆への㚵㚤㒳㚤㒳
  • Access your MathWorks Account
    • マイ アカウント
    • コミュニティのプロファイル
    • ライセンスを関連付ける
    • サインアウト
  • 製品
  • ソリューション
  • アカデミア
  • サポート
  • コミュニティ
  • イベント
  • MATLAB を入手する
MathWorks
  • 製品
  • ソリューション
  • アカデミア
  • サポート
  • コミュニティ
  • イベント
  • MATLAB を入手する
  • MathWorks 㚢㚫㚦㒳㒆への㚵㚤㒳㚤㒳MathWorks 㚢㚫㚦㒳㒆への㚵㚤㒳㚤㒳
  • Access your MathWorks Account
    • マイ アカウント
    • コミュニティのプロファイル
    • ライセンスを関連付ける
    • サインアウト

ビデオ・Webセミナー

  • MathWorks
  • ビデオ
  • ビデオ ホーム
  • 検索
  • ビデオ ホーム
  • 検索
  • 営業へのお問い合わせ
  • 評価版
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

Implement Maximum Power Point Tracking Algorithms Using MATLAB and Simulink

Priyanka Gotika, MathWorks

MPPT algorithms are used to control the duty cycle or the operating voltage of a photovoltaic system to ensure maximum power at all times.

This video elaborates on three of the most common MPPT algorithms:

  • Perturb and Observe (P&O): This is the most widely used algorithm in the industry. It involves perturbation of the operating voltage or the duty cycle based on a comparison of the generated power. This ensures maximum power point. This algorithm can be implemented in Simulink® using several methods. This example uses a MATLAB® function block and a standard block from the Simulink library that lets you implement the algorithm using the MATLAB language.
  • Incremental Conductance: This algorithm is slightly more complex and robust. The central idea is that the incremental conductance is compared to the instantaneous conductance, and the duty cycle is adjusted accordingly. This example uses a Stateflow® chart within Simulink to implement the logic. Using Stateflow, you can implement state machines and logic charts. 
  • Fraction Open Circuit Voltage: This algorithm is different from the first two and is based on the principle that the maximum power point voltage is always a constant fraction of the open circuit voltage.

Download a free power electronics control design trial

In this video, I'm going to show how to implement three common MPPT algorithms using MATLAB and Simulink to control the duty cycle or the operating voltage of a PV system. If you would like to learn more about why MPPT algorithms are used, please watch the video Why Use MPPT?

First, I'll talk about the perturb and observe algorithm. Here is a simple flowchart representation of this algorithm. Perturb and observe algorithm is most widely used in the industry today. And as you can see, this algorithm involves perturbation of operating voltage, or the duty cycle, based on the comparison of the power generated to ensure maximum power point.

This algorithm can be implemented in Simulink using several methods. For this example, I used MATLAB function block, a standard block from Simulink library that lets you implement the algorithm using MATLAB language. When you simulate the model, this MATLAB code is converted into C code and is compiled along with other blocks in the model. Notice that it is very simple to implement this algorithm using conditional statements within MATLAB, as you can see here.

Next, I want to show the implementation of incremental conductance algorithm. Again, here is a flowchart that shows a simple representation of this algorithm. This algorithm is slightly complex and more robust in nature. And the central idea in this is that the incremental conductance is compared to the instantaneous conductance, and the duty cycle is adjusted accordingly.

For this example, I'm using a Stateflow chart within Simulink to implement the logic. Using Stateflow, you can represent state machines and logic charts. If you notice closely, the logic in the Stateflow diagram looks almost the same as it is in the flowchart. One of the cool things is that when I simulate the model, you can see that the graphical interface shows an animation of how the logic transitions are occurring.

For the last one, let me open the model which shows a complete system. As you can see, we have a PV array and a DC/DC converter that is being controlled by DC/DC buck controls which implements the MPPT algorithm. This algorithm is different from the first two and is called fractional open circuit voltage algorithm, which is based on the principle that the maximum power point voltage is always a constant fraction of the open circuit voltage. So the open circuit voltage of the cells in the photovoltaic array is measured and used as an input here. In this case, as you see, I'm using 82% of the open circuit voltage just the input.

Before I run the simulation, I would like to point out that I have chosen the irradiance input to be 800 watts per meter square using a Signal Builder block. And you will notice here that the table says the maximum power must be around 2,000 watts for 800 watts for meter square irradiance. Using the Signal Builder block, you can provide custom inputs to the model. You can also bring in real irradiance data and use it as an input for the simulation.

Now, if I hit the Play button, you will notice that the power generated is maximum at around 2,000 watts as expected. We have seen the implementation of three different maximum power point tracking algorithms, or MPPT algorithms, using MATLAB and Simulink in this video.

Related Products

  • Simulink
  • Simscape Electrical

Learn More

Get packaged trial
Simulink for Power Electronics Control Design Resources
Developing Solar Inverter Control with Simulink (3 Videos)
MPPT Algorithm Resources
Join the Power Electronics Control Design Community

READ EBOOKLET

Design Power Conversion Controls Faster with Simulink

Feedback

Up Next:

2:29
Maximum Power Point Tracking Algorithm Overview

Related Videos:

10:02
Using Simulink for Control Algorithms with LEGO
2:04
Incorporating MATLAB Algorithms into a Simulink Model
10:58
Mechatronics with MATLAB and Simulink, Part 1: Accuracy,...
39:21
Developing and Verifying Active Safety Features Using...

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web site

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • 営業へのお問い合わせ
  • 評価版

製品を見る

  • MATLAB
  • Simulink
  • 学生向けソフトウェア
  • ハードウェア サポート
  • File Exchange
試す、購入する
  • ダウンロード
  • 評価版ソフトウェア
  • 営業へのお問い合わせ
  • 価格とライセンス
使い方を学ぶ
  • ドキュメンテーション
  • チュートリアル
  • MATLAB の例
  • ビデオ・Webセミナー
  • トレーニング

サポートを受ける

  • インストールのヘルプ
  • MATLAB Answers
  • 技術コンサルティング
  • ライセンスセンター
  • サポートへのお問い合わせ

MathWorks について

  • 採用情報
  • ニュースルーム
  • 社会貢献
  • 営業へのお問い合わせ
  • MathWorks について

MathWorks

Accelerating the pace of engineering and science

MathWorksはエンジニアや研究者向け数値解析ソフトウェアのリーディングカンパニーです。

ディスカバー…

  • Select a Web Site United States
  • 特許
  • 商標
  • プライバシー ポリシー
  • 違法コピー防止
  • アプリケーション ステータス

© 1994-2021 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

MATLAB を語ろう