Coder Social home page Coder Social logo

fardinabbasi / laplace_transform Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.4 MB

Signals and Systems [ECE 538] - CA#4 - Spring 2022 - University of Tehran - Dr. Akhavan

electrical-systems laplace-transform matlab mechanical-systems rlc-circuit spring-mass-damper signal-system

laplace_transform's Introduction

Laplace Transform

Modeling mechanical and electrical systems using Laplace transform in MATLAB.

Part 1: Electrical System

Simulation of the following RLC Circuit Using the Laplace Transform.

The relationship between the inductor's current $(I_L)$ and the input current $(I_s)$ is obtained using the Laplace transform through the following procedure.

Finally, here is the final equation: $$I_L = \frac{{128I_s - 128I_L}}{{s^2}} - \frac{{32I_L}}{s}$$

The block diagram below illustrates the system response when a step input is applied as the input current.

Furthermore, the simulation result obtained from Simulink is provided below.

Part 2: Mechanical System

Simulation of the following Spring-Mass-Damper System Using the Laplace Transform.

The relationship between the input force $(F)$ and the output distance from the wall $(X)$ can be derived using the Laplace transform by following the procedure outlined below.

The minimum value for parameter $B$, which ensures that the transfer function's poles are real, is 2.

$\Delta = B^2 - 4 \rightarrow \beta = B_{\text{min}} = 2$

The block diagram below illustrates the system response when a step input is applied as the force.

Furthermore, the simulation result with different values for $B$ obtained from Simulink is provided below.

$B = \beta =2$ $B = 0 (Complex Poles)$
$B = 1 < \beta (Complex Poles)$ $B = 4 > \beta$
  1. $B = \beta =2$: After applying the force, the system stabilizes over time.
  2. $B = 0$: The poles being purely imaginary result in a non-oscillatory response.
  3. $B = 1 < \beta$: The poles being complex result in a damped oscillation.
  4. $B = 4 > \beta$: With real poles, the system oscillates over time but at a slower rate compared to the case when $B = \beta =2$.

laplace_transform's People

Contributors

fardinabbasi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.