-
Notifications
You must be signed in to change notification settings - Fork 0
7. PID tuning and PID examples
Konstantin Sharlaimov (DigitalEntity) edited this page Nov 6, 2016
·
17 revisions
Do it one step at a time. - zero out I and D and tune P, then add D, then add I to flight drift. Fine-tune using blackbox or HD camera.
Caution: The values set in CLI are displayed (and input) in a different format in the PID tab of Cleanflight!
- P-values: factor of 10, e.g. set p_pitch = 55 is displayed 5,5 in the configurator
- I-values: factor of 1000, e.g. set i_pitch = 20 is displayed 0.0020 in the configurator
- D-values: factor of 1, e.g. set d_pitch = 70 is displayed 70in the configurator
iNav have changed scaling of PIDs after from version 1.2(merged to master 22.jun 2016) Conversation chart
Template multirotors:
- Name of frame:
- Size of frame:
- Weight:
- Total thrust:
- Battery infomation:
- iNav version:
PID and other values from CLI
Template fixedwing:
- Name of plane:
- Mixer used:
- iNav version:
- Additional infomation you see fit if not stock airplane:
PID and other values from CLI
- Wing Wing Z-84:
- Mixer used: Flying Wing
- iNav version: iNav 1.3.1(Pre release)
- Additional infomation you see fit if not stock airplane:
set gyro_sync = ON
set gyro_sync_denom = 1
set gyro_lpf = 42HZ
set gyro_soft_lpf_hz = 40
set acc_soft_lpf_hz = 15
set dterm_lpf_hz = 30
set nav_fw_launch_accel = 1716
set nav_fw_launch_detect_time = 40
set nav_fw_launch_thr = 1500
set nav_fw_launch_motor_delay = 150
set naw_fw_launch_timeout = 5000
set naw_fw_launch_climb_angle = 10
set p_pitch = 20
set i_pitch = 30
set d_pitch = 15
set p_roll = 25
set i_roll = 30
set d_roll = 15
set p_yaw = 0
set i_yaw = 0
set d_yaw = 0
set p_level = 20
set i_level = 5
set d_level = 75
set max_angle_inclination_rll = 600
set max_angle_inclination_pit = 450
set rc_expo = 40
set tpa_rate = 33
set tpa_breakpoint = 1300
- Начало работы с iNAV
- Руководство по мультироторам
- Руководство по самолетам
- Карта поддерживаемого оборудования
- Failsafe
- YouTube video guides
- Автоопределение сенсоров и определение проблем с оборудованием
- Калибровка сенсоров
- GPS и настройка компаса