1. Introduction
Electromechanical energy conversion is the conversion of mechanical energy into electrical energy or vice versa. A device that converts electrical energy into mechanical energy or mechanical energy into electrical energy is known as an electromechanical energy conversion device. Its energy conversion takes place through the medium of a magnetic field. The magnetic field is used as a coupling medium between electrical and mechanical systems, as depicted in
Figure 1. When the electromechanical energy conversion takes place from electrical energy to mechanical energy, the device is known as a motor. Whereas, when the conversion takes place from mechanical energy to electrical energy, the device is known as a generator.
In electrical machines, the conversion of energy from electrical to mechanical or from mechanical to electrical results in two electromagnetic phenomena. Firstly, when a conductor moves in a magnetic field, an electromotive force or EMF is induced in the conductor. Secondly, when a current-carrying conductor is placed in a magnetic field, a mechanical force acts on the conductor. These two effects occur simultaneously whenever energy conversion takes place from electrical to mechanical, or vice versa [
1].
In addition, a multi-turn wire-carrying electric current is called an electromagnetic coil, solenoid, etc., and can produce an electromagnetic field perpendicular to the flow direction of the current [
2]. Its magnetic fields are current-dependent. This concept is applied as an actuator to convert electrical energy into mechanical energy. An example is a magnetic door lock, where a solenoid exerts a magnetic force along its axial axis to a moving rod for locking.
Basically, magnetic force, wrench force, or heading force is a product of a gradient magnetic field. The Maxwell circular coil is a popular electromagnet presented in the form of a coil pair. It generates a magnetic field gradient that is almost uniform, with the direction parallel to the coaxial axis of the coil pair at the center. Two coils are coaxially arranged to have a space between them that is about the square root of three times the coil radius ().
Another popular and commonly used type of electromagnet is the Helmholtz coil. It consists of two circular coils that are coaxially arranged. It provides a space between the pair equal to the radius of the coil. It is capable of generating a nearly uniform magnetic field, which produces magnetic torque. The homogeneity in the magnetic field varies depending on the demands of the application. However, further advances have been made by orthogonally arranging three pairs of Helmholtz coils, known as a triaxial Helmholtz coil, in order to generate a uniform magnetic field in an arbitrary orientation [
3,
4,
5,
6]. The outcome would be a variety of magnetic fields that exert continuous torque, such as rotating, oscillating, alternating, and conical magnetic fields.
As mentioned, the Helmholtz coil is adept in torque generation, and the Maxwell coil can exert magnetic force. Several works have combined both coil types together in order to generate plenty of force and torque in various directions, but it comes with complex arrangements. Some studies had to install a motoring unit to rotate or move coils in order to produce the desired magnetic field. For example, a triaxial Helmholtz coil was mounted outside with two Maxwell coils. This configuration relied on the change in the direction of the two Maxwell coils to exert force in a different direction [
7].
There are several applications that modified both Helmholtz coils and Maxwell coils into a square shape [
8], called a saddle coil. The name saddle refers to the fact that a square coil is bent into a shape similar to a saddle. It consisted of two symmetric saddle-shaped coils coaxially arranged at a specific distance. It could produce both a nearly uniform magnetic field to exert torque and a nearly gradient magnetic field to exert force, depending on the coil configuration [
9]. The idea to mix both types of saddle coil was proposed in order to fulfill both torque and force generation within only one configuration [
10].
Moreover, electromagnetic configurations were also proposed in the form of core-inserted electromagnetic coils with the purpose of force generation, which further added to the complexity of magnetic field distribution. Researchers then adopted direct dipole approximation to map the current field to address the difficulty of magnetic field generation. This type of electromagnet was mostly regulated to have a sufficient force in three-dimensional space and maximized force for specific medical applications (e.g., navigation of medical catheters, and ophthalmic intervention robots) [
11]. Another study designed the formation of nine electromagnets that were optimized to strengthen the magnetic field gradient toward the planar direction, but they lacked a stable magnetic levitation [
12]. Some works arranged electromagnets at each vertex of a cube in order to have independent control of magnetic force in all major directions [
13]. Obviously, many works were constructed to meet their own demands, which could not guarantee the best configuration because a trade-off exists among force generation, torque generation, workspace, etc. However, there was rigorous quantification of the required number of electromagnets to eliminate singularity issues under different circumstances [
14].
Electromechanical devices are also available as a system for commercials with costs. The active Locomotive Intestinal Capsule Endoscope (ALICE) system comprises five coil pairs: one uniform saddle coil and four coil pairs [
15]. The magnetically guided capsule endoscopy (MGCE) system consists of twelve coils that are paired [
16]. Some coil pairs generate both magnetic field and field gradient components, whereas others create either a magnetic field or field gradient component. The magnetic resonance imaging (MRI) scanner is a medical imaging device that uses a magnetic field. It was promisingly applied for dynamic magnetic force and one static direction of a uniform magnetic field [
17,
18].
Many studies in the literature configured and presented electromechanical devices to generate remote magnetic fields and further use for control objects. Presently, one of the major obstacles to building a tiny machine is that there is no current technology to fabricate a small battery and mechanism to set up inside the structure of the machine. The contribution of such a machine would be useful, especially in the field of biomedicines, biosensors, bioactuators, etc., which are operated to perform tasks inside life. Here, in this work, an electromechanical energy conversion configuration consisting of eight permalloy core-inserted solenoids is invented to serve as a solution to this problem. This is the first time that this design is considered to eliminate losses according to the theory of electromechanical energy conversion in order to improve performance and obtain rule-obeyed hardware. The configuration is also integrated with a non-complex control algorithm to generate the controllable magnetic field to remotely and wirelessly power a tiny piece of matter precisely for effective 3D locomotion. The benefit provided by this work is that the results lead to a powerful method that can remotely and wirelessly supply energy to tiny pieces of matter to fulfill applications in life promisingly [
19,
20].
The conceptual design and numerical simulation model are detailed in the next section. Then, the system implementation and a demonstration using the 3D-controllable motion of two types of small matter are presented to show the feasibility and performance of the proposed system. Finally, the conclusion is presented.
3. System Implementation
According to the conceptual design, the setup consists of eight solenoids arranged as a nest, and it provides a region of interest or a semispherical space with a dimension of about 12 cm in diameter at the center. Each solenoid has a 5 cm inner diameter and 12 cm length, 320 winding turns of the 1 mm diameter enamel-insulated copper wire, inserted with a permalloy core (1J85 grade: annealed, high saturation (1.5 T), high permeability (1600 H/m), low coercive (1.6 A/m)), as depicted in
Figure 4. A core with high permeability can concentrate and empower the magnetic field generated by solenoids. This advantage can reduce the input electrical current supplied to solenoids, leading to a reduction in heat losses (I2R). However, when a highly permeable core-inserted solenoid generates a magnetic field, another nearby solenoid will be affected by mutual inductance, resulting in magnetic noise that can disturb the desired magnetic field. The structure of solenoids is consequently shortened at one end tip in order to eliminate noise.
The input electric current supplied into each solenoid is individually operated by four current drivers (Syren 10 by Dimension Engineering, Hudson, OH, USA; 2 channels per each, 25 kHz, 30 V/10 A), and the drivers are all connected with a power supply (SIEMENS GR60 with 40 A/48 V, Siemens, Leipzig, Germany). An amount of input electrical current, including the flowing direction, is commanded via a custom microcontroller with 8-bit-packeted-serial communication controlled by a GUI running on a computer. A Hall effect sensor (Honeywell SS495, range: −67 mT–+67 mT) is attached at each tip of the core to measure the magnetic field during operation. One of the CMOS cameras with a zoom lens (working distance of 6–120 mm and 1.6 mm depth-of-field) is mounted at the top of the setup in order to observe the position and action of a small piece of matter within the region of interest. Another camera is set up at the back of the setup for a back view, perpendicular to the top camera.
The use of eight permalloy core-inserted solenoids results in a linear behavior of the magnetic field generated by the system with respect to the input currents as long as the cores are operated within its linear saturation region. An empirical study is used to verify the linearity of the magnetic field along the
x-,
y-, and
z-directions:
,
, and
, at the center of the ROI as a function of the input electric current supplied into one single solenoid. Since the configuration has geometrical symmetry, it is possible to calculate a map of the magnetic field precisely for all solenoids. Consequently, the magnetic field of all solenoids is measured at other positions of the ROI for mapping the change in magnitude in order to facilitate real-time generated multiplier during control, which is described next. In
Figure 5, the hysteresis curve of one single solenoid (no. 1 in
Figure 2) in the configuration is plotted as the magnetic field against the input electric current from −10 to 10 A. The magnetic field is measured by using a gaussmeter GM-08 Hirst for three axes. The plot clearly shows no perceivable hysteresis below 8 A and behaves in quasi-linearity. Above 8 A, the magnetic field slightly changes in magnitude. For values above 10 A, the magnetic field is not reported here due to non-linear behavior and high heat loss generation. The result confirms the validity of the linear behavior of the setup, and it facilitates the use of the multiplier for input electric current to generate a constant magnetic field at arbitrary positions over the entire ROI. Especially for 3D-motion control, the constant magnitude of the magnetic field can stabilize the locomotion of the powered matter and lower error in slip, including drift.
According to
Figure 5, the magnetic field that exerts a magnetic force on a cylindrical piece of matter (300 µm diameter, 1 mm length) can be simply calculated by following Equations (4) and (6). The magnetic moment of the cylindrical matter is about 4200 ± 500 A·m
2, as measured by VSM (Vibrating Sample Magnetometer). The magnetic field gradient is estimated by means of the magnetic field at two different points over the distance. Thus, for cases where the cylindrical matter is at the common center point of the ROI, the magnetic force is reported in
Table 1. The maximum (15 mT at 5 A input electrical current) is about 72.02 µN for the
x-direction, 72.02 µN for the
y-direction, and 124.85 µN for the
z-direction.
To control magnetic field generation, trilinear interpolation was applied to calculate the magnetic field over the entire ROI in order to define a multiplier of the input electric current matrix supplied into eight solenoids, according to Equation (7). It is straightforward to use the interpolation approach during real-time control. It works because the pose of the piece of matter in the boundary is known. The control algorithm based on visual servoing is applied to track the matter, localize a present coordinate of the matter, and then compute a proper magnetic field to power the matter for precision and to stabilize the motion of the matter. Under the facilitation of quasi-linearity, the precision of motion can be achieved significantly. The working process of the system is presented in the chart in
Figure 6. For the 3D-motion control of the matter to arbitrary positions within the workspace, direction, frequency, and speed are commanded via the GUI developed using Python Version 3.9. Firstly, the control GUI allows users to adjust RGB (red, green, blue) or HSB (hue, saturation, brightness) values to match the true color of the matter for accurate detection. Since the matter moves, two cameras capture an image of the matter on different planes: a 2D position (
x,
z) for the top camera and a 2D position (
x,
y) for the side camera, and merge them into a 3D position (
x,
y,
z). Finally, when realizing the position of the matter in the
x-,
y-, and
z-coordinates, a multiplier according to that position is activated to gain up or down input electric current for a proper magnetic field to maintain the constant direction and velocity of the matter. Straightforwardly, in the actual control, the bridge that correlates the theoretical concept to the real world is the use of Equations (7) and (8). The matrix
𝒜, which contains the matrix
G and
K, functions as a real-time generated multiplier for the matrix I to generate force and torque. The matrix I acts as a valve that increases or decreases the magnetic field of each solenoid, resulting in a controllable magnetic field by means of the superposition technique. This concept is very useful in stabilizing the matter’s motion. For example, a piece of matter will move faster when it is close to a magnetic source. The control algorithm can reduce the supplied input electric current to prevent such an issue. For general use, the magnetic field defaults to 15 mT under 5 A input electric current, but it is adjustable when there are gains up or down in the input electrical current. Additionally, one might ask how much force and torque is required to control the matter at that moment. It is possible that not every single piece of matter has the same property. In cases where there is no knowledge of the matter’s magnetic moment, it is recommended to apply a force magnitude strong enough to levitate the matter and adjust the input electric current until the matter is stably located at the center of the ROI. Such a magnitude of force is appropriate for motion control because it can overcome all unwanted factors (e.g., gravity, viscous drag).
Finally, in short, from the design step to implementation, all the above specifications are deliberated based on energy losses as a critical problem in decreasing the performance of electromechanical devices. Those losses are then fixed, which are ohmic losses (I2R), losses in the magnetic core (e.g., hysteresis loss, eddy current loss), and losses in the mechanical system due to movement (e.g., friction, windage, fluidic loss). For ohmic losses, the solenoid is carefully designed to handle both I (input electric current) and R (resistance) components, which majorly lead to heat generation. The I component can generate heat with power two, so the permalloy core with high permeability is used to empower the magnetic field with the lower input electric current if compared with the solenoid with no core. The R component directly relates to the diameter of the copper wire used to wind a solenoid. A smaller diameter will result in a higher resistance. Another concern is about the operating temperature of solenoids. Since the temperature is high, above 90 degrees Celsius, the magnetic field decreases and fluctuates. The fan cooling system is set up to relieve heat. Consequently, the 10 A input electric current generates 90 degrees Celsius within 20 min, but the input electric current at 5 A generates 90 degrees Celsius within one hour. Thus, 5 A is set as the default value of the input electric current. A single solenoid with 5 A input electric current generates a magnetic field of about 15 mT, which is enough to power the piece of matter. The next is the losses in the magnetic core during it is magnetized. The core material is permalloy with high permeability, high saturation, and low coercive, so this type of loss is the least effective. The last are losses due to the movement of the matter. This type of loss mostly appears in terms of friction on the surface and medium where the matter interacts. It can be handled with the control algorithm. For example, visual servoing can track or indicate the present coordinate of the matter in the ROI in order to calculate a proper magnetic field. In the case of friction in a medium, the viscosity will affect how difficult it is for the matter to move. However, strengthening the magnetic field can overcome this problem significantly.
4. System Demonstration Using 3D-Controllable Motion
Based on the theoretical concept of electromechanical energy conversion, there are two mechanical variable outputs, which are force and torque, through the medium of the electromagnetic field. Two types of matter that need different control aspects are chosen to validate the feasibility of the system. As depicted in
Figure 7, a small piece of matter, made of NdFeb-elastomer with a cylindrical shape and a 300 µm diameter and 1 mm length, magnetized along the axial axis, is subjected to test the conversion of electric energy into mechanical energy through its 3D motion. The cylindrical matter is placed in a 10 cst. silicone oil bath set up in the ROI among the solenoids. Since the input electric current is supplied to each solenoid, the configuration is able to generate the resultant magnetic field, which is controllable in both direction and magnitude by means of the superposition technique. With this aspect, the matter is magnetically navigated to perform 6-DOF motion (translation by force, rotation by torque) within the ROI effectively. When the matter experiences the upward magnetic field, it immediately moves upward. Under the leftward magnetic field, it moves leftward. That is, as long as the generated magnetic field converted from electrical energy is strong enough, we can manipulate and direct the matter to arbitrary positions within the 3D space upon demand. Faster and slower movement is adjustable with an increase or decrease in input electric current, including the flowing direction. In addition, for torque control, when the resultant magnetic field dynamically rotates clockwise or counter-clockwise, the matter responds to the actuation with self-rotation (
Supplementary Video S1).
The configuration shown in
Figure 8 demonstrates the generation of the continuously dynamic magnetic field to manipulate another small piece of matter to perform a different movement. Since input electric current is supplied to each solenoid under the function of sine and cosine over time, the direction of the resultant magnetic field starts rotating, resulting in a rotating magnetic field or continuous torque. With this aspect, a small piece of matter can rotate according to the rotational direction of the resultant magnetic field. As shown in
Figure 8b, a helical-shaped body with a 1 mm diameter and 6 mm length, made of Fe-Ni material, can spin about its axial axis under the rotating magnetic field that exerts a continuous magnetic torque to drive the helix. When the rotational frequency of the resultant magnetic field is faster, it accelerates the spin and simultaneously propels upward along the vertical axis. In addition, when the resultant magnetic field rotates about another axis, the helix is synchronized to rotate and propel about the horizontal axis, as depicted in
Figure 8c. Its motion behaves as the rotation for forward propulsion (
Supplementary Video S2).
5. Discussion
The result of applying electromagnetic energy to power a small piece of matter is feasible and effective for further applications. The configuration of solenoids is able to generate the magnetic field upon demand in all directions and magnitudes. Several findings of this study can improve the performance of the configuration. First, because the magnetic field is a product of running electric current in copper wire, heat due to electric resistance in the wire is proportional to the magnitude of the input current and the amount of time operating the setup. The higher the input electric current, the hotter the solenoid. Since the solenoid is hotter, the magnitude of the magnetic field is inconstant dramatically. In the experiment, without a cooling unit, the working temperature is measured at a maximum of 92 °C after 15 min of operating time and a 5 A input current supplied to a solenoid. In addition, increasing the copper wire diameter is another solution to decrease electric resistance, but it comes with a much larger gap between winding wires. Second, an iron core or soft magnetic core is another solution to treat heat loss as well as empower the magnetic field. A solenoid with a soft iron core can generate a magnetic field stronger than a solenoid with an air core by about 1.5–3 times depending on the core material. All the above issues are already fixed, and the performance is much better. For example, after setting up a fan-cooling unit to the configuration, the operating temperature and heat loss in the solenoids are much reduced. As observed, the input electric current of about 10 A generates 90 degrees Celsius within 20 min, and the input electric current of 5 A generates 90 degrees Celsius within 1 h. Third, in fact, there are several options to control an accurate magnetic field and its distribution by strategies such as a fitted dipole model of the ROI [
21], Finite Element Analysis (FEA) [
22], and a real-time computational model based on the Biot–Savart law [
23]. These protocols can be applied for the precise motion of the matter. Because the control algorithm is used to generate a proper magnetic field, path following, path planning, and machine learning can be used to enhance the precise motion of the powered small matter. These additional functions have promise for use in the case of medical applications, especially in cases where the clinician accurately navigates the matter as a small machine for therapy at a target. For example, in an endoscopy system, the controllable capsule can vibrationally move along a desired path to a targeted position under the response of an internal magnetic mechanism embedded inside the body to the external magnetic field. This is a potential method for biomedical intervention [
24,
25,
26].
This work was conceptualized with the idea that it would be better to start working from the basic concept in order to cover all the demands of magnetic power. It was then deliberately designed corresponding to the concept of electromechanical energy conversion. Losses were considered, eliminated, and compromised step-by-step with the purpose of obtaining rule-obeyed hardware, and even the simple control technique can deliver a great outcome. For example, under the same input electric current, this work can generate a higher magnitude of the magnetic field, whereas the size is much smaller, including fewer specifications. The solenoid used in this work is just 12 cm long, but the solenoid used in another other work [
27] was 21 cm long. This would indicate that energy loss management can improve performance significantly. Moreover, in the motion of a helical piece of matter, due to a quasi-linear magnetic field, magnetic torque is nearly pure to stably drive the helix in all possible directions without nutation and precession due to no interfering force. In addition, an open-loop controller can be applied to control the matter’s motion, but errors will be noticed from motion close to the wall and magnetic sources, lacking uncontrollable velocity, and drifting.
The evaluation of system performance in terms of precision control is not straightforwardly presented in a quantitative context with practical results, but instead, the 3D motion of the matter reported in
Section 4 (system demonstration) can be considered to assess the performance. Typically, a magnetic source such as a bar magnet, a solenoid, etc., generates a magnetic field in all directions, which pulls a magnetic-responsive object toward the self-dipole axis. Since the proposed system consists of eight solenoids arranged as a nest, the difficulty in control is related to commanding each solenoid to generate an unequal magnetic field in order to eliminate errors in the movement of the controlled matter. For example, to magnetically levitate a piece of matter, four solenoids of the upper set are operated. That is, four magnetic sources are operated that behave as four vector fields of magnetic dipoles. We can consider that if the controlled matter is not located at the center point of the ROI, it will move upward because the resultant magnetic field of four sources pulls it upward, but slowly, and it acceleratedly bends toward the nearest solenoid because the stronger gradient of the nearest solenoid forces the matter. On the other hand, the control algorithm facilitated by the visual servoing technique will slowly decrease the magnetic field of the nearest solenoid to a value lower than others in order to prevent that effect according to the matter’s position. As shown in
Supplementary Video S1, in all directions, the cylindrical piece of matter straightly and constantly moves without drifting, and no swaying is noticed during the rapid change in movement. Also, in
Supplementary Video S2, neither precession nor nutation exists during the change in the rotation axis of the helix from the vertical axis to the horizontal axis due to changes in torque. These results can represent and clarify the control performance for precision of motion significantly.