ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Balancing robot final year project

Автор: József Fekete

Загружено: 2013-06-26

Просмотров: 221626

Описание: //------------------------------------------------------------------//
You can find the Atmel studio folder of the robot's code and schemantic here:
https://www.dropbox.com/sh/fjjwcn1w03...
//-----------------------------------------------------------------//

//-----------------------------------------------------------------//
Usefull informations:

PID controller:
http://www.cds.caltech.edu/~murray/co...
Complementary filter:
http://d1.amobbs.com/bbs_upload782111...
//-----------------------------------------------------------------//

Components:

Microcontroller: ATmega32
Gyroscope: mpu-6050 (in the video I used a LISY300)
Accelerometer mpu-6050 (in the video I used a BMA180)
Encoder: Ball mouse
Motor Controller: Pololu TB6612FNG
Motors: Old DC motors madi in Japan :) SM - E048
12500 RPM without load.
Current: 0.1 A Without load 1.5 A When the wheels are changing the direction of rotation, or when going uphill.

Battery: Electric drill 9.6V NiMH
Wheels: Toy tractor
Geer ratio: 1:8
Bluetooth-SerialPort converter: hc - 05

Complementary filter (For the angular velocity I used only the Gyro)
With the use of euler angles balancing end turning in inclined surface is more easier

Remote Controller:

ATmega328P
PS2 Analoge Stick
Bluetooth-SerialPort converter: hc - 05

//-----------------------------------------------------------------//
The requested velocity when the robot is standing still is:
ReqVelocity = RobotPosition(mm) * positionKP
poitionKP = 0.008

The requested angle is calculated by a PI controller. The setpoint for this controller is ReqVelocity. The measured velocity is filtered by a Low pass filter. the output of the controller is the ReqAngle
velocityKP = 2
velocityKI = 1.64
PIDoutput is constrained between = -20,20 this is the maximum angle that the robot would try to reach when accelerating.
The maximum value whereby the ‘I’ can change is 6.6. So when calculating the integrator value then error can constrained between +-maxIchange/velocityKI

The requested PWM for the motors is calculated by a PD controller. The setpoint for this controller is ReqAngle. To eliminate the derivative spikes D is calculated from the measured angle change, not from the error.
angleKP = 40
angleKD = -4.5 (this is minus because it isn’t calculated from the error)
PIDoutput is constrained between -255, 255
The output of this controller is also filtered with a Low pass filter

To keep the robot’s orientation another PWM value is calculated and then added to one of the motors and subtracted from the other.
orientationKP = 5
orientationKD = 0.1

the whole program runs in a loop 100 times in a second.
If the value of the filters would changed, than the PID’s value would also need to be changed.
The low pass filter’s code with fixed timing is:
filteredARRAY[0] = rawDATA*LPFgain + filteredARRAY[1]*(1-LPFgain);
filteredARRAY[1] = filteredARRAY[0];
velocity LPFgain = 0.35 //0.45
PWM LPFgain = 0.2 //0.45
reqeustedVelocity LPFgain = 0.05 (this is to smooth the setpoint changes)

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Balancing robot final year project

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Электромагнитная система запуска самолётов

Электромагнитная система запуска самолётов

Unicycle balancing robot with reaction wheel (open source)

Unicycle balancing robot with reaction wheel (open source)

Этот ракетный двигатель разработан не людьми

Этот ракетный двигатель разработан не людьми

Я наконец-то усовершенствовал своего самобалансирующегося робота!

Я наконец-то усовершенствовал своего самобалансирующегося робота!

25 Запрещенных Гаджетов, Которые Вы Можете Купить Онлайн

25 Запрещенных Гаджетов, Которые Вы Можете Купить Онлайн

Ballbot : A Single-Wheeled Balancing Robot

Ballbot : A Single-Wheeled Balancing Robot

Simple 3D printed mini balancing robot

Simple 3D printed mini balancing robot

Распаковка Arduino: самобалансирующийся робот-комплект ELEGOO Tumbler

Распаковка Arduino: самобалансирующийся робот-комплект ELEGOO Tumbler

Эфир - Самое ЛЕТУЧЕЕ Вещество на Земле!

Эфир - Самое ЛЕТУЧЕЕ Вещество на Земле!

RED Balancing Robot for ServoCity Contest

RED Balancing Robot for ServoCity Contest

Self-balancing robot from scratch

Self-balancing robot from scratch

СГОРЕЛ ИГРОВОЙ MSI LEOPARD GP66 на RTX 3080 или ПОЧЕМУ ОХЛАЖДАЮЩИЕ ПОДСТАВКИ - ЗЛО?

СГОРЕЛ ИГРОВОЙ MSI LEOPARD GP66 на RTX 3080 или ПОЧЕМУ ОХЛАЖДАЮЩИЕ ПОДСТАВКИ - ЗЛО?

УВЕЛИЧИЛИ МОЩНОСТЬ СТАРИННЫХ ИГРУШЕК В 10 РАЗ!)

УВЕЛИЧИЛИ МОЩНОСТЬ СТАРИННЫХ ИГРУШЕК В 10 РАЗ!)

Прозрачный реактивный двигатель

Прозрачный реактивный двигатель

Two wheel inverted balancing robot

Two wheel inverted balancing robot

Тюнинг легендарной игрушки СССР: Планетоход ИНТЕРКОСМОС

Тюнинг легендарной игрушки СССР: Планетоход ИНТЕРКОСМОС

Mini balancing robot

Mini balancing robot

Я создал двигатель с заслонками: новый роторный дизайн

Я создал двигатель с заслонками: новый роторный дизайн

Советы по созданию самобалансирующегося робота, которые спасут ваш проект

Советы по созданию самобалансирующегося робота, которые спасут ваш проект

Self balancing robot using stepper motor

Self balancing robot using stepper motor

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]