Pneumatic Piston Chamber
Translational pneumatic piston chamber based on ideal gas law
Library
None (example custom library)
Description
Note
As of Release R2016b, the Gas block library replaces the Pneumatic library as the recommended way of modeling pneumatic systems. The former Pneumatic library is now included in the product installation as an example custom library. The pneumatic domain definition is still provided with the software, and all the pneumatic blocks in your legacy models continue to work as before. However, these blocks no longer receive full production support and can be removed in a future release.
The Pneumatic Piston Chamber block models a pneumatic piston chamber based on the ideal gas law and assuming constant specific heats. Use this model as a building block for pneumatic translational actuators. The piston can exert force in one direction only, and the direction is set by the Chamber orientation parameter.
The continuity equation for the network representation of the piston chamber is
where
G | Mass flow rate at input port |
V0 | Initial chamber volume |
A | Piston effective area |
x | Piston displacement |
p | Absolute pressure in the chamber |
R | Specific gas constant |
T | Absolute gas temperature |
t | Time |
The energy equation is
where
q | Heat flow due to gas inflow in the chamber (through the pneumatic port) |
qw | Heat flow through the chamber walls (through the thermal port) |
cv | Specific heat at constant volume |
cp | Specific heat at constant pressure |
The force equation is
where pa is the atmospheric pressure acting on the outside of the piston.
Port A is the pneumatic conserving port associated with the chamber inlet. Port H is a thermal conserving port through which heat exchange with the environment takes place. Ports C and R are mechanical translational conserving ports associated with the piston case and rod, respectively. The gas flow and the heat flow are considered positive if they flow into the chamber.
Variables
To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.
Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable.
Basic Assumptions and Limitations
The gas is ideal.
Specific heats at constant pressure and constant volume, cp and cv, are constant.
Parameters
- Piston area
Specify the effective piston area. The default value is
.002
m^2.- Piston initial extension
Specify the initial offset of the piston from the cylinder cap. The default value is
0
.- Dead volume
Specify the volume of gas in the chamber at zero piston position. The default value is
1e-5
m^3.- Chamber orientation
Specify the direction of force generation. The piston generates force in a positive direction if this parameter is set to
1
(the default). If you set this parameter to2
, the piston generates force in a negative direction.
Ports
The block has the following ports:
A
Pneumatic conserving port associated with the chamber inlet.
H
Thermal conserving port through which heat exchange with the environment takes place.
R
Mechanical translational conserving port associated with the piston (rod).
C
Mechanical translational conserving port associated with the reference (case).
Version History
Introduced in R2009b