Coder Social home page Coder Social logo

btknzn / -closed-loop-motion-control-in-dc-motor-encoder-controller-with-pid-controller Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 204 KB

Closed-loop motion control in DC Motor (encoder Controller) with PID Controller

C++ 100.00%
pid dcencodercontroller l293d encodderdcmotor closeloopcontrol tinkercad

-closed-loop-motion-control-in-dc-motor-encoder-controller-with-pid-controller's Introduction

-Closed-loop-motion-control-in-DC-Motor-encoder-Controller-with-PID-Controller

Closed-loop motion control in DC Motor (encoder Controller) with PID Controller Tinkercadlink:https://www.tinkercad.com/things/2Z1cT1oNstr-pid-dc-encodermotor/editel?sharecode=E063SChqkMQquGKMy7anisIYiJHHZ3HpF69f07lPn18=

Project Aim: Closed-loop motion control in DC Motor (encoder Controller) with PID Controller Equipment List: • PC • Arduino (Nano/Uno/Mega) • Breadboard x 1 • L293D • DC Motor with encoder • LN298N motor driver

System Description and Mathematical Calculation: It is common problem to stop dc motor in specific location or angle , because of that, we should make a closed loop control system and minimize our error. In our project it is expected to make one system, which stops in specific angle. For example when user entered 30 degree our system will stop between 29.98 and 30.02. In our project, PID is applied. You can see our systems’ mathematical schematic in figure-1- alt text Results: You can see our system results in figure-2- For 360 degree target value, it stopped 359.99 degre alt text Please be note that, you should change in code the variables’ (targetDeg) value to see our system behavior in other angles.

You can see our code in copy_of_dc_motor_encoder_1

-closed-loop-motion-control-in-dc-motor-encoder-controller-with-pid-controller's People

Contributors

btknzn avatar

Stargazers

 avatar

Watchers

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