24.08.2015 Views

Electronic Devices and Amplifier Circuits

Electronic Devices and Amplifier Circuits - Orchard Publications

Electronic Devices and Amplifier Circuits - Orchard Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix BIntroduction to Simulink ®This appendix is a brief introduction to Simulink. This author feels that we can best introduceSimulink with a few examples. Some familiarity with MATLAB is essential in underst<strong>and</strong>ingSimulink, <strong>and</strong> for this purpose, Appendix A is included as an introduction to MATLAB.B.1 Simulink <strong>and</strong> its Relation to MATLABThe MATLAB ® <strong>and</strong> Simulink ® environments are integrated into one entity, <strong>and</strong> thus we can analyze,simulate, <strong>and</strong> revise our models in either environment at any point. We invoke Simulink fromwithin MATLAB. We will introduce Simulink with a few illustrated examples.Example B.1For the circuit of Figure B.1, the initial conditions are i L ( 0 −) = 0 , <strong>and</strong> v c ( 0 −) = 0.5 V . We willcompute v c () t .For this example,+−R1 Ωv s () t = u 0 () tit ()Figure B.1. Circuit for Example B.1L1 ⁄ 4 HC4 ⁄ 3 F+v C () t−i i L i C C dv C= = = --------dt<strong>and</strong> by Kirchoff’s voltage law (KVL),Ri L L di L+ ------ + vdt C = u 0 () tSubstitution of (B.1) into (B.2) yieldsRC dv C-------- LC d2 v+ ---------- Cdt dt 2 + v C = u 0 () t(B.1)(B.2)(B.3)<strong>Electronic</strong> <strong>Devices</strong> <strong>and</strong> <strong>Amplifier</strong> <strong>Circuits</strong> with MATLAB® / Simulink® / Sim<strong>Electronic</strong>s® Examples, Third EditionCopyright © Orchard PublicationsB−1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!