Next Article in Journal
Multi-Objective PSO with Variable Number of Dimensions for Space Robot Path Optimization
Previous Article in Journal
Physics-Informed Deep Learning for Traffic State Estimation: A Survey and the Outlook
Previous Article in Special Issue
Identification of Highlighted Cells in Low-Variance Raster Data Application to Digital Elevation Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Alternative Multi-Physics-Based Methodology for Strongly Coupled Electro-Magneto-Mechanical Problems

1
Mechanical Engineering Department, Politecnico di Milano Via Giuseppe La Masa, 1, 20156 Milano, Italy
2
Microhard Srl, Iseo Serrature Spa, Via S. Girolamo, 13, 25055 Pisogne, Italy
3
Iseo Serrature Spa, Via S. Girolamo, 13, 25055 Pisogne, Italy
*
Author to whom correspondence should be addressed.
Algorithms 2023, 16(6), 306; https://doi.org/10.3390/a16060306
Submission received: 23 May 2023 / Revised: 13 June 2023 / Accepted: 15 June 2023 / Published: 19 June 2023
(This article belongs to the Collection Feature Papers in Algorithms)

Abstract

:
The analysis of complex systems tends to be approached through a separation and a simplification of the main macro phenomena and, thus, addressed through dedicated techniques, tools, and algorithms. A smart and interesting possibility, instead, is represented by the so-called model-based design analysis, which allows one to interface phenomena coming from interactions of different physical natures. This paper aims to propose a multi-physics Matlab/Simulink®-based architecture that allows one to integrate general and strongly non-linear coupling phenomena, taking efforts from two novel implemented bi-directional co-simulation routines based on Spice® and ESRF Radia® engines. Emphasis is dedicated to the discussion and description of the co-simulation algorithms and processes characteristic of these routines, which allow the analog electronic and the magneto dynamic domain’s integration under a single simulation environment. To highlight the reliability of the multi-domain architecture and to validate the reported co-simulation results, a comparison with the experimental measures obtained on an innovative MEMS electromagnetic actuator are proposed.

1. Introduction

Time-domain analysis represents a prerogative for the comprehension and design of mechatronic devices. Often, the complexity of the numerical modeling of such systems is narrowed and simplified through the isolation of the main macro-phenomena, and thus is solved through dedicated languages, tools, and algorithms [1,2]. However, in applications where the strict interdependence between the different physical domains and scales cannot be decoupled, such as mechatronic devices, strongly coupled electro-magnetic applications (WPT, electric vehicle re-charging, etc.), and active analog electronics controllers, the introduction of a complete multidomain co-simulation architecture is required [3,4,5,6,7].
From a holistic and practical point of view, one of the main difficulties arises from the integration of the different platforms on which the partial models are developed. Among the others, Matlab/Simulink® represents one of the most advanced graphical programming environments for the simulation of dynamic systems, being developed for the analysis of multipurpose and general nature problems [8]. In this study, we propose a novel Matlab/Simulink-based architecture for multi-physics analysis, devoting particular emphasis to the interaction between the mechanical, magnetic, and analog electronic domains, taking efforts from two novel implemented bi-directional co-simulation routines based on Spice® and ESRF Radia® engines. In detail, this paper describes the logics and the sub-processes executed by the novel co-simulation algorithms for bi-directional communication of the effort and flow variables incoming and outgoing from the Matlab/Simulink leading routine and the analog electronic, and the magneto-static/dynamic ambient solved through equivalent circuit analysis (ECA) and 3D finite volume modeling (3DFVM), respectively.
To validate the proposed methodology, an innovative MEMS-based electromagnetic actuator was taken under analysis, and the numerical results obtained by the multi-physics model were compared with the experimental relatives reported by Lee et al. in [4]. In the following, Section 2 introduces the whole co-simulation architecture, highlighting the main interexchange processes and the related timing characteristics of the different domains. Importance is given to the two novel bi-directional co-simulation algorithms for the integration of the analog electronic and magneto-static domain through PySpice-Simulink and ESRF Radia-Simulnk routines, faced in Section 3 and Section 4, respectively. Section 5 highlights the potentiality of the proposed multi-domain architecture through a validation process based on the experimental results obtained from an electromagnetic actuated MEMS proposed in the literature. Finally, appropriate conclusions are drawn in Section 6.

2. The Proposed Multi-Domain Architecture

