element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Attack of the Drones
  • Challenges & Projects
  • Project14
  • Attack of the Drones
  • More
  • Cancel
Attack of the Drones
Blog Predictive maintenance for drones
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Attack of the Drones to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vishwasn
  • Date Created: 4 May 2021 3:27 PM Date Created
  • Views 1658 views
  • Likes 5 likes
  • Comments 1 comment
  • predictive maintenance
  • attackofthedronesch
Related
Recommended

Predictive maintenance for drones

vishwasn
vishwasn
4 May 2021
The use of drones has increased over time due to leading technological advancements in the miniaturization of electronics, composite materials, machine learning, vision algorithms, and battery technology.

 

IMG_20190824_111049.jpg

                                                            Avnet Brainium Module mounted on the drone.

They are everywhere: Drones are now used in agricultural automation, surveillance, photography, logistics, organ delivery, operation and rescue missions, and a wide variety of researches.

Quadcopters and multirotor: Most of the drones are multi-rotors like quadcopters, hexacopters, etc. fixed wing drones are very few and are used mostly for military surveillance due to their long endurance. Conventional quadcopters are highly inefficient by design and need a lot of power to hover and travel because it will be pushing air against gravity. In order to fly against gravity, it should push a commensurate amount of air.

Quadcopters are special: But what makes quadcopters stand out is their agility to move and maneuver in tight spaces and capability of hovering at a point. This is quite difficult for the normally fixed-wing drones. Staying at a point in free space helps you to record wonderfully stable videos and take stunning photographs of building in aerial view and many more things.

But they are dangerous: In order to hover or fly against gravity brushless motors with very high RPM(revolutions per minute) are used in drones. These brushless motors are fitted with propellers that are razor sharp so that they can cut through the air experiencing very little air friction. This makes the whole system very dangerous as there are 4 very sharp blades spinning at 11000RPM with a Li-Po (Lithium polymer) battery which can overheat and explode in midway so this kind of system needs continuous care or health monitoring in order to work properly. Manual inspection of propellers are not enough as any break in the propeller can lead to fatal injury to drone pilot and people nearby.

So predictive maintenance of drones is an essential thing in this technology-driven world.

Another main thing is that this module can be directly used for the predictive maintenance of industrial machines also. Just the training data for vibration AI is different.

 

 

 

 

 

 

 

So Let's see how to build this.

Get the required things. Here we are using a Raspberry Pi, A drone with a flight controller and the most important thing is our avnet brainium module.

Let's connect the brainium module to the Raspberry Pi via Bluetooth.

 

 

 

sudo bluetoothctl scan on pair [MAC address]


 

Upon successful pairing connect the device by entering the following command.

 

connect [MAC Address]


 

This makes the connection to the Raspberry Pi and hence we can use Raspberry Pi as a Gateway device. It's better as we can easily mount a standard Pi or even Pi Zero in drones or industries instead of a smartphone. Through the gateway, it can send the data to the cloud to generate AI models.

Here I have chosen Raspberry Pi because we can make the gateway as mobile and it can fly with the drone.

 

 

Step 1: Connect the AI

I have connected my Raspberry Pi with the SmartEdge Agile device.

 

bluetooth connection.PNG
                                                        The terminal of Raspberry Pi

 

 

Step 2 : Train the model

 

Create a workspace on the website. There are many tutorials on this on the hackster.io website. You can find this easily.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Workspace.PNG

 

                                                Brainium Module Configuring UI

 

 

 

I have trained the model for following situations:

1. Broken propeller

2. Broke connection

3. Damaged propeller, i.e dangerous to fly

4. Stationary drone

5. Drone running without propeller

6. Drone running with propeller

 

TRaining stationary.PNG

 

                                                              Training for different scenarios

 

 

 

 

 

 

 

Step 3: Testing the trained model

This is basically testing and fine-tuning the generated model. This helps to improve accuracy of the system

 

 

Drone Doctor.PNG
You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

 

Step 4: Notify using alerts

The results in the changes detected is set as alerts so that we can give notification through a buzzer. For this, we need an MQTT protocol for the real-time detection of alerts. I'm using Paho MQTT Library. and here is the code for the same.

Data recieved.PNG

                                                  Alerts for showing the detection of anomaly

 

Alerts.PNG

 

                                                                                Logged alerts

 

I have attached a buzzer to raspberry pi for the notification.

 

 

IMG_20190824_111724.jpg

 

                                      Raspberry Pi with Drone

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The predictive maintenance AI of this drone is so good that it was able to detect the modified propeller also.
Code repository: https://github.com/vishwasnavada/Vega
Future enhancements:
Instead of giving a buzzer indication, we can directly disarm the drone by sending the required PWM signal to the flight controller board.
Applications:
  • Drone health monitor for future cargo drones
  • Drone diagnostics tool for quickly detecting the fault

     

  • Sign in to reply
Parents
  • jonas999
    jonas999 over 2 years ago

    I really like to fortnitefree skins visit here this awesome post.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • jonas999
    jonas999 over 2 years ago

    I really like to fortnitefree skins visit here this awesome post.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube