• Nie Znaleziono Wyników

NUMERICAL ANALYSIS OF CIRCUITS WITH SWITCHED CAPACITORS AND INDUCTANCES

N/A
N/A
Protected

Academic year: 2021

Share "NUMERICAL ANALYSIS OF CIRCUITS WITH SWITCHED CAPACITORS AND INDUCTANCES"

Copied!
6
0
0

Pełen tekst

(1)

__________________________________________

* West Pomeranian University of Technology, Szczecin.

capacitors and inductances. Computer simulations have been carried out for an exemplary circuit using PSpice software. Then the analysis has been performed for the circuit according to the numerical algorithm.

1. CIRCUIT SIMULATION USING PSPICE SOFTWARE

Mathematical models of various systems used in electronics, physics, chemistry, mechanics, economics and biology can often be expressed as ordinary differential equations

         

2 2

n n 1

n n 1

d d d d

x t F t , x t , x t , x t , , x t

d t d t d t d t

 

  

 

 (1)

The function x(t) is unknown. Using the following substitutions

               

2 n 1

0 1 2 2 n 1 n 1

d d d

x t x t , x t x t , x t x t , , x t x t

d t d t d t

    

we obtain a system of n first-order differential equations with unknowns

0 1 n 1

x , x ,, x .

           

0 1 1 2 n 1 0 n 1

d d d

x t x t , x t x t , , x t F t , x , , x

d t  d t   d t   (2)

Parametric equation with time-varying coefficients:

                 

n n 1

n n n 1 n 1 1 0

d d d

a t x t a t x t a t x t a t x t f t

d t d t d t

       

In theory of parametric circuits we adopt coupled fluxes ψ (t) in coils and charges q (t) in capacitors as state variables. Charges q (t) in capacitors and coupled fluxes ψ (t) in coils are continuous functions of time.

   

   

L

dq t d t

i t , u t

dt dt

  

(2)

Fig. 1. Circuit with switched capacitors and inductances in PSpice

Fig. 2. Input voltage

Fig. 3. Voltage across the capacitor C0. Result of computer simulation using PSpice

(3)

Fig. 4. Input voltage and changes of C(t) and L(t) obtained using Mathcad

(4)

3. RUNGE-KUTTA ALGORITHM IN MATHCAD

Numerical methods for initial value problems are very easily adapted for systems of differential equations of first order. The fourth order Runge-Kutta algorithm is one of the most accurate one-step methods and the most widely used.

The RK4 algorithm has local truncation error of order h^5, so it is more accurate with larger steps than Euler's method. Let an initial value problem be specified as follows. At the start, time is t0 and y is y0.

 

n 1

n

0 0

n n n

n 1 1

t

n n t

y f (t, y), y t y

y y f (t, y) dt y f (t , y ) h y k

  

 

     

The RK4 method for this problem is given by the following equations:

 

 

 

 

 

n n

n 1 1 2 3 4 n 1

n n 1

n n

2 1

n n

3 2

n n

4 3

y y k 2 k 2 k k , t t h

k f t , y h

k f t 0.5 h, y 0.5 k h

k f t 0.5 h, y 0.5 k h

k f t h, y k h

        

 

     

     

   

(3)

Fig. 1a. Circuit with switched capacitors and inductances

 

 

   

   

 

 

1 2

 

3 4

d t

a t a t t e t

dt

a t a t q t

d 0

dtq t

 

        

  

       

 

     

 

 

(4)

(5)

Fig. 5. The fourth order Runge-Kutta algorithm in Mathcad

(6)

Fig. 6. Voltage across the capacitor. Current in the coil. Calculations using Mathcad

The results given in Fig. 6 have been compared with those shown in Fig. 3.

A consistency of results is found.

REFERENCES

[1] Bolkowski S.: Teoria obwodów elektrycznych. 584 pp. WNT, Warszawa, 2007.

[2] Tietze U. , Schenk H.: Układy półprzewodnikowe, WNT, Warszawa, 1997.

[3] Lipiński W.: Obliczenia numeryczne w teorii sygnałów i obwodów elektrycznych.

ZAPOL, Szczecin, 2008, pp. 316.

[4] Mikołajuk K., Trzaska Z.: Elektrotechnika Teoretyczna, PWN, Warszawa 1984.

Cytaty

Powiązane dokumenty

P i n i, Un problema di valori al contorno per un’equazione a derivate parziali del terzo ordine con parte principale di tipo

Local existence of generalized solutions to nonlocal problems for nonlinear functional partial differential equations of first order is investigated.. The proof is based on

What concerns iterative functional equations, solutions with big graph were obtained in [9], [2] and [4] for equations of invariant curves, in [1] for some homogeneous equations, and

Tun¸ c, A result on the instability of solutions of certain non-autonomous vector differential equations of fourth order,

Ntouyas, The lower and upper solutions method for first order differential inclusions with nonlinear boundary conditions,

In [4, 6] the authors studied the existence and uniqueness of solutions of classes of functional differential equations with infinite delay and fractional order, and in [3] a class

In [4, 7] the authors studied the existence and uniqueness of solutions of classes of initial value problems for functional differential equations with infinite delay and

By the method of upper and lower solutions we obtain existence result in a sector, then using the monotone iterative scheme we prove the existence of extremal solutions.. Finally,