Questions tagged [simscape]

Simscape™ provides an environment for modeling and simulating physical systems spanning mechanical, electrical, hydraulic, and other physical domains.

Simscape™ provides an environment for modeling and simulating physical systems spanning mechanical, electrical, hydraulic, and other physical domains.

Simscape models can be used to develop control systems and test system-level performance. We can extend the libraries using the MATLAB® based Simscape language, which enables text-based authoring of physical modeling components, domains, and libraries.

Source: MathWorks.com (Simscape)

80 questions
0
votes
1 answer

What is wrong with my Simulink model of an active suspension system?

I am new to Simulink and am trying to make a simulation of an active vehicle suspension with Simscape. For some reason, I am getting unreasonable results in my sim, despite following the examples on the mathworks website pretty closely. I have…
Mark
  • 1
  • 2
0
votes
1 answer

Time dependent resistance using SimScape Electrical foundation library in Matlab

I'm trying to model a large electrical network of resistors and capacitors in SimScape using Electrical foundation library blocks. One of the resistors needs to change its resistance as a function of time, say like…
Venkat
  • 446
  • 1
  • 4
  • 15
0
votes
1 answer

Correct way to use switch and voltage sensor in Simulink Simscape

I am trying to use a switch in Simulink Simscape. I want to see what voltage appears on both sides of the switch. The switch should close when the applied physical signal is greater than the threshold of the switch. It should be open otherwise. …
John
  • 10,837
  • 17
  • 78
  • 141
0
votes
1 answer

Belt Pulley. How get relative velocity?

I'm trying to understand how belt pulley from Mathworks work. I have this simple sample: In this case. I'm giving the velocity of a. And there is when appear my first question: why the magnitude of velocity of b, is the same of a? According to the…
0
votes
1 answer

How to model a current source with a prescribed waveform in Simscape?

I know the Simscape current source block, but this one can only model a current source with DC, AC and noise components. Instead of an AC current, I would like to model a current wave that is defined based on a general current vector in time. Is…
Karlo
  • 1,630
  • 4
  • 33
  • 57
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
  • 671
  • 1
  • 8
  • 21
0
votes
1 answer

Whats wrong with this MATLAB example (User-Added Coordinate Systems)?

Well I am working on a very interesting project concerning a gear system that will rotate a shaft and some gear systems. I am following a tutorial from matlab User-Added Coordinate Systems on how to decouple and have two gears rotating. Well, I…
mioumitsou
  • 47
  • 1
  • 1
  • 7
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,630
  • 4
  • 33
  • 57
0
votes
1 answer

Simulink: resistor with variable resistance during simulation

I´m trying to find a way to change the resistance in a resistor during simulation in simulink. I have been using the fundamental blocks in the SimPowerSystem package from Simscape and I have a functional circuit for non-variable resistors. What I…
Toverland
  • 15
  • 1
  • 6
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,630
  • 4
  • 33
  • 57
0
votes
1 answer

Can I access the content of Simdriveline components?

I am using Simdriveline components in Simscape. I would like to access the source code of these components. How can I do this? For instance, I want to define a new vehicle body with more than 2 axes and different tire diameters.
Karlo
  • 1,630
  • 4
  • 33
  • 57
0
votes
1 answer

How to create block diagram and analysis a simple RLC circuit in MATLAB?

i have this! RLC simple circuit i want to analysis this circuit with different values of Resistance but i dont know how can i draw a block diagram and simulink it with matlab, i just searched internet and found some libraries,but i didn't find…
Ahmadreza
  • 35
  • 8
0
votes
1 answer

Simulink Simscape simple circuit not working

I am new to Matlab and I'm trying to make a simple circuit in Simulink library Simscape. I have an AC voltage source with RMS value 50V and frequency 50Hz. But as shown in the image, the scope displays a noise, not a sine wave as I expected. What…
0
votes
1 answer

Simpowers plus simmechanics

I need to combine in MATLAB model of machine in SimMechanics with blocks of SimPowerSystems: asynchronous machine. I googled it but didn't find any relevant article. In my work I should consider impact of bearings like reaction forces and etc. Is…
Robert
  • 371
  • 1
  • 5
  • 15
0
votes
1 answer

connecting RC circuit to s-function block in Simulink

Can I connect an RC circuit from the Simscape library (as a feedback) to an s-function block and apply a time series as input? I am trying to use the Linearize tool from Control Design to obtain the frequency response of the whole system.
Emy Lotfy
  • 51
  • 1