Answered

Design a Transmission Shift Controller

Use a MATLAB Function block in SImulink. You can put the logic in the block. Persist variables could be useful (link).

Design a Transmission Shift Controller

Use a MATLAB Function block in SImulink. You can put the logic in the block. Persist variables could be useful (link).

1 year ago | 0

Answered

How do i add a drive cycle in simscape to a genric engine.

You need a controller that compare the desired and measured speeds to generate the throttle command. This is not a trivial task....

How do i add a drive cycle in simscape to a genric engine.

You need a controller that compare the desired and measured speeds to generate the throttle command. This is not a trivial task....

1 year ago | 0

Answered

How to find pressure at every section of pipes in series in simscape? One end of pipe is connected to a constant pressure source and another end is open to the atmosphere

Use the Hydraulic Pressure Sensor block in the Simscape Fundation Library - Hydraulic.

How to find pressure at every section of pipes in series in simscape? One end of pipe is connected to a constant pressure source and another end is open to the atmosphere

Use the Hydraulic Pressure Sensor block in the Simscape Fundation Library - Hydraulic.

1 year ago | 0

Answered

G ports in simulink?

To get the G port: open the Spherical Solid block. Expand the Export under the Geometry and check the Entire Geometry box.

G ports in simulink?

To get the G port: open the Spherical Solid block. Expand the Export under the Geometry and check the Entire Geometry box.

1 year ago | 0

| accepted

Answered

Multiple Joints on flexible parts in Simscape Multibody

You can add new frames to the body elements. The new frames will have new associated ports. You can apply the forces at these po...

Multiple Joints on flexible parts in Simscape Multibody

You can add new frames to the body elements. The new frames will have new associated ports. You can apply the forces at these po...

1 year ago | 0

Answered

Is it a reliable number when pid tuning is performed using simscape multibody?

The Simulink PID block correctly implement a PID control. You specify the gains in the block dialog box.

Is it a reliable number when pid tuning is performed using simscape multibody?

The Simulink PID block correctly implement a PID control. You specify the gains in the block dialog box.

1 year ago | 0

Answered

Moment of inertia with coordinates

Moment of inertia is or , where m is the mass, r is the distance to the rotation axis.

Moment of inertia with coordinates

Moment of inertia is or , where m is the mass, r is the distance to the rotation axis.

1 year ago | 0

Answered

Is there another way to increase the mass flow rate on simscape?

You need to understand the physics. Flow rate and pressure are related. The pressure in a volume is determined by in and out flo...

Is there another way to increase the mass flow rate on simscape?

You need to understand the physics. Flow rate and pressure are related. The pressure in a volume is determined by in and out flo...

1 year ago | 0

| accepted

Answered

How to draw a Motor efficiency map having speed, torque and efficiency?

Use contour(x,y,z), where x, y need to be in grid corrdinate. You can study the following example for the grid coordinate x = 1...

How to draw a Motor efficiency map having speed, torque and efficiency?

Use contour(x,y,z), where x, y need to be in grid corrdinate. You can study the following example for the grid coordinate x = 1...

1 year ago | 0

Answered

Combining Simscape-Simulink Matlab versions 2018 and 2021

Replace the hard stop block with the hard stop block in the 2021a Simulink Library Browser.

Combining Simscape-Simulink Matlab versions 2018 and 2021

Replace the hard stop block with the hard stop block in the 2021a Simulink Library Browser.

1 year ago | 0

| accepted

Answered

Connection between current measurement and sum block

Use a PS-Simulink Converter block https://www.mathworks.com/help/physmod/simscape/ref/pssimulinkconverter.html#:~:text=The%20PS%...

Connection between current measurement and sum block

Use a PS-Simulink Converter block https://www.mathworks.com/help/physmod/simscape/ref/pssimulinkconverter.html#:~:text=The%20PS%...

1 year ago | 0

Answered

Simscape Multibody, Transform Sensor, quaternion output

Take a look at this: https://www.mathworks.com/matlabcentral/answers/415936-angle-between-2-quaternions

Simscape Multibody, Transform Sensor, quaternion output

Take a look at this: https://www.mathworks.com/matlabcentral/answers/415936-angle-between-2-quaternions

1 year ago | 0

Answered

Would it be possible to change the greyscale to a blue scale?

Take a look at the colormap command - https://www.mathworks.com/help/matlab/ref/colormap.html

Would it be possible to change the greyscale to a blue scale?

Take a look at the colormap command - https://www.mathworks.com/help/matlab/ref/colormap.html

1 year ago | 0

Answered

The following code is not giving errors, but it does not solve the system of equations.

In order to solve a system of equations, the number of equations needs to equal the number of variables. You also need ==0 for t...

The following code is not giving errors, but it does not solve the system of equations.

In order to solve a system of equations, the number of equations needs to equal the number of variables. You also need ==0 for t...

1 year ago | 0

Answered

Solving a system of three second order coupled differential equation

Use as states and express the derivatives of the states as functions of the states, e.g., d/dt()=etc.

Solving a system of three second order coupled differential equation

