Questions tagged [simmechanics]

13 questions
5
votes
1 answer

Modeling a floor/ground for a walking robot in Simulink

I'm trying to create a simple model of a body which will then be later controlled. However, I am running into trouble when I'm connecting both legs to the body. What I have done is that I have built the model starting with the left foot, attached to…
Ortix92
  • 2,648
  • 1
  • 27
  • 57
2
votes
1 answer

How to solve this compatibility issue when exporting Simulink model with Simscape blocks from R2015b to R2015a

I have a Simulink R2015b model containing SimElectronics and SimMechanics blocks. This model is functional. A colleague of mine asked to export the model to R2015a. However, when I execute this model, I obtain following error message: Component:…
Karlo
  • 1,420
  • 25
  • 44
2
votes
0 answers

Is it possible to print out the equation of motion of a SimMechanics model?

I want to know if it is possible to get the equation of motion from a SimMechanics model which I imported from Solidworks? And if it is possible how can I do it?
2
votes
1 answer

SimMechanics - Choose point of application of torque

I have a CAD model of a bar 25cm x 5cm x 2cm imported into SimMechanics. On one of the sides, I have a small "hole", around which I have to apply a certain torque, to make the bar spin. I have applied said torque through a revolute joint, but the…
Kanishka Ganguly
  • 1,162
  • 1
  • 15
  • 36
1
vote
1 answer

connect revolute to motor in simscape

I have imported system to simscape using simmechanics, this is the system ... I want to control the system with real dc motor so I want to connect the revolute with dc motor I tried to connect it with dc motor with specified no load speed and stall…
Ammar Hussein
  • 3,971
  • 3
  • 14
  • 31
1
vote
1 answer

How to get differential equations from simscape system?

I have simmechanics model in simscape, I have imported it from solidworks design I'm able to get linearized model using linmod and it is okay as any system in simulink The problem here that I want to get the differential equations for that system,…
Ammar Hussein
  • 3,971
  • 3
  • 14
  • 31
1
vote
1 answer

initialization in Dymola influenced by annotation flag evaluate

As already mentioned in the title, initialization of my (multibody) model is influenced by annotation(evaluate). With new parameter par implemented in the model, initialization always fails if I use : parameter par annotation(evaluate=false) but…
AdamKe
  • 63
  • 4
0
votes
0 answers

How can I controle the revolute joint by a dc motor's voltage in simscape multibody?

In Simscape multibody I need a circuit where I can control the velocity rotation of a revolute joint provided by an input that will be the voltage of a dc motor.
0
votes
0 answers

How can I controle the speed of a revolute in simscape multibody?

I'd like to know how can I controle the rotation of the axis of the motor (picture 1). I figured how to controle the position but I need it to spin continuosly at a certain speed that can be controlled during the simulation with a knob, for…
0
votes
2 answers

Change Revolute Joint Axis in SimMechanics

I am leveraging SimMechanics, SimElectronics, and Simulink to model a quadcopter system for an embedded system class project ( files here ). I have generated a 2nd Generation SimMechanics model of an F450 quadcopter frame, including the motors and…
Jonathan
  • 611
  • 1
  • 7
  • 17
0
votes
2 answers

Can I use an inequality in a custom Simscape function? / How can I make a block that limits the speed in SimMechanics?

I have a SimMechanics Revolute joint block with a torque as input and a rotational speed as output. I would like to limit the speed of the joint by imposing a maximum speed. I do not find an appropriate block in Simulink Library Browser - Simscape…
Karlo
  • 1,420
  • 25
  • 44
0
votes
0 answers

The best way to connect Hybrid stepper motor Simpower model to Simmechanics v2 in Simulink

I need to connect a hybrid stepper motor model to a rotative joint in a 2nd generation Simmechanics model build by myself. I connected the output angle of the stepper model to the actuation - motion input, letting the joit module to calculate the…
Southernal
  • 121
  • 1
  • 5
0
votes
1 answer

What are the physical quantities represented by the physical conservation ports in Simmechanics?

What are the physical quantities represented by the physical conservation ports in Simmechanics? Cf. this picture from the Simscape user guide.
Karlo
  • 1,420
  • 25
  • 44