Skip to content

Ahmed-Magdi1/2DOF-Helicopter-FNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2DOF Helicopter modeling using FNN

Overview

This project models the nonlinear dynamics of a 2-DOF helicopter system using a Feedforward Neural Network (FNN). The model predicts the system's behavior based on input variables (voltage and motor currents) to output pitch and yaw angles.

Colab Link

You can access the Google Colab notebook for this project: Open In Colab

Data Used

The model is trained and validated using real data representing the helicopter's behavior:

  • Input Variables:
    • V: Voltage applied to the motors (constant for both motors).
    • I_pitch: Current for the pitch motor.
    • I_yaw: Current for the yaw motor.
  • Output Variables:
    • pitch_angle (θ): The pitch angle of the helicopter.
    • yaw_angle (ψ): The yaw angle of the helicopter.

Data Format

The input and output data are stored in separate CSV files:

Using the Trained Model

  • Ensure the trained model file 2dof_helicopter_model.h5 is uploaded in colab.

  • Use the model and change the inputs dat to make predictions:

    new_input = np.array([[V, I_pitch, I_yaw]])  # Voltage, I_pitch, I_yaw

About

This repository contains a Feedforward Neural Network (FNN) model designed to predict the nonlinear dynamics of a 2-DOF helicopter system.data-driven approach to model complex system dynamics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors