Simscape Spatial Contact Force no contact signal when minimum distance is 0

14 visualizzazioni (ultimi 30 giorni)
I'm modelling the collision between a plate and the L shaped mesh shown in figure (aircraft winglet).
The plate is a brick solid of dimensions XYZ [0.7 0.64 0.005]m, with a mass of 2.5kg.
The L shape mesh is made of 2 distinct components assembled as follow:
The mesh files are 2 STLs, each one have already been prepared as convex hull in Blender.
As you can see the minim distance approaches 0 but the contact signal is never triggered.
This is where it gets weird: if you replace the brick solid with a STL of the plate from Blender with same dimensions and mass you still get no collision. So you change the geometry of the winglet with a unique convex hull, yet no progres. If you increase the volume of the winglet, such as extruding in the X direction, collisions start to get recognized, but only after a certain amount. Every other part of the helicopter works fine.
For what I could understand this issue does not depend on:
1) The geometry of either the plate or the winglet
2) The position in space of winglet, as I tried different configurations using rigid transforms
3) The integrator, I've used ODE15s, ODE23t, ODE45 and they all behave the same (I lowered the relative tolerance and set maximum step size of 1 ms).
4) Switching on and off frictional forces
5) Changing Spring stiffness and damping, except for one case in witch
The spatial contact force works perfectly in the same model with the same plate but different components, all connected to the same Follower signal line.
Final note: I've imported the two meshes in the steering wheel example, both the plate and winglet collide with the plane, but not with each other. Using point clouds don't change anything, and I need the contact signals for my analisys so it's not really an option. So I tried to run a Rigid Body simulation with Blender and they work fine, so the problem lies in Simscape.
  4 Commenti
Riccardo Capellino
Riccardo Capellino il 29 Nov 2024 alle 9:52
I think it has to do with the projected areas seen by the follower on base.
In the pic above the pink curved plate is dropped on a square plate of dimensions 1.12x1.12x0.01 m. No collision is detected and the plate gets through the square.
When I increase the size to of the square to 1.2x1.2.0.01 it works perfectly.
Yifeng Tang
Yifeng Tang il 2 Dic 2024 alle 14:40
If possible, I suggest that you post the actual model so the community can better help you diagnose.

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by