Coder Social home page Coder Social logo

repetitive-ctrl-magnetic's Introduction

Repetitive control for magnetic flux control

This repository contains the code and a report on my exploration of repetitive control and its application to control a test bench for loss measurement of magnetic materials (Epstein frame).

This work is a follow-up on a June 2019 discussion with Anh-Tuan Vo and Afef Lebouc from G2Elab who are actually working and controlling such a system. This repository contains Modelica models of my own for the numerical simulation of this scheme. A draft report summarizes key results.

Repository address: https://github.com/pierre-haessig/repetitive-ctrl-magnetic

Repository content

Report

The draft report Repetitive control for magnetic test.pdf summarizes some key properties of repetitive control and shows numerical simulations of this control applied to a magnetic test bench. Tuning of the control parameters is discussed.

This report is deposited as a draft paper on the HAL archive:

Pierre Haessig, “Repetitive control for magnetic flux control”, 2019. https://hal.archives-ouvertes.fr/hal-02287247

Modelica models

Modelica package MagneticTestCtrl.mo, which contains all simulation models. Package content:

  • Experiment: simulation model of the repetitive control RepCtrl connected to the MagBench system to be controlled.
  • MagBench: physical model of the magnetic system, including non-linearities (saturation and hysteresis) of the core material under test, based on Modelica.Magnetic.FluxTubes package.
  • RepCtrl: model of the repetitive controller, including a feedforward
  • tests subpackage:
    • testCtrl: simulation model of RepCtrl connected to a simple first order plant model
    • testMagBench: simulation model of MagBench without a controller

screenshot MagneticTestCtrl package opened inside OpenModelica's OMEdit

Overview of MagBench which models the Epstein frame system, including a non-linear magnetic material under test:

MagBench Modelica model

Jupyter Notebooks

Python Notebook Test Magnetic Control.ipynb, which automates some parametric changes in the simulation of Modelica model testCtrl. Requires the OMPython package.

Repetitive control

Structure of the repetitive control used here:

repetitive control block diagram

It is presented in the report Repetitive control for magnetic test.pdf

repetitive-ctrl-magnetic's People

Contributors

pierre-haessig avatar

Watchers

James Cloos avatar  avatar  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.