Figure 1 depicts a block diagram representation of the proposed implementation logic behind the co-simulation multi-scale and multi-physics modeling technique. The core of the model, developed in Matlab/Simulink, discretizes the time of the simulation interfacing the different physical domains.
This discretization process represents one of the key aspects of the co-simulation algorithm. It takes place independently on four different timelines. In detail, as shown in the lower part of Figure 1, each physical domain has its own simulation time window and a characteristic sampling frequency. The Matlab/Simulink leading ambient defines the maximum temporal length for the entire simulation, discretizing it through a variable step integrator. The length of this step represents the maximum length of the instantaneous simulation window of the individual physical domains, which are called independently according to their respective calling frequencies; these are necessarily lower than or equal to the minimum leading one. In turn, as in the case of the electronic domain call, the Spice integrator further discretizes the relative timeline, with frequencies in the order of 10 9 Hz, returning at the end of the co-simulation process, for the considered Matlab/Simulink time instant the results obtained from the last Spice discretization interval. This aspect, firstly, allows independent integration of the three standard tools for dedicated analysis as well as to sample/call the different domains at an optimal frequency, thus optimizing the computational effort of the CPU and preventing the aliasing phenomenon.
Inside the MATLAB/Simulink master routine, two other main functions are also implemented: the high-frequency parameter estimator, which computes the induced variation in parameters and variables affected by the interaction with different physical domains, and the firmware and control logic routine, which allows one to embed a firmware control loop in the case that the studied device is governed by a microcontroller. In detail, a complete multibody model of the full device assembly under analysis is implemented via MSC Adams® and co-simulated through Adams control, the Mathematica open-source package: ESRF Radia solves the static and dynamic electro-magnetic fields through a 3D FVM algorithm, and finally the equivalent circuit properties are integrated and solved through the Spice engine. The whole dynamics behavior is integrated at every time step and updated; the resulting sets of PDE/ODE of each domain are settled, taking effort off the dedicated platform solvers; and finally the bi-directional communication is taken in charge by two novel implemented and dedicated Matlab/Python routines (see Section 3 and Section 4).

3. Spice-Based Analog Electronic Domain Integration

3.1. Introduction

The increasing demand for accuracy and reliability in the design and analysis of complex electronic integrated systems has, in recent years, pushed toward a greater use of device-level circuit simulators. Their strengths are based on the conformity to fundamental physical principles [6], which in turn introduces long-time simulation, losses in computing performances, and difficulty in multi-domain integration. On the contrary, a system-level ambient such as Matlab/Simulink can guarantee high computational performances and multipurpose analysis at the expense of a reduced range of possible simulations, due to lack of transient, AC/DC, or sweeps analysis capabilities and a limited availability of complete components libraries [9].
The proposed work therefore introduces and defines a new co-simulation methodology between a device-level circuit simulator (Spice) and a system-level ambient (Matlab/Simulink) so as to ensure high fidelity in the simulation of the related physical phenomena and to the broad range of events that can be studied.
In the literature, few attempts have been made toward this direction; among the others, a work was proposed by Madbouly et al. in [10] in which a set of simulation tools called MATSPICE were presented that introduced a preliminary step for the optimization of parameters and the rapid iteration of circuit resolutions through a SPICE-based solver engine. Another significant implementation was proposed in [8], where authors described an innovative and interesting approach to the problem through a Simulink-based S-function implemented as a Level-2 M-file capable of coupling an NGSpice engine with a Matlab/Simulink model.
The proposed work instead aims to integrate a device-level simulator such as a Spice-based circuit at the system-level, such as a Matlab/Simulink environment, through a completely different approach. A dedicated Simulink/Matlab-based function was executed through the Matlab Engine API for Python, the implemented Python-based routine, which integrated the open source module PySpice [11], which in turn allowed the NGSpice/Xyce simulator to be run in server mode, as well as the bi-directional communication of the effort and flows variables among the co-simulated ambientes.

3.2. The Proposed Spice-Based Co-Simulation Algorithm

Figure 2 depicts the logic behind the algorithm of co-simulation between the Spice-based circuit integrator and Matlab/Simulink.
The flow chart reports two main macro steps: the initialization process and the iteration cycle. The circuit initialization starts with a fast implementation of the circuit schematics through a Graphic User Interface (GUI) editor. The components network is grouped inside the so called “.net” file NETLIST. To be correctly integrated and executed by the co-simulation algorithm, the NETLIST needs to be modified according to what is reported in Figure 3.
The title section marked in the picture with 1 was set to the first line since this is never executed by the Spice solver. Marker 2 highlights the core of the NETLIST, where all the components network is defined, based on the circuit nodes’ connections. As reported, the constitutive values of some components are defined in brackets; these bracketed parameters represent the turning point of the co-simulation process. In fact, as listed by the section numbered with marker 3, the so called “.param par…” defines the INPUT values that are passed from Simulink to Spice during the co-simulation exchange and allow a continuous modification of the circuit caused by the interaction with the other physical domains. This step would be extremely complex or even not replicable through a purely device-level-based approach.
As previously described and shown in Figure 1, during each Simulink call, the Spice integrator generates a new independent timeline that needs to be temporally relocated in the main macro timeline and initialized on the basis of the previously obtained results. These initial condition parameterizations are listed in the section marked as 4 through the so-called “.param ic…” and “.ic…”. Finally, Section 5 defines and lists all the equivalent NGSpice/Xyce-based models of the real electronic components.
The so-initialized circuit model is ready to be co-simulated on the basis of the following steps: (I) Simulink calls off the communication routine framework through the Matlab Engine API for Python that executes the Spice solver based on the open source PySpice module; (II) NGSpice/Xyce solves the circuit NETLIST; (III) the routine extracts the last V/I Spice discretization results, as Spice samples the electronic phenomena at a higher frequency (i.e., 1 GHz) compared with the Simulink leading routine call; (IV) a Matlab function re-initializes the circuit NETLIST updated on the last extracted Spice results and on the solved ones and updates INPUT parameters coming from the interaction with the other domains (e.g., mechanical, magnetic…); and (V) the loop is closed, transferring the resulting effort and flow variables to the co-simulated domains.

