Demonstrating The Mars Rover Pendulum Problem With A Drone On Earth

The sky crane system used on the Perseverance and Curiosity Mars rovers is a challenging control system problem that piqued [Nicholas Rehm]’s curiosity. Constrained to Earth, he decided to investigate the problem using a drone and a rock.

The setup and the tests are simple, but clearly illustrate the problem faced by NASA engineers. [Nicholas] attached a winch mechanism to the bottom of a racing-type quadcopter, and tied a mass to the end of the winch line. At first, he built a foam model of the rover, but it proved to be unstable in the wake of the quadcopter’s propellers, so he used a rock instead. The tests start with the quadcopter taking off with the rock completely retracted, which is then slowly lowered in flight until it reaches the end of the line and drops free. As soon as the rock was lowered, it started swinging like a pendulum, which only got worse as the line got longer. [Nicholas] attempted to reduce the oscillations with manual control inputs, but this only made it worse. The quadcopter is also running [Nicholas]’s own dRehmFlight flight controller that handles stabilization, but it does not account for the swinging mass.

[Nicholas] goes into detail on the dynamics of this system, which is basically a two-body pendulum. The challenges of accurately controlling a two-body pendulum are one of the main reasons the sky crane concept was shelved when first proposed in 1999. Any horizontal movement of either the drone or the rock exerts a force on the other body and will cause a pendulum motion to start, which the control system will not be able to recover from if it does not account for it. The real sky crane probably has some sort of angle sensing on the tether which can be used to compensate for any motion of the suspended rover. Continue reading “Demonstrating The Mars Rover Pendulum Problem With A Drone On Earth”

Orphaned Gimbal Gets Second Chance To Fly

A reality of flying RC aircraft is that at some point, one of your birds is going to fall in the line of duty. It could get lost in the clouds never to be seen again, or perhaps it will become suddenly reacquainted with terra firma. Whatever the reason, your overall enjoyment of the hobby depends greatly on how well you can adapt to the occasional loss.

Based on what we’ve seen so far, we’d say [Rural Flyer] has the right temperament for the job. After losing one of his quadcopters in an unfortunate FPV incident, he decided to repurpose the proprietary gimbal it left behind. If he still had the drone he could have slipped a logic analyzer in between its connection with the motorized camera to sniff out the communication protocol, but since that was no longer an option, he had to get a little creative.

Figuring out the power side of things was easy enough thanks to the silkscreen on the camera’s board, and a common 5 V battery eliminator circuit (BEC) connected to the drone’s 7.4 V battery pack got it online. A cobbled together adapter allowed him to mount it to one of his other quads, but unfortunately the angle wasn’t quite right.

[Rural Flyer] wanted the camera tilted down about 15 degrees, but since he didn’t know how to talk to it, he employed a clever brute force solution. After identifying the accelerometer board responsible for determining the camera’s position, he use a glob of hot glue to push the sensor off of the horizontal. Providing this physical offset to the sensor data caused the camera to automatically move itself to exactly where he wanted it.

Continue reading “Orphaned Gimbal Gets Second Chance To Fly”

Controlling A Quadcopter With One Dead Motor

Quadcopters have incredible flying abilities, but if one loses just a single motor, it drops like a rock. Researchers from the University of Zurich’s Robotics and Perception Group have proven that this does not need to be the case by keeping a quadcopter flying with only three motors.

A quadcopter usually has enough thrust to stay aloft with only three motors, but it will spin uncontrollably in the yaw axis. It is impossible to stop a quadcopter from spinning, so the focus for researchers was on keeping the drone controllable while it’s spinning. To achieve this, accurate position and motion estimation is required, so they attached a pair of cameras to the bottom of the craft for visual-inertial odometry (VIO). One is a normal optical camera, while the other is an event camera, which has pixels that can independently respond to changes in light as they occur. This means that it has better low light performance and does not suffer from motion blur.

The feeds from the cameras are analyzed in real-time by an onboard Nvidia Jetson TX2 for state estimation, which is then used with an optical range sensor and onboard IMU to maintain controlled flight, as demonstrated in the video after the break. The research paper is free to read, and all the code is available on GitHub.

New developments in drone control schemes are always fascinating, like this hexacopter with an innovative motor layout to achieve six degrees of freedom, or a conventional helicopter with a virtual swash plate.
Continue reading “Controlling A Quadcopter With One Dead Motor”

Quadcopter With Stereo Vision

Flying a quadcopter or other drone can be pretty exciting, especially when using the video signal to do the flying. It’s almost like a real-life video game or flight simulator in a way, except the aircraft is physically real. To bring this experience even closer to the reality of flying, [Kevin] implemented stereo vision on his quadcopter which also adds an impressive amount of functionality to his drone.

While he doesn’t use this particular setup for drone racing or virtual reality, there are some other interesting things that [Kevin] is able to do with it. The cameras, both ESP32 camera modules, can make use of their combined stereo vision capability to determine distances to objects. By leveraging cloud computing services from Amazon to offload some of the processing demands, the quadcopter is able to recognize faces and keep the drone flying at a fixed distance from that face without needing power-hungry computing onboard.

There are a lot of other abilities that this drone unlocks by offloading its resource-hungry tasks to the cloud. It can be flown by using a smartphone or tablet, and has its own web client where its user can observe the facial recognition being performed. Presumably it wouldn’t be too difficult to use this drone for other tasks where having stereoscopic vision is a requirement.

Thanks to [Ilya Mikhelson], a professor at Northwestern University, for this tip about a student’s project.

Building And Flying A Helicopter With A Virtual Swashplate

They say that drummers make the best helicopter pilots, because to master the controls of rotary-wing aircraft, you really need to be able to do something different with each limb and still have all the motions coordinate with each other. The control complexity is due to the mechanical complexity of the swashplate, which translates control inputs into both collective and cyclical changes in the angle of attack of the rotor blades.

As [Tom Stanton] points out in his latest video, a swashplate isn’t always needed. Multicopters dispense with the need for one by differentially controlling four or more motors to provide roll, pitch, and yaw control. But thanks to a doctoral thesis he found, it’s also possible to control a traditional single-rotor helicopter by substituting flexible rotor hinges and precise motor speed control for the swashplate.

You only need to watch the slow-motion videos to see what’s happening: as the motor speed is varied within a single revolution, the tips of the hinged rotor blades lead and lag the main shaft in controlled sections of the cycle. The hinge is angled, which means the angle of attack of each rotor blade changes during each rotation — exactly what the swashplate normally accomplishes. As you can imagine, modulating the speed of a motor within a single revolution when it’s spinning at 3,000 RPM is no mean feat, and [Tom] goes into some detail on that in a follow-up video on his second channel.

It may not replace quadcopters anytime soon, but we really enjoyed the lesson in rotor-wing flight. [Tom] always does a great job of explaining things, whether it’s the Coandă effect or anti-lock brakes for a bike.

Continue reading “Building And Flying A Helicopter With A Virtual Swashplate”

Combine Broken Drone Propellers For A Second Spin

If you’ve ever flown or watched anyone fly a racing drone for any length of time, you know that crashes are just part of the game and propellers are consumables. [Adam] knows this all to well, decided to experiment with combining multiple broken propellers into one with a 3D printed hub.

A damaged propeller will often have one blade with no damage, still attached to the hub. [Adam] trimmed the damaged parts of a few broken props, and set about designing a 3D printed hub to attach the loose blades together. The hubs were designed let the individual blades to move, and folding out as the motors spin up, similar to the props on many photography drones.

Once [Adam] had the fit of the hubs dialed in, he mounted a motor on a piece of wood and put the reborn propellers through their paces. A few hubs failed in the process, which allowed [Adam] to identify weak points and optimise the design. This sort of rapid testing is what 3D printing truly excels at, allowing test multiple designs quickly instead of spending hours in CAD trying to foresee all the possible problems.

He then built a test drone from parts he had lying around and proceeded with careful flight testing. The hubs were thicker than standard propellers so it limited [Adams] motor choices to ones with longer shafts. Flight testing went surprisingly well, with a hub only failing after [Adam] changed the battery from a 3 cell to a 4 cell and started with some aerobatics. Although this shows that the new props are not suitable for the high forces from racing or aerobatics/freestyle flying, they could probably work quite well for smoother cruising flights. The hubs could also be improved by adding steel pins into the 3D printed shafts, and some carefully balancing the assembled props.

Continue reading “Combine Broken Drone Propellers For A Second Spin”

The Drone That Can Play Dodgeball

Drones (and by that we mean actual, self-flying quadcopters) have come a long way. Newer ones have cameras capable of detecting fast moving objects, but aren’t yet capable of getting out of the way of those objects.  However, researchers at the University of Zurich have come up with a drone that can not only detect objects coming at them, but can quickly determine that they’re a danger and get out of the way.

The drone has cameras and accompanying algorithms to detect the movement in the span of a couple of milliseconds, rather than the 20-40 milliseconds that regular quad-copters would take to detect the movement. While regular cameras send the entire screens worth of image data to the copter’s processor, the cameras on the University’s drone are event cameras, which use pixels that detect change in light intensity and only they send their data to the processor, while those that don’t stay silent.

Since these event cameras are a new technology, the quadcopter processor required new algorithms to deal with the way the data is sent. After testing and tweaking, the algorithms are fast enough that the ‘copter can determine that an object is coming toward it and move out of the way.

It’s great to see the development of new techniques that will make drones better and more stable for the jobs they will do. It’s also nice that one day, we can fly a drone around without worrying about the neighborhood kids lobbing basketballs at them. While you’re waiting for your quadcopter delivered goods, check out this article on a quadcopter testbed for algorithm development.