Login:   Password:
Not Register?    Sign Up NOW!
Date: 22 November 2009
Google
 
A Circuit With A Free - Wheeling Diode (MATLAB Simulation)  

Details of A Circuit With A Free - Wheeling Diode (MATLAB Simulation)

A matlab program for simulating the half-wave rectifier with a free-wheeling diode is presented below.
  % Program to simulate the half-wave rectifier circuit
% The circuit has a free-wheeling diode
% Enter the peak voltage, frequency, inductance L in mH and resistor R  
disp('Typical value for peak voltage is 340 V')
peakV=input('Enter Peak voltage in Volts>');
disp('Typical value for line frequency is 50 Hz')
freq=input('Enter line frequency in Hz>');
disp('Typical value for Load inductance is 31.8 mH')
L=input('Enter Load inductance in mH>');
disp('Typical value for Load Resistance is 10.0 Ohms')
R=input('Enter Load Resistance in Ohms>');

w=2.0*pi*freq;
X=w*L/1000.0;
if (X<0.001) X=0.001; end;
Z=sqrt(R*R+X*X);
tauInv=R/X;
loadAng=atan(X/R);
A1=peakV/Z*sin(loadAng);
A2=peakV/Z*sin(pi-loadAng)*exp(-pi*tauInv);
A3=(A1+A2)/(1-exp(-2.0*pi*tauInv));
Ampavg=0;
AmpRMS=0;

for n=1:360;
  theta=n/180.0*pi;
  X(n)=n;
  if (n<180)
   cur=peakV/Z*sin(theta-loadAng)+A3*exp(-tauInv*theta);
   Ampavg=Ampavg+cur*1/360;
   AmpRMS=AmpRMS+cur*cur*1/360;
  else
   A4=peakV/Z*sin(pi-loadAng)*exp(-(theta-pi)*tauInv);
   cur=A4+A3*exp(-tauInv*theta);
   Ampavg=Ampavg+cur*1/360;
   AmpRMS=AmpRMS+cur*cur*1/360;
  end; 
  
  if (n<180)
    Vind(n)=peakV*sin(theta)-R*cur;
    Vout(n)=peakV*sin(theta); 
        diode2cur(n)=0;
        diode1cur(n)=cur;
  else
     Vind(n)=-R*cur;
         Vout(n)=0; 
         diode2cur(n)=cur;
         diode1cur(n)=0;
  end
  
  iLoad(n)=cur;
end;

plot(X,iLoad)
title('The Load current')
xlabel('degrees')
ylabel('Amps')
grid
pause

plot(X,Vout)
title('Voltage at cathode')
xlabel('degrees')
ylabel('Volts')
grid
pause

plot(X,Vind)
title('Inductor Voltage')
xlabel('degrees')
ylabel('Volts')
grid
pause

plot(X,diode1cur)
title('Diode 1 current')
xlabel('degrees')
ylabel('Amps')
grid
pause

plot(X,diode2cur)
title('Diode 2 current')
xlabel('degrees')
ylabel('Amps')
grid

AmpRMS=sqrt(AmpRMS);
[A,message]=fopen('outhfr2.dat','w');
fprintf(A,'Avg Load Cur=\t%d\tRMS Load Cur=\t%f\n',Ampavg,AmpRMS);
fclose(A)The responses obtained for the typical specified values are shown below.

 

1_400_12

2_400_07

3._400

4_400_10

5_400_08

The average and rms values of load current are presented below. Avg Load Cur= 1.082254e+001 RMS Load Cur= 13.954542

Category: Electronics
Type: Glossaries and Dictionaries
Tags: MATLAB Simulation -
Related companies: Smyth Composites Ltd. : Manufacturer of GRP, Taconic Corporate, Tersus Ltd, Texcel Co., Ltd, Saint-Gobain Vetrotex America, Inc., Deltronix Enterprises, Advanced Composite Traders, Airtech International, Inc., ARC Technologies, Complete Design Solutions Limited, Mica Manufacturing Co. Pvt. Ltd, Infrared Training Center, Avery PrintandMailCenter.com, Yueqing City Ouwei Electric Co.,Ltd, CTM Systems, Inc., Daco Solutions Limited, Sealoflex, Inc., Graphic Universe, Underfloor Heating Systems Ltd, Involute Tooling Corporation, BWI Eagle, Inc., Insights Direct, Inc., Insights Direct, Inc., Insights Direct, Llewellins' Machine Company Ltd.
Related products: Architectural, Continuous filament mats, Decorative Mouldings, Planters °V Standard Size, Grating, Channel, Ladder & Trench Cover, prepreg machine, Clean High Purity Valves, Cam-Tite, Richter, HTI's Variable Stud Tensioner is Versatile, HTI's Fixed Stud Tensioner is Compact & Economical, HTI SubSea Tensioners are Diver Friendly, Trailer Mounted Light Towers, Universal Telescopic Pole System, Universal Telescopic Pole System, Safety Products, Tubes, Composite Star, CADWIND, Engineering Services :filament winding technology, Aerospace systems, Positive Displacement Compressors, Aerospace equipment, Defence systems, CN-852 BEARING MATERIAL
Related researches: FLOW-STRUCTURE INTERACTION, BIOMECHANICS, MECHATRONICS/ROBOTICS, VIBRATION AND NOISE, Major obstacle from mass production of tiny circuits has removed by researchers., Robotics and Control, Wind tunnel experimentation, nanowire-based nanotechnology: sublithographic programmable logic arrays, The largest fusion experiments in the world : cutting edge of plasma physics., Biomolecular World : connections among biology and physics, and molecules and computers, Container protecting & navigating robots by sensing network, Flow specially of tiny bubbles specially microfluidic device mimics computer circuitry, Full-wave rectifier uses current-feedback amps, High Speed Transfer Control layer Protocol development, Computing and Monitoring System for Discovery BY UCoMS, Angle-Resolved Photoelectron Spectroscopy, Taming Stem Cells, Grounding carbon dioxide effects greenhouese positively, Low-cost, home-built 3-D printer, Different biomolecules (DNA, proteins, etc.) in a single sample, computerized tomography (CT) that enables dentists to take 3D images of patients, Next generation of x-ray light sources., The inflationary view :our universe was born out of a vacuum, Earthquake Performance of Gas and Water Supply Lifelines, Cost-effective methods for on-site PCB remediation
Related press releases: New analog circuits could impact consumer electronics, New Robotic Miniature Helicopter Packs Bug-Like Brain, Biochip Allows Genes To Express Themselves, Technique Paves Way for Advanced Hand-Held Sensing Devices, Advance on 'Smart Bladder Pacemaker' : Biomedical Engineers
Home | Members.Benefit | Privacy.Policy | Bookmark.This.Page | Contact.Us
© 2006 - 2007 4engr. All Rights reserved

|Conveyor technology