4. ESRF Radia-Based Magnetostatic Domain Integration

4.1. Introduction

The other key structure developed for the presented electro-magneto-mechanical architecture is constituted by the ESRF Radia-based bi-directional communication algorithm. In the literature, there are several interesting case studies reported, mainly focused on the field of motor drives or magneto-strictive actuators. It is important to remark how these reported works face the analysis of the electro-magnetic interaction through a finite element analysis (FEA) approach [12,13].
In our study, we propose an alternative perspective with respect to this classic FEM-based analysis, taking efforts to consider the potentiality of the finite volume modeling (FVM) [14].

4.2. The Proposed ESRF Radia-Based Co-Simulation Algorithm

As for the co-simulation algorithm reported in Section 3 also for the case of magneto-static integration, the whole procedure is characterized by the same two main macro steps: the initialization process and the iteration cycle.
The 3D Finite Volume Model (3DFVM) was first implemented in Wolfram Mathematica® language and then imported into a Python module. The script now starts its initialization process to be suitable for the co-simulation analysis. Now that the model is fully set, it is passed to the iterative cycle according to what is reported in Figure 4. The main algorithm framework uses a logic that exploits a closed-loop process based on the following steps: (I) the leading Simulink routine calls off and updates, through the Matlab Engine API for Python, the 3D FVM model implemented in Mathematica language. This is integrates into a Py-module and interpreted by the Wolfram Client Library for Python; (II) the ESRF Radia engine solves the model based onto the achieved configuration; (III) the routine extracts the obtained results (e.g., magnetic fields intensity, magnetic forces/torques, etc.); and finally (IV) the loop is closed, transferring the resulting magnetic effort and flow variables to the other physical domains.
From the simulation point of view, the magnetostatic analysis can be processed through two different main strategies: the real-time co-simulation or the pre-simulation, and look-up table interpolation.
In the case that the real application of the device presents a strict correlation between the coupling aspects with two or more kinematic variables, a real-time co-simulation is considered necessary. On the contrary, if the dependency presents a single kinematic correlation, it is possible to pre-simulate the whole 3D magnetostatic behavior for all possible 1Ds configurations and to pass the resulting trends to the co-simulation model in the form of an interpolated curve. This last scenario allows one to considerably increase the computation performances of the entire multi-domain model.

5. The Case Study

5.1. Introduction

To fully complete the description of the main capabilities of the proposed co-simulation architecture and to highlight the potentiality as well as the reliability in a real case scenario, a simple application case study together with a detailed experimental comparison is presented. The experimental results taken into analysis for the numerical validation were extracted from the work reported by Lee et al. in [15], based on an innovative MEMS electromagnetic actuator.
The authors in their work proposed a study about the design, the fabrication, and characterization of a novel micro electro-magnetic actuator comprising a PDMS diaphragm, a polyimide-coated copper micro coil, and a permanent magnet.

5.2. The Device

Ref. [15] analyzed three different devices based on different geometries and characteristics; the proposed experimental-numerical comparisons were based on the results obtained from the device that developed the most effective performances, the so-called Type I design.
In detail, the studied device (see Figure 5) was structured as follows: a 20   μ m thick copper planar micro-coil was mounted over a glass-polyimide substrate. The coil presented an internal diameter of 2500   μ m and an external one of 5087   μ m , the in-planar spacing and track width were 80   μ m and 100   μ m ,   respectively . A PMMA plate covered the coil-substrate sandwich; at the center of the plate, a circular hole was obtained with a diameter of 4   mm that constituted the device’s pumping chamber. On the plate’s upper surface was glued the PDMS diaphragm–magnet coupled assembly. This assembly was constituted by a 1.5 × 1.5   mm cylindrical NdFeB permanent magnet glued over a 100   μ m thick circular PDMS diaphragm with a diameter of 2000   μ m . Further and deeper constitutive information can be found in the reported article [15].

5.3. The Governing Equations

The implementation of a complete numerical model requires one to describe the overall coupled phenomena. The main physical domains for the treatment of the device under analysis are the mechanical domain, the magnetic domain, and the electronic domain. The co-simulation architecture described in the previous sections is here integrated with a set of governing equations to provide a complete and exhaustive modeling framework. This section encompasses the main purposes of this article, i.e., the integration of complex co-simulation tools in order to implement and solve a complete analytical/numerical multi-domain model.

5.3.1. The Planar Micro-Coil Characterization

