Obtaining voltage ripple in simulink

조회 수: 34 (최근 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 CenterFile Exchange에서 Power Converters에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by