Use as states and express the derivatives of the states as functions of the states, e.g., d/dt()=etc.

1 year ago | 0

Answered

Solving ODE with sqrt

If you know how to solve an ODE in Matab, the problem might be negative values for the sqrt().

Solving ODE with sqrt

If you know how to solve an ODE in Matab, the problem might be negative values for the sqrt().

1 year ago | 0

Answered

how to get eigenvalues and plot it

Use a loop to calculate and store the eigenvalues for each time point. Plot the data outside the loop.

how to get eigenvalues and plot it

Use a loop to calculate and store the eigenvalues for each time point. Plot the data outside the loop.

1 year ago | 0

| accepted

Answered

Does Simscape Multibody enable torsion system modeling consisting of 2 or 3 rotating masses / inertias connected by spring and damper elements?

Connect the inertias with revolute joints and specify the spring stiffness and damping coeficient in the joint parameters.

Does Simscape Multibody enable torsion system modeling consisting of 2 or 3 rotating masses / inertias connected by spring and damper elements?

Connect the inertias with revolute joints and specify the spring stiffness and damping coeficient in the joint parameters.

1 year ago | 0

Answered

Singularity error encountered when calculating inverse dynamics of a elastic joint.

Probably better to specify the desired angle at the output port (F port) of the Torsional elastiticity & damping block. You can ...

Singularity error encountered when calculating inverse dynamics of a elastic joint.

Probably better to specify the desired angle at the output port (F port) of the Torsional elastiticity & damping block. You can ...

1 year ago | 0

Answered

Heatmap - how to get the plotted colors

camp = colormap https://www.mathworks.com/help/matlab/ref/colormap.html

Heatmap - how to get the plotted colors

camp = colormap https://www.mathworks.com/help/matlab/ref/colormap.html

2 years ago | 0

Answered

Which Block for Frequency as input signal for a prismatic joint?

You can apply force or impose motion for a Prismatic Joint. Use SImulink blocks to generate the signal you want and feed the sig...

Which Block for Frequency as input signal for a prismatic joint?

You can apply force or impose motion for a Prismatic Joint. Use SImulink blocks to generate the signal you want and feed the sig...

2 years ago | 0

Answered

Extracting natural frequencies and mode shapes from a Simscape Multibody model

You probably can linerarize your Simscape model and calculate the eigenvalues and eigenvectors.

Extracting natural frequencies and mode shapes from a Simscape Multibody model

You probably can linerarize your Simscape model and calculate the eigenvalues and eigenvectors.

2 years ago | 0

Answered

How to design controller for models in Simscape multibody?

You can use MATLAB 'linearize' command to lineraize Simscape plant models, [sys, ~, info] = linearize(plantModel, opPoint). The ...

How to design controller for models in Simscape multibody?

You can use MATLAB 'linearize' command to lineraize Simscape plant models, [sys, ~, info] = linearize(plantModel, opPoint). The ...

2 years ago | 0

Answered

What can I do to import a complete assembly into Multibody if I'm using Fusion 360?

Can you export the model to a CAD software that supports Simscape Multibody Link?

What can I do to import a complete assembly into Multibody if I'm using Fusion 360?

Can you export the model to a CAD software that supports Simscape Multibody Link?

2 years ago | 0

Answered

I want to use variable as an input in a single run.

Try to feed the signal to the 'To Workspace block' directly to other blocks.

I want to use variable as an input in a single run.

Try to feed the signal to the 'To Workspace block' directly to other blocks.

2 years ago | 0

Answered

Finding pitch, yaw for a delta three wheeler using simscape or vehicle dynamics blockset

The Vehicle Body block only describes vehicle longitudial dynamics. You need a block that handle lateral dynamics to get roll an...

Finding pitch, yaw for a delta three wheeler using simscape or vehicle dynamics blockset

The Vehicle Body block only describes vehicle longitudial dynamics. You need a block that handle lateral dynamics to get roll an...

2 years ago | 0

Answered

how to change simulink matlab (bellow) to code matlab? How do I enter the initial value?

https://www.mathworks.com/help/matlab/ref/ode45.html

how to change simulink matlab (bellow) to code matlab? How do I enter the initial value?

https://www.mathworks.com/help/matlab/ref/ode45.html

2 years ago | 0

Answered

elevator motor modelling code

You need to model the system with a differential equation: . Solve the equation with MATLAB or Simulink for given N(t).

elevator motor modelling code

You need to model the system with a differential equation: . Solve the equation with MATLAB or Simulink for given N(t).

2 years ago | 0

Answered

Contact Forces/Torques for Robotics Applications

The Spatial Contact Force Block will automatically apply the forces to the elements connected to its two ports. You don't need t...

Contact Forces/Torques for Robotics Applications

The Spatial Contact Force Block will automatically apply the forces to the elements connected to its two ports. You don't need t...

2 years ago | 0

Answered

3D matrix with equation

does mean ? You can calculate the result using three loops on i, j, and l.

3D matrix with equation

does mean ? You can calculate the result using three loops on i, j, and l.

2 years ago | 0