Git Product home page Git Product logo

deeplyapunovfunction's Introduction

DeepLyapunovFunction

Efficient Computation of Lyapunov Functions Using Deep Neural Networks for the Assessment of Stability in Controller Design

Lyapunov Function Approximation and Analysis

This repository contains a collection of codes for approximating Lyapunov functions using deep neural networks and integrating these approximations into control system simulations in Simulink. The project demonstrates the use of machine learning techniques in control theory, particularly for systems where traditional analytical methods are infeasible.

Contents

Lyapunov_Approximation_1.ipynb: TensorFlow code for approximating the Lyapunov function and computing its orbital derivative for a given dynamical system 1.

Lyapunov_Approximation_2.ipynb: TensorFlow code for approximating the Lyapunov function and computing its orbital derivative for a given dynamical system 2.

Additional documentation and resources for integrating the model with Simulink will be added.

Getting Started

Prerequisites

Python 3.x TensorFlow 2.x tf2onnx NumPy Matplotlib Simulink (for integration with the ONNX model)

Usage

Lyapunov Function Approximation:

Run .py files to approximate the Lyapunov function and compute its orbital derivative.

This script will also generate plots for visual analysis.

Exporting the Model:

Execute export_to_onnx.py to convert the trained model to the ONNX format.

Simulink Integration:

Follow the provided documentation to import the ONNX model into Simulink and set up the custom block for the orbital derivative.

Contributing

Contributions to this project are welcome. Please ensure to update tests as appropriate.

Contact

Caglar Uyulan - [email protected]

Project Link: https://github.com/DeepDynaSim/DeepLyapunovFunction

deeplyapunovfunction's People

Contributors

deepdynasim 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.