Giter Club home page Giter Club logo

flycontrol-stc80c51's Introduction

四轴飞行器

  • 四轴复合版,大四轴 & 小四轴
  • 时间:2015-8-19
  • 作者: JIN Kai & JIANGH He-jun
  • 算法:PID(内环PID, 外环PI) + 四元数解算 + 互补滤波

程序架构方面

  • 实现一键切换大小四轴
  • 实现将需要修改的参数定位到同一个文件
  • 实现参数关联修改(修改主频的同时将所有参数自动修改)

PWM电机驱动

  • 动态大四轴PWM调节(自动进入正常模式)
  • 动态小四轴PWM初始化计数初值

飞机保护程序

  • 实现飞行器失联保护
  • 实现飞行器一键刹车

通讯程序

  • 实现无线通信的伪双工通讯(兼容单工)
  • 实现uart串口的读写
  • 定时器t0初始化过程消除uart串口中断

飞控算法调整

  • 对Speed的取值进行估计
  • 重新调整了大小四轴的PID
  • 将飞行器飞行方式由十字型转换为X型

飞机调试模块

  • 增加matlab对MPU6050的曲线实时显示

遥控器模块

  • 对遥控器程序进行了重构
  • 解决遥控器控制不灵敏的问题(非线性函数)
  • 遥控器部分实现了方向微调
  • 实现LCD显示飞行器数据(PWM,MPU6050)
  • 增加LCD大小四轴遥控器方式选择启动(Important)
  • 增加LCD对油门杆误拉高启动的提醒

辅助MCU模块(超声波程序, 灯光等)

  • 增加超声波测高传感器
  • 对超声波测距数据增加卡尔曼滤波

陀螺仪校准方面

  • 对陀螺仪进行校准
  • 对加速度计进行了初始化过程的自校准
  • 增加了卡尔曼滤波函数(针对加速度计)

待实现

  • 实现另一个MPU的传感器GPS/温度/灯光等
  • 实现定高算法

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.