where X(t) is the spool displacement of the pneumatic servo where Cv is the specific heat of air at constant volume, c is
valve, Kv is the displacement-voltage gain, Tt is the time the cylinder air density, V (t) is the cylinder volume, Cp is the
coefficient, and u(t) is the control input. specific heat of air at constant pressure, P (t) is the cylinder
chamber pressure, m(t)C
p Ts is the change in the internal gas
B. Mass Flow Rate Equation of the Pneumatic Cylinder energy, and P (t)V (t) is the work done by the cylinder.
The mass flow rate of Chambers A and B of the pneumatic The chamber volumes are defined as follows:
cylinder can be expressed as follows:
Va (t) = A (y(t) + ) (9)
Cd C0 wX(t)Pu (t)f(Pr (t)) Vb (t) = A (l y(t) + ) (10)
m(t)
= (2)
Tu
where l is the stroke length and is an equivalent extra length
where Cd is the discharge coefficient (Cd = 0.8), C0 is the of the cylinder.
mass flow parameter, w is the port width, Pu (t) is the up- The cylinder continuity equations are approximated as shown
stream pressure, Tu is the upstream temperature, Pr (t) =
(Pd (t)/Pu (t)) is the ratio between the downstream and up- kRTs Cd C0 wX(t)f (Pa (t), Ps, Pe)kPa (t)V a (t)
stream pressure, and Pa (t) = (11)
Va (t)
1, Patm
Pu (t) < Pr (t) < Cr
kRT s Cd C0 wX(t)f (Pb (t), Ps, Pe)kPb (t)Vb (t)
P b (t) = (12)
f (Pr (t)) = 2 1
(3) Vb (t)
Ck Prk (t)Pr k (t) 2 , Cr < Pr (t) < 1
k+1
Ts
b
, as chamber B is a driving chamber, Ps < Pb (t) and fourth-order RungKutta (RK4) discretization methods are
=
P (t)f b
P (t) the most common in power system applications [12]. These
b Pe , as chamber A is a driving chamber, Pe < Pb (t)
numerical methods solve ordinary differential equations and ap-
T
s
III. H ARDWARE I MPLEMENTATION ity, the computation result for (kv u[n] X[n]) can be reused.
Thus, k1_x , k2_x , k3_x , and k4_x can be calculated as follows:
Fig. 2 shows a block diagram of the proposed VLSI architec-
ture, which consists of four main blocks: the parameter module X[n] Kv
(PM), pneumatic model solver (PMS), register file (RF), and k1_x = + u[n] = C1 (Kv u[n]X[n]) (17)
Tt Tt
control unit. All variables and parameters are represented in X[n]+ h2 k1_x Kv
a signed fixed-point format. In the architecture, the parame- k2_x = + u[n] = C2 (Kv u[n]X[n]) (18)
ters and input/output bit widths can be modified for specific Tt Tt
applications. Thus, the proposed VLSI architecture is highly X[n]+ h2 k2_x Kv
k3_x = + u[n] = C3 (Kv u[n]X[n]) (19)
flexible and capable of simulating a wide variety of systems Tt Tt
using the same hardware. Moreover, the computation units X[n]+hk3_x Kv
k4_x = + u[n] = C4 (Kv u[n]X[n]) (20)
which do not affect the working speed are reused to achieve an Tt Tt
area-efficient VLSI architecture. An example of the hardware-
sharing technique will be illustrated in Section III-B. where C1 , C2 , C3 , and C4 are the input from the PM. Fig. 3 de-
The four main blocks are described briefly in the following picts the architecture of the VSDG. The servo valve is calculated
sections. with five multipliers (denoted as MULT), a subtractor (denoted
as SUB), and four bit length normalization (BLN) units. The nor-
malization is performed using the arithmetic right shift operation.
A. PM
The CAMFC and CBMFC calculate the mass flow of
The PM stores the values of the coefficients (shown in Chambers A and B of the pneumatic cylinder. Fig. 4 shows
Table I) in addition to the simulation time-step size. It transfers the architecture of the CAMFC. All the possible values of
the values of Ci and h to the PMS. f (Pa (t), Ps , Pe ) and f (Pb (t), Ps , Pe ) are used to establish a
lookup table (denoted as LUT unit).
B. PMS The CAPC and CBPC calculate the pressure of the cylinder
Chambers A and B. The RK4 discretization method can be
The PMS comprises a valve spool displacement genera-
used to determine the pressure of Chamber A according to the
tor (VSDG), Chamber A mass flow calculator (CAMFC),
following expression:
Chamber B mass flow calculator (CBMFC), Chamber A
pressure calculator (CAPC), Chamber B pressure calculator h
Pa [n + 1] = Pa [n]+ (k1_pa+2k2_pa+2k3_pa+k4_pa ) (21)
(CBPC), and cylinder block position generator (CBPG). 6
The VSDG calculates the spool displacement of the pneumatic C6 m a [n] C7 Pa [n]V a0
servo valve. The VSDG behavior model is described in the pre- k1_pa = (22)
Va0
ceding section. The RK4 discretization method can be used to C6 m a [n] C7 Pa [n] + 2 k1_pa V a1
h
determine the servo valve according to the following expression: k2_pa = (23)
Va1
h C6 m a [n] C7 Pa [n] + h2 k2_pa V a2
X[n + 1] = X[n] + (k1_x + 2k2_x + 2k3_x + k4_x ) (16) k3_pa = (24)
6 Va2
where X[n + 1] is the previously calculated value and h is the C6 m a [n] C7 (Pa [n] + h k3_pa ) V a3
k4_pa = . (25)
simulation time-step size. To reduce the computational complex- Va3
856 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMSII: EXPRESS BRIEFS, VOL. 63, NO. 9, SEPTEMBER 2016
Fig. 8. Performance comparison of software and hardware with Q30.24. (a) Mass flow A. (b) Mass flow B. (c) Pressure A. (d) Pressure B. (e) Valve spool
displacement. (f) Block position.
R EFERENCES
[1] M. H. Chiang, L. W. Lee, C. F. Kuo, and Y. N. Chen, A H tracking-
based adaptive sliding-mode controller for nonlinear pneumatic path
tracking systems via a functional approximation approach, J. Chin. Soc.
Mech. Eng., vol. 30, no. 2, pp. 507515, 2009.
[2] Y. C. Tsai and A. C. Huang, Multiple-surface sliding controller design
for pneumatic servo systems, Mechatronics, vol. 18, no. 9, pp. 506512,
Nov. 2008.
[3] Z. Rao and G. M. Bone, Nonlinear modeling and control of servo
TABLE III pneumatic actuators, IEEE Trans. Control Syst. Technol., vol. 16, no. 3,
R EDUCTION IN VSDG, CAMFC, CBMFC, CAPC, CBPC, AND CBPG pp. 11441151, May 2008.
[4] P. C. Krause, O. Wasynczuk, and S. D. Sudhoff, Analysis of Electric
Machinery. New York, NY, USA: IEEE Press, Jan. 1995.
[5] P. C. Krause, O. Wasynczuk, and S. D. Sudhoff, Analysis of Electric
Machinery and Drive System, 2nd ed. New York, NY, USA: IEEE Press,
Mar. 2002.
[6] S. Lentijo, A. Monti, E. Santi, C. Welch, and R. Dougal, A new testing
tool for power electronic digital control, in Proc. IEEE Conf. Power
Electron. Spec., 2003, pp. 8187.
[7] V. Dinavahi, R. Iravani, and R. Bonert, Design of a real-time digital
simulator for a D-STATCOM system, IEEE Trans. Ind. Electron., vol. 51,
no. 5, pp. 10011008, Jun. 2004.
three different bit widths. The circuit with higher bit width [8] H. Li, M. Steurer, K. Shi, S. Woodruff, and D. Zhang, Development
achieves higher simulation accuracy at the cost of more area of a unified design, test, and research platform for wind energy systems
cost and slow throughput. based on hardware-in-the-loop real-time simulation, IEEE Trans. Ind.
Given the target throughput which is 1000 output results per Electron., vol. 53, no. 4, pp. 11441151, Jun. 2006.
[9] B. Lu, X. Wu, H. Figueroa, and A. Monti A low-cost real-time hardware-
second, in the proposed circuit, we consider hardware sharing in-the-loop testing approach of power electronics control, IEEE Trans.
and reuse cautiously only those computation units which do not Power Del., vol. 54, no. 2, pp. 919931, Apr. 2007.
affect the target throughput. Table III shows the cost reduction in [10] G. G. Parma and V. Dinavahi, Real-time digital hardware simulation of
the proposed circuits by using the hardware-sharing technique. power electronics and drives, IEEE Trans. Power Del., vol. 22, no. 2,
pp. 12351246, Apr. 2007.
[11] M. H. Chiang and H. T. Lin, Development of a 3D parallel mechanism
V. C ONCLUSION robot arm with three vertical- axial pneumatic actuators combined with a
stereo vision system, Sensors, vol. 11, no. 12, pp. 11 47611 494, 2011.
In this brief, an area-efficient hardware implementation for a [12] R. B. Bhat and S. Chakraverty, Numerical Analysis in Engineering.
real-time rodless pneumatic simulator was proposed. The pro- New Delhi, India: Narosa, 2011.