Giter VIP home page Giter VIP logo

egh448's Introduction

EGH448

Buck Converter & Motor Speed Control Project

Motor Speed Control

The motor will be powered by 5.3 volts that passes through L293D motor driver. The driver can then control the motor’s rotation direction – not used – and the rotation speed using a pwm signal provided by a microcontroller. The microcontroller we chose was a NodeMCU microcontroller which is powered by a ESP8266 module. The microcontroller has a 3.3 volts logic. The reason we chose it was to minimize the output voltage of the buck converter for it to work a smaller input voltage. We then found out that the for the motor to exceed the speed required, it will require a higher voltage, 5.3 volts. At this stage we could’ve used another microcontroller, but that wasn’t necessary as the current design works well. The microcontroller reads the signals from the photointerrupter, which also uses 3.3 volts to the output with microcontroller’s logic voltage. The microcontroller then calculate the signal’s frequency by measuring the signal’s high state length. The frequency read is then inputted into a PID controller alongside the desired speed – 400 Hz – and the various control constants. The PID controller then outputs a pwm signal which is sent to the motor driver to control the motor’s speed. The final control constants were Kp = 3 as the proportional controller constant, Ki = 4 as the integral controller constant, and Kd = 0 as the derivative controller constant.

egh448's People

Contributors

obeidhaidar 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.