Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
callieEDU committed Oct 28, 2024
1 parent 25d1f07 commit ac5e198
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@

# <span style="color:rgb(213,80,0)">Transfer Function Analysis of Dynamic Systems</span>


[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/94635-transfer-function-analysis-of-dynamic-systems) or [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Transfer-Function-Analysis-of-Dynamic-Systems&project=TransferFunctions.prj&file=README.mlx)

[![MATLAB Versions Tested](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FMathWorks-Teaching-Resources%2FTransfer-Function-Analysis-of-Dynamic-Systems%2Frelease%2FImages%2FTestedWith.json)](https://MathWorks-Teaching-Resources.github.io/Transfer-Function-Analysis-of-Dynamic-Systems)

**Curriculum Module**

_Created with R2024b. Compatible with R2024b and later releases._

# Information

This curriculum module contains interactive [MATLAB® live scripts](https://www.mathworks.com/products/matlab/live-editor.html) and [apps](https://www.mathworks.com/products/matlab/app-designer.html) that teach transfer function analysis of dynamic systems.


## Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. In the first script, students learn to derive transfer functions from ODEs and compute impulse, step, and forced responses. In subsequent scripts, students perform pole\-zero and frequency domain analyses. Throughout the module, students apply transfer functions to analyze the dynamics of physical and electrical systems. In the final lesson, students perform a frequency domain analysis of an LC filter in a buck converter. A review of Laplace transforms is also included for students seeking a refresher. In addition, there is a MATLAB app that lets you construct a transfer function by graphically positioning the poles and zeros. You can also compute and plot the impulse and step responses.


The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the <img src="Images/EndIcon.png" width="19" alt="EndIcon.png"> Stop button in the **RUN** section of the **Live Editor** tab in the MATLAB Toolstrip.

## Contact Us

Solutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:onlineteaching@mathworks.com) if you would like to request solutions, provide feedback, or if you have a question.


## Prerequisites

This module assumes knowledge of algebra and differential equations. There is minimal MATLAB knowledge required for these scripts and app, but you could use [MATLAB Onramp](https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted) and [Introduction to Symbolic Math with MATLAB](https://matlabacademy.mathworks.com/details/introduction-to-symbolic-math-with-matlab/symbolic) as a resource to acquire familiarity with MATLAB syntax, live scripts, and apps.


## Getting Started
### Accessing the Module
### **On MATLAB Online:**

Use the [<img src="Images/OpenInMO.png" width="136" alt="OpenInMO.png">](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Transfer-Function-Analysis-of-Dynamic-Systems&project=TransferFunctions.prj) link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.

### **On Desktop:**

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double\-click on [TransferFunctions.prj](https://github.com/MathWorks-Teaching-Resources/Transfer-Function-Analysis-of-Dynamic-Systems/blob/release/TransferFunctions.prj). It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.


Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add\-On Explorer. To install an add\-on, go to the **Home** tab and select <img src="Images/AddOnsIcon.png" width="16" alt="AddOnsIcon.png"> **Add-Ons** > **Get Add-Ons**.


## Products

*MATLAB* is used throughout. Tools from *Symbolic Math Toolbox™ and Control System Toolbox™* are used frequently as well.


# Scripts

*If you are viewing this in a version of MATLAB prior to R2023b, you can view the learning outcomes for each script* [*here*](https://www.mathworks.com/matlabcentral/fileexchange/94635-transfer-function-analysis-of-dynamic-systems)

## [**ConceptReview.mlx**](./Scripts/ConceptReview.mlx)
| | | |
| :-- | :-- | :-- |
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
| <img src="Images/image_3.gif" width="171" alt="image_3.gif"> <br> | • Compute Laplace transforms by hand and using symbolic math <br> • Describe the properties of the Laplace transform <br> • Apply Laplace transforms to solve initial value problems <br> • Recall the definition of a linear time\-invariant (LTI) operator <br> | • Mechanical Engineering <br> • Electrical Engineering <br> • Mathematics <br> |
| | | |

## [**TransferFunctionBasics.mlx**](./Scripts/TransferFunctionBasics.mlx)
| | | |
| :-- | :-- | :-- |
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
| <img src="Images/image_4.png" width="171" alt="image_4.png"> <br> | • Derive transfer functions by hand <br> • Derive transfer functions using symbolic math <br> • Numerically evaluate and plot the impulse, step, and forced responses of a system <br> • Analytically derive the step and forced responses of a system <br> • Explain the physical significance of time responses <br> | • Mechanical Engineering <br> • Electrical Engineering <br> • Mathematics <br> |
| | | |

## [**PoleZeroAnalysis.mlx**](./Scripts/PoleZeroAnalysis.mlx)
| | | |
| :-- | :-- | :-- |
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
| <img src="Images/image_5.png" width="171" alt="image_5.png"> <br> | • Describe how the transfer function of a DC motor is derived <br> • Identify the poles and zeros of a transfer function <br> • Assess the stability of an LTI system based on the transfer function poles <br> • Relate the position of poles in the s\-plane to the damping and natural frequency of a system <br> • Explain how poles of a second\-order system relate to its dynamics <br> • Examine how transfer function zeros affect the dynamics of a system <br> | • Mechanical Engineering <br> • Electrical Engineering <br> • Mathematics <br> |
| | | |

## [**FrequencyDomainAnalysis.mlx**](./Scripts/FrequencyDomainAnalysis.mlx)
| | | |
| :-- | :-- | :-- |
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
| <img src="Images/image_6.gif" width="171" alt="image_6.gif"> <br> | • Explain how a Bode plot is generated <br> • Use MATLAB to numerically calculate the frequency response of a transfer function <br> • Discuss how features of the Bode plot relate to characteristics of physical systems <br> • Describe how to derive a differential equation model for a buck converter with an LC filter <br> • Apply the Bode plot to analyze an LC filter in a buck converter <br> | • Mechanical Engineering <br> • Electrical Engineering <br> • Mathematics <br> |
| | | |


# License

The license for this module is available in the [LICENSE.md](https://github.com/MathWorks-Teaching-Resources/Transfer-Function-Analysis-of-Dynamic-Systems/blob/release/LICENSE.md).


# Related Courseware Modules
## [Fourier Analysis](https://www.mathworks.com/matlabcentral/fileexchange/106725-fourier-analysis?s_tid=srchtitle)
| | |
| :-- | :-- |
| <img src="Images/image_7.jpeg" width="171" alt="image_7.jpeg"> <br> | **Available on:** <br> [<img src="Images/OpenInFX.png" width="91" alt="OpenInFX.png">](https://www.mathworks.com/matlabcentral/fileexchange/106725-fourier-analysis?s_tid=srchtitle) <br> [<img src="Images/OpenInMO.png" width="136" alt="OpenInMO.png">](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Fourier-Analysis&project=FourierAnalysis.prj) <br> [GitHub](https://github.com/MathWorks-Teaching-Resources/Fourier-Analysis) <br> |
| | |

## [Virtual Hardware and Labs for Controls](https://www.mathworks.com/matlabcentral/fileexchange/100064-virtual-hardware-and-labs-for-controls?s_tid=srchtitle)
| | |
| :-- | :-- |
| <img src="Images/image_10.png" width="171" alt="image_10.png"> <br> | **Available on:** <br> [<img src="Images/OpenInFX.png" width="91" alt="OpenInFX.png">](https://www.mathworks.com/matlabcentral/fileexchange/100064-virtual-hardware-and-labs-for-controls?s_tid=srchtitle) <br> [<img src="Images/OpenInMO.png" width="136" alt="OpenInMO.png">](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Virtual-Controls-Laboratory&project=VirtualControlsLaboratory.prj) <br> [GitHub](https://github.com/MathWorks-Teaching-Resources/Virtual-Controls-Laboratory) <br> |
| | |


Feel free to explore our other [modular courseware content](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22&sort=downloads_desc_30d).

# Educator Resources
- [Educator Page](https://www.mathworks.com/academia/educators.html)

# Contribute

Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Transfer-Function-Analysis-of-Dynamic-Systems/blob/release/CONTRIBUTING.md) page on GitHub.


*©* Copyright 2023 The MathWorks™, Inc


0 comments on commit ac5e198

Please sign in to comment.