The electrical DC resistance of the copper micro-coil was defined by authors as equal to 2   Ω , due to the field of application and the necessity to take into account skin and proximity effects; therefore, the actual parameterization value of the electrical resistance was identified as the equivalent resistance value for AC excitations.
Shen et al. in [16] proposed a detailed mathematical modeling of the Dowell’s derived equations of an equivalent resistor to introduce in circuit simulation.
The equivalent AC resistance expression R A C was formulated as a combination of different hyperbolic functions ζ and ξ .
R A C = R D C   F r = R D C   Δ [ ζ + 2 3 ( p 2 1 ) ξ ]
The proximity ξ and skin ζ effect [17] instead need to be numerically calculated according to Equation (2), through a combination of harmonic functions of the penetration ratio Δ .
ξ = sinh Δ sin Δ cosh Δ + cos Δ ζ = sinh ( 2 Δ ) + sin ( 2 Δ ) cosh ( 2 Δ ) cos ( 2 Δ )
According to the set of Equations reported in Equation (3), the penetration depth Δ is essentially a function of the physical and geometric parameters of the material.
Δ = η d w δ η = t k d w h c δ = ρ π μ f
where
  • η is the porosity factor of the material.
  • d w is the equivalent thickness of the material and for a round wire and is equal to π d i 2 , where d i is the diameter of the wire.
  • δ is the skin dept in the wire.
  • t is the number of turns per layer.
  • k is the number of Litz wire, which is 1 for round wire.
  • h c is the height of the core window.
  • ρ is the resistivity of the wire material.
  • μ is the permeability constant equal to μ r μ 0 .
  • f is the principal operating frequency.
  • p i is the equivalent number of layers.
A more in-depth description and identification of the parameters as well as the whole mathematical demonstration can be found in [16].
The other two main parameters needed for the characterization of the micro-coil were the stray capacitance and inductance. Costa proposed in his work [18] a complete description of the parasitic capacitance behavior of a planar micro-coil. Starting from the geometry’s properties, such as the number of turns n , the internal R i n , external radius R o u t , and the distance between two turns d = ( R o u t R i n ) / n , the author proposed a set of equations for the analytical formulation of the equivalent stray capacitance. Modeling the whole planar coil as a series of i-th parasitic capacitances delimited by the polar coordinates a and b defined in Equation (4) with the potential and the electrical flux between two turns, it is thus possible to define the global X and Y constitutive Equations (5) and (6).
a = R i n + ( i 1 )   d ; b = a + i   d ; f o r   i = {   1 i   n 1 }
X = b + ln ( b 3 a ) 2 a 2 + 1 4 a 2 + 1 2 b ln ( b 2 ) b 2 1 4 b 2  
Y = 3 ln ( b a ) + b
The effective height of the coil z is defined in Equation (7).
z = 8.25 × 10 3 ( n 10 ) + 0.1401
Plugging the set of reported equations, it is possible to formulate the equivalent stray capacitance C as the sum of the i-th coupled capacitors C i .
C = 4 z π ϵ a 2 Y X  
C = i = 1 n 1 C i  
The inductive behavior instead is modeled through the mathematical formulation proposed by Mohan et al. in [19]. Herein are proposed different methods for the analysis of the planar coil. The method adopted during the research activity was the so-called Current Sheet Expression. Where c 1 ,   c 2 ,   c 3 and c 4 are experimentally tabled parameters, d a v g = ( d o u t d i n ) / 2 is the average diameter of the coil, n represents the number of turns, μ 0 is the magnetic permeability of free space, and ρ is the so-called fill ratio.
ρ = d o u t d i n d o u t + d i n
L = μ n 2 d a v g c 1 2 ( ln ( c 2 ρ ) + c 3 ρ + c 4 ρ 2 )  
The resulting R-L-C parameter estimations are listed in Table 1.

5.3.2. The PDMS Diaphragm Characterization

The other important characterization process concerns the analysis of the dynamic mechanical behavior of the PDMS membrane properties. Figure 6 depicts an electro-magnetic actuated mass-spring-damper equivalent schematic that represents the model adopted for the characterization of the main dynamic parameters. The here-reported model can be fully defined based on three main lumped parameters: the equivalent spring k , the equivalent damping c , and the equivalent mass m .
The total equivalent mass was obtained from the CAD model of the device and was the result of the sum of the PDMS diaphragm mass plus the mass of the NdFeB permanent magnet. The lumped value of the equivalent spring was instead obtained from the reduced static equilibrium at the mass of the system Equation (12).
F m a g = F g + F e l  
where F g is the weight force of the total mass, F e l is the force exerted by the equivalent spring, and F m a g is the Lorentz formulation of the magnetic force exerted by an n-turning coil. The resulting expression of Equation (12) is reported below in Equation (13).
n   l   i   Λ   B = ( m d i a p h r a g m + m m a g n e t ) g + k   w m a x
Coupling the resulting formulation with the theory of diaphragm deflection (see Equation (14)) proposed by Bao in [20], it is possible to trace the formulation of the equivalent winding length and the equivalent stiffness parameter, reported in the set of Equation (15).
w m a x = F   r 4 S 64 D D = E   h 3 12 ( 1 ν 2 )  
l = w m a x π r 2 64 D N   i   B   r 4 k = n   l   i   B ( m d i a p h r a g m + m m a g n e t ) g w m a x  
The constitutive parameters’ nomenclature and the relative values are listed in Table 2.
Due to the lack of information provided in the referenced article [4], the equivalent damping c of the device was tuned numerically and obtained a value equal to 5.53 × 10 6 ( Ns ) mm .

5.4. The Multi-Domain Model

Figure 7 depicts the co-simulation architecture, in which the main effort and flow variables exchanged according to the logic described in Section 2 are highlighted and reported.
The leading routine discretizes the time of the simulation, managing the inter-exchange of variables among the different domains as well as estimating the parameters needed in the analysis based on the set of equations described in the previous paragraphs. In detail, at every time step, the AC resistance R A C , the equivalent inductance L , and the stray capacitance C , together with the voltage amplitude V of the generator, the voltage amplitude of the equivalent back e.m.f. generator V b a c k   e . m . f . , and the amplitude of the equivalent microcontroller controlling the MOSFET V g a t e are passed to the analog electronic domain that solves the instantaneously configured circuit and outputs the voltages’ drop across a shunt resistor ( V n 5 V n 6 ) . According to Ohm’s law, this voltage drop is used to compute the current circulating in the coil. The MBD model outputs the deflection amplitude w and the related membrane deflection velocity d w . The deflection amplitude measure is passed to the magnetic domain to update the equivalent magneto-static model, which solves the 3D FVM analysis and passes back the estimated magnetic field density B to the leading routine for the computation of the actuating magnetic force F m a g . This computed force value is passed back to the MBD system for the dynamic actuation of the device. The deflection velocity, instead, is passed to the analog electronic domain in the form of back e.m.f. voltage amplitude according to: V b a c k   e . m . f . = k e . m . f . d w , where k e . m . f . represents a numerically estimated constant: k e . m . f . = 1.02 × 10 12 Vs mm .
Figure 8 shows an implemented numerical model of the equivalent MEMS device developed through ESRF Radia® package and solved through the 3D Finite Volume Method (3DFVM). Since most of the constitutive parts do not have any ferromagnetic properties and, consequently, do not interact during the simulation, the system was modeled through a reduced number of components: the planar micro-coil, the permanent magnet, and a fictitious element depicting the PDMS diaphragm. The coil was grounded, while the fictitious disk together with the magnet were continuously updated in position to have a correspondence between the magnetic model and the MBD model.
Due to the lack of iron-based materials, the part that required the most computational effort and, consequently, required a volume partition was the NdFeB magnet. The best compromise in solution convergence and computing performances was obtained with 4 × 4 × 4 volume subdivisions along the X-axis, Y-axis, and Z-axis, respectively. To best fit the cylindrical geometries of the components, the polyhedron finite volume shapes were adopted. Once the 3D volume objects were created, the materials were applied and the interaction matrix was obtained, the relaxation procedure was executed and all the magnetization vectors were extracted by the single tiny volumes, allowing us to obtain the magnetic field intensity at each point of the 3D space.
The GUI circuit schematic of the Spice-based equivalent model is reported in Figure 9. The circuit was implemented for the NGSpice engine simulator. The planar micro-coil was modeled here through a parallel between the stray capacitance and the series of the AC resistance, the equivalent inductance, and the back e.m.f. generator; the constitutive parameters values were updated for every time step call of the simulation based on the solved variables passed back by the leading Simulink routine. The circuit was fed by a 10   Ω source generator and a switch. In order to replicate a real case application and to enhance the potentiality of the proposed architecture, an active actuation control was introduced; this microcontroller replica was implemented through an equivalent generator and a MOSFET. The circulating current was measured through the voltage drop across the shunt resistor terminals.
Finally, the mechanical model of the MEMS actuator was developed and simulated as a multi-body (MBD) model. The equivalent MBD model was constituted by three main sub-assemblies:
  • The NdFeB permanent magnet (red body);
  • The PDMS diaphragm (blue body);
  • The frame (green body) was composed by the PMMA plate, the micro-coil, the polyimide, and the glass substrate.
In the following are described the modeling techniques chosen for the replication of the kinematic and dynamic properties characteristics of an MEMS electromagnetic actuator and are schematized in Figure 10.
  • The kinematic deformation properties of the membrane were modeled through a prismatic joint ➀ between the fictitious diaphragm disk and the frame.
  • The magnet was kinematically constrained through a fixed joint ➁ to the fictitious membrane.
  • A fixed constraint ➂ settled the frame to the ground.
  • A magnetic force ➃ was applied between the magnet and the frame. Its absolute value and the verse of application represented one of the co-simulation state variables exchanged among the different simulation platforms.
  • A spring-damper equivalent force ➄ was added to replicate the elastic and dissipative properties of the PDMS diaphragm. The constitutive parameters values were estimated according to Equations (12)–(15).
  • The measure w and d w of the equivalent deflection was measured between the frame and the disk and was passed back to the leading routine as presented in Figure 6 to compute the induced e.m.f.
