Skip to content

akizunx/TinyControl

Repository files navigation

TinyControl

A Python lib for automatic control system analysis.

Build Status Coverage Status License

IMPORTANT

This project is quite UNSTABLE, Do Not Use in Any Serious Work!

Features

  • Support transfer function and state space models.
  • Time response
    • impulse
    • step
    • ramp
    • any input
  • Frequency response
    • nyquist
    • bode
  • Control system analysis
    • controllability
    • observability
    • pole placement
    • Lyapunov stability

NOTICE

  • Two classes, TransferFunction and StateSpace, are designed for linear time-invariant system.
  • Two response methods, time response and frequency response are only support the SISO system now.

Dependency

Installation

python -m setup.py install

Usage

>>> import tcontrol as tc
>>> system = tc.tf([1], [1, 1])
>>> print(system)
  1
-----
s + 1
>>> tc.tf2ss(system)
A:     B:
  [-1.]  [1.]
C:     D:
  [ 1.]  [0.]

License

This project is under the BSD-3-Clause License. For more information, see the file LICENSE.

Contributions

Your contributions are welcome anytime.

About

Control System Analysis Written in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages