Transcript
HostI saw a video lately of about a thousand drones making a giant, glowing dragon in the night sky. It was wild to watch because they moved so smoothly, almost like they were one single animal instead of a bunch of machines. It makes you wonder how they don't just bash into each other and fall out of the air like rain. How do you even start to tell that many separate things what to do at the same time?
GuestIt's actually less about telling them what to do and more about giving them a few simple chores. If you try to give every drone a map of the whole dragon and tell it exactly where to go every second, the whole thing falls apart. The airwaves get too crowded with all those signals. Think about a flock of birds or a school of fish. There's no lead bird shouting orders at the back of the line. Instead, every single bird is just watching the two or three birds right next to it. They follow a few basic rules, like stay close, but not too close, and match the speed of the guy to your left. When you get enough of them doing that, the whole group starts to move like a single living thing. We call it a swarm, and the goal is to make the group smart even if the individual drones are pretty simple.
HostBut a dragon in the sky has a very specific shape. Birds just kind of blob around in a cloud. If the drones only look at their neighbors, how do they know they're supposed to be a wing or a tail?
GuestThat's where the math comes in, but we still keep it local. Each drone has its own little spot in a 3D grid. It knows where it should be in relation to the center of the swarm. So, it's not trying to draw a dragon. It's just trying to stay exactly three feet away from one neighbor and four feet away from another. If the whole group moves, every drone just tries to keep those gaps the same. You're basically building a big invisible web. If you pull one corner of the web, every other part feels that pull and moves to keep the shape from tearing. The drones are just the knots in that web, constantly checking to make sure their strings are the right length.
HostWait, that sounds like they need to be talking to each other constantly. If you have a thousand drones all trying to chat at once, wouldn't they just drown each other out?
GuestYou hit on the biggest headache in this field. If they all broadcast to the whole group, the noise is too much. It's like being in a room with a thousand people all trying to have the same conversation. So, they use what we call a mesh. A drone only talks to its four or five closest neighbors. It passes a tiny bit of info, and then those neighbors pass it to their neighbors. It's like a game of telephone, but it happens thousands of times a second. This way, a turn command ripples through the group like a wave in a stadium. The guy at the far end doesn't need to hear the person who started the wave; he just reacts to the person right next to him. This keeps the airwaves clear because no one is shouting over the whole crowd.
HostBut what if one drone gets a glitch? If they're all just copying their neighbor, wouldn't one broken drone lead the whole group into a wall?
GuestNot really, because they're also checking the math against the rest of their neighbors. It's like a vote. If nine neighbors are going left and one neighbor starts veering right, the others will ignore the weird one. They sort of smooth out the mistakes. In some setups, if a drone sees its neighbor is doing something dangerous or just stops talking, it treats that drone like a tree or a rock. It just moves around it. The swarm is actually very good at losing a few bits and still finishing the job. It's much tougher than a single big plane. If a wing falls off a plane, it crashes. If ten drones fall out of a swarm of a thousand, you still have a dragon, it just has a few dim spots.
HostI always figured they used GPS for this. You know, just give every drone a set of map points and let it find its own way.
GuestGPS is actually not great for this. It's only right within a few yards, which is a huge gap when you want drones to fly inches apart. Plus, GPS can be slow or get blocked by tall buildings. To get that tight, snappy feel, they use sensors that see things in real time. Some use little cameras, others use light beams to bounce off their neighbors. They're constantly feeling out the space around them. It's more like a group of dancers feeling the rhythm and the touch of the person next to them rather than everyone looking at a map on the wall. This lets them react to things that aren't on a map, like a sudden gust of wind or a bird flying through the group.
HostSo the brain is really just the space between them.
GuestThat's the perfect way to put it. The smarts aren't in any one drone. The smarts come from the way they work together. You can have very simple, cheap drones that couldn't find their way out of a paper bag on their own. But when you put them together with these rules, they can fly through a thick forest without hitting a single branch. They flow around things like water. They can even make choices as a group, like which path to take around an obstacle, just by sensing which way the majority is starting to lean.
HostThe math of how a thousand tiny things become one big wave is what makes the whole thing look so alive.
GuestA single drone is just a flying camera, but a swarm is a new kind of machine that can heal itself and change shape on the fly.
HostThe next time I see those lights dancing over the park, I'll be looking for the gaps between them instead of the whole picture.
Made with Wander
A world of curiosity you can listen to. Explore endless questions, or ask your own.
Get the app