Novel Intelligent and Sensorless Proportional Valve Control with Self-Learning Ability

Linear control is widely used for any fluid or air flows inmany automobile, robotics, and hydraulics applications. According to signal level, valve can be controlled linearly. But, for many valves, hydraulics or air is not easy to control proportionally because of flows dynamics. As a conventional solution, electronic driver has up and down limits. Aftermanually settling up and down limits, control unit has proportional blind behavior between two points. This study offers a novel valve control method merging pulse width and amplitudemodulation in the same structure. Proposedmethod uses low voltageAC signal to understand the valve position and uses pulsewidthmodulation for power transfer to coil. DC level leads to controlling the valve andAC signal gives feedback related to core moving. Any amplitude demodulator gives core position as voltage. Control unit makes reconstruction using start and end points to obtain linearization at zero control signal and maximum control signal matched to minimum demodulated amplitude level. Proposed method includes self-learning abilities to keep controlling in hard environmental conditions such as dust, temperature, and corrosion. Thus, self-learning helps to provide precision control for hard conditions.


Introduction
Proportional valves in hydraulics and pneumatics are widely used in many applications and areas such as robotics, presses, and machines.Air or fluid flowing can be controlled easily according to requests as on or off.For many applications, only on and off are not enough for comfortable controlling.Although automatic control strategy is very complicated, proportional control ability opens a gate with many abilities [1][2][3][4].Valves for hydraulics and air flows have more importance to control for many kinds of machines such as automobile, robotics, or planes in order to improve control ability and robustness; proportional control is widely used for flows controlling.But, especially in case of air, flow control is not easy because of gas features.Proportional pneumatic valves can have hysteresis levels as high as 15%, which can wreak havoc on closed-loop control systems [5,6].Another problem with proportional valves is that they often vary from one to another in terms of maximum flow and gain [7].Gain is the rate of flow change to valve input current, and engineers require consistency and linearity for tight control.Two conventional ways, constant current or pulse with modulation (PWM) techniques, lead to simplifying control of valves.PWM and constant current control techniques have some weaknesses [8,9].The proposed method has feedback abilities that come from its own structure so it leads to more precision control compared to conventional two ways.The proposed method has PWM structure for power transferring and alternative current (AC) low voltage modulated signal superimposed to PWM signal to obtain core moving volume.In order to obtain robust control ability through the lifespan, self-learning ability algorithm is supported and discussed.Novel method measures core distance at zero control signal and maximum control signal at each running.

Conventional Methods for Valve Controlling
Two conventional methods, PWM and current source techniques, are simple control methods for proportional valve controls and both control circuits are so simple to apply.On the contrary, these methods have some weaknesses besides their simplicity.Pulse width modulation, which is a commonly used technique to control systems, is easily 2 Journal of Sensors realizable with semiconductor switches.It has been already stated above that almost no power is dissipated by the switch in either on or off state.PWM makes inertial electrical devices controlling simple via modern electronic power switches.PWM can be used to adjust the total amount of power delivered to a load without losses normally incurred when a power transfer is limited by resistive means.The drawback is the pulsations defined by the duty cycle, switching frequency, and properties of the load.With a sufficiently high switching frequency and, when necessary, using additional passive electronic filters, the pulse train can be smoothed and average analog waveform recovered [10].Figure 1 shows (a) PWM structure and (b) constant current driver structure.There are only two possible situations for the switching element.
In both states, practically, power losses can be negligible [11,12].Generated PWM signal occurs on the load as the same characteristics.In general, frequency is constant and pulse width is variable on time axis.Equation (1) shows output average voltage related to pulse width: From the equation, generated (direct current) DC voltage can be varied using PWM modulation easily.On the contrary, output voltage not only is related to pulse width but also is related to  cc (power supply).Using this structure any valve can be controlled via varying voltage.In addition to power supply level, valve current cannot be controlled if it is not measured.These two weak points are difficulties of PWM.
Current source is a very old and robust model to avoid PWM weakness and electromagnetic interference.It is so simple to implement.Current flow is directly related to control voltage (  ) and cannot be changed even if  cc changes in determined limits [13][14][15].Changing power supply level does not affect the current level.Output current (  ) only depends on   input signal.Equation (2) shows calculation of current flow.As soon as  1 and   are constant, there is no way to change the current: On the contrary, current source can have high power loss on the controlling element [16,17].Power dissipation must be calculated carefully to protect the device in order to carry on the running.

System Details
The proposed method uses PWM structure, amplitude modulation, and current source in the same structure for precision control.PWM structure is used for controlling power transfer.Amplitude modulation at medium frequency gives information about the core deep and core moving on the rail.In the valve, electromagnetic force and spring force are face to face with each other and core moving depends on electromagnetic force, so it is directly related to controlling current.So core traveling on the rail can be changed by adjusting the current level.If there could be a feedback from the core depth such as linear variable differential transformer (LVDT), it is possible to hold the core on the constant depth.When the core moves incorrectly, amplitude modulated feedback signal replies with a correction.An inductor is a passive electrical component used to store energy in a magnetic field.Inductor has a virtual resistance against frequency.In some determined conditions, inductance changes linearly.Inductance value can be calculated from where  is inductance in henries,  0 is permeability of free space,  is number of turns,  is area of cross section of the core in square meters,  is length of core in meters, and  is Nagaoka coefficient [18].Inductor has a virtual resistance, namely, impedance, versus the frequency.Equation ( 4) shows inductor impedance: Any change at the inductance affects the AC current flows through the core.Changed inductor helps us to evaluate the core distance given ℎ via amplitude modulation.For the proportional valve structure, there are three inductors to be explained.One of them is air core inductor, second one is magnetic metal envelope inductor, and core inductor comes from moving related to .During the core moving, summed three inductors can be evaluated. 0 is air core inductor,   is envelope metal inductor, and   is moving core inductor.Total  is sum of the three inductors.Number of turns and all inductors can be explained as a function of ℎ moved distance through the hole.When  equals ℎ,  0 and   disappear and only   occurs in total inductance.The starting point is at ℎ = 0; total inductance can be shown only by  0 and   .Three kinds of inductors can be explained as a function of ℎ distance and  as shown in Figure 2.
Through ℎ and , number of turns can be spread linearly.From this point,  is a linear function of ℎ and  as shown by Total inductance is sum of three inductor structures defined as  0 ,   , and   .Total inductance is given by Radii are different for all inductors.For  0 radius can be written as , for   it can be written as , and difference between  and  is for   as shown in Figure 2. From (5), for every separated inductor, they can be expressed by (7), (8), and (9) for  0 ,   , and   , respectively:  From ( 5)-( 9), total inductance can be expressed by From the equations, inductance characteristic is a variable through ℎ and has virtual impedance which can be expressed as  in (4). varies linearly related to inductance at constant frequency.Current has two parts and one of the parts is low voltage AC signal which is superimposed on DC running current.Current flows through the inductance, switching element, and current sense (resistor based).Low voltage DC current, superimposed with AC current, makes the core move.According to moving distance or moving depth, total inductance changes and changed inductance affects only AC current level.AC current level is a measurement of the core depth.Although   impedance,   impedance, and  0 impedance are linearly through the frequency,   is not linear.At any instant,   can be calculated by (11) and AC current is related to total impedance including core resistance and  1 and current equation is given by (12) as follows: where  1 ≪   and   ≪ 2  at AC conditions.For constant frequency, impedance has linear correlation with inductance.Output voltage,   , is related to inductance as nonlinear characteristics.  behaves as an amplitude modulator and modulation characteristic is related to acts.Amplitude modulation is a simple modulation technique, which superimposes carrier signal and data signal [19,20].For proposed method, only carrier signal was scaled to use inductance. 1 separates DC current and AC modulated signal from each other and leads AC signal to pass demodulator stage.Amplitude demodulation [21,22] simply has one diode, resistor, and capacitor, as shown in Figure 3. DC and AC signal have to move through the valve and DC current does not encounter any virtual impedance which is caused by frequency.AC signal has to overcome virtual impedance which is changing by core volume inside of the valve rail to occur in the outside as   .Output AC signal amplitude is at a different level according to ℎ depth.Demodulated signal over  1 ,  passes through the low pass filter  2 and  2 .Figure 4 shows  0 output voltage.As much as valve core moves, the obtained  0 output voltage varies according to total   .Amplitude modulated frequency was chosen as 100 kHz in order to avoid interference between PWM frequency and AC modulating signal.PWM running frequency was used as 10 kHz.Obtained feedback signal has negligible ripple at least as long as two times greater than PWM frequency [23].In application 10 times greater AC signal is superimposed to PWM signal.
Although inductances of  0 ,   , and   have linear characteristics independently, at any time, three inductances are valid as sum of the inductances as   .So total characteristic is not linear and has to be corrected by the control unit.Table 1 is calculated virtually, and, from Table 1,   is not linear through ℎ distance.Total nonlinearity must be corrected using correction factor.
Figure 5 shows feedback signal related to ℎ distance and correction curve in the same graph.After correction on feedback signal, core moves behavior linearly.Learning method is based on inductance level at zero control voltage and stepped values span with 10% PWM levels.If the moving depths are linear through the PWM, microcontroller based control unit obtains function in red line as a feedback   [24,25].Microcontroller connections are shown in Figure 6.For every start, microcontroller scans valve behavior to compare the memorized present one.Then it refreshes the old information with present one to create new control characterization to minimize environmental effects such as temperature and dust.Possible changing on core inductance due to temperature and control characteristic is renewed for robustness.
Microcontroller unit records feedback signal at zero control voltage and saves this value as  0 +   .According to initial inductance, obtained feedback signal starts from maximum level and approaches zero when the core reaches end point.During the moving, feedback signal follows a second-order equation.From Table 1  0 and   start from 0.1 and 0.8, respectively, and both end with zero.If core material has high   , effects of  0 are so low and may be negligible.For real world application,  0 has negligible effects on   and   and therefore   .
Microcontroller has two control strategies for selflearning.First way is very simple to apply and is based on blind learning.Microcontroller unit just saves feedback signals and control signals level as PWM level.End of the PWM spans from 0% to 100% with small steps; microcontroller connects the dots with lines and obtains control strategy from the curve line.Second way requires more math calculations than the first way.Microcontroller unit calculates a trajectory as a second-order equation and subtracts the core constant behavior characteristics during the run time.The rest of the feedback signal can be evaluated as moving depth by control unit.Both methods can be applicable and the first one is very simple learning way for robotics application avoiding back kinematics system behavior calculation.

Implemented Circuit Results
In this study, a linear valve behavior was used as measurement of the distance of coil.Thus, displacement of the coil can

Regulated air output
Air input be calculated coil of the linear valve without using external measurement device.Table 2 shows the displacement and obtained AC due to moving.Figure 7 shows the implementation of the circuit.According to study, inductance must be changed due to coil moving.Thus changed inductance affects the impedance of the coil under AC guide signal to measure the displacement.Table 2 shows measured real values due to coil moving.In order to implement the proposed method, air valve regulator for Opel Vectra was used.All of the car manufacturers use an air regulator to regulate the air input under idle running.Some of them prefer motor based regulator circuits; some of them use linear valve based solutions.Opel uses linear valve to regulate the air intake for idle running.Figure 8 shows tested linear valve for proposed method outcomes.

Movable core Coil
Preferred linear valve is highly robust and is designed for automobile sector.For the valve, total displacement is 5.9 mm and DC power supply necessary to run is 0-12 Volts.Table 2 shows the obtained results after trying the proposed method.The obtained values from the application are 0.39 mH and 50 mV related to displacement.From Table 2, changing inductance of the coil affects the impedance.Changed impedance only could affect the obtained AC signal.On the contrary, DC current cannot be affected by AC signal.Only DC current makes coil move and only AC signal gives response related to displacement.Total displacement is 5.9 mm.AC signal varies from 0.332 to 0.382.According to obtained values, a constant can be calculated using  = Δ ( AC ) Δ (mm) =  rms mm ,  = 0.382 − 0.332 5.9 = 8.47 rms mm .
From ( 13), , a constant related to moving core displacement, is calculated.

Conclusion and Future Work
In this study, novel approach is discussed to control any valve proportionally.The aim is to control the linear component without any external sensor to improve control ability.PWM and current mode driving techniques were merged and amplitude modulation was used for feedback to obtain core position information.This study involves not only proportional control but also sensorless position control for any electromagnetic core based valve.In particular, air valve controlling is not easy because of air behavior.This study helps eliminate some drawbacks such as temperature, hysteresis, and friction losses at any time.Air intake controlling for the cars could be robust in case of using the proposed method.Novel method makes robust control strategy in case of hard environmental conditions such as dust and temperature, because of the microcontroller scanning the valve at every starting.On the contrary, the proposed method creates a feedback related to displacement without external measurement device.The proposed method may offer open frame air valve controller to carry on control abilities continuously without any weakness through the lifespan.With learning ability, self-test strategies can be applied and service period can be reduced by self-learning.

Figure 2 :
Figure 2: Valve is separated inductor structure: (a) side view; (b) vertical view; (c)  0 simulates air core; (d)   is constant core; (e)   is variable inductor related to movable core.

Figure 6 :
Figure 6: Block diagram of proposed method.

Figure 7 :
Figure 7: AC signal behavior related to displacement of the core.

Table 1 :
Inductance changing through the distance.

Table 2 :
Measured and obtained values for the sample application of linear valve.
* 0 11.25 * Note: be aware that position has offset value with different displacement.