Methods and systems for controlling electromagnetic field generators
10950378 ยท 2021-03-16
Assignee
Inventors
Cpc classification
A61B34/70
HUMAN NECESSITIES
International classification
Abstract
Disclosed are methods and apparatus for controlling electromagnetic field generation system to generate dynamic magnetic fields. The method can comprise: establishing a dynamic model that describes open-loop dynamics of the electromagnetic field generation system and has an unified state-space form with time delay; configuring a controller based on the dynamic model; applying, by the controller, a control signal to the electromagnetic field generation system; detecting one or more feedback signals from the electromagnetic field generation system; and updating, by the controller, the control signal for controlling the electromagnetic field generation system, according to a reference signal corresponding to a desired dynamic magnetic field, one or more compensated feedback signals, and system states. To address time delay and modeling error and to estimate system states, a Kalman filter and a Smith predictor based compensator can be incorporated.
Claims
1. A method for controlling an electromagnetic field generation system to generate dynamic magnetic fields, the method comprising: establishing a dynamic model describing open-loop dynamics of the electromagnetic field generation system, the dynamic model having an unified state-space form with time delay; configuring a controller based on the dynamic model; applying, by the controller, a control signal to the electromagnetic field generation system; detecting, by the controller, one or more feedback signals from the electromagnetic field generation system, wherein the one or more feedback signals are generated by a detector in response to the control signal and an electromagnetic field condition; and updating, by the controller, the control signal for controlling the electromagnetic field generation system, based in part on a reference signal corresponding to a desired dynamic magnetic field of the electromagnetic field generation system and in part on the one or more detected feedback signals and one or more system states of the electromagnetic field generation system.
2. The method according to claim 1, wherein establishing the dynamic model includes: fitting a p-dimensional minimum-phase state-space model with open-loop frequency response data of sensor feedback of the electromagnetic field generation system; and identifying a fitted model based on an open-loop step response in time domain of the electromagnetic field generation system, wherein the identified fitted model is established as the dynamic model.
3. The method according to claim 2, wherein configuring the controller further includes: configuring the controller based on the identified fitted model by a linear quadratic with integral action (LQI) technique.
4. The method according to claim 3, wherein configuring the controller further includes: delivering control inputs to the electromagnetic field generation system to generate open-loop dynamic electromagnetic fields; and obtaining the open-loop frequency response data and the open-loop step response based on the generated electromagnetic fields and the control inputs.
5. The method according to claim 2, wherein establishing the dynamic model further includes: transforming the identified fitted model from a continuous-time system model into a discrete-time system model, wherein the transformed model is established as the dynamic model.
6. The method according to claim 5, wherein configuring the controller includes: adding an integral action augmented state into the dynamic model to form an augmented system model to minimize tracking error during control, wherein the integral action augmented state describes an integral action of an error of the magnetic field generated by a connected load; and configuring the controller based on the augmented system model.
7. The method according to claim 6, wherein configuring the controller based on the augmented system model includes: providing the augmented system model with an adjustable control weighting parameter for penalizing a control effort; adjusting a value of the control weighting parameter based on an actuation capability of the electromagnetic field generation system; and using the adjusted control weighting parameter in configuring the controller.
8. The method according to claim 1, wherein the electromagnetic field generation system is a multi-axis system having one pair of load driving module and connected load for each axis and wherein establishing the dynamic model includes: fitting a p-dimensional minimum-phase state-space model with open-loop frequency response data of electrical current for each axis of the electromagnetic field generation system; and identifying a fitted model for each axis of the electromagnetic field generation system based on an open-loop step response in time domain of each axis of the electromagnetic field generation system, wherein the identified fitted model for each axis of the electromagnetic field generation system is taken as the dynamic model of that axis of the electromagnetic field generation system.
9. The method according to claim 8, wherein configuring the controller includes: adding an integral action augmented state into the dynamic model to form an augmented system model to minimize tracking error during control, wherein the integral action augmented state describes an integral action of an error of the magnetic field generated by a connected load; providing the augmented system model with a weighting matrix for penalizing states of the augmented system model and a control weighting parameter for penalizing a control effort; adjusting a value of the weighting matrix and the control weighting parameter for each axis of the electromagnetic field generation system; and using the weighting matrix and the control weighting parameter in configuring the controller.
10. The method according to claim 1, wherein generating the one or more feedback signals by the detector includes: storing the control signal in real time; measuring a feedback signal of the electromagnetic field generation system in real time; estimating a noise-free past system state and a noise-free past feedback signal based on the measured feedback signal and the stored control signal; predicting, based on the dynamic model, a present state of the system, a past state of the system, a present feedback signal from the system, and a past feedback signal from the system; compensating the predicted present state based on a difference between the predicted past state and the estimated noise-free past system state; compensating the predicted present feedback signal based on a difference between the predicted past feedback signal and the estimated noise-free past feedback signal; and outputting the compensated present state and the compensated present feedback signal to the controller, wherein the compensated present feedback signal is taken as the one or more detected feedback signals, and the compensated present state is taken as the one or more system states.
11. The method according to claim 10, wherein updating the control signal includes: updating the control signal based on the compensated present feedback signal, the compensated present state and the reference signal corresponding to a desired dynamic magnetic field.
12. The method according to claim 11, wherein the estimating is implemented by a Kalman filter based on experimental open-loop step response data in a time domain.
13. The method according to claim 11, wherein the predicting is implemented by a Smith predictor based on the dynamic model according to the stored control signal in real-time.
14. An apparatus for controlling electromagnetic field generation system to generate dynamic magnetic fields, the apparatus comprising: a controller configured to apply a control signal to the electromagnetic field generation system; and a detector configured to measure one or more electromagnetic field conditions from the electromagnetic field generation system and to generate one or more feedback signals to the controller, wherein the one or more feedback signals are generated in response to the control signal and the one or more electromagnetic field conditions, wherein the controller is further configured to update the control signal based in part on a reference signal corresponding to a desired dynamic magnetic field of the electromagnetic field generation system and based in part on the one or more feedback signals and one or more system states; and wherein the controller is further configured to update the control signal based on a dynamic model for describing open-loop dynamics of the electromagnetic field generation system that has an unified state-space form with time delay.
15. The apparatus according to claim 14, wherein the electromagnetic field generation system comprises a load driving module and a connected load.
16. The apparatus according to claim 15, wherein the connected load comprises one or more wire sections connected in series or parallel.
17. The apparatus according to claim 15, wherein the electromagnetic field generation system is an electromagnetic coil system (ECS), wherein the load driving module is a coil driving module and the load is a coil connected to the coil driving module.
18. The apparatus according to claim 14, wherein the electromagnetic field generation system is a multi-axis system and comprises a load driving module and a connected load for each axis.
19. The apparatus according to claim 14, wherein the electromagnetic field generation system comprises a set of one or more magnets and at least one mechanical actuator operable to adjust a position of at least one of the magnets.
20. The apparatus according to claim 14, wherein the apparatus further comprises: a model unit configured to fit a p-dimensional minimum-phase state-space model with open-loop frequency response data of sensor feedback of the electromagnetic field generation system and to identify the fitted model by an experimental open-loop step response in time domain of the electromagnetic field generation system, wherein the identified model is established as the dynamic model.
21. The apparatus according to claim 20, wherein the controller is configured based on the identified model by a linear quadratic with integral action (LQI) technique.
22. The apparatus according to claim 20, wherein the detector comprises: a storing unit configured to store the control signal in real-time; a measuring unit configured to measure a feedback signal of the electromagnetic field generation system in real-time; an estimating unit configured to estimate a noise-free past system state and a noise-free past feedback signal based on the measured feedback signal and the stored control signal; a predicting unit configured to predict, based on the dynamic model, a present state of the system, a past state of the system, a present feedback signal from the system, and a past feedback signal from the system; a compensating unit configured to compensate the predicted present state based on a difference between the predicted past state and the estimated noise-free past system state and to compensate the predicted present feedback signal based on a difference between the predicted past feedback signal and the estimated noise-free past feedback signal; and an outputting unit configured to output the compensated present state and the compensated present feedback signal to the controller, wherein the compensated present feedback signal is taken as the measured feedback signal, and the compensated present state is taken as the one or more system states.
23. The apparatus according to claim 22, wherein the controller is further configured to update the control signal based on the compensated present feedback signal, the compensated present state and the reference signal.
24. The apparatus according to claim 22, wherein the measured feedback signal is an electric current signal.
25. The apparatus according to claim 22, wherein the measured feedback signal is a magnetic flux density signal.
26. The apparatus according to claim 20, wherein the model unit provides a weighting matrix for penalizing states of an augmented system model that is formed by adding an integral action augmented state into the state-space model; and the weighting matrix is adjustable to adopt different properties in the electromagnetic field generation system.
27. The apparatus according to claim 20, wherein the model unit provides a control weighting parameter for penalizing a control effort, and the control weighting parameter is adjustable to allow different actuation capability of the electromagnetic field generation system.
28. The apparatus according to claim 20, wherein the electromagnetic field generation system is a multi-axis system and comprises one pair of load driving module and connected load for each axis; and the model unit provides a weighting matrix for penalizing states of an augmented system model, which is formed by adding an integral action augmented state into the state-space model; and the weighting matrix is adjustable for each axis to adopt different properties in each axis of the electromagnetic field generation system.
29. The apparatus according to claim 20, wherein the electromagnetic field generation system is a multi-axis system and comprises one pair of load driving module and connected load for each axis; and the model unit provides a control weighting parameter for penalizing a control effort, and the control weighting parameter is adjustable for each axis of the electromagnetic field generation system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION
(9) Specific examples (also referred to as embodiments) of control systems and electromagnetic field generation systems for generating dynamic magnetic fields with high accuracy are described herein. These examples include specific detail to facilitate understanding; however those skilled in the art with access to this disclosure will appreciate that the claimed invention can be practiced without these details. It should also be understood that features and details described with respect to different embodiments can be used in combination except in instances where logic dictates otherwise.
(10)
(11) Control apparatus 100 includes a digital controller 103 configured to calculate control signals for coil driving modules 102 and a detector 104 to generate feedback signals, e.g., based on detected electromagnetic field conditions. Digital controller 103 can include a logic circuit (e.g., a microprocessor or microcontroller) configured with control logic to determine a desired current in response to a desired magnetic field profile, which can be specified using a reference signal input to digital controller 103. In some embodiments, the reference signal can be generated in real time and may indicate the desired magnetic field strength (e.g., magnetic flux density). In other embodiments, the reference signal can be provided in advance of system operation (e.g., as a script specifying desired magnetic field strength as a function of time) and stored by digital controller 103 for subsequent operation. Regardless of the format of the reference signal, the logic circuits of digital controller 103 can be configured to determine a desired current for the coils based on the desired magnetic field (or other information in the reference signal) and based on a feedback signal from detector 104. In some embodiments, digital controller 103 can include additional logic circuitry and/or program code to establish a dynamic model describing open-loop dynamics of ECS 110, e.g., based on measuring an open-loop step response of ECS 110. Specific examples of configuration and operation of controller 103 are described below.
(12) Detector 104 can include one or more sensors that sense a condition related to the electromagnetic field generated in ECS 110. Examples of appropriate sensors include a current sensor to sense the actual current in coils 101, a magnetic flux density sensor to measure the magnetic flux density, a displacement sensor to detect displacement, and so on. Detector 104 can also include control logic or other circuitry (e.g., analog-to-digital converters) to generate one or more feedback signals (which can be digital signals) based on the sensed electromagnetic field condition(s). Specific examples of control logic are described below.
(13) In operation, controller 103 can receive a reference signal indicating a desired magnetic field strength. Based on the reference signal, controller 103 can generate (e.g., in real time) a series of control signals to coil driving module 102. In response to the control signals, coil driving module 102 can generate driving signals to produce coil currents in electromagnetic coil 101. The coil currents induce a magnetic field. Detector 104 can operate its sensors to detect an electromagnetic field condition and can generate a feedback signal to controller 103. Based on the feedback signal and the reference signal, controller 103 can modify the control signals to continue to produce the desired dynamic magnetic field.
(14) Controller 103 may use various feedback algorithms to modify control signals based on the feedback signal and the reference signal. In some embodiments, modified control signals can be generated based on a dynamic model by linear quadratic integral (LQI) technique, using a dynamic model that describes open-loop dynamics of ECS 110 and that has an unified state-space form with time delay. The unified state-space form may describe different driving system configurations having diverse dynamics, which makes it easy to apply the same controller 103 to diverse instances of ECS 110 with diverse dynamics.
(15) It will be appreciated that the system shown in
(16) It should also be noted that generation of the feedback signal is not limited to an electric current signal but may include any single reading or combinations of readings containing system-related information, including but not limited to electric current, magnetic flux density or displacement, or any combination of electric current, magnetic flux density and displacement, or any other measurable characteristic indicative of an electromagnetic field condition.
(17) In some embodiments, ECS 110 may be a 3-axis Helmholtz coil system comprising a separate coil and coil driving module for each axis. Controller 103 maybe a model-based controller that generates a control signal for each axis. Controller 103 can model each axis of ECS 110 using a simple process of parameter tuning (described below). Thus, controller 103 can be used to control combinations of coils having different parameters, which may be required in some instances (e.g., to actuate microrobots in multiple degrees of freedom).
(18) For purposes of description, two example ECSs with 3-axis Helmholtz coils are chosen to illustrate features of a model-based controller. However, the ECS is not limited to 3-axis Helmholtz coil systems, and other multi-axis (or single-axis) coil systems may be used.
(19) In order to investigate parameter tuning for different coils, lab-constructed 3-axis Helmholtz coils have been utilized in two ECSs. There are significant differences in resistances and inductances of the three coil axes, indicating their diverse dynamics. The field strength b(t) at the center area of a Helmholtz coil axis excited by a dynamic electric current I(t) can be calculated by:
b(t)=I(t),(1)
where the constant for each coil axis can be calibrated using a Gaussmeter. In one example, =3.5 mT/A. Accordingly, in some embodiments magnetic field strength can be measured by electric current sensors because of the linear relationship between the magnetic field strength and electric current in the coil. (It is noted that the linear relationship still holds for a coil with iron core.) A linear relationship as in Eq. (1) is not required, and in some embodiments magnetic field strength b(t) can be measured directly rather than inferring b(t) from I(t).
(20) A first example ECS (referred to for convenience as ECS-I) has a computer-based control system with servoamplifiers for driving the coils. The relationship between a constant voltage input u.sub.1 and the steady state current output I of the servoamplifier is
I=c.sub.1u.sub.1,(2)
where c.sub.1 is a constant that depends on the particular servoamplifier. In the present example, c.sub.1=1. For feedback of the generated magnetic field, electric current sensors integrated in the servoamplifiers collect the coil current signals, which are then converted from analog to digital using an analog/digital converter (ADC). A power supply provides power for the servoamplifiers. An oscilloscope is used to record the measured coil currents and control inputs in real time.
(21) A second example ECS (referred to as ECS-II) has an embedded control system with custom-designed circuit board for driving the coils. The driving circuit can include switching regulators (e.g., bipolar junction transistors and/or field effect transistors) with accessory circuits to power the regulators, thereby producing current pulses of a desired duration, frequency, or shape, allowing pulse width modulation (PWM) techniques to be used to provide controllable power to the coils. The effective control voltage V(t) exerted on the coil can be approximated as:
(22)
where MaxCount stands for the count value of the PWM when the duty cycle of the inverter equals to 100%. V.sub.DC and u.sub.2(t) are the voltage of the power supply and computed input command of the controller, respectively. Coefficient c.sub.2 is calibrated for a specific coil such that an unitary input causes an unitary current output in the coil at the steady state. As a result, is a constant associated with a specific coil. For coil current feedback, current sensors integrated on the circuit boards are used.
(23) In some embodiments, the three pairs of coils and coil driving module can be considered as three independent systems since mutual inductance between any two of the coil axes is negligible. The mathematical model of the dynamics of servoamplifiers in ECS-I cannot be established directly; however, it can be approximated using a p-dimensional state-space model through system identification. As shown below, p is identified as 1 and 2 for ECS-II and ECS-I, respectively.
(24) To identify the dynamics of each pair of coil 101 and coil driving module 102 in the two ECSs, controller 103 delivers sinusoidal control signals (disregarding any feedback signal from detector 104) to the coil driving modules 102 of the three axes, and the signals indicating the coil currents are measured by the corresponding detector 104. The resulting open-loop frequency magnitude response of ECS-I and ECS-II is plotted as
(25) From
(26)
where the subscript j indicates the coil axis (x, y or z); u.sub.x, u.sub.y and u.sub.z are the corresponding control inputs of three coil axes, which are time-delayed by L.sub.x, L.sub.y and L.sub.z, respectively; and I.sub.x, I.sub.y and I.sub.z are the corresponding currents of the three coil axes. The identified parameters of A.sub.x,y,zR.sup.pp, B.sub.x,y,z R.sup.p1, C.sub.x,y,z R.sup.1p, D.sub.x,y,zR.sup.11. By Eq. (1), the generated dynamic magnetic field b.sub.j(t) (unit: mT) may be calculated by:
b.sub.j(t)=I.sub.j(t)=3.5I.sub.j(t), j=x,y,z(5)
(27) It should be noted that the identified time delay includes two parts: the time delay caused by system electronics; and the time delay introduced by the modeling method. In some embodiments, a compensator is designed to compensate for the lumped modeling error between the identified model (Eq. (4)) and the real system.
(28) To design and form a digital control system, the discrete-time system model is deduced, which may have the following form:
(29)
with initial conditions
X.sub.j(0)=0.sub.p1, I(0)=0
u.sub.j(kD.sub.j)=0, for kD<0.(7)
(30) In Eq. (6) and (7), k denotes the discretized time and 0.sub.p1 is the zero matrix with a dimension of p1. If the continuous system is sampled with an interval T.sub.s, the discretized time delay D.sub.j equals the integer nearest to L.sub.j/T.sub.s, and the system matrices A.sub.jd and B.sub.jd in Eq. (6) are obtained by zero-order hold (ZOH) method which provides the exact matching between the continuous-time system and discrete-time system at sampling instants for staircase inputs. For the ZOH discretization, system matrices may be obtained by:
A.sub.jd=e.sup.A.sup.
B.sub.jd=(.sub.0.sup.T.sup.
(31) In some embodiments, a method for controlling electromagnetic coil system to generate dynamic magnetic fields is based on the unified discrete-time system model, i.e. Eqs. (6) and (7). The method includes: generating control signals for an ECS (e.g., ECS-I or ECS-II); and detecting feedback signals from the ECS; wherein the step of generating control signals comprises: generating the control signals by utilizing linear quadratic integral (LQI) control into a dynamic model for the ECS based on reference signals corresponding to the desired dynamic magnetic fields and the feedback signals, wherein the dynamic model describes open-loop dynamics of the ECS and has a unified state-space form with time delay (as shown in Eqs. (6) and (7)).
(32)
(33)
(34) In some embodiments, controller 103 can make the output magnetic field converge to the reference without steady-state error and can optimize the transient response concerning overshoot and settling time. Controller 103 does not require complex control algorithms, which are undesirable in a system that has fast dynamics such that the control system cannot afford heavy computation load in each control interval. For example, controller 103 can utilize the linear quadratic with integral action control (LQI) technique. LQI is a combination of a full-state feedback law, i.e. linear quadratic regulator (LQR) that provides an intrinsically stable closed-loop system with wide phase margin (>60), and an additional integral action of the feedback. The design process of the discrete-time controller based on LQI is described as follows.
(35) Considering the system model (e.g., Eq. (6)) without time delay, a new state variable x.sub.i(k) related to the integral action of the error of the generated magnetic field may be defined:
(36)
where r(k) is the vector of corresponding reference, which depends on the feedback type. Thus, the augmented system model may be obtained as:
(37)
where 0 is a zero matrix with a suitable size. In order to track dynamic inputs, difference between the reference and output magnetic field should be driven to zero within desirable settling time. To meet this goal, a new augmented system with error vector as the state variables is derived. Let the difference between state variables X(k) and difference between the integral action x.sub.i(k) in two consecutive sampling periods be the new state variables and difference of input u(k) be the new input, which may be defined as:
(38)
(39) From Eq. (9), (10) and (11), the new augmented model may be obtained as:
(40)
(41) In Eq. (12), the reference r(k) disappears because it is assumed to be an initial step, and
(42) For Eq. (12), LQI can minimize the following cost function:
(43)
where QR.sup.(p+1)(p+1) is a symmetric, positive definite weighting matrix for penalizing the augmented system states and is the weighting parameter for penalizing the control effort. Different definitions of Q and lead to different closed-loop behaviors.
(44) In some embodiments, it is desirable to make the output magnetic field converge to the reference as soon as possible, and as long as the load range is well below the rating of ECS, the system dynamics need be not penalized. To this end, only the integral action x.sub.i(k) among the augmented states is penalized. It can be obtained from Eqs. (9), (11), (12) and (13) that the difference between r(k) and I(k) will decrease to zero with minimum integration, i.e. the transient response is optimized, under suitable penalization of the control effort. Therefore, Q and may be set to be:
(45)
where .sub.j indicates the penalizing weight of control effort in the cost function, i.e. higher values of .sub.j result in less requirement of control effort. Since the control effort to reach suitable dynamic performance is specific to a coil axis and since different systems have different actuation capability, .sub.j (the only parameter) should be adjusted for each coil axis. With only one adjustable parameter for each coil axis, the controller can easily be adapted to different electromagnetic coil systems.
(46) Since the controllability matrix of Eq. (12) has full rank, all the system states are controllable. Therefore, this LQR problem may have the following equivalent optimal control law:
(47)
where SR.sup.(p+1)(p+1) may be the infinite horizon solution of the associated discrete-time Riccati equation:
.sup.TSS.sup.TS
(48) As noted above, some embodiments may use a Kalman filter (e.g., Kalman filter 741 of
(49) For the aforementioned estimation purpose, a Kalman filter can be employed as an estimator in the control framework shown in
{W(k)w.sup.T(k)}=R.sub.w and
{v(k)w.sup.T(k)}=R.sub.v,(17)
which are obtained by experimental data.
(50) The developed steady-state discrete-time Kalman filter may have the following form:
(51)
With zero initial conditions, in Eq. (18), {circumflex over (X)}[k+1|k] and {circumflex over (X)}[k|k1] are the estimates of X(k+1) and X(k) based on the past system information, respectively; {circumflex over (b)}(kD) is the estimate of time-delayed magnetic field strength; R.sup.p1 is the steady-state Kalman filter gain obtained by:
=pC.sup.TR.sub.v.sup.1(19)
where PR.sup.pp is the solution of the following algebraic Riccati equation:
0=PA.sub.d.sup.T+A.sub.dP+R.sub.wPC.sup.TR.sub.v.sup.1CP(20)
(52) The developed Kalman filter has been validated using the experimental data of open-loop step response of ECS-I after calibrating R.sub.w and R.sub.v. A simulation result (sampling time: 40 s) for the validation of the Kalman filter using experimental data of open-loop step responses of ECS-I is shown in
(53) The Kalman filter as described can estimate a noise-free feedback signal and to estimate the system state. However, the output of the Kalman filter is time delayed. The time delay should be considered for applying the control to the ECSs in order to avoid large overshoot or instability in the closed-loop system. Accordingly, some embodiments may also use a compensator (e.g., compensator 742 of
(54) In some embodiments, compensator 742 uses a design inspired by the Smith predictor to compensate for the time delay and the lumped modeling error. The Smith predictor may be described by:
(55)
With zero initial conditions, in Eq. (21) and (22), I.sub.p(k) and X.sub.p(k) are the predictions of coil current and system states without time delay respectively, and I.sub.pd(k) and X.sub.pd(k) are the predicted time-delayed coil current and system states. For purpose of time delay and modeling error compensation, the delay-free feedback of coil current and system states may be corrected in the compensator as:
(56)
(57) Simulations have been conducted to evaluate the dynamic performances of the often used open-loop control for ECS I and PI control for ECS II and to evaluate the parameter tuning process of a controller as described above and the effectiveness of the control framework on the two systems.
(58) The discretized system model (Eq. (6)) with calibrated noise was employed for simulation. A discrete-time control framework as described with reference to
(59) One simulation modeled ECS-I with conventional open-loop control. Simulation results of open-loop step responses of ECS-I are shown in
(60) A second simulation modeled ECS-II with conventional PI control. The PI controllers for the three axes were tuned using the MATLAB PID tuning algorithm, and the gain values (PG=Proportional gain and IG=integral gain) were determined as follows: PG.sub.x=7.265, IG.sub.x=0.4206, PG.sub.y=4.45, IG.sub.y=0.0886, PG.sub.z=6.4158 and IG.sub.z=0.3965. From the simulation results of dynamic magnetic field strengths during the step responses of ECS-II with PI control (control frequency: 62.5 kHz), it can be obtained that the maximum overshoot and settling time are around 45% and 7 ms, respectively. Thus, conventional PI control performance is not satisfactory for dynamic magnetic fields with frequencies beyond 70 Hz. Also, the noise in feedback causes oscillation in control inputs and this leads to system chattering, which can be observed in experimental results.
(61) Additional simulations were conducted to evaluate a control system according to an embodiment described herein. Simulations were used to determine suitable parameters (Eq.(15)) of the controller for different coil axes. The tuning process was accomplished simply by assigning different values of (Eq.(14)). Taking the X axis as an example, the controller parameter tuning can be based on the step response, with .sub.x chosen via trial and error. It can be seen from the simulation results for ECS-I and ECS-II that higher value of yx leads to lower required control effort. Meanwhile, the two systems both have similar transient responses: the maximum overshoots are around 3%, and the settling times are significantly suppressed compared with conventional open-loop control (for ECS-I) and PI control (for ECS-II). In addition, the noise in control inputs of the control framework can be eliminated (or greatly reduced) by the Kalman filter. The easy parameter tuning process introduced above shows that, for specific systems with different coils and coil driving modules, one can apply the control framework simply by tuning the value of , which makes the control system convenient to implement across different ECSs.
(62) System chattering can be clearly observed for the system with PI control due to the feedback noise. On the contrary, control inputs in control frameworks according to embodiments described herein are very smooth so that system chattering is avoided. Also, the dynamic transient performances and required control efforts in the experiments for ECS-II are consistent with the simulations, although there is modeling error in the identified system model.
(63) The experimental results of step responses for the two example ECSs show that a discrete-time control framework according to some embodiments of the present invention can significantly improve the transient performances of typical ECSs and is robust to the modeling error. Furthermore, the control framework can enable a typical ECS to generate high-frequency dynamic magnetic fields accurately.
(64) In this disclosure, a discrete-time control framework is presented that allows generation of high-accuracy dynamic magnetic fields, e.g., for actuation of magnetic microrobots. With the unified state-space models, the discrete-time controller is designed based on the LQI technique which ensures the systems with optimal transient response and accurate tracking features. Noise, state estimation, and modeling error can be addressed by the Kalman filter and compensator (inspired by the Smith predictor). The control framework has low computational demand, which allows it to be implemented inexpensively in real-time systems with high control frequencies (for example, 25 kHz for ECS-I and 62.5 kHz for ECS-II). Some embodiments provide significantly improved dynamic performance compared with the open-loop system for ECS-I and PI control for ECS-II in terms of the overshoot and settling time. In addition, system chattering in the PI control can be effectively eliminated. Furthermore, experiments of tracking of a 3D rotating magnetic field demonstrate that conventional control methods cannot generate high-frequency dynamic magnetic fields accurately, while a control framework of the kind described herein can significantly improve the tracking performance for the ECSs. Control frameworks of the kind described herein can be applied to different digitally controlled ECSs simply by tuning its parameters.
(65) In some embodiments, the controller, Kalman filter, compensator, and other components described herein may be implemented using computer systems. Such systems may comprise a processor (e.g., a microprocessor, microcontroller, application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or the like); a memory for storing data and/or program code to be executed by the processor; a permanent storage unit, such as a disk drive; a communications port for handling communications with external devices; and user interface devices, including a touch panel, keys, buttons, displays, speakers, etc. When software modules or algorithms are involved, these software modules may be stored on a computer-readable storage medium as program instructions or computer readable codes executable on a processor. Examples of computer readable storage media include semiconductor-based storage media (e.g., read-only memory (ROM), random-access memory (RAM), flash memory), magnetic storage media (e.g., floppy disks, hard disks, etc.), and optical recording media (e.g., CD-ROMs, or Digital Versatile Discs (DVDs)). In some embodiments, program instructions or computer readable codes can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed manner.
(66) Control apparatus and methods according to embodiments described herein can be used in any system where it is desirable to generate dynamic electromagnetic fields with precise control, particular at high operating frequencies. Examples of such systems include (but are not limited to) control systems for microrobots, imaging systems for magnetic particle measurement, and control systems for transcranial magnetic stimulation (TMS) systems.
(67) In addition, control apparatus and methods according to embodiments described herein can be used with other types of electromagnetic field generating system, not limited to ECS systems as described above. For example, another type of electromagnetic field generating system may use a set of magnets (which can be electromagnets or permanent magnets) and a set of mechanical actuators to adjust the positions of the magnets, thereby providing a dynamic magnetic field. In such cases, coil(s) 101 of
(68) While the invention has been described with reference to specific embodiments, those skilled in the art will appreciate that variations and modifications are possible. All processes described above are illustrative and may be modified. Processing operations described as separate blocks may be combined, order of operations can be modified to the extent logic permits, processing operations described above can be altered or omitted, and additional processing operations not specifically described may be added. Particular definitions and data formats can be modified as desired. Similarly, functional blocks may be realized by any number of hardware and/or software components configured to perform the specified functions. For example, exemplary embodiments may employ various integrated circuit (IC) components, e.g., memory elements, processing elements, logic elements, look-up tables, and the like, which may carry out a variety of functions under the control of one or more microprocessors or other control devices. Similarly, where the elements are implemented using software programming or software elements, the embodiments described herein may be implemented with any programming or scripting language such as C, C++, Java, assembler language, or the like, with the various algorithms being implemented with any combination of data structures, objects, processes, routines or other programming elements. Operations described herein may be implemented in algorithms that are executed on one or more processors. Furthermore, the exemplary embodiments described herein may employ any number of conventional techniques for electronics configuration, signal processing and/or control, data processing and the like.
(69) Thus, although the invention has been described with respect to specific embodiments, it will be appreciated that the invention is intended to cover all modifications and equivalents within the scope of the following claims.