Obtaining voltage ripple in simulink

36 ビュー (過去 30 日間)
Nima Niassati
Nima Niassati 2011 年 8 月 8 日
回答済み: Mathan 2025 年 11 月 3 日 4:07
Is it possible to obtain a voltage waveform ripple in a simulink model, using simulink blocks? If yes, how?
  2 件のコメント
Fangjun Jiang
Fangjun Jiang 2011 年 8 月 8 日
What type of waveform are you looking for? "ripple" is just a generic term, isn't it?
NAFIS MUHIB NOUSHAD
NAFIS MUHIB NOUSHAD 2023 年 11 月 6 日
no,you may use simscape for that

サインインしてコメントする。

回答 (5 件)

Ambe Harrison
Ambe Harrison 2021 年 12 月 5 日
Mr Bodhisatya Chouli use FFT os simulink to do harmoonic analyisis. That is the tool used for ripple content analysis. You can find it in the Powergui Block of Simulink

Bodhisatya Chouli
Bodhisatya Chouli 2017 年 3 月 8 日
Can you obtain voltage and current ripple for these two models. I need to prove that 4th order boost (one with an extra low pass filter) converter has less ripple as compared to 2nd order system/

Mathan
Mathan 2025 年 11 月 3 日 4:05

% MATLAB Code: Ripple Content Calculation

clc; clear; close all;

% ----- Example Output Voltage Waveform ----- % Simulate a rectified (pulsating DC) signal t = 0:0.001:0.1; % Time (s) Vdc = 12; % Average DC voltage (Volts) Vr = 2 * sin(2*pi*100*t); % Ripple voltage (AC component, 100 Hz) Vout = Vdc + Vr; % Total output voltage

% ----- Calculate Ripple ----- Vdc_measured = mean(Vout); % DC component Vr_ac = Vout - Vdc_measured; % Remove DC part Vr_rms = rms(Vr_ac); % RMS value of AC component ripple_percent = (Vr_rms / Vdc_measured) * 100; % Ripple content %

% ----- Display Results ----- fprintf('Measured DC Voltage: %.3f V\n', Vdc_measured); fprintf('Ripple RMS (AC part): %.3f V\n', Vr_rms); fprintf('Ripple Content: %.2f %%\n', ripple_percent);

% ----- Plot ----- figure; plot(t, Vout, 'LineWidth', 1.5); xlabel('Time (s)'); ylabel('Output Voltage (V)'); title('Output Voltage with Ripple'); grid on;


Mathan
Mathan 2025 年 11 月 3 日 4:06

Measured DC Voltage: 12.00 V Ripple RMS (AC part): 1.00 V Ripple Content: 8.33 %


Mathan
Mathan 2025 年 11 月 3 日 4:07

カテゴリ

Help Center および File ExchangePower Converters についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by