MDMostafa Rahmani Dehaghani

Mostafa Rahmani Dehaghani

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Mostafa Rahmani Dehaghani has a total of 22 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • In-situ monitoring and control of laser-directed energy deposition with wire – part 1: parameter-signature-quality analysis of duplex stainless steel

    by Mostafa Rahmani Dehaghani, Kevin Oldknow, Morgan Nilsen, Farzaneh Farhang Mehr, Yifan Tang, Nguyen Gia Hien Vu, Ke Wang, Geofeng Gary Wang


  • In situ monitoring and control of laser-directed energy deposition with wire – part 2: geometry and hardness modeling and closed-loop control

    by Mostafa Rahmani Dehaghani, Kevin Oldknow, Morgan Nilsen, Farzaneh Farhang Mehr, Yifan Tang, Nguyen Gia Hien Vu, Ke Wang, G. Gary Wang


  • Open Access

    In Situ Monitoring and Control of Laser-Directed Energy Deposition with Wire - Part 1: Parameter-Signature-Quality Analysis of Duplex Stainless Steel

    by Mostafa Rahmani Dehaghani, Kevin Oldknow, Morgan Nilsen, Farzaneh Farhang Mehr, Yifan Tang, Nguyen Gia Hien Vu, Ke Wang, G. Gary Wang

    Laser-directed energy deposition with wire (L-DED/W) has gained attention due to its high deposition and utilization rates. However, components fabricated using this method exhibit inhomogeneous microstructure and anisotropic mechanical properties, primarily stemming from the complex thermomechanical phenomena inherent to the process. To indirectly monitor and control final qualities, such as microstructure and hardness—which cannot be directly measured during deposition—this study employs an innovative parameter–signature–quality (PSQ) framework specifically tailored to duplex stainless steel (DSS) 2209. The PSQ framework uniquely enables real-time monitoring and control of otherwise unmeasurable final qualities by correlating measurable in-situ signatures with final part properties. This paper, the first in a two-part series, systematically investigates these correlations within the PSQ framework, establishing the basis for real-time monitoring of microstructure and hardness.A DSS 2209 ring is fabricated using the L-DED/W process with continuous in-situ melt pool monitoring using a coaxial camera. Advanced image processing techniques are developed and applied to extract critical melt pool signatures, including melt pool width, length, and area, from over 100,000 captured images. Post-deposition characterization involves detailed microhardness testing and microstructural analysis across 288 measurement locations, each replicated at least three times, to quantify microstructural features such as grain size, grain shape, and phase content.The results highlight significant correlations within the PSQ framework, emphasizing that melt pool signatures provide stronger and more sensitive indications of microstructural evolution compared to direct process parameters. It is established that hardness predominantly depends on phase composition (austenite content), followed by grain size, whereas laser power—despite its critical role in controlling melt pool width and thus geometry—has minimal influence on hardness and microstructure. Finite element analysis simulations further support experimental observations by analyzing how the cooling rate varies with the bead positioning and travel speed, influencing the grain size and hardness distributions.This study provides foundational understanding essential for implementing real-time monitoring and closed-loop control strategies for microstructure and hardness in DSS components produced by L-DED/W, which is discussed in Part 2 of this series. Ultimately, the insights gained advance the potential for optimized and consistent mechanical performance in metal additive manufacturing.


  • Open Access

    In Situ Monitoring and Control of Laser-Directed Energy Deposition with Wire – Part 2: Geometry and Hardness Modeling and Closed-Loop Control

    by Mostafa Rahmani Dehaghani, Kevin Oldknow, Morgan Nilsen, Farzaneh Farhang Mehr, Yifan Tang, Nguyen Gia Hien Vu, Ke Wang, G. Gary Wang

    Laser-directed energy deposition with wire (L-DED/W) has gained attention due to its high deposition and utilization rates. However, components fabricated using this method often exhibit geometric inaccuracies and anisotropic mechanical properties, primarily stemming from unstable deposition dynamics and complex thermomechanical phenomena. To enable in situ monitoring and closed-loop control of final qualities such as geometry and hardness—which cannot be directly measured during deposition—this study employs the parameter–signature–quality (PSQ) framework.This paper, the second in a two-part series, builds upon the experimental foundation and insights developed in the first part to complete the steps toward real-time multi-input multi-output (MIMO) closed-loop control of the L-DED/W process, targeting simultaneous regulation of geometric accuracy and hardness. First, a high-fidelity MIMO system identification model is developed using a long-short-term-memory network, capturing the nonlinear and dynamic relationships between process parameters (power and speed) and melt pool signatures (width, size, and length) with high accuracy. Second, hardness is classified using a combination of process parameters and melt pool signatures, achieving strong predictive performance suitable for real-time application within the PSQ framework. Finally, a fuzzy logic controller is integrated with the PSQ models to achieve closed-loop MIMO control, demonstrating effective regulation of melt pool geometry while maximizing the likelihood of achieving high hardness, even under process uncertainties for real-world production.This study presents the first successful integration of fuzzy logic control and the PSQ framework for simultaneous control of both mechanical and geometric properties in a directed energy deposition process. It contributes to the broader field by demonstrating the feasibility of in situ regulation of otherwise unmeasurable final qualities and highlights fuzzy logic control as a flexible and computationally efficient alternative for multi-objective control in additive manufacturing.


  • Open Access

    Capturing Lifecycle System Degradation in Digital Twin Model Updating

    by Yifan Tang, Mostafa Rahmani Dehaghani, G. Gary Wang

    Digital twin (DT) has emerged as a powerful tool to facilitate monitoring, control, and other decision-making tasks in real-world engineering systems. Online update methods have been proposed to update DT models. Considering the degradation behavior in the system lifecycle, these methods fail to enable DT models to predict the system responses affected by the system degradation over time. To alleviate this problem, degradation models of measurable parameters have been integrated into DT construction. However, identifying the degradation parameters relies on prior knowledge of the system and expensive experiments. To mitigate those limitations, this paper proposes a lifelong update method for DT models to capture the effects of system degradation on system responses without any prior knowledge and expensive offline experiments on the system. The core idea in the work is to represent the system degradation during the lifecycle as the dynamic changes of DT configurations (i.e., model parameters with a fixed model structure) at all degradation stages. During the lifelong update process, an Autoencoder is adopted to reconstruct the model parameters of all hidden layers simultaneously, so that the latent features taking into account the dependencies among hidden layers are obtained for each degradation stage. The dynamic behavior of latent features among successive degradation stages is then captured by a long short-term memory model, which enables prediction of the latent feature at any unseen stage. Based on the predicted latent features, the model configuration at future degradation stage is reconstructed to determine the new DT model, which predicts the system responses affected by the degradation at the same stage. The test results on two engineering datasets demonstrate that the proposed update method could capture effects of system degradation on system responses during the lifecycle.

  • A systematic online update method for reduced-order-model-based digital twin

    by Yifan Tang, Pouyan Sajadi, Mostafa Rahmani Dehaghani, G. Gary Wang


  • Open Access

    Physics-Informed Online Learning for Temperature Prediction in Metal AM

    by Pouyan Sajadi, Mostafa Rahmani Dehaghani, Yifan Tang, G. Gary Wang

    In metal additive manufacturing (AM), precise temperature field prediction is crucial for process monitoring, automation, control, and optimization. Traditional methods, primarily offline and data-driven, struggle with adapting to real-time changes and new process scenarios, which limits their applicability for effective AM process control. To address these challenges, this paper introduces the first physics-informed (PI) online learning framework specifically designed for temperature prediction in metal AM. Utilizing a physics-informed neural network (PINN), this framework integrates a neural network architecture with physics-informed inputs and loss functions. Pretrained on a known process to establish a baseline, the PINN transitions to an online learning phase, dynamically updating its weights in response to new, unseen data. This adaptation allows the model to continuously refine its predictions in real-time. By integrating physics-informed components, the PINN leverages prior knowledge about the manufacturing processes, enabling rapid adjustments to process parameters, geometries, deposition patterns, and materials. Empirical results confirm the robust performance of this PI online learning framework in accurately predicting temperature fields for unseen processes across various conditions. It notably surpasses traditional data-driven models, especially in critical areas like the Heat Affected Zone (HAZ) and melt pool. The PINN’s use of physical laws and prior knowledge not only provides a significant advantage over conventional models but also ensures more accurate predictions under diverse conditions. Furthermore, our analysis of key hyperparameters—the learning rate and batch size of the online learning phase—highlights their roles in optimizing the learning process and enhancing the framework’s overall effectiveness. This approach demonstrates significant potential to improve the online control and optimization of metal AM processes.


  • Open Access

    Physics-Informed Online Learning for Temperature Prediction in Metal AM

    by Pouyan Sajadi, Mostafa Rahmani Dehaghani, Yifan Tang, G. Gary Wang

    In metal additive manufacturing (AM), precise temperature field prediction is crucial for process monitoring, automation, control, and optimization. Traditional methods, primarily offline and data-driven, struggle with adapting to real-time changes and new process scenarios, which limits their applicability for effective AM process control. To address these challenges, this paper introduces the first physics-informed (PI) online learning framework specifically designed for temperature prediction in metal AM. Utilizing a physics-informed neural network (PINN), this framework integrates a neural network architecture with physics-informed inputs and loss functions. Pretrained on a known process to establish a baseline, the PINN transitions to an online learning phase, dynamically updating its weights in response to new, unseen data. This adaptation allows the model to continuously refine its predictions in real-time. By integrating physics-informed components, the PINN leverages prior knowledge about the manufacturing processes, enabling rapid adjustments to process parameters, geometries, deposition patterns, and materials. Empirical results confirm the robust performance of this PI online learning framework in accurately predicting temperature fields for unseen processes across various conditions. It notably surpasses traditional data-driven models, especially in critical areas like the Heat Affected Zone (HAZ) and melt pool. The PINN’s use of physical laws and prior knowledge not only provides a significant advantage over conventional models but also ensures more accurate predictions under diverse conditions. Furthermore, our analysis of key hyper-parameters—learning rate and batch size of the online learning phase—highlights their roles in optimizing the learning process and enhancing the framework’s overall effectiveness. This approach demonstrates significant potential to improve the online control and optimization of metal AM processes.