Skip to content

jayashankar05/cs_analyser

Repository files navigation

πŸš€ Control System Simulator

A web-based Control System Simulator built using Python and Streamlit to analyze linear time-invariant (LTI) systems using transfer functions.


🌐 Live Demo

πŸ‘‰ https://csanalyser-xicqqq9lyshgratn2whawc.streamlit.app/


πŸ“Œ Features

  • πŸ”Ή Transfer Function Input (Numerator & Denominator)

  • πŸ”Ή Step Response Plot

  • πŸ”Ή Impulse Response Plot

  • πŸ”Ή Bode Plot (Magnitude & Phase)

  • πŸ”Ή Root Locus Plot

  • πŸ”Ή Stability Analysis (Stable / Unstable)

  • πŸ”Ή Poles & Zeros Display

  • πŸ”Ή Performance Metrics:

    • Rise Time
    • Settling Time
    • Overshoot
  • πŸ”Ή Gain Margin & Phase Margin

  • πŸ”Ή Predefined Systems (First-order, Second-order, Underdamped)

  • πŸ”Ή Download Plots as Images

  • πŸ”Ή Clean and Interactive UI


🧠 Concepts Used

  • Transfer Functions
  • Time Domain Analysis
  • Frequency Domain Analysis
  • System Stability
  • Root Locus Technique

πŸ› οΈ Tech Stack

  • Python
  • Streamlit
  • NumPy
  • Matplotlib
  • Control Systems Library

πŸ“‚ Project Structure

control-system-analyzer/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md

βš™οΈ Installation (Run Locally)

git clone https://github.com/your-username/control-system-analyzer.git
cd control-system-analyzer
pip install -r requirements.txt
streamlit run app.py

πŸ“Š Example Transfer Function

G(s) = 1 / (sΒ² + 2s + 1)


πŸ“· Screenshots

Add screenshots of your app here (recommended)


πŸš€ Deployment

This project is deployed using Streamlit Cloud.


πŸ’‘ Future Improvements

  • Compare multiple systems
  • Add time delay systems
  • Export analysis report (PDF)
  • Add controller design (PID tuning)

πŸ‘¨β€πŸ’» Author

Jayashankar B.Tech ECE Student


⭐ Show Your Support

If you like this project, give it a ⭐ on GitHub!

About

A web application built with Python and Streamlit to analyze control systems using transfer functions. It allows users to visualize step response, impulse response, Bode plots, and root locus, and provides information about system stability, poles, zeros, and basic performance metrics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages