Solenoid Valves Controlled With Simhydraulics

2 visualizaciones (últimos 30 días)
John
John el 27 de Feb. de 2012
Respondida: Yifeng Tang el 1 de Jun. de 2022
Was wondering if anyone had experience in trying to model an air flow operation using SimHydraulics? I am trying to create a simulation that allows air to inflate an air bag to a specified pressure and to let it deflate when prompted.
Is there any way of controlling physical solenoid valves through use of SimHydraulics or would I be looking at another type of software?

Respuestas (1)

Yifeng Tang
Yifeng Tang el 1 de Jun. de 2022
Thoughts on a few issues you may encounter building such a model and how to resolve them:
1. model the air bag. The volume and pressure inside will need to follow a custom equation that is consistent with the geometry and material of the air bag. You should be able to achieve this by using a Translational Mechanical Converter (G) and a custom block to apply a force to the "cylinder".
2. model the solenoid valve. In Simscape Fluids, the effect of opening and closing a valve on the flow is by tranlating the valve position to a flow opening area. At this level, it doesn't care about how the valve spool position is achieved or the force balance on that spool. If you have any correlation between solenoid current and valve position, you may use that. If you do care about the force balance and the detailed dynamics of the spool, you will need a diagram of the valve and use multiple translational converter, mass, damper, spring, and friction blocks to represent the force balance of the spool. It's usually a good idea to start with a simpler version and try to get close to your reference data. Even with a simple model, you can also "fake" some dynamics using e.g. a first order transfer function. Some valve blocks include opening dynamics and there are valve actuator blocks with such features, too.
3. model the controller. Use Simulink and/or Stateflow. Place sensor blocks in your Simscape model to send signal to the controller. Don't forget the PS-Simulink and Simulink-PS converters (and their units!), and be aware of any potential algebraic loops.

Categorías

Más información sobre Simscape Fluids en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by