Obviously, from the point of view of multibody simulation, the reported model represents a very simplified application. The case in analysis is to be understood as a basic explanatory model for the complete description and validation of the presented multidomain co-simulation architecture.

5.5. Results Comparison and Validation

The validation of the proposed co-simulation architecture was verified by comparing the obtained numerical results with the experimental measurements reported in the referred article [15].
The requested simulation time for the single analysis was around 35 min with an 11th Gen Intel Core i7 CPU, NVIDIA GeForce GTX 1650 GPU and DDR4 32 Gb RAM.
Figure 11 depicts on two different graphs (a) the laser-based displacement measure obtained at different levels of applied current and (b) the numerical trends of the estimated deflection amplitude in a 0.8 s time window for a circulating current equal to: [0.2; 1.0] A. For each one of the reported configurations, the trends show an initial increasing monotone transition phase and, subsequently, a maintenance phase into a deformed configuration. The final maintenance values were very similar to what was reported by the experimental measurements. It is important to underline that the greatest deviation between measurements and numerical estimations occurred for current values equal to 1.0   A . This response could come from non-linear elastic behavior obtained for such large strain deformation.
To emphasize the capabilities and the wide range of simulation possibilities provided by the proposed multi-domain architecture, a series of results obtained from the previously described actuator model are reported below. In detail, we studied the dynamic response of the device through a variable frequency-modulated excitation. The signal provided by the microcontroller equivalent generator (see Figure 12) commanded the MOSFET gate according to a PWM voltage characterized by three main frequencies ([80; 90; 100] Hz) and duty cycles ([50%; 60%; 70%]).
Figure 13 shows the dynamic response of the device. It is important to notice how the estimated deflection strictly follows the PWM frequency changes occurring at intervals of 200 ms. After 600 ms, the excitation signal ended, and the device returned to the quiescent configuration through a damped oscillatory motion.
Finally, Figure 14 and Figure 15, respectively, show some of the most interesting results obtained from the magnetic and electronic domains.
In detail, Figure 14 depicts the characteristic trend of the electro-magnetic actuation force. The first graph shows the trend during the entire actuation window, while the lower one shows a detailed magnification of the characteristic waveform. Figure 15, instead, represents the time history of the voltage measured on the MOSFET drain in a time interval of [0.18; 0.22] s, in which are clearly visible the under- and over-shoot (see the graph below) characteristics of a real MOSFET Spice model.
The reported series of results highlights how, although on a simple but extremely representative case study, the presented co-simulation methodology allows researchers to investigate in depth the strongly coupled phenomena that characterize general electro-magnet-mechanical systems actuated by a firmware control logic.

6. Conclusions

In this study, a novel time-based multi-domain architecture is presented, and its capabilities and accuracy are verified. The method uses a multi-physics approach to embed under the same simulation platform general purpose electro-magneto-mechanical problems. Two novel Python-Matlab based bi-directional communication routines are presented, with the aim of integrating two consolidated simulation tools and languages for the electronic and magnetic domains in multi-physics models: a Spice-based analysis and a 3D Radia-based finite volume methodology, respectively. It was established that for the magnetostatic analysis the FVM principle presents significant improvements both in reliability and performance compared with the classic FEM analysis. The integration of the Spice-based electronics aims to extend this design boost to those circuits, which, due to the application complexity, require a direct interaction between different physical domains, such as in the case of mechatronic applications.
It is important to underline how the proposed co-simulation algorithm allows the interaction of the different phenomena, while keeping the characteristic frequencies of the studied events and the properties of the called integrators fully decoupled, so as to optimize the computational load of the CPU without incurring aliasing phenomena.
Finally, a detailed validation is faced through a complete comparison of quasi-static measurements [15] obtained from an MEMS electromagnetic actuator. The dynamic regime analysis is also considered. To enhance the capabilities and the reliability of the proposed architecture, a real case scenario is studied. The system modeled with all the equivalent constitutive components is connected to a fictitious microcontroller equipped with a firmware control logic which, through different PWM signals, allows us to study the full dynamic response. In detail, signals with exciting frequencies of [80; 90; 100] Hz and duty cycles equal to [50%; 60%; 70%] are analyzed.

Author Contributions

