PLL_mfile_cal

バージョン 1.2.0.0 (6.17 KB) 作成者: Aubai
Phase-locked loop.m this is an mfile to calculate the same outputs of the PLL simulink block.
ダウンロード: 1.1K
更新 2014/2/10

ライセンスの表示

Use this file to get the frequency of an input signal and to generate a pu sine and cos signal with the wt from your input signal it can do the same function as the PLL block in simulink but without using an PI controller (canot be used online) or also can build up the Wt signal for better accurcy from the Zerocrossing of the input signal.
Use the option = 1 to do the same steps in PLL simulink block or option = 0 to build up your own Wt signal (R_Z_G) from the zerocrossing inofrmation

引用

Aubai (2024). PLL_mfile_cal (https://www.mathworks.com/matlabcentral/fileexchange/45039-pll_mfile_cal), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersElectrical Block Libraries についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

In this update the cumtrapz.m function in matlab was updated into cumtrapzt.m function in order to get the same effects of the (1/s) Intgrator block of simulink (Looking at point t-1 from simulation time t).

1.1.0.0

the variable option was added to allow the user to choose between doing the exact steps like the matlab PLL simulink block (option = 1) or to build up the Wt signal from the zerocrossing(option ~= 1)

1.0.0.0