Aerodynamics

Build Log Part 2: From Digital Design to Digital Intelligence

September 21, 2026 by Darsheel 11 min read

Building the physical structure of a UAV is only one part of the engineering challenge. Once the frame, component positions and overall design start taking shape, another question comes to mind:

How does the aircraft actually know what to do?

A UAV can have powerful motors, a strong frame and a good battery, but these parts cannot decide whether the aircraft is level, turning, climbing or drifting.

That requires information.

This is the second build log for our custom UAV. In Part 1, I focused on why designing before building was important and how calculations, CAD and virtual test fitting helped us understand the physical aircraft.

This time, I wanted to explore what happens when the physical design is connected to electronics and software.

For me, this stage showed an important idea:

A UAV is not just a mechanical machine. It is a system where software, electronics and mechanics work together.

Contents

Moving Beyond the Physical Design

Understanding the Flight Controller

How Sensors Understand Motion

The Role of Simulation

Building a Digital Environment

Connecting Software to Hardware

Understanding Control Systems

Learning Through Virtual Testing

Why Simulations Save Time and Money

From Code to Mechanical Movement

The Importance of System Integration

What I Learned

Where I Want to Go Next

1. Moving Beyond the Physical Design

In Part 1, most of our questions were physical.

How large should the frame be? Where should the battery go? Will the motors produce enough thrust? Will the components fit? Where will the centre of gravity be?

These questions helped us understand the aircraft’s structure.

But as the physical design became clearer, I realised that another layer of engineering was needed.

The UAV would have to understand its own movement.

Imagine the aircraft tilting slightly to one side. The motors do not automatically know this has happened. Something needs to detect the movement, process the information and decide what should happen next.

This creates a continuous chain:

Movement → Sensor → Flight Controller → Software → Control Decision → Motor Response → Aircraft Movement

Then the process starts again.

This happens continuously while the UAV is operating.

It made me realise that the physical aircraft is only one part of the system. The other part is the digital intelligence controlling it.

2. Understanding the Flight Controller

One of the most important electronic components in a UAV is the flight controller.

At first, I thought of it mainly as a circuit board connecting different components. But its role is much more important.

The flight controller receives information from sensors, processes it using software and sends commands to the appropriate components.

A simple way to look at it is:

Sensors → Flight Controller → Motor Control

The flight controller can receive information about:

Rotation

Acceleration

Orientation

Altitude

Position

Heading

The software uses this information to understand what the aircraft is doing.

For example, if the aircraft is supposed to remain level but starts rotating, the system can detect the difference and command the motors to make a correction.

This is where software becomes connected to the physical aircraft.

A calculation happening inside a processor can eventually cause a motor to change its speed.

That connection between code and movement was one of the most interesting parts of the system for me.

3. How Sensors Understand Motion

The flight controller cannot make good decisions without information. This is where sensors become important.

One important sensor group is the Inertial Measurement Unit, or IMU.

An IMU generally includes:

Accelerometers

Gyroscopes

An accelerometer measures changes in acceleration, while a gyroscope measures angular motion.

Together, they help the flight controller understand how the aircraft is moving.

For example, if the UAV starts rotating around one of its axes, the gyroscope detects this movement. The flight controller receives the measurement as numerical data, and the software can compare it with the desired movement.

The aircraft does not “see” itself tilting like a person would. Instead, it receives numbers and processes them.

So a simple movement such as:

“The UAV is tilting.”

can actually involve:

Physical Movement → Sensor Measurement → Data → Software Processing → Control Decision → Motor Response

This showed me how much computation can happen behind a simple physical movement.

4. The Role of Simulation

Once I started thinking about sensors, flight controllers and software, another problem appeared.

Testing everything directly on a real UAV could be risky.

A software mistake could cause an unexpected motor response. A control-system mistake could make the aircraft unstable, and a wiring mistake could damage electronics.

Repeatedly changing physical hardware would also take time.

