Home > Technology peripherals > AI > body text

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

王林
Release: 2023-04-07 16:46:03
forward
1595 people have browsed it

Robots can also do the work of baristas!

For example, let it stir the milk foam and coffee evenly. The effect is like this:

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Then make it more difficult, make a latte, and then stir it It is easy to make a pattern with a stick:

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

These are based on a study that has been accepted as Spotlight by ICLR 2023. They launched the proposed fluid Control the new benchmark FluidLab and the multi-material differentiable physics engine FluidEngine.

The research team members come from CMU, Dartmouth College, Columbia University, MIT, MIT-IBM Watson AI Lab, and the University of Massachusetts Amherst.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

With the support of FluidLab, it will be easy for robots to handle fluid work in more complex scenarios in the future.

What are the "hidden skills" of FluidLab? Let’s have fun together~

"Fluid Mechanics" Advanced Player

FluidLab relies on FluidEngine as the engine support. As the name says, the main simulation object is fluid, different materials, and various types. It can fully grasp the details of sports.

Let’s try simulating various scenes of making coffee. The movement trajectories of coffee and milk foam are also very realistic.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Of course, simulating ice cream is also a matter of sprinkling water.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Or simulate the movement trajectory of water flow under different conditions.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

If you still can’t see the strength of FluidLab, then go straight to the difficulty level.

For example, let’s start with a comparison simulation and let the platform simulate the collision of different materials with the container when they fall. From left to right they are: hard materials, elastic materials and plastics.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Or the trajectories of different non-viscous liquids and viscous liquids when they fall.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

#More difficult and simulate the state when gas and liquid meet.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Easily done!

At this time, some friends may wonder: Does the simulation in so many states conform to physics or fluid mechanics?

You can rest assured that the research team directly disclosed the verification video. When it comes to some specific physical phenomena, FluidEngine can accurately simulate it.

Common physical phenomena such as Karman vortex and dam failure can be accurately simulated.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Buoyancy, incompressibility and volume stability of liquids can also be easily reflected in the simulation.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Come to the advanced level, use the Magnus effect to verify: translation, slow counterclockwise rotation of translation, fast counterclockwise rotation of translation, and fast clockwise rotation of translation. All accurate.

For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform

Add 100 million points more difficulty and try conservation of momentum and Rayleigh-Taylor instability.

......

How did the research team achieve such a simulation that is so close to the real world?

Different states have different algorithms

First of all, in terms of programming language, FluidEngine chose Python and Taichi. Taichi is a recently proposed domain-specific programming language for GPU accelerated simulation.

This provides a user-friendly set of APIs for building simulation environments. At a higher level, it also follows the standard OpenAI Gym API and is compatible with standard reinforcement learning and optimization algorithms. .

The reason why it is possible to achieve realistic virtual simulation effects can perhaps be gleaned from the process of creating an environment with FluidEngine.

The environment it creates consists of five parts:

  • A robot agent equipped with a user-defined end effector (an external robot)
  • From the external network Objects imported from the grid and represented as signed distance fields (SDFs)
  • Objects created using shape primitives or external meshes, used to represent particles
  • For simulations on Eulerian meshes Gas fields for gas phenomena (including velocity fields and other advection fields such as smoke density and temperature)
  • A set of user-defined geometric boundaries to support sparse calculations

where, During the simulation process, different calculation methods are used for materials in different states.

For solid and liquid materials, the simulation process uses the moving least squares material point method (MLS-MPM), which is a hybrid Lagrangian-Eulerian method that uses particles and meshes to simulate continuous body material.

For gases such as smoke or air, the advection-projection scheme is used in the simulation process to simulate them as incompressible fluids on a Cartesian grid.

In this way, realistic effects can be simulated for specific situations.

The paper, project address and code link are attached at the end of the article. Interested friends can click to view.

Project homepage: https://fluidlab2023.github.io/Paper link: ​https://arxiv.org/abs/2303.02346 Code link: ​https://github.com/zhouxian/FluidLab

The above is the detailed content of For robots to learn coffee latte art, we have to start with fluid mechanics! CMU&MIT launches fluid simulation platform. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:51cto.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!