# Motors stopped/drone crash during landing

**URL:** <https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773>\
**Category:** PX4 Autopilot\
**Created:** [September 5, 2019, 2:30pm UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773 "2019-09-05T14:30:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dayjaby](https://discuss.px4.io/user_avatar/discuss.px4.io/dayjaby/32/4624_2.png) [@dayjaby](https://discuss.px4.io/u/dayjaby)\
**Post date:** [September 5, 2019, 2:30pm UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/1 "2019-09-05T14:30:07Z")

</div>

Hello everyone,

Log file: [https://review.px4.io/plot\_app?log=28e7ddb8-6129-4383-b915-df71ebb646f6](https://review.px4.io/plot_app?log=28e7ddb8-6129-4383-b915-df71ebb646f6)

Our drone was flying the mission perfectly, but during landing it went down from 30m to 10m relative altitude and the motors stopped all of a sudden causing the drone to crash. I can see nothing suspicious in the log files though. Any help would be highly appreciated!

In sincerely  
David Jablonski

---

<div class="post-metadata">

**Author:** ![RicardoM17](https://discuss.px4.io/user_avatar/discuss.px4.io/ricardom17/32/4040_2.png) [@RicardoM17](https://discuss.px4.io/u/RicardoM17)\
**Post date:** [September 9, 2019, 8:59am UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/2 "2019-09-09T08:59:37Z")

</div>

Hey dayjaby.

It looks like a power outage? The log cuts while the drone is still ~10m from the ground while doing an apparently controlled descent. The moment it cuts the log looks fine

---

<div class="post-metadata">

**Author:** ![jkflying](https://discuss.px4.io/user_avatar/discuss.px4.io/jkflying/32/6082_2.png) [@jkflying](https://discuss.px4.io/u/jkflying)\
**Post date:** [September 9, 2019, 9:28am UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/3 "2019-09-09T09:28:38Z")

</div>

There was no hardfault logged?

---

<div class="post-metadata">

**Author:** ![dayjaby](https://discuss.px4.io/user_avatar/discuss.px4.io/dayjaby/32/4624_2.png) [@dayjaby](https://discuss.px4.io/u/dayjaby)\
**Post date:** [September 9, 2019, 12:55pm UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/4 "2019-09-09T12:55:04Z")

</div>

@RicardoM17 Hey, thanks for your reply. I considered this option as well. We have an odroid xu4 companion computer, which had no outage, but it’s not on the same power line as the pixhawk. Is it possible to see whether this happened?

@jkflying In this case NuttX would create a log file on the SD card, right? I have only those files on the SD:

```
/mnt/sdcardfile
├── bootlog.txt
├── dataman
├── log
│ └── 2019-09-03
│ ├── 12_35_41.ulg
│ └── 12_48_27.ulg
└── logdata.txt
```

---

<div class="post-metadata">

**Author:** ![jkflying](https://discuss.px4.io/user_avatar/discuss.px4.io/jkflying/32/6082_2.png) [@jkflying](https://discuss.px4.io/u/jkflying)\
**Post date:** [September 10, 2019, 6:56am UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/5 "2019-09-10T06:56:11Z")

</div>

Since there is no hardfault, I would guess a power issue, or something that caused a lockup of the CPU/OS.

Could you give us a list of the electronics you have attached to the flight controller, exact hardware versions, and what ports everything is/was attached to?

---

<div class="post-metadata">

**Author:** ![simosilva](https://discuss.px4.io/user_avatar/discuss.px4.io/simosilva/32/4274_2.png) [@simosilva](https://discuss.px4.io/u/simosilva)\
**Post date:** [September 12, 2019, 7:43pm UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/6 "2019-09-12T19:43:06Z")

</div>

@dayjaby in the log file there’s nothing suspicious, because there is no data of the crash itself!  
At least, seem like the drone stopped loggind **before** the landing/crash.  
This can relate to power issues or some hard faults.

Battery drain from 13400mAh to 20800mAh, 7400mAh in total (what is the capacity of your battery?), and battery went from 80% to 70% only, so in my opinion can be a sensing problem, drone sense a lot of battery left and continue flight regularly, when in fact is out of juice and so it crashes badly.

This is my opinion only based on the .log, hope it helps in some way!  
Keep me updated! 🙂

---

<div class="post-metadata">

**Author:** ![dayjaby](https://discuss.px4.io/user_avatar/discuss.px4.io/dayjaby/32/4624_2.png) [@dayjaby](https://discuss.px4.io/u/dayjaby)\
**Post date:** [September 13, 2019, 7:06am UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/7 "2019-09-13T07:06:22Z")

</div>

@simosilva That would be quite a lot for just one minute flight. It looks more like 2080mAh, or? At least if I convert the .ulg file to .csv the last entry for “discharged\_mah” is 2079.388.

But yes, there was one issue: We had a 22000mAh battery inside, but the parameter was set to 44000. But if only 2080mAh got drained from this, it shouldn’t be much of an issue or am I mistaken?

---

<div class="post-metadata">

**Author:** ![simosilva](https://discuss.px4.io/user_avatar/discuss.px4.io/simosilva/32/4274_2.png) [@simosilva](https://discuss.px4.io/u/simosilva)\
**Post date:** [September 17, 2019, 8:19am UTC](https://discuss.px4.io/t/motors-stopped-drone-crash-during-landing/12773/8 "2019-09-17T08:19:12Z")

</div>

Yes, if the amount of battery discharge was 2080mAh it might not be an issue at all.

You agree with me that there is no real log of the crash itself right? at least the autopilot have to detect a drop in the log or something like that.

for example here in my log ([https://logs.px4.io/3d?log=731d240d-e17e-44f3-af9a-df2f43f89fd7](https://logs.px4.io/3d?log=731d240d-e17e-44f3-af9a-df2f43f89fd7)) you can clearly see at 2.14 the raw acceleration of the impact with the ground and also the rapid decreasing of the z position.  
(in my log, don’t look at the gps signal that drops once in a while, is a problem that occurs every time and it’s not solved yet, so i cannot fly in mission mode 😪)
