This project aims to demonstrate the use of MATLAB's system identification toolbox in developing dynamic models of an Arduino-Based aero-mechatronic system. The system is comprised of two propellers mounted on a pivoting arm, along with Arduino Nano 33 IoT and a battery pack. It is operated wirelessly via local WiFi network using MATLAB's Simulink Arduino support package. Except for the 3D printed arm and stand, all other components are commercially available, allowing easy replication of the experiment. Additionally, a Simscape model replicates the hardware-based experience for users who prefer virtual experimentation.

bicopterassm_final.mov
- Obtain linear dynamic models from input-output data. Examples inlucde autoregressive models with exogenous input (ARX), state space model based on N4SID subspace method.
- Investigate the the effect of bandwidth and amplitude of the test input on the obtained model.
- Evaluate different model orders using physical and numerical considerations (creiteria such as autocorrelelation and cross correlation of the resiudual)
- Learn how to design closed-loop controllers using PID and state space-based approaches.
- Bi-copter 3D printing instructions (Download SolidWorksFiles.zip and print Stand, Arms, and 2x Bearing Caps using a 3D printer of your choice.) -Download the controller circuit board files PCB.zip and place an order with https://jlcpcb.com/ to produce a PCB with the motor drivers. You will need to purchase the reaming parts from AMAZON.COM and assemble the pendulum per the instructions in the video below.
- Download the bill of materials/parts Bill_of_Materials.xlsx and purchase from AMAZON or other vendor of your choice.
- Follow the Bi-Copter assembly instructions
- Download and install low-cost hardware support packages:
Experiments with the physical hardware (based on Livescript and three Simulink models operating the Bi-Copter
- Download Bicopter_Hardware_Experiments repository and launch Run_Bicopter_Experiments.mlx live script. Follow instructions with the script. Run section by section.
- Download Bicopter_Virtual_Experiments repository and launch BiCopter_Simulation.mlx live script. Follow instructions with the Live Script. Run section by section.
- System Identification Tech Talks
- MATLAB Onramp – a free two-hour introductory tutorial that teaches the essentials of MATLAB.
- Simulink Onramp – a free three-hour introductory tutorial that teaches the essentials of Simulink.
- Control Design Onramp with Simulink - learn the basics of feedback control design in Simulink.
MATLAB, Simulink, System Identification Toolbox™, Control System Toolbox™, Simscape™, Simscape Multibody™