Modelling A Solenoid's Valve Movement
Modelling A Solenoid's Valve Movement
Modelling A Solenoid's Valve Movement
1 Introduction
Solenoids are actuators comprised of a helical coil wrapped around a ferromag-
netic core. This core can either be fixed, being used mainly to generate a con-
centrated electromagnetic field, or free to move in the coil axis. This property of
creating force in the presence of electrical current is considered an electromechan-
ical energy conversion, which makes the solenoid useful for many applications
such as dialysis machines [1], MRIs [2,3], Washing Machines [4], Electrical lock-
ers [5], pressurizers [6], controlled brakes [7] in the automotive industry, Solenoid
Valves, a switch that control the flux of fluids in hydraulic systems [8], and finally
in the Smallsize [9] and MiddleSize [10] Soccer Leagues of Robocup as a “kicking
tool”.
This paper was conceived at the “Centro de Robótica Aplicada da Universi-
dade de São Paulo” (CROB), as a study of the research group Warthog Robotics,
with the goal of defining the theoretical ground to improve the WRMagic Project
(Smallsize) [11] and to develop other projects in soccer and rescue RoboCup cat-
egories [12]. The WRMagic is an autonomous football robot that uses a solenoid
as actuator to impulse a rigid object, that simulates a kick or pass on a foot-
ball game. Even though the literature on solenoids is large, studies are focused
primarily on industrial [13] and research applications. Their emphasis, there-
fore, is on limited empirical or simplified models related to Superconducting
c Springer Nature Switzerland AG 2018
H. Akiyama et al. (Eds.): RoboCup 2017, LNAI 11175, pp. 290–301, 2018.
https://doi.org/10.1007/978-3-030-00308-1_24
Modelling a Solenoid’s Valve Movement 291
It’s well known, by the application of Ampere’s law, that a union of turns when
energized by current generate a magnetic field on it’s interior, being this field
approximately parallel to the surface of turns [29]:
B.dl = μ0 .I (1)
C
where B is the Magnetic Field, dl is an element of the Any Closed Curve (C), μ0
is the magnetic permeability and I is the total electrical current in the surface
enclosed by the Curve.
When a ferromagnetic material is positioned at the coil axis edge, and there’s
electrical current through the coil, a magnetic field is concentrated in the interior
of the material creating a magnetic force in the coil axis and pulling the material
to the center of the coil, therefore if the magnetic force is controlled via the
electric current injection it is possible to create an actuator as in Fig. 1(a).
Solving a magnetic circuit can be a difficult task. However Fitzgerald [30] pro-
poses the following hypothesis allow the calculation of a magnetic circuit by an
equivalent electric circuit:
– The inductance outside does not influence on the final magnitude of the field
– There is no spreading of the magnetic field in the gaps of the solenoid.
– All the magnetic field is confined in the closed magnetic circuit.
292 A. Demarchi et al.
2 Model Deduction
2.1 Algebraic Approach
To model the solenoid’s plunger, it will be used the concepts exposed in Sect. 1.2
and the basics of newtonian mechanics. The problem will be approached with
two basic equations: the electrical and the mechanical, that is, the equation that
rules the voltage in the coil’s terminals and the equation of force balance in the
coil axis. The first equation is represented as follows:
∂λ(x,i)
V = + R.i(t) (2)
∂t
being the voltage on the coil equal to the Ohm’s law R.i(t) plus the Voltage from
∂λ(x,i)
Len’s Law ∂t . And the second approach:
the sum of forces on the coil axis which contains the magnetic force, Hooke’s
force, a component of weight, friction and viscosity force. Also, the magnetic
permeability will be considered constant to any given magnetic flux.
where N represents the number of turns in the coil and Φ represents the Magnetic
Flux.
The magnetic flux is a variable which depends on the magnetic circuit, formed
in this case by the coil, plunger, iron core magnetic path and gap. When trans-
formed into to a electric circuit, the magnetic circuit of the Fig. 1(a) can be
displayed as in Fig. 1(b), in which 1 and 3 are the reluctance of the effective
path traveled by the flux in the iron core and 2 is the sum of the reluctance
of the plunger and gap. Its possible to simplify the circuit in Fig. 1(b) applying
the relation of parallelism between 1 and 3 which results in ic , the iron core
reluctance. Its also interesting for the analysis to separate 2 in the sum of 0
and pl resulting in a new circuit, represented by Fig. 1(c).
N 2 .i(t)
λ(x,i) = (9)
ic + pl + 0
As represented on Fig. 1(a), Apl is identical to A0 . It’s possible to simplify these
formulas and sum the total reluctance:
lic .A0 .μpl + lpl .Aic .μic + l0 .Aic .μic .μpl + x(t) .(Aic .μic − Aic .μic .μpl )
Σ = (10)
Aic .A0 .μ0 .μpl .μic
Therefore its possible to find a formula that rules λ’s behavior in function
of the position(x), the intended model output, and current(i) that was previ-
ously added to the model in Eq. 2. Nevertheless, the Eq. 2 needs the linkage flux
derivative in time, and as λ depends on two variables both function of time, the
derivative follows the chain’s rule of the implicit derivative in Eq. 2.
∂λ(x,i) ∂i(t) ∂λ(x,i) ∂x(t)
V = . + . + R.i(t) (12)
∂i(t) ∂t ∂x(t) ∂t
∂ 2 x(t)
Fres = m. Fhooke = −K.x(t) Fμ = m.g.Cos(θ).μμ
∂2t
∂W(x(t) ,i(t) ) ∂x(t)
Fmag = Px = m.g.Sen(θ) F = β.
∂x ∂t
In those equations its possible to visualize that the only variable that differs
from our output is W(x (t) ,i(t) )
, therefore it is needed to deepen in its study. To
accomplish that, the following relation [31], will be used.
i(t)
W(x(t) ,i(t) )
= λ(x(t) ,i(t) ) .di (19)
0
to simplify the Differential Equation it will be used a new global constant kt4 :
Lastly, replacing all forces and the constant kt4 in the Eq. 3:
With the equations achieved it’s unlikely that a algebraic solution will be found,
but a numeric solution is needed. Then, the Differential Equations must be rear-
ranged in a way that facilitates the construction of a flowchart in the Simulink
Application, of the software Matlab.
∂x
∂i(t) x(t) .kt2 + kt3 kt1 .kt2 .i(t) . ∂t(t)
=( )( − R.i(t) + V ) (24)
∂t kt1 (x(t) .kt2 + kt3 )2
3 Simulation
By the Differential Eqs. 24 and 25 the flowchart in the following figures was
build. Figure 3 shows the dependencies of each output and also how the input
proprieties are transformed into the global constants defined in section 2. Fig-
ures 4(b), (c) and (d) show how the constants and variables interact to form the
Current Differential Equation. Finally the Fig. 5(a) and (b) form the Differential
Equation that rules the valve’s movement (Fig. 2).
4 Results
Where all the geometrical values, and the number of turns, were taken from
measures of a real solenoid. The resistance was calculated based on the wires
dimensions and the magnetic permissiveness are based on the greatness of normal
ferromagnetic material such as iron. The friction coefficient is considered null
because of the position in which the solenoid is being analyzed in Fig. 1(a). V(t)
is a Decreasing ramp that varies in initial value from 10,000V to 220,00V for
each output graph, and has it’s final value at 0,0100s as 0V. This should simulate
Modelling a Solenoid’s Valve Movement 297
Fig. 4. Current differential equation: (a) model and the terms of the current equation:
(b) first term, (c) second term and (d) auxiliary term for the first term
298 A. Demarchi et al.
Fig. 5. Differential position equation: (a) model and (b) auxiliary term
Fig. 6. (a) Position, (b) velocity and (c) aceleration outputs of the simulation
Fig. 7. (a) Current and (b) current variation outputs of the simulation
In those graphs, for any variable, the increasing voltage inputs generated
ten outputs similar in form and characteristics, and so we must conclude that
the Simulink model can be used as a tool to anticipate any solenoid behavior.
Although it is impossible to confirm this without the proper validation, all indi-
cates that the flowchart model can be used to develop new solenoids for our
projects, if those don’t disobey any of the hypothesis in this paper and also have
a limited small path to cross.
5 Conclusion
Although the literature about this type of model is not as extensive as one would
expect, in this paper we achieved the objective to model the solenoid’s plunger
motion. Unfortunately this model can only work for the small amount of time
that takes for the plunger to achieve the final point of its direct path in the
spring direction, which means, the simulation is only valid for the time where
x(t) < L0 . It is also not considered the variation of the magnetic permeability
which can lead to a unfaithfully result if the ferromagnetic material is on its
saturated state.
As future works, we plan to overcome the model constraints by changing our
approach in the magnetic circuit analysis, its intended to integrate the magnetic
field for each point in space, via Biot Savart law, to later find the function that
determines exactly how the flux behaves inside the solenoid, and then, find the
magnetic force and the coil voltage with said function. But, although our current
approach have it’s constraints, it is already a useful tool to analyze solenoids with
small, limited, position variations. Its also, in our plans to validate this, and the
next model, with data acquired from real solenoids in controlled experiments.
300 A. Demarchi et al.
References
1. Gant, P.: Solenoid valves evolve with medical devices (2015)
2. Jeong, E.K., Kim, D.H., Kim, M.J., Lee, S.H., Suh, J.S., Kwon, Y.K.: A solenoid-
like coil producing transverse RF fields for MR imaging. J. Magn. Reson. 127(1),
73–79 (1997)
3. Konzbul, P., Sveda, K.: Shim coils for NMR and MRI solenoid magnets. Measur.
Sci. Technol. 6(8), 1116 (1995)
4. Athey, S.: Hydraulic control system for a washing machine. US Patent 3,646,948,
7 March 1972
5. John, K.: Electric locker control. US Patent 2,153,088, 4 April 1939
6. Shanping, W., Fugui, W., Nicholls, C.: Pressurizer for hydraulic breaking hammer.
CN Patent 2,888,072, 11 April 2007
7. Branciforte, M., Meli, A., Muscato, G., Porto, D.: Ann and non-integer order mod-
eling of abs solenoid valves. IEEE Trans. Control Syst. Technol. 19(3), 628–635
(2011)
8. Ribeiro, M.: Válvulas de Controle e Segurança, 5th edn. Tek, São Paulo (1999)
9. Adachi, Y., Kusakabe, H., et al.: Robodragons 2016 extended team description
(2016)
10. Bachmann, D., Belsch, E., et al.: Carpe noctem cassel team description 2016 (2016)
11. Small Size League Technical Committee: Laws of the RoboCup small size league
2016 (2016)
12. RoboCupRescue Robot League: Robocup rescue rulebook
13. Nagy, L., Szabó, T., Jakab, E.: Electro-dynamical modeling of a solenoid switch of
starter motors. Proc. Eng. 48, 445–452 (2012)
14. Moriyama, H., Mitsui, H., Ohmori, J., Mine, S., Nishijima, S., Okada, T.: Design
and fabrication of highly stabilized close-packed superconducting solenoid. IEEE
Trans. Magn. 32(4), 3028–3031 (1996)
15. Kaiho, K., Namba, T., Ohara, T., Koyama, K.: Optimization of superconducting
solenoid. Cryogenics 16(10), 587–588 (1976)
16. Byun, J.K., Park, I.H., Nah, W., Lee, J.H., Kang, J.: Comparison of shape and
topology optimization methods for hts solenoid design. IEEE Trans. Appl. Super-
cond. 14(2), 1842–1845 (2004)
17. Song, C.W., Lee, S.Y.: Design of a solenoid actuator with a magnetic plunger for
miniaturized segment robots. Appl. Sci. 5(3), 595–607 (2015)
18. Wang, L., et al.: Design and construction of a prototype solenoid coil for mice
coupling magnets. IEEE Trans. Appl. Supercond. 20(3), 373–376 (2010)
19. Olivares-Galvan, J., Campero-Littlewood, E., Escarela-Perez, R., Magdaleno-
Adame, S., Blanco-Brisset, E.: Coil systems to generate uniform magnetic field
volumes. In: COMSOL Conference 2010 Boston-United States: COMSOL (2010)
20. Tai, C.M., Liao, C.N.: A physical model of solenoid inductors on silicon substrates.
IEEE Trans. Microwave Theory Techn. 55(12), 2579–2585 (2007)
21. Sung, B.J., Lee, E.W., Lee, J.G.: A design method of solenoid actuator using
empirical design coefficients and optimization technique. In: IEEE International
Electric Machines and Drives Conference, IEMDC 2007, vol. 1, pp. 279–284. IEEE
(2007)
22. Kumar, G.R., Chaddah, P.: Optimization of superconducting solenoid magnet
geometries for minimum inductance. Cryogenics 27(5), 229–236 (1987)
23. Wheeler, H.A.: Inductance chart for solenoid coil. Proc. IRE 38(12), 1398–1400
(1950)
Modelling a Solenoid’s Valve Movement 301
24. Knight, D.W.: The self-resonance and self-capacitance of solenoid coils (2010).
http://www.g3ynh.info/zdocs
25. Sheng, C., Hai, N.L., Cheng, Y.X., Bao-Lin, T.P.: Proportional solenoid valve flow
hysteresis modeling based on PSO algorithm. In: 2013 Third International Confer-
ence on Instrumentation, Measurement, Computer, Communication and Control
(IMCCC), pp. 1064–1067. IEEE (2013)
26. Ruderman, M., Gadyuchko, A.: Phenomenological modeling and measurement of
proportional solenoid with stroke-dependent magnetic hysteresis characteristics. In:
2013 IEEE International Conference on Mechatronics (ICM), pp. 180–185. IEEE
(2013)
27. Badcock, R., Bumby, C., Jiang, Z., Long, N.: Solenoid winding using YBCO roebel
cable. Phys. Proc. 36, 1159–1164 (2012)
28. Montes, R.S., Santos, P.H.N., Lang, R.G., Silva, I.N.: Modelagem dinâmica da
geração de força axial de um solenoide. In: Modelagem dinâmica da geração de
força axial de um solenoide, 21 SIICUSP, pp. 1–3, October 2013
29. Buck, W.: Eletromagnetismo. McGraw Hill, Brasil (1998)
30. Fitzgerald Jr., A., Kinsley, C.: Electric Machinery, 3rd edn. Bookman, New Delhi
(1979)
31. Cheung, N., Lim, K., Rahman, M.: Modelling a linear and limited travel solenoid.
In: Proceedings of the International Conference on Industrial Electronics, Control,
and Instrumentation, IECON 1993, pp. 1567–1572. IEEE (1993)