This is where simulation becomes useful.

Instead of immediately testing every idea on the real aircraft, we can create a virtual environment where the system can be studied.

A simulation can represent things such as:

Mass

Inertia

Motor characteristics

Forces

Rotation

Sensor measurements

Environmental conditions

The computer can then calculate how the aircraft should behave when different inputs are applied.

This connects with the CAD work from Part 1.

In Part 1, the digital model helped us understand the physical structure.

Now simulation can help us understand the behaviour of the system.

The question changes from:

“Does everything fit?”

to:

“What happens when everything starts moving?”

5. Building a Digital Environment

A real UAV operates in a constantly changing environment. It can move in different directions, rotate around different axes and experience disturbances such as wind.

Understanding all these interactions through physical testing would be difficult.

A simulation gives us a controlled environment where we can change one variable at a time and observe the result.

For example, we could change the simulated mass of the aircraft and see how its movement changes. We could change motor response, introduce a disturbance or adjust the control-system settings.

This is useful because engineering is often about understanding relationships between different variables.

If one value changes, what happens to the rest of the system?

Simulation allows us to ask these questions without immediately modifying the physical UAV.

It turns the computer into a kind of experimental environment.

6. Connecting Software to Hardware

One of the ideas that interested me most was how software can control something physical.

At first, code can seem completely separate from mechanical engineering. A program may only contain numbers, equations and instructions.

But inside an aircraft, those instructions can have physical consequences.

For example, suppose the software decides that a motor needs to increase its speed.

The process could be:

Code → Electronic Signal → ESC → Motor → Propeller → Thrust → Aircraft Movement

The electronic speed controller, or ESC, controls the electrical power delivered to the motor. The motor changes its speed, the propeller produces a different amount of thrust, and the aircraft responds.

This made me see the UAV as a complete engineering system rather than just a collection of separate parts.

The software is directly influencing the physical world.

7. Understanding Control Systems

This connection brought me back to an important idea in flight control:

Feedback.

A control system needs to know whether its action produced the desired result.

Imagine that the UAV is commanded to remain level. This desired condition is called the setpoint.

The sensors measure the actual condition of the aircraft.

The difference between the desired and measured values is called the error.

In simple form:

Error = Desired Value − Measured Value

The control system then uses this error to decide how strongly the aircraft should respond.

For example, if the aircraft is slightly tilted, a small correction may be enough. If it is tilted significantly, a larger correction may be needed.

This creates a feedback loop:

Desired State → Compare With Actual State → Calculate Error → Controller Responds → Motors Change → Aircraft Moves → Sensors Measure Again

The important part is that the system keeps checking itself.

It does not simply give the motors one instruction and hope everything works. It measures the result and makes further corrections.

8. Learning Through Virtual Testing

Simulation becomes even more useful when studying feedback and control systems.

A control system can behave differently depending on how it is configured.

If the response is too weak, the aircraft may react slowly. If it is too aggressive, the aircraft may overshoot or become unstable.

This is why control-system tuning matters.

In a virtual environment, different settings can be tested before applying them to the real aircraft.

We could study:

How quickly the UAV responds

Whether it overshoots

Whether it oscillates

How quickly it settles

How stable it becomes

Instead of randomly changing settings, simulation gives us a way to study cause and effect.

For me, this made coding more interesting. Programming was no longer just about making something happen on a screen. It could be used to represent the behaviour of a real physical system.

9. Why Simulations Save Time and Money

Simulation does not completely replace physical testing. Eventually, the real aircraft still has to work.

However, simulation can reduce unnecessary physical experiments.

Imagine testing ten different control-system configurations on a real UAV. Each test would require preparing the aircraft, checking the electronics, running the system, recording the result and changing the configuration.

If something goes wrong, physical testing could also damage components.

A virtual test can be repeated much more easily.

This does not make physical testing unnecessary. Instead, it allows us to enter physical testing with a better idea of what to expect.

This creates a useful engineering cycle:

Design → Simulate → Analyse → Improve → Build → Test → Compare → Improve Again

This is much better than simply building something and hoping it works.

10. From Code to Mechanical Movement

One of the biggest things I wanted to understand was how far a line of code could actually influence the physical UAV.

The answer is surprisingly far.

Imagine that a sensor detects that the aircraft has started rotating.

The sensor produces data. The flight controller receives it. Software processes the measurement and calculates a correction.

The controller sends commands to the motor-control system. The ESC changes the motor response, the motor changes its speed and the propeller changes its thrust.

The aircraft then begins correcting its movement.

The sensor measures the new condition, and the process repeats.

This creates a continuous connection between the physical and digital worlds:

Physical World → Data → Software → Decision → Physical Action

Then back again.

This is one reason I have become more interested in the relationship between aerospace engineering and computer science.

Modern aircraft are not only made from physical materials. A large part of their behaviour is controlled through software.

11. The Importance of System Integration

As I looked deeper into the UAV, I realised that individual components are only useful when they work together.

A good sensor cannot help much if the software cannot interpret its data.

A powerful motor cannot fix a poor control-system design.

A good flight controller cannot compensate for an unsuitable mechanical design.

A well-designed frame can still have problems if the electronics are poorly integrated.

The main systems can be viewed as:

Mechanical System

Frame, motors, propellers and structure.

↓

Electrical System

Battery, wiring, ESCs and power distribution.

↓

Electronic System

Sensors, flight controller and communication hardware.

↓

Software

Algorithms, control logic and processing.

↓

Control System

Turns measurements into corrective actions.

↓

Physical Behaviour

The UAV actually moves.

A change in one part can affect the others.

For example, increasing the aircraft’s weight affects the thrust requirement. That can affect motor selection, power consumption and battery requirements. The battery can add more weight, which can then affect the centre of gravity and control-system settings.

This is why system-level thinking is important.

12. What I Learned

The biggest lesson from this stage was that software and hardware are not separate worlds.

Before exploring this, it was easy to think of programming as something that happens on a computer and mechanical engineering as something that happens in the physical world.

The UAV showed me how closely they are connected.

Sensors → Data → Software → Control Algorithm → Electronics → Motors → Physical Movement

The cycle then repeats.

This changed how I think about engineering.

In Part 1, I learned that:

Building starts with designing.

In Part 2, I learned that:

Making a machine work starts with understanding how its systems communicate.

The UAV is therefore becoming more than just a physical object.

It is a combination of:

Mechanical Engineering + Electronics + Software + Control Systems

And that combination is what makes modern autonomous systems possible.

13. Where I Want to Go Next

Understanding the relationship between software, sensors and hardware raised more questions for me.

What happens when the aircraft experiences wind?

How does the controller respond to sudden disturbances?

How accurately can sensors measure movement?

How should the control system be tuned?

And most importantly:

Will the behaviour predicted in simulation match what happens in the real aircraft?

These questions lead into the next stage of the build journey.

The project is now moving beyond designing the aircraft and understanding its digital systems. The next challenge is to bring these ideas together and investigate how the simulated UAV behaves before the physical aircraft takes flight.

The goal is no longer only:

“Can we build it?”

or:

“Can we control it?”

The bigger question becomes:

“Can we predict how it will behave before we fly it?”

That is where simulation, control systems and physical engineering begin to meet.

And that is where the next part of the build journey begins.

Author

Darsheel

I am Darsheel Jasani, a student passionate about aerospace engineering, with a particular interest in avionics, flight control systems, robotics, and emerging aircraft technologies. My curiosity about how aircraft systems work together led me to explore the field of avionics and flight controls. I am especially interested in the integration of aerodynamics, propulsion, electronics, and control systems. I aim to continuously develop my technical knowledge and contribute to innovative advancements in aerospace engineering.

More articles by this author

Leave a comment

Your email address will not be published. Required fields are marked *