Clever Control Loop Makes This Spinning Drone Fault-Tolerant

Most multi-rotor aircraft are about as aerodynamic as a brick. Unless all its motors are turning and the control electronics are doing their thing, most UAVs are quickly destined to become UGVs, and generally in spectacular fashion. But by switching up things a bit, it’s possible to make a multi-rotor drone that keeps on flying even without two-thirds of its motors running.

We’ve been keeping a close eye on [Nick Rehm]’s cool spinning drone project, which basically eschews a rigid airframe for a set of three airfoils joined to a central hub. The collective pitch of the blades can be controlled via a servo in the hub, and the whole thing can be made to rotate and provide lift thanks to the thrust of tip-mounted motors and props. We’ve seen [Nick] manage to get this contraption airborne, and hovering is pretty straightforward. The video below covers the next step: getting pitch, roll, and yaw control over the spinning blades of doom.

The problem isn’t trivial. First off, [Nick] had to decide what the front of a spinning aircraft even means. Through the clever uses of LED strips mounted to the airfoils and some POV magic, he was able to visually indicate a reference axis. From there he was able to come up with a scheme to vary the power to each motor as it moves relative to the reference axis, modulating it in either a sine or cosine function to achieve roll and pitch control. This basically imitates the cyclic pitch control of a classic helicopter — a sort of virtual swashplate.

The results of all this are impressive, if a bit terrifying. [Nick] clearly has control of the aircraft even though it’s spinning at 250 RPM, but even cooler is the bit where he kills first one then two motors. It struggles, but it’s still controllable enough for a bumpy but safe landing.

Continue reading “Clever Control Loop Makes This Spinning Drone Fault-Tolerant”

Quadcopter With Tensegrity Shell Takes A Beating And Gets Back Up

Many of us have become familiar with the distinctive sound of multirotor toys, a sound frequently punctuated by sharp sounds of crashes. We’d then have to pick it up and repair any damage before flying fun can resume. This is fine for a toy, but autonomous fliers will need to shake it off and get back to work without human intervention. [Zha et al.] of UC Berkeley’s HiPeRLab have invented a resilient design to do so.

We’ve seen increased durability from flexible frames, but that left the propellers largely exposed. Protective bumpers and cages are not new, either, but this icosahedron (twenty sided) tensegrity structure is far more durable than the norm. Tests verified it can survive impact with a concrete wall at speed of 6.5 meters per second. Tensegrity is a lot of fun to play with, letting us build intuition-defying structures and here tensegrity elements dissipate impact energy, preventing damage to fragile components like propellers and electronics.

But surviving an impact and falling to the ground in one piece is not enough. For independent operation, it needs to be able to get itself back in the air. Fortunately the brains of this quadcopter has been taught the geometry of an icosahedron. Starting from the face it landed on, it can autonomously devise a plan to flip itself upright by applying bursts of power to select propeller motors. Rotating itself face by face, working its way to an upright orientation for takeoff, at which point it is back in business.

We have a long way to go before autonomous drone robots can operate safely and reliably. Right now the easy answer is to fly slowly, but that also drastically cuts into efficiency and effectiveness. Having flying robots that are resilient against flying mistakes at speed, and can also recover from those mistakes, will be very useful in exploration of aerial autonomy.

[IROS 2020 Presentation video (duration 14:16) requires free registration, available until at least Nov. 25th 2020. One-minute summary embedded below]

Continue reading “Quadcopter With Tensegrity Shell Takes A Beating And Gets Back Up”

Repaired Manned Multicopter Flies Without Horrifying Crash

[amazingdiyprojects] has been making lots of test flights in his crazy eight propeller gasoline powered danger bucket.

We last covered the project when he had, unfortunately, wrecked the thing in a remote-controlled test flight.  He later discovered that the motor’s crankshaft bearings had, well, exploded. The resulting shrapnel destroyed the motor and crashed the drone. He described this failure mode as “concerning”.

Also concerning is the act of stepping into the seat once all the propellers are started up. He tags this as “watch your step or die”. Regardless, he also describes flying in the thing as so incredibly fun that it’s hard to stay out of it; like a mechanical drug. It explains why his channel has been lately dominated by videos of him testing the multicopter. Those videos are found after the break.

The device drinks 0.65-0.7 liters per minute of gasoline, and he’s been going through reserves working out all the bugs. This means everything from just figuring out how to fly it to discovering that the dust from the ground effect tends to clog up the air filters; which causes them to run lean, subsequently burning up sparkplugs. Dangerous, but cool.

Continue reading “Repaired Manned Multicopter Flies Without Horrifying Crash”

Manned Multicopter Project Undaunted By Crash

