This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52-quadcopter PID question.

Hello.

I almost finish nrf52-quadcopter develop.

I want fly drone with mobile.

I want to confirm PID value from minum to maxium in mobile.

and I want to confirm your PID value.

Roll - rate

P:    I:   D:

Roll - attitude

P:    I:   D:

Pitch - rate

P:    I:   D:

Pitch - attitude

P:    I:   D:

Yaw - rate

P:    I:   D:

Yaw - attitude

P:    I:   D:

thank you have a nice day

Parents Reply Children
  • I was using the physical web & bluetooth web api to control the drone.

    rate mode is joystick throttle OK. six-axis sensor is OK.

    so The drone well fly.

    but attitude mode is joystick throttle not OK. Unconditionally motor is 100% on.

    1. Bluetooth connection will receive the PID

    2. calibarate click after controller mode is Rate mode.

    3. According to the first data- 23 of the send joystick, the motor also operates as 23.
    Because of the capture, please understand that the joystick movements and values are different.

    4. calibarate click after controller mode is Attitude mode.

    The joystick operation is the same as the data in Figure 3
    However, the motor operates at 100%
    maybe do not read the throttle value

  • Hi,

    It seems that the gyro & accelerometer might not be calibrated correctly. When you press the "calibrate quadcopter" button, only the offset is adjusted. It does not run a complete calibration. I would calibrate both the gyro & accelerometer correctly & then also tune the regulator if necessary.

    I would also take a closer look at the calibration code & how the regulator inputs are scaled.

    Kind Regards,

    Bjørn

Related