Conceptualization, F.M.R. and C.R.; methodology, F.M.R. and C.R.; software, F.M.R.; validation, M.C. and J.M.; investigation, F.M.R. and C.R.; resources, S.C.; data curation, S.C.; writing—original draft preparation, F.M.R.; writing—review and editing, F.M.R. and S.C.; visualization, M.C. and J.M.; supervision, S.C.; project administration, S.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cremona, F.; Lohstroh, M.; Broman, D.; Lee, E.A.; Masin, M.; Tripakis, S. Hybrid co-simulation: It’s about time. Softw. Syst. Model. 2019, 18, 1655–1679. [Google Scholar] [CrossRef] [Green Version]
  2. Gomes, C.; Thule, C.; Broman, D.; Larsen, P.G.; Vangheluwe, H. Co-Simulation: A Survey. ACM Comput. Surv. 2019, 51, 1–33. [Google Scholar] [CrossRef]
  3. Jaiswal, S.; Pyrhönen, L.; Mikkola, A. Computationally Efficient Coupling of Multibody Dynamics and Hydraulic Actuators in Simulating Hydraulic Machinery. IEEE/ASME Trans. Mechatron. 2022, 28, 1–12. [Google Scholar] [CrossRef]
  4. Kaltenbacher, M. Numerical Simulation of Mechatronic Sensors and Actuators: Finite Elements for Computational Multiphysics; Springer: Berlin/Heidelberg, Germany, 2015; ISBN 978-3-642-40169-5. [Google Scholar] [CrossRef]
  5. Zhao, X.; Liao, X.; Wang, Z.; Wu, G.; Barth, M.; Han, K.; Tiwari, P. Co-Simulation Platform for Modeling and Evaluating Connected and Automated Vehicles and Human Behavior in Mixed Traffic. SAE Int. J. Connect. Autom. Veh. 2022, 5, 313–326. [Google Scholar] [CrossRef]
  6. Wang, W.; Yang, W.; Dinavahi, V. Co-Simulation Interfacing Capabilities in Device-Level Power Electronic Circuit Simulation Tools: An Overview. Int. J. Power Electron. Drive Syst. 2015, 6, 665–682. [Google Scholar] [CrossRef]
  7. Reato, F.M.; Cinquemani, S.; Ricci, C.; Misfatto, J.; Calzaferri, M. A Multi-Domain Model for Variable Gap Iron-Cored Wireless Power Transmission System. Appl. Sci. 2023, 13, 1820. [Google Scholar] [CrossRef]
  8. Wilson, C.G.; Hung, J.Y. A system simulation technique combining SPICE and SIMULINK tools. In Proceedings of the IECON 2010—36th Annual Conference on IEEE Industrial Electronics Society, Glendale, AZ, USA, 7–10 November 2010; pp. 41–46. [Google Scholar] [CrossRef]
  9. Faruque, M.O.; Dinavahi, V.; Steurer, M.; Monti, A.; Strunz, K.; Martinez, J.A.; Chang, G.W.; Jatskevich, J.; Iravani, R.; Davoudi, A. Interfacing Issues in Multi-Domain Simulation Tools. IEEE Trans. Power Deliv. 2012, 27, 439–448. [Google Scholar] [CrossRef]
  10. Madbouly, M.; Dessouky, M.; Zakaria, M.; Latif, R.A.; Farid, A. MATLAB—SPICE interface (MATSPICE) and its applications. In Proceedings of the 12th IEEE International Conference on Fuzzy Systems (Cat. No.03CH37442), Cairo, Egypt, 1 December 2003; pp. 37–40. [Google Scholar] [CrossRef]
  11. Salvaire, F. PySpice. Available online: https://pyspice.fabrice-salvaire.fr (accessed on 5 December 2022).
  12. Tursini, M.; Villani, M.; Di Tullio, A.; Fabri, G.; Collazzo, F.P. Off-line co-simulation of multiphase PM motor-drives. In Proceedings of the 2016 XXII International Conference on Electrical Machines (ICEM), Lausanne, Switzerland, 4–7 September 2016; pp. 1138–1144. [Google Scholar] [CrossRef]
  13. Boff, B.H.B.; Flores, J.V.; Flores Filho, A.F.; Eckert, P.R. Dynamic Modeling of Linear Permanent Magnet Synchronous Motors: Determination of Parameters and Numerical Co-Simulation. J. Control Autom. Electr. Syst. 2021, 32, 1782–1794. [Google Scholar] [CrossRef]
  14. Elleaume, P.; Chubar, O.; Chavanne, J. Computing 3D magnetic fields from insertion devices. In Proceedings of the 1997 Particle Accelerator Conference (Cat. No.97CH36167), Vancouver, BC, Canada, 16 May 1997; Volume 3, pp. 3509–3511. [Google Scholar] [CrossRef]
  15. Lee, C.-Y.; Chen, Z.-H.; Chang, H.-T.; Wen, C.-Y.; Cheng, C.-H. Design and fabrication of novel micro electromagnetic actuator. Microsyst. Technol. 2009, 15, 1171–1177. [Google Scholar] [CrossRef] [Green Version]
  16. Shen, Z.; Kaymak, M.; Wang, H.; Hu, J.; Jin, L.; Blaabjerg, F.; De Doncker, R.W. The Faraday Shields Loss of Transformers. IEEE Trans. Power Electron. 2020, 35, 12194–12206. [Google Scholar] [CrossRef]
  17. Mei, S.; Ismail, Y.I. Modeling skin and proximity effects with reduced realizable RL circuits. IEEE Trans. Very Large Scale Integr. VLSI Syst. 2004, 12, 437–447. [Google Scholar] [CrossRef]
  18. Costa, E.M.M. Parasitic Capacitances on Planar Coil. J. Electromagn. Waves Appl. 2009, 23, 2339–2350. [Google Scholar] [CrossRef]
  19. Mohan, S.S.; del Mar Hershenson, M.; Boyd, S.P.; Lee, T.H. Simple accurate expressions for planar spiral inductances. IEEE J. Solid-State Circuits 1999, 34, 1419–1424. [Google Scholar] [CrossRef] [Green Version]
  20. Bao, M. Circular Diaphragm—An Overview|ScienceDirect Topics. Available online: https://www.sciencedirect.com/topics/engineering/circular-diaphragm (accessed on 6 December 2022).
