I would like using simMechanics second generation to have a body following a predefined trajectory (like a circle). Then if i provide an external force the body must start moving constrained in the trajectory.
In simMechanics 1st generation was present the "point-on-curve" constraint, there is a way to model it in the 2nd generation?
Thank you in advance for the answer.
In SimMechanics' Second Generation, you still have a Point on Curve Constraint block, search for it in the Simulink Library Browser. More info here.
Related
I want to put a hologram-poster in AR, on the Hololens 1, on a wall using the Mixed Reality Toolkit. But everytime I try to put a hologram onto the spatial mapping it slides right through it and vanishes behind the spatial mapping.
What did I miss?
My understanding is you are implementing tap-to-place that enables users to move objects and place them on real-world surfaces. And your issue is that when you placing the object, it did not place on the surface as expected.
Usually, in MRTKv2, the Solver would be a good direction to implement tap-to-place.
The SurfaceMagnetism Solver can cast rays to surfaces in the world, and align the object to that surface.
So, you can add SurfaceMagnetism Component to the object and create a script that has two methods, one that turns on the solver when the object is selected and one that turns off the solver while the object is deselected. When you close the solver, the object will stay in the last position.
I've created a Dymola model. It has an empty tank, which is connected to the output of sweptVolume component via a static pipe. Input to the sweptVolume is a constant force, with the help of which I would like to transport water from the hydraulic cylinder to the tank.
I've assumed the cross sectional area of the piston. I've calculated the force that is needed to displace the water in the cylinder assuming the pressure to be atmospheric (101.325kPa). But, somehow I see the water is not getting displaced and the volume is remaining constant without filling the tank.
Please suggest, what type of input should be given for the sweptVolume element (position,move etc.), in case the given input constant force is wrong.
I would like to thank you for your time and interest.
the way to setup initial conditions it is only a matter of GUI, just add "flange(s(start=1, fixed=true))" in add modifiers tab of the sweptVolume parameter dialog in Dymola. To get your model work just invert the sign of the force, the sign convention for the force block is displayed by the arrow, so to compress the piston and fill the tank have to set the const value to minus something. Check the fluid volumes since you will get the model to stop when tank overflows or when piston stroke reaches the end (negative value of s). So you have to setup correctly the forces, or the tank and piston volumes or place some kind of stop to the mechanic part of the piston. The model can work fine even without masses added to the piston.
Hope this helps,
Marco
I may be missing something very basic in abaqus while modeling here. I have two bodies next to other (lets assume two bars placed adjacent to each other) and I have mentioned a surface to surface contact between the two crossectional areas in contact. I have fixed the other end of one bar and provided a displacement of say 0.1 on the other bar to observe the contact stresses. Now I expect the stresses to be identical on the two bars but that is not what I am observing. I see that the bar which is fixed experiencing the stresses but no stresses are seen on the bar with the displacement boundary condition. I think I am missing something while modeling this simple case. Any thought?Here is a screenshot of the assembly. When I run a static analysis with upperbody fixed at its base and a small displacement in Y direction to the lower body, I expect the contact to be detected (which is observed) but I also expect he stresses to be similar on both the bodies. But what I am getting is that the stress and deformation is generated on the upper body and the lower one shows negligible stresses
The result of contact also depends on the solution strategy you are using. If you are using Penalty method, you may experience high oscillation and the contact surface is not detected correctly. For a robust and stable contact, you can switch to using Augmented Lagragian method. Try first with small increment to see if some contact forces are produced, then you can increase the prescribed displacement.
I have made a basic "quarter-car" simulink model. It is a double mass system with two springs and two dampers. However I want to add speed of the car as a parameter to this model and I do not know how. Block "Step" is the bump size as an input from the road. Screenshot of the model
Thanks
Your quarter car model is in the vertical dimension only. You wish to add the speed of the vehicle which will then add another dimension to your model. This will require some thought. How do you wish to model the input to the model once the horizontal dimension is developed? I would recommend trying something simple like modifying the "Step" block(which I can't seem to find in your model) to create a larger disturbance at high speeds. Then you can build from there, add profiles to describe road artifacts, etc.
I am working on vision based lane detection. My problem is that if we consider this block diagram:
I have done with each block individually but I am confused while connecting them.
Consider for an image, image is taken values are measured by the sensor, error is calculated between reference value and value from sensor then given to pid and then to space state, but according to second block diagram:
The value from space state is taken as feed back and error is calculated. Now I am confused where to take feed back to.
Any help would be highly appreciated.
Judging from your image, the feedback should be input for the PID controller during the next cycle. Either directly or through some function that merges the feedback with the reference.