Skip to main content

Posts

The obvious distraction to drone flight control research - Aerial videography

So the notion of upgrading my already awesome (if I can say so myself) looking drone to aerial videography using a 3-axis gimbal has been bugging me for a while now. I mean, why not? At least that will get me to fly the drone alot more and use it for other purposes. The fact that I only need a gimbal and a landing gear (given that I already have the awesome Gopro hero 4 silver), should be providential enough to just spend the dollars required to make this happen. But then one get's to think, why I am doing it for? I mean does my research of intelligent flight control ACTUALLY need aerial capability? One could argue that testing your software with a drone representative of an actual commercial drone could only enhance the validation/justification of the research.  But the ultimate question is, how MUCH distraction will this capability introduce to the essence of what the doctoral research is trying to achieve? Will I gain more information given that I've got now no...

Folding arms on my quad - A game-changer

So i've been looking over the last few months how I can get to fly more of my quadcopter drone for both research and leisure. The major drawback of the 1.6kg drone is its form factor at the time. Being a H-frame quad with cross rotor length of over 80cm, I had to purchase 110L storage bin to keep it safe and damage-free. After much research I ended up a natural solution that would involved just a steel saw and good eye for detail. The other (obvious) requirement for this folding mechanism is that it should make the deployment time as fast as possible with a few if not no special equipment. This led the the solution of cutout the area around the second bolt of each arm to allow pivoting action on the first bolt. The cutout should also be such that bolt hole remains to be used as a stopper to maintain symmetry along the quad x and y axis. The high contact friction will be used to ensure the arms remain in the required position throughout a particular flight. After much sawing and...

High Speed Videography for accurate Drone Rotor RPM estimation

So the notion that in order for me to proceed scientifically (and practically) towards the design of rotor dynamics identification algorithms that will run in real-time, I first need to model the effects of the rotor failure through experimentation. The two best ways of the doing this are (1) Buy a +R2k Tachometer and record (probably by  recording the display) the speed of the propeller with a pre-determined PWM value. (2) Use the high speed capability of an action cam (such as GoPro) and some clever algorithms to compute the propeller RPM. The latter is the cheaper (and the geekier) option of the two. The setup was such that contrast was created through the use of a black mat cloth on the setup table and painting the opposing blade of the propeller black and white (see below). A RGB (red-green-blue) adaptive algorithm was developed which would mitigate the occurrence of glares on the blade which would in turn give a false reading with the algorithm. Each frame was analyze...

Research drone airframe upgrade

My research drone, given the lack of research funds, was a fourth-hand quadcopter drone which I resuscitated and started getting good flight test results. I even wrote a paper on it with the hope of publishing. However, the previous guys didn't have an appreciation for neatness so the drone looked like a wire fest. See below: So in order to make a clean start (without breaking the bank) was to remodel the airframe into something more commercial (with the hope that it could serve as a aerial photography platform - always wanted a DJI). So what I did was convert the space between the two main plates and layout the power electronics which included the ESCs, the distribution joint and the power module. I cleaned up the residues of double-sided tape that appeared everywhere and made provision for the Pixhawk in a more central position. And this is what it looks like now:   Mission accomplished. Now it's time for testing everything still works and for the first tes...

The fight for sympathy in a growing apathetic society (personal story)

You can be in a situation where you have every right (and power) to condemn someone for their wrongdoing, but you pause. The person could even concede that he/she should have known better and is gracefully willing to take the punishment, whatever it might be, but you pause. Then in the mist of your rage, you introspect to realize, you could have been YOU on the other side of the table, except through varying (often complex) circumstances. Apathy is often what is being shun down upon in most leadership/christian books, yet in practice it's the very trait that is admired for someone who is decisive and 'getting the job done'. The assumption in believing that Old testament prophets were not apathetic towards the conquered nations is both naive and short-sighted. Not that I have any experience in this, but it's pretty difficult to cut someone's head off, if you're feeling sorry for him (unless you're really twisted upstairs). Back to my story... As some...

Experimental machine learning algorithm validated with drone simulated data

So one of the main objectives of my PhD research was to achieve the difficult task of developing a learning algorithm for machine learning ( RBF neural networks to be more specific) applications, that would enable the prediction of drone propeller damage in real-time AND without altering the bought-out flight controller ( DJI Naza , APM , Pixhawk , etc...). The only way it could achieve that was by analyzing the outputs of the flight controller sensors and learn when a fault would occur. Well, I believe I'm getting closer to this objective (submission is Nov 2019). I've decided to include the two figures below which illustrates the training process (0.2 sec on desktop) and prediction time (0.008 sec) and the accuracy to the true dynamics of the quadcopter drone. In this case the pitch dynamics are being predicted. Although noise hasn't been introduced, it's quite clear from the graphs, that the learning algorithm has enabled the RBF network to accurately capture th...

Travelling to Sweden - Conference Paper ACCEPTED

So I got the good news last Friday from the IFAC System identification conference, that my paper has been accepted for presentation. Although my professor has confirmed that he will not be able to attend the conference, I'm pretty determine not to miss this opportunity to present at an international event within the System Identification Community. This has given me so much motivation to redouble my efforts in pursuing the objectives set out for the completion of my research. And if enough funding is obtained, I will be able to go with my lovely wife... #crossingfingers Pretty exciting times ahead...

Development of a new learning algorithm

Over the course of the past 2-3 weeks I decided to take the plunge of learning a new training algorithm which had quite alot of attention in the academic community but was also well constructed for easier implementation. The work by Peng et al on developing the Continuous Forward Algorithm (CFA) was my subject of attention. The overall premise behind implementing this algorithm was to investigate less memory-intensive machine learning algorithm that will not sacrifice accuracy or robustness. The ability to have a real-time learning system for low-cost electronics (such as the Teensy 3.6 ) has huge implications for the commercialization and affordable access of intelligent drones specifically for developing and even under-developed economies. The far-reaching impact of having technology leveraging efforts of farmers, herders, game rangers, biologists is the next wave of industrialization. This is the essence of this blog. The journey is very exciting and eventual results even mo...

Innovation in research - A personal short story

"The best of innovations happens when certainty is no longer certain" ~ myself My undertaking of my Ph.D (part-time I might add) was on the premise that I would acquire enough research funding for not only tuition but especially hardware. I didn't think for one minute that I would struggle to get money from my sponsor DENEL, but after what has been coming on the news regarding the company being cash-less , its quite clear that I would have to re-think my strategy on how what I'm going to execute this research with maximum exposure. And by exposure I mean the fact that a Ph.D should propel one to a possible career in academia or research institutes, IF done correctly. That's a BIG IF given that aerospace engineering Ph.D in Africa is not well sought after or even recognized by the rest of the aerospace community, let alone in the field of intelligent flight control .  This is where innovation kicks in. In a big way!!! When you realize it's eit...

Setup ArduPilot flight modes with DX6 Gen 2

Hi, I've looked around the web to get an understanding the setup of the Ardupilot flight modes with a Spektrum DX6 2nd generation and there was none. So I decided to write this blog. The few things to consider when doing this: Please follow the instruction given on the ardupilot webpage . Have the Pixhawk hardware connected to Mission Planner (I have 1.3.50 - Copter V3.5.3)  Use the display bar in the Radio Calibration page as a guide while changing the rate pulse widths on your transmitter. I've used switch D to change the pulse width ranges on channel 5.