Application of od es

18
Submitted by Waqas Wali (54) Umer Habib Khan (47) Talha Khan (37) Zia Ullah (23)

Transcript of Application of od es

Page 1: Application of od es

Submitted by

Waqas Wali (54)Umer Habib Khan (47)

Talha Khan (37)Zia Ullah (23)

Page 2: Application of od es

Contents

Problem statement

How to analyze PN junction

Behavior of Resistor

Behavior of Capacitor

Behavior of PN junction

RC Model

Ordinary Differential Equation

How to solve ODE

Page 3: Application of od es

Contents Euler’s Method

Heun’s Method

Runge Kutta’s 4th Order Method

Page 4: Application of od es

Problem statement We have to analyze the behavior of semi-conductor

devices used in electronics devices i.e. in computer.

The most common semi-conductor device is transistor and in turn the PN junction.

So our problem is to analyze the PN junction.

Page 5: Application of od es

How to analyze PN junction PN junction can be analyzed by constructing there

lumped circuit having with very simple circuit components comprising of resistors and capacitors.

The lumped circuit can be named as “RC-model”.

Before going through the RC-model we will first throw some light on resistor and capacitor separately.

Page 6: Application of od es

Behavior of resistor A resistor is an electrical element that introduce

hindrance to the flow of current.

From Ohm’s law, the equation of voltage across the resistor is.

IRV

IRV-V 01

Page 7: Application of od es
Page 8: Application of od es

Behavior of capacitor A capacitor is a circuit element that is use to store

electrical charge.

The equation of voltage across the capacitor is

Idt

dVC

Idt

VVdC

)( 01

Page 9: Application of od es

Behavior of PN junction PN junction also resist the electrical current from

flowing and hence provide resistance.

It also stores charge across its junction as the capacitors do hence behaving like capacitor.

Page 10: Application of od es

Behavior of PN junction The depletion layer of a PN junction is the interface of the

junction, and (as the name implies) is depleted of charge carriers.

The bias voltage across the junction determines the

capacitance of the depletion layer.

Page 11: Application of od es

RC-model Considering the capacitive and resistive nature of a pn

junction we can represent it by an RC circuit.

dtdVRCVV

Idt

dVC

and

IRVV

ccin

c

cin

Page 12: Application of od es

Ordinary Differential Equation A differential equation is an algebraic equation that

contains some derivatives

e.g.

Derivative indicates a change in a dependent variable with respect to an independent variable.

xydx

dy35

Page 13: Application of od es

How to Solve ODEs There are different methods to solve ordinary

differential equations.

Each method have its own advantage depending upon the computation time and accuracy.

These methods trade off between computation time and accuracy.

Page 14: Application of od es

How to Solve ODEs The methods are

1. Euler’s method.

2. Heun’s method.

3. Runge kutta’s 4th order method.

Page 15: Application of od es

Euler’s Method.

Euler’s method is a numerical technique to solve ordinary differential equations of the form

Only first order ordinary differential equations can be solved by using Euler’s method.

0)0(),,( yyyxfdx

dy

Page 16: Application of od es

Euler’s Method Formula for Euler’s method is

))(,( 11 iiiiii xxyxfyy

Page 17: Application of od es

Heun’s Method. Heun’s method, introduces a new idea to solve the

I.V.P.

))),(,(),((2

)( 11 iiiiiiii ythfytfytfh

tyy

Page 18: Application of od es

Runge Kutta’s 4th Order