We have to be impressed by [amazingdiyprojects] who completely totaled their manned multi-copter build, which has been spanning over eight videos. He explained the crash in video number eight and is right back at it, learning from the recent mistakes.

When you get right down to it, this is as dangerous as this seems. However, a giant multicopter is probably the easiest flying machine for a hobbyist to build. It’s an inefficient brute-force approach, but it sure beats trying to build a helicopter from scratch. This machine is a phenomenally un-aerodynamic chair on a frame that has a lot in common with the lunar rover; with engines on it. Simple.

There are a lot of approaches to this. One of the crazier ones is this contraption with a silly amount of electric motors. [amazingdiyprojects] went with eight gasoline engines. We’re really interested in his method for controlling the rpm of each engine and dealing with the non-linearity of the response from a IC engine throttle. Then feeding that all back into what is probably the exact same electronics from a regular diy drone.

Honestly, we’re surprised it worked, and we can’t wait for him to finish it so we can see him zooming around in his danger chair. Videos after the break.

Thanks [jeepman32] for the tip!

Continue reading “Manned Multicopter Project Undaunted By Crash”

“Drones” Endanger Airborne Wildfire Fighting

usdaThere is no denying that personal drones are in the public eye these days. Unfortunately they tend to receive more negative press than positive. This past weekend, there were news reports of a wildfire in California. Efforts to fight the fire were hampered when no less than five drones were spotted flying in the area. Some reports even stated that two of the drones followed the firefighting aircraft as they returned to local airports. This is the fourth time this month firefighting planes have been grounded due to unmanned aircraft in the area. It’s not a new problem either, I’ve subscribed to a google alert on the word “Drone” for over a year now, and it is rare for a week to go by without a hobby drone flying somewhere they shouldn’t.

The waters are muddied by the fact that mass media loves a good drone story. Any pilotless vehicle is now a drone, much to the chagrin of radio control enthusiasts who were flying before the Wright brothers. In this case there were two fields relatively close to the action – Victor Valley R/C Park, about 10 miles away, and the Cajun Pass slope flying field, which overlooks the section of I-15 that burned. There are claims on the various R/C forums and subreddits that it may have been members from either of those groups who were mistaken as drones in the flight path. Realistically though, Victor Valley is too far away. Furthermore, anyone at the Cajun pass flying site would have been fearing for their own safety. Access requires a drive through 3 miles of dirt road just to reach the site. Not a place you’d want to be trapped by a wildfire for sure. Who or whatever was flying that day is apparently lying low for the moment – but the problem persists.

Rules and Regulations

In the USA, the FAA rules are (finally) relatively clear for recreational drone operations. The layman version can be found on the knowbeforeyoufly.org website, which was put together by the Academy of Model Aeronautics (AMA), The Association for Unmanned Vehicle Systems International (AUVSI), and other groups in partnership with the FAA.

Continue reading ““Drones” Endanger Airborne Wildfire Fighting”

3D Printed Drone Follows The Leader

[peabody124, aka James] has been active in the drone world for several years now, first with OpenPilot, then TauLabs, and now with his own Spark and Sparky2 boards. [James]’ latest creation is a 3D printed quadcopter using both his Sparky2 board and his Sparky2BGC Brushless Gimbal Controller.

[James] had always wanted a quad which would follow him and his friends while they were having fun, sort of like his own flying camera platform. His current setup is finally approaching that goal. [James] designed his new quadcopter to use his Sparky2 flight controller and the KISS 18 amp Electronic Speed Controller (ESC). He also incorporated a brushless gimbal to keep his Mobius action cam pointed at a whatever the drone may be tracking.

To keep the internal intern-boardslayout clean, [James] designed a power distribution board which solders right up to the ESCs. The internal layout is seriously clean, with flat panels which keep the electronics safe during crashes.

The crash protection turned out to come in handy, as [James] managed to hit a couple of drone-eating trees during testing. Thankfully, having a 3D printed quad means spare parts are just a few hours of printing away. Check out the video below for footage of [James]’ test flights, and of the quad tracking his cell phone via an RF link.

Continue reading “3D Printed Drone Follows The Leader”

Droning On: PID Controllers And Bullet Connectors

droning-on-hill Not all drones are multirotors – Posing in our title photo are Maynard Hill and Cyrus Abdollahi. Maynard’s plane, TAM5 aka The Spirit of Butts Farm, is the smallest aircraft to make a transatlantic flight (YouTube link). Retracing the path of Alcock and Brown from Newfoundland to Ireland, the 6 pound (dry weight) model made the trip in just under 39 hours. All this happened in 2003, and was the cap on a lifetime of achievements for Hill. These are the types of pursuits that will be banned in the USA if the FAA restrictions go into effect.

