{"id":{"repo_id":"ubc","oai_identifier":"oai:circle.library.ubc.ca:2429/76698"},"canonical_url":"https://search.ndltd.org/etd/ubc/oai:circle.library.ubc.ca:2429/76698","repository":{"repo_id":"ubc","name":"University of British Columbia","base_url":"http://circle.library.ubc.ca/oai/request"},"display":{"title":"Automated design and implementation of Kalman observer for spindle torque estimation in CNC machining","abstract":"Milling is a subtractive manufacturing technique, where the material is continuously removed from a workpiece until the desired part shape is obtained. Heavily used in the automotive and aerospace industries, Computer Numerical Control (CNC) milling machines occupy a large chunk in the manufacturing process. The current research focuses towards machining and machine tool monitoring systems that are more self-sufficient and self-adjusting to adapt the processes to machine tools. Cutting torque delivered by the machine tool spindle is one of the key sensory signals for machining process monitoring. This thesis presents a method that automatically reconstructs cutting torque from motor current commands generated by the servo controller of the machine tool. To estimate the cutting torque from commanded spindle current, the dynamics between torque to current relationship must be modeled and compensated. The thesis first presents an automated identification of spindle dynamics using data-driven system identification methods. The frequency response function (FRF) of the spindle dynamics is measured manually using CNC internal diagnostic tools. The identified FRF is then automatically converted to a state-space model using the Eigensystem Realization Algorithm (ERA). To reduce overfitting, an optimal threshold is applied to the ERA method to limit the identified system order. And to ensure the stability of the identified system, unstable eigenvalues of the system are removed using Schur decomposition. The identified system is then augmented such that the unknown torque input is modeled as a state changed by a random process noise. This augmented system is used to create a Kalman Observer, which compensates the spindle dynamics and estimates the torque from the spindle nominal current. The Kalman Observer is tuned automatically by estimating the noise covariance values using machining simulations. The method was eventually validated on a Quaser UX 600 industrial CNC system.","abstract_html":"Milling is a subtractive manufacturing technique, where the material is continuously removed from a workpiece until the desired part shape is obtained. Heavily used in the automotive and aerospace industries, Computer Numerical Control (CNC) milling machines occupy a large chunk in the manufacturing process. The current research focuses towards machining and machine tool monitoring systems that are more self-sufficient and self-adjusting to adapt the processes to machine tools. Cutting torque delivered by the machine tool spindle is one of the key sensory signals for machining process monitoring. This thesis presents a method that automatically reconstructs cutting torque from motor current commands generated by the servo controller of the machine tool. To estimate the cutting torque from commanded spindle current, the dynamics between torque to current relationship must be modeled and compensated. The thesis first presents an automated identification of spindle dynamics using data-driven system identification methods. The frequency response function (FRF) of the spindle dynamics is measured manually using CNC internal diagnostic tools. The identified FRF is then automatically converted to a state-space model using the Eigensystem Realization Algorithm (ERA). To reduce overfitting, an optimal threshold is applied to the ERA method to limit the identified system order. And to ensure the stability of the identified system, unstable eigenvalues of the system are removed using Schur decomposition. The identified system is then augmented such that the unknown torque input is modeled as a state changed by a random process noise. This augmented system is used to create a Kalman Observer, which compensates the spindle dynamics and estimates the torque from the spindle nominal current. The Kalman Observer is tuned automatically by estimating the noise covariance values using machining simulations. The method was eventually validated on a Quaser UX 600 industrial CNC system.","abstract_has_math":false,"creators":["Lu, Zhao Wei"],"institution":"University of British Columbia","degree_name":"Master of Applied Science - MASc","degree_level":"master's","degree_discipline":"Mechanical Engineering","degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2020,"date_issued":"2020","date_published":"2020","updated_at":"2026-11-19T15:12:05Z","subjects":[],"languages":["eng"],"rights":["Attribution-NoDerivatives 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by-nd/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/2429/76698","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"http://hdl.handle.net/2429/76698","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","download_url":"http://circle.library.ubc.ca/bitstream/2429/76698/4/ubc_2021_may_lu_zhaowei.pdf","download_label":"Download PDF","download_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"http://circle.library.ubc.ca/oai/request?verb=GetRecord&metadataPrefix=etdms&identifier=oai%3Acircle.library.ubc.ca%3A2429%2F76698","prefix":"etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Lu, Zhao Wei"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2020"]},{"key":"dc:publisher","label":"Institution","values":["University of British Columbia"]},{"key":"dc:type","label":"Dc Type","values":["Text"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Mechanical Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Applied Science - MASc"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of British Columbia"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["http://creativecommons.org/licenses/by-nd/4.0/","Attribution-NoDerivatives 4.0 International"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://hdl.handle.net/2429/76698","http://circle.library.ubc.ca/bitstream/2429/76698/4/ubc_2021_may_lu_zhaowei.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Milling is a subtractive manufacturing technique, where the material is continuously removed from a workpiece until the desired part shape is obtained. Heavily used in the automotive and aerospace industries, Computer Numerical Control (CNC) milling machines occupy a large chunk in the manufacturing process. The current research focuses towards machining and machine tool monitoring systems that are more self-sufficient and self-adjusting to adapt the processes to machine tools. Cutting torque delivered by the machine tool spindle is one of the key sensory signals for machining process monitoring. This thesis presents a method that automatically reconstructs cutting torque from motor current commands generated by the servo controller of the machine tool. To estimate the cutting torque from commanded spindle current, the dynamics between torque to current relationship must be modeled and compensated. The thesis first presents an automated identification of spindle dynamics using data-driven system identification methods. The frequency response function (FRF) of the spindle dynamics is measured manually using CNC internal diagnostic tools. The identified FRF is then automatically converted to a state-space model using the Eigensystem Realization Algorithm (ERA). To reduce overfitting, an optimal threshold is applied to the ERA method to limit the identified system order. And to ensure the stability of the identified system, unstable eigenvalues of the system are removed using Schur decomposition. The identified system is then augmented such that the unknown torque input is modeled as a state changed by a random process noise. This augmented system is used to create a Kalman Observer, which compensates the spindle dynamics and estimates the torque from the spindle nominal current. The Kalman Observer is tuned automatically by estimating the noise covariance values using machining simulations. The method was eventually validated on a Quaser UX 600 industrial CNC system."]},{"key":"dc:format","label":"Dc Format","values":["2726540","application/pdf"]},{"key":"dc:title","label":"Title","values":["Automated design and implementation of Kalman observer for spindle torque estimation in CNC machining"]}]}],"canonical_facts":{"dc:creator":["Lu, Zhao Wei"],"dc:date":["2020"],"dc:description":["Milling is a subtractive manufacturing technique, where the material is continuously removed from a workpiece until the desired part shape is obtained. Heavily used in the automotive and aerospace industries, Computer Numerical Control (CNC) milling machines occupy a large chunk in the manufacturing process. The current research focuses towards machining and machine tool monitoring systems that are more self-sufficient and self-adjusting to adapt the processes to machine tools. Cutting torque delivered by the machine tool spindle is one of the key sensory signals for machining process monitoring. This thesis presents a method that automatically reconstructs cutting torque from motor current commands generated by the servo controller of the machine tool. To estimate the cutting torque from commanded spindle current, the dynamics between torque to current relationship must be modeled and compensated. The thesis first presents an automated identification of spindle dynamics using data-driven system identification methods. The frequency response function (FRF) of the spindle dynamics is measured manually using CNC internal diagnostic tools. The identified FRF is then automatically converted to a state-space model using the Eigensystem Realization Algorithm (ERA). To reduce overfitting, an optimal threshold is applied to the ERA method to limit the identified system order. And to ensure the stability of the identified system, unstable eigenvalues of the system are removed using Schur decomposition. The identified system is then augmented such that the unknown torque input is modeled as a state changed by a random process noise. This augmented system is used to create a Kalman Observer, which compensates the spindle dynamics and estimates the torque from the spindle nominal current. The Kalman Observer is tuned automatically by estimating the noise covariance values using machining simulations. The method was eventually validated on a Quaser UX 600 industrial CNC system."],"dc:format":["2726540","application/pdf"],"dc:identifier":["http://hdl.handle.net/2429/76698","http://circle.library.ubc.ca/bitstream/2429/76698/4/ubc_2021_may_lu_zhaowei.pdf"],"dc:language":["eng"],"dc:publisher":["University of British Columbia"],"dc:rights":["http://creativecommons.org/licenses/by-nd/4.0/","Attribution-NoDerivatives 4.0 International"],"dc:title":["Automated design and implementation of Kalman observer for spindle torque estimation in CNC machining"],"dc:type":["Text"],"thesis:degree_discipline":["Mechanical Engineering"],"thesis:degree_level":["master's"],"thesis:degree_name":["Master of Applied Science - MASc"],"thesis:institution_name":["University of British Columbia"]},"updated_at":"2026-11-19T15:12:05Z"}