Code and Simulink model for surface roughness control in milling using MPC

Published: 9 November 2026| Version 1 | DOI: 10.17632/zr7nppk7p7.1
Contributor:
Ian Michaelis

Description

This repository contains the control program developed for a master’s dissertation in Mechanical Engineering on surface roughness control in face milling. The control structure combines a surface roughness estimator based on feed force and feed rate, a reference generator that determines the desired feed rate, and a model predictive controller (MPC) that regulates the feed rate to track this reference. The repository includes the source code of the four main blocks—surface roughness estimator, reference generator, machine model, and optimization—as well as the complete Simulink model, supporting files, and the QuantumX acquisition and TCP/IP communication program. Setup and execution instructions are provided in the README file.

Files

Categories

Mechanical Engineering, Milling

Licence