All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
100 views

stable altitude quadcopter

I'm currently working on a project to generate a stable altitude and automatic control for a quadcopter I'm using arduino as the flight controller Ultrasonic sensor HC-SR04 MPU-6050 However my ...
2
votes
1answer
92 views

PID Gains: Drop in control loop rate, need to retune?

Good Day, I am working on an autonomous quadcopter. May I ask if there is a significant difference if my control loop dropped from 500Hz to 460Hz due to added lines of code that would require ...
1
vote
1answer
458 views

Using Quaternions to feed a quadcopter PID stabilizing controller to avoid Gimbal lock

I am trying to control my F450 dji quadcopter using a PID controller. From my IMU, I am getting the quaternions, then I convert them to Euler's angles, this is causing me to have the Gimbal lock issue....
0
votes
1answer
637 views

Quadcopter: X-Y Velocity PID Controller

Good day, Introduction I am currently working on an autonomous quadcopter project. I have currently implemented a cascaded PID controller consisting of two loops. The inner rate loop takes the ...
3
votes
1answer
490 views

Quadcopter refuses to fly when the Yaw PID component is added

Good day, I would like to ask why is it that when I add the Yaw control to my PID controller for each motor. The quadcopter refuses to take off or maintain its altitude. I am curently using a ...
0
votes
1answer
957 views

Quadcopter PID Tuning for Altitude Hold/Position Hold along Z axis

Good day, I have just finished tuning the Pitch and Roll PID's. I did this by setting the throttle such that the quad is weightless. I did the tuning of each axes separately. I would just like to ask ...
1
vote
1answer
141 views

Ultrasonic Sensor's Lag (20Hz) effect on PID contol loop rate (150Hz)

Good day, I would like to ask how is it possible to use an ultrasonic sensor for altitude hold in a quadcopter if the sampling rate of the Ultrasonic sensor (HC-SR04) is only 20Hz before incurring any ...
1
vote
1answer
531 views

Quadcopter PID: Controller is Saturating

Good day, I am currently creating an autonomous quadcopter using a cascading PID controller specifically a P-PID controller using angle as setpoints for the outer loop and angular velocities for the ...
1
vote
2answers
1k views

PID Control: Integral error does not converge to zero

Good day, I had been recently reading up more on PID controllers and stumbled upon something called integral wind up. I am currently working on an autonomous quadcopter concentrating at the moment on ...
2
votes
1answer
552 views

Quadcopter PID Controller: Derivative on Measurement / Removing the Derivative Kick

Good day, I am currently implementing a single loop PID controller using angle setpoints as inputs. I was trying out a different approach for the D part of the PID controller. What bought this ...
4
votes
2answers
4k views

Quadcopter PID Control: Is it possible to stabilize a quadcopter considering only angle measurements?

Good day, I am a student currently working on an autonomous quadcopter project, specifically the stabilization part as of now. I am using a tuned propeller system and I also already considered the ...
2
votes
2answers
200 views

Quadcopter stability vs (PID error signal lag and sample time)

The question I am asking is that, what is the effect on stability of increasing or decreasing both the sample time and lagging of error signal to PID. Does it helps in stability or degrade it?
4
votes
1answer
1k views

Deciding length of quadcopter arms

How quadcopter's arm length affect stability? As per my view I'll have better control on copter with longer arms but with stresses in arms and also it doesn't affect lift capabilities.
3
votes
0answers
130 views

On-board monocular odometry for quadcopter stabilization

Has anyone done this with EKF/PID on a small microcontroller? Or know of code snippets to help implementing this?
8
votes
4answers
7k views

How to use quaternions to feed a PID quadcopter stabilization loop?

I'm making a quadcopter. I have set up a PID loop to stabilize it to a given Euler angle (pitch and roll). The problem arises when the roll approaches 90 degrees (45 degrees and up). The values don't ...
12
votes
3answers
18k views

Quadcopter PID tuning

In continuation of the question I asked here: Quadcopter instability with simple takeoff in autonomous mode ...I'd like to ask a few questions about implementing a basic PID for a quadrotor ...
2
votes
2answers
705 views

KK2.0 Quad Stablility

I'm running a kk2.0 + 4 20A Multistar ESCs + 4 EMax GF 2215-20 motors + 4 Slow Fly Props After about a foot off the ground, the entire quadcopter starts wobbling like crazy (no auto-level). Any ideas?...
11
votes
3answers
13k views

How to stabilize a quadcopter

Today was my quadcopter's first "flight". I'm running megapirate on a Crius AIOP v2 with a Turnigy Talon v2 frame. I only touched the throttle stick on my remote, nothing else. When I felt the ...
20
votes
5answers
2k views

Is it better to have batteries distributed at the rotors or the center of the multicopter?

I've seen 3 approaches to mounting batteries on a multicopter: All the batteries rigidly mounted near the center of the airframe All the batteries in a bag hanging under the center of the airframe ...
20
votes
4answers
5k views

What frequency does my quadcopter output-sense-calculate-output update loop need to stay stable?

With a 600 mm (2 foot) motor-to-motor quadcopter, what frequency does my output-sense-calculate-output update loop need to stay stable? I'm estimating a total takeoff weight of very roughly 2 pounds (...