This repository contains the project developed during my academic internship, focused on real-time defect trend analysis in semi-automatic screwdriving systems. The analysis includes data extraction, statistical process control, and inferential modeling to monitor and reduce errors in the production process.
- Presentazione_Leonardo_Livi.pdf: The presentation given during the academic defense of the project.
- DF_BUILD.py: This script processes raw data to create a structured DataFrame for analysis.
- MAIN_COND_STD.py: Aggregates and processes data to prepare it for statistical analysis.
- Derive_procedure_STD.py: Calculates control limits used in PowerBI visualizations to monitor out-of-control processes.
- Poisson_model_errors.R: An R script that fits a Poisson regression model to estimate error rates in the screwdriving process.
- xBar_Chart.pbix: A PowerBI file that visualizes the control charts for monitoring screwdriving operations in real time.
- Data Preparation: Run
DF_BUILD.py
to create a structured DataFrame from raw data files. - Data Aggregation: Use
MAIN_COND_STD.py
to process and aggregate the data for analysis. - Control Limit Estimation: Execute
Derive_procedure_STD.py
to calculate control limits used in PowerBI. - Statistical Modeling: Use
Poisson_model_errors.R
to fit a Poisson regression model and estimate the error rates. - Visualization: Open
xBar_Chart.pbix
in PowerBI to view the real-time control charts.
The analysis indicated that the hurdle model was the most appropriate for predicting screwdriving defects, improving process quality and providing actionable insights for real-time monitoring.
For any questions, feel free to reach out to me at: leonardo.livi1@edu.unifi.it.