Figure 1. Proposed multi-domain co-simulation architecture and time discretization logic.
Figure 1. Proposed multi-domain co-simulation architecture and time discretization logic.
Algorithms 16 00306 g001
Figure 2. PySpice-Matlab/Simulink co-simulation algorithm.
Figure 2. PySpice-Matlab/Simulink co-simulation algorithm.
Algorithms 16 00306 g002
Figure 3. Co-simulation initialized NETLIST.
Figure 3. Co-simulation initialized NETLIST.
Algorithms 16 00306 g003
Figure 4. ESRF Radia-Matlab/Simulink co-simulation algorithm.
Figure 4. ESRF Radia-Matlab/Simulink co-simulation algorithm.
Algorithms 16 00306 g004
Figure 5. Three-dimensional graphical representation of the MEMS electromagnetic actuator.
Figure 5. Three-dimensional graphical representation of the MEMS electromagnetic actuator.
Algorithms 16 00306 g005
Figure 6. MEMS electromagnetic actuator schematic model.
Figure 6. MEMS electromagnetic actuator schematic model.
Algorithms 16 00306 g006
Figure 7. MEMS multi-domain co-simulation model.
Figure 7. MEMS multi-domain co-simulation model.
Algorithms 16 00306 g007
Figure 8. Three-dimensional magneto-static Finite Volume Model.
Figure 8. Three-dimensional magneto-static Finite Volume Model.
Algorithms 16 00306 g008
Figure 9. GUI schematic representation of the Spice-based circuit.
Figure 9. GUI schematic representation of the Spice-based circuit.
Algorithms 16 00306 g009
Figure 10. Sectional view of the multibody model.
Figure 10. Sectional view of the multibody model.
Algorithms 16 00306 g010
Figure 11. (a) Co-simulation numerical results; (b) referred experimental measurements.
Figure 11. (a) Co-simulation numerical results; (b) referred experimental measurements.
Algorithms 16 00306 g011
Figure 12. MOSFET gate PWM signal.
Figure 12. MOSFET gate PWM signal.
Algorithms 16 00306 g012
Figure 13. MEMS diaphragm estimated deflection.
Figure 13. MEMS diaphragm estimated deflection.
Algorithms 16 00306 g013
Figure 14. MEMS magnetic actuation force.
Figure 14. MEMS magnetic actuation force.
Algorithms 16 00306 g014
Figure 15. MOSFET drain voltage.
Figure 15. MOSFET drain voltage.
Algorithms 16 00306 g015
Table 1. Estimated R-L-C parameters @ 100 Hz.
Table 1. Estimated R-L-C parameters @ 100 Hz.
ParameterValueUnit
AC resistance: R A C 2 [ Ω ]
Stray capacitance: C 1.36 × 10 10 [ F ]
Stray inductance: L 4.766 × 10 7 [ H ]
Table 2. Measured and estimated parameters.
Table 2. Measured and estimated parameters.
ParameterValueUnit
Diaphragm radius: r 1000 [ μ m ]
Diaphragm thickness: h 100 [ μ m ]
Diaphragm surface: S 3.15 [ mm 2 ]
PDMS Young’s modulus: E 550 [ kPa ]
PDMS Poisson’s ratio: ν 0.5
Coil current: i 0.6 [ A ]
Number of turns: n 10
Magnetic flux density: B 0.0416 [ T ]
Max deflection @ 0.6   A : w m a x 150 [ μ m ]
Equivalent coil length: l 7384 [ μ m ]
Equivalent spring stiffness: k 0.0078 [ N / mm ]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Reato, F.M.; Ricci, C.; Misfatto, J.; Calzaferri, M.; Cinquemani, S. An Alternative Multi-Physics-Based Methodology for Strongly Coupled Electro-Magneto-Mechanical Problems. Algorithms 2023, 16, 306. https://doi.org/10.3390/a16060306

AMA Style

Reato FM, Ricci C, Misfatto J, Calzaferri M, Cinquemani S. An Alternative Multi-Physics-Based Methodology for Strongly Coupled Electro-Magneto-Mechanical Problems. Algorithms. 2023; 16(6):306. https://doi.org/10.3390/a16060306

Chicago/Turabian Style

Reato, Federico Maria, Claudio Ricci, Jan Misfatto, Matteo Calzaferri, and Simone Cinquemani. 2023. "An Alternative Multi-Physics-Based Methodology for Strongly Coupled Electro-Magneto-Mechanical Problems" Algorithms 16, no. 6: 306. https://doi.org/10.3390/a16060306

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop