This repository shows the research realised to conclude my degree at University of São Paulo in Aeronautical Engineering. The objective of the project is to measure the displacement field of a flexible wing using a unique camera at root of the wing.
This technique can be used in wind tunned by having a camera directly attached to the root. It could also be used in flight tests using a camera inside the airplane.
In our experimental set up we have 2 cameras:
- a root camera to aquire the images (camera 1)
- a back camera to compare the estimated displacement (camera 2)
You need to have Matlab licence to run the program (I developped using Matlab 2016a).
To reproduce the result in my report you need to:
- download the picture in the folder data. You can download a zip file here
- run the main script (main.m). It will call the different parts of the analysis.
The final report for my university can be found here.
I will brifely go through the different step of the report. If you need to more detailed explanation you can directly consult the report.
We have 5 main steps in the program:
- Image processing of the root camera pictures
- Point ordering and filtering from the root camera pictures
- Image processing of the back camera pictures
- Point filtering from the back camera pictures
- Comparison of the 2 displacement fields
We need first to identify the chessboard corner from the image like the following example.
After the image processing, the chessboard corner are the white points and we just have to identify the center of the centroids like in the following image.
Once we have all the points, we need to order them and delete false posifives. Indeed as shown in the next plots, they are ranked based on the x coordinates, not by columns. Moreover we have some points which are obviously wrong.
After the filtering, we have the points seperated per column and the same number of points per column.
This step was way trickier that I initially thought.
We need to process the image from the back camera to get the position of the displacement at the edge of the wing.
We also smoothed the points from the back camera.
We can finally compare the results of both diplacement fields, one from the root camera and one from the back camera.
We plotted the result for 3 different scenarios. Firstly, we used used the result without any calibration. Secondly, we use a calibration just with the tip of the wing. Thirdly, we use a calibration on the full displacement.