Synchronous Generator transient response problem

Click For Summary
SUMMARY

The discussion focuses on a transient response problem of a synchronous generator, specifically regarding the scaling issues that prevent achieving the desired output of 50 Hz and 230 volts. The user shares MATLAB code for analyzing the generator's transient response using discrete Fourier transform (DFT) and expresses confusion about the FFT results. Key elements include the use of a sampling frequency of 150 Hz and a data file containing 3000 samples, representing 1.5 seconds of data. The user employs the per unit (pu) system for modeling, which impacts the time domain representation.

PREREQUISITES
  • Understanding of synchronous generator operation and transient response analysis.
  • Familiarity with MATLAB programming and plotting functions.
  • Knowledge of discrete Fourier transform (DFT) and its application in signal processing.
  • Experience with the per unit (pu) system in electrical engineering.
NEXT STEPS
  • Investigate MATLAB's FFT function and its parameters for accurate frequency analysis.
  • Learn about scaling techniques in signal processing to achieve desired output frequencies.
  • Explore the implications of using the per unit (pu) system in transient analysis.
  • Study the effects of sampling frequency on the accuracy of DFT results.
USEFUL FOR

Electrical engineers, control system designers, and researchers involved in modeling and analyzing synchronous generators and their transient behaviors.

commelion
Messages
40
Reaction score
0
Hi , Hope someone could offer me a solution to this piece of code, the code below shows a period in time of a synchronous generator transient response, My scaling is the problem as I am not getting 50 Hz 230 volts, your help would be appreciated..

My efforts so far are

% Transient Response of Generator


%clear all;
%close all;

%Highest known frequency component > 50 Hz

% set appropriate signal variables
fs = 150;
T = 1/fs;
N = 400;
n = 0:N-1;
t = n*T;
fax = (0:N/2) * (fs/N);

% Discrete signal
x = (D5(2000:5000));
subplot(211)

% Plot discrete signal
subplot (211);
plot (x);
title('Syn Generator Transient Window','FontSize',14);
xlabel('Samples', 'FontSize',12);
ylabel('Amplitude','FontSize', 12);

%Plot DFT
subplot(212)
X = abs(fft(x));
stem(fax,(2/N) * X(1:N/2+1));
title('DFT','FontSize',14);
xlabel('Frequency [Hz]','FontSize',12);
ylabel('Magnitude','FontSize',12);
 

Attachments

Last edited:
Physics news on Phys.org
commelion said:
Hi , Hope someone could offer me a solution to this piece of code, the code below shows a period in time of a synchronous generator transient response, My scaling is the problem as I am not getting 50 Hz 230 volts, your help would be appreciated..

My efforts so far are

% Transient Response of Generator%clear all;
%close all;

%Highest known frequency component > 50 Hz

% set appropriate signal variables
fs = 150;
T = 1/fs;
N = 400;
n = 0:N-1;
t = n*T;
fax = (0:N/2) * (fs/N);

% Discrete signal
x = (D5(2000:5000));
subplot(211)

% Plot discrete signal
subplot (211);
plot (x);
title('Syn Generator Transient Window','FontSize',14);
xlabel('Samples', 'FontSize',12);
ylabel('Amplitude','FontSize', 12);

%Plot DFT
subplot(212)
X = abs(fft(x));
stem(fax,(2/N) * X(1:N/2+1));
title('DFT','FontSize',14);
xlabel('Frequency [Hz]','FontSize',12);
ylabel('Magnitude','FontSize',12);
>> I have added the data file in exel format, it is 3000 samples long, this would be 1.5 seconds of a larger time set.

>>Just to note i am using the per unit (pu) system on my model, so this is why the time domain shows -1000 to 1000, all the time domain graphing is correct, its the fft that has me confused.com!Thanks in advance
 
Last edited:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K