computerscience9
Badges: 0
Rep:
?
#1
Report Thread starter 4 years ago
#1
Hi there,
What kind of famous algorithims are present in drones?
Furthermore, could anyone tell me if PCB's, microcontrollers and communication shields are taught in a comp sci degree??
0
reply
bigboateng_
Badges: 15
Rep:
?
#2
Report 4 years ago
#2
(Original post by computerscience9)
Hi there,
What kind of famous algorithims are present in drones?
Furthermore, could anyone tell me if PCB's, microcontrollers and communication shields are taught in a comp sci degree??
There aren't 'famous' algorithms, but there are popular ones but people are always experimenting new ideas. First you need to get state of the drone, such as its speed, Euler angles (pitch, yaw, roll), etc. You get these sort of data from electronic components such as gyroscopes, accelerometer, magnetometer, etc. However these electronics do not give you real values because they're not prefect. So if it tells you the drone is tilted 3 degrees it's probably off by a bit. So the first thing you need to do is use some algorithms to process/filter the data to try to get the true values. Filtering algorithms by itself is super hard to do. Common ones include high/low pass filter and another popular one is know as the Kalman filter, which is one of the best filtering algorithms, but again super difficult to make/code. Once you have the state of the drone and filtered out all errors from sensor data, you need to decide what the drone should do next, ie how much power to put into the motors in order to stabilise or move forwards etc. This requires knowledge of some control theory, but the common control algorithms, people use on drones is the PID algorithm. PID is one of "classical control" algorithms and is proven to work well. There are other ones such as Fuzzy Logic controllers. You might be thought how to program micro controllers but I doubt you will study anything to do with control theory, this is mainly thought in engineering. At best you will learn about some filters as that's required for mobile development (because sensors in phones are crap too) but you will not learn an algorithm to control a drone.

tldr: use Kalman filter for filtering out data and PID control to control the drone


Posted from TSR Mobile
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Current uni students - are you thinking of dropping out of university?

Yes, I'm seriously considering dropping out (176)
14.52%
I'm not sure (56)
4.62%
No, I'm going to stick it out for now (355)
29.29%
I have already dropped out (35)
2.89%
I'm not a current university student (590)
48.68%

Watched Threads

View All