Giter Club home page Giter Club logo

anandketan / pitch_control Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.37 MB

Pitch of an aircraft is controlled by the elevator which is situated at the rare of the airplane running parallel to the wing that houses the ailerons. Pitch control is a longitudinal problem, and this repository presents the design of an Arduino-based system as a solution.

License: MIT License

C++ 100.00%
control-systems arduino pid-tuning cpp avionics aerodynamics

pitch_control's Introduction

Arduino MPU9250 - Gyroscope Motion Processing

The MPU-9250 is a 9-axis Motion Tracking device that combines a 3-axis gyroscope, 3-axis accelerometer, 3-axis magnetometer and a Digital Motion Processor. With its dedicated I2C sensor bus, the MPU-9250 directly provides complete 9-axis DoF output. In this project, the gyroscope function is explored in controlling pitch by altering elevator deflection angle.

Procedure for using MPU-9250 - refer "arduino_pitch.cpp" - 3 DoF gyrosocpe:

  1. Fix address, reset calibrate, reset threshold from previous iterations.
  2. Set up clock source, scale and range of functioning.
  3. Read input for elevator as 8-bit values loaded into fast registers.
  4. Change angle of deflection to alter pitch suitably.

References

Pitch controller design: https://www.researchgate.net/figure/The-pitch-controller-synthesis_fig1_275533475
Arduino MPU-9250 manual: https://invensense.tdk.com/products/motion-tracking/9-axis/mpu-9250/
PID tuning method: https://ctms.engin.umich.edu/CTMS/index.php?example=Introduction&section=ControlPID

pitch_control's People

Contributors

anandketan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

simrit1

pitch_control's Issues

PID Tuning

Proportional control - Root locus, Bode analysis
proportional_ctrl

Tuning the PID by changing values of Kp, Ki, Kd
gain_tuning

Completed tuning of PID and obtained final Ki= 0.5241, Kp = 1.0482, and Kd = 0.5241
PID_fully_tuned

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.