Code Monkey home page Code Monkey logo

tri-spwm's Introduction

AD-DC

  • 使用TIM1产生频率40KHz的SPWM波驱动逆变器1
  • TIM1同时通过Update中断产生5K的SPWM更改频率用于产生交流信号
  • 使用TIM6产生ADC采样触发(20KHz)
  • 使用ADC1采集逆变器1三相电压
  • 使用ADC2采集逆变器1,2三相电流

中断分析

  • TIM1 更新电压闭环设定值产生AD输出

电压闭环

  • 200Hz更新频率

日志

8-11 2:38

能进行闭环调节输出电压了,PID参数需要调整。

8-11 8:21

中断频率10K使输出的50Hz减少了0.3Hz左右,只有降低中断频率到5K

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.