Flight Controllers

Quite a few of you thought the Naze32 was left out of last column’s flight controller roundup. I hear you loud and clear! I’ll add the Naze to the controllers which will be tested on The Hackaday Testbed. The hard part is finding the darn things! I currently have an Acro Naze32 on its way to Droning On HQ.  If I can find a full version, I’ll add that.

PID Controllers Deep Dive

I’ve gotten a few questions on Proportional Integral Derivative (PID) controllers, so it is worth diving in a bit deeper to explain what a PID controller is. PID controllers are often found in process controls managing parameters like temperature, humidity, or product flow rate. The algorithm was initially designed in the late 1800’s as a method of controlling the helm of large naval ships. In fixed wing drones, PID keeps the plane’s wings level and on course. In multicopters, PID loops control heading, but they also provide the stable flight which allows the quadcopter to fly in the first place. A full explanation of PID loops would be beyond the scope of a single article, but let’s try a 10,000 foot explanation.

pidP: This is the “Present” parameter. P Has the most influence on the behavior of the aircraft.  If the wind blows your quadcopter from level flight into a 30 degree right bank, P is the term which will immediately take action to level the quad out. If the P value is too high, The quadcopter will overshoot level flight and start banking the other way. In fact, way too high a P value can cause a quadcopter to shake as it oscillates or “hunts” for level. Too Low a P value? the quadcopter will be very slow to react, and may never quite reach level flight again.

I: This the “Past” parameter. The I term dampens the overshoot and oscillations of the P term, and avoids the tendency of P to settle above or below the set point. Just like with P, too high an I term can lead to oscillation.

D: This is the “Future” parameter, and has the smallest impact on the behavior of the aircraft. In fact, some flight controllers leave it out entirely.  If P and I are approaching a set point too quickly, overshoot is likely to occur. D slows things down before the overshoot happens.

So why do multicopter pilots dread PID tuning?  Quite simply, it’s a tedious process. Couple a new pilot and an unproven aircraft with un-tuned PID values, and you have a recipe for frustration – and broken propellers. Things get even more complex when you consider the fact that there are at least 3 sets of PID variables to be tuned – Pitch, Roll, and Yaw. Some flight controllers now support multiple PID values depending on the style of flight. Want your plane or multicopter to fly around like a hotrod? You need a totally different set of PID values than a docile trainer craft. Rolf Bakke (KapteinKUK himself) made a video illustrating how multicopters behave when tuning PID values. You can easily see how a quad can go from “drunk” to “angry bee” with just a few value tweaks. All this is coming together with The Hackaday Testbed, which will help me in posting a few PID tuning videos of my own.

Hackaday Testbed Update

As for the testbed itself, it’s nearly complete! You can follow the progress on my Hackaday Projects Page. Most of the assembly has been relatively straightforward.   though of course there are always a few snags. It seems I always forget something when ordering up parts for coils-bada build. In this case it was 2.5mm banana plugs and motor mounting screws.

The Hobbyking motors attach to the frame with 3mm screws. The problem is that there really is no way to know how long the screws should be until you have the motors, mounting plates and drone frame on hand. I have a bunch of 3mm screws of various lengths, and thankfully there were enough screws of the correct length to mount the motors. Murphy is always at my side, as I accidentally grabbed a screw that was 1mm too long and, you guessed it, screwed right into the windings of the motor. Doh! Thankfully I had spares.

bullet-solderBullet connectors can be a real pain to solder. There are some jigs out there which help, but I’ve always found myself going back to the old “helping hands” alligator clips. Bullets tend to use lower gauge wire than we’re used to with regular electronics. 14, 12, even 8 gauge wires are used on R/C aircraft. A low power soldering iron with a surface mount tip just won’t cut it. Those irons just doesn’t have the thermal mass to get the connectors up to soldering temperature. This is one of those places where a decent 40 watt or better Weller iron (yes, the kind that plugs right in the wall) can be a godsend. I’m using an Metcal iron here, with a wide flat tip.

bullet-solder-2Bare bullet connectors and alligator clips can also create a problem – the metal clips create even more thermal mass. Years back an old-timer showed me a trick to handle this. Slip a piece of silicone R/C plane fuel tubing on the bullet, and then clip the helping hands onto the tube. The tube will act as insulation between the bullet and the clip. Silicone can easily withstand the temperatures of soldering. I’ve also used the silicone tube on the jaws themselves – though eventually the jaws will cut the soft tubing.

That’s about it for this edition Droning on! Until next time, keep ’em flying!

Title photo credit Cyrus Abdollahi.