Giter Site home page Giter Site logo

mcs_v1's Introduction

c语言电机仿真

这是一个面向对象的、模块化的电机控制c语言框架V1。

介绍

我为了更好的构建电机控制知识体系,刚好受到陈嘉豪博士的电机仿真c框架,和工作中使用webot的仿真软件启发。采用面向对象的的方式构架了这个软件。

陈博的github:https://github.com/horychen/ACMSIMC_TUT

对于这个开源项目

  1. 希望对电机控制初学者有所帮助
  2. 希望对习惯simulink仿真,而不知如何编码的同学有所帮助。

后期可能慢慢的会补一些文档。

  • 如果你觉得不错,认同这个开源项目,并且愿意使用,同时十分欢迎贡献:模块库,仿真样例。
  • 联系方式:
    1. qq群:528884293
    2. qq:1084746243
    3. 微信公众号:wang_chong_wei

框架

  • 整个c风格是使用c语言模仿cpp写的,所以需要一点c语言的基础。
  • 框架也还在探索中。

frame

依赖

  1. 平台:Windows
  2. IDE: QT5
  3. 波形打印使用第三方库:qcustomplot

编译

你只需要在QT IDE中进行编译。


之前用python,有同学不行,改成qt了。只需要下载qt ide编译就行了。

当然,我还有个设想,有空的话会设计一款小驱动器。直接把仿真的代码放到驱动器上测试使用,当然还有对应的上位机,仿真软件就是上位机的一部分了。


示例一个有刷电机的调用

project_call

运行后的波形

dc_sim_wave

pmsm给Uq电压测试波形

pmsm_sim_wave

mcs_v1's People

Contributors

chongweiwang avatar

Stargazers

walle avatar  avatar  avatar  avatar  avatar  avatar MaJiachen avatar TanLong avatar  avatar End avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar GANG avatar  avatar HuangMingfei avatar SophiaYan avatar feng avatar  avatar 陈江 avatar  avatar  avatar  avatar  avatar  avatar 公司的力量 avatar jian chen avatar  avatar Jian_L avatar  avatar  avatar

Watchers

公司的力量 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.