GithubHelp home page GithubHelp logo

vir_motor_model's Introduction

采数据

执行scripts/collect_pmsm_data.py 或scripts/collect_pmsm_dq_data.py, dq可以实现控制功能

可选参数见args -u,-i, -v, -a 分别为电压、电流、速度、加速度的绝对值的最大值,可不改 -n 为电流(注意是只有ab相电流有噪声)噪声 -s 为每个episode最大步数,使用dq控制时大概1e4步可以达到稳态 -r (仅ab相电压控制时有效) 为每个episode内每一步是否随机一个新电压,如果选否则在episode开始时随机一个电压后整个episode内持续不变 -N 为运行采集的样本总数

数据默认储存在data目录下 格式为“<样本数>of<是否随机控制><噪声大小><数据创建时间>.csv”

---

更新:DQ相控制时,当转速稳定后切换到下一个episode,建议每个episode不短于1e4,

建议先试用不带dq的版本,输入id0 iq0 vel0 ud uq 输出id iq vel

vir_motor_model's People

Contributors

flyinskybtx avatar

Watchers

 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.