メインコンテンツ

External Translational Velocity Source (PB)

R2026b

Ideal source of mechanical energy that generates velocity proportional to the input signal

Since R2024b

  • External Translational Velocity Source (PB) block

Libraries:
Simscape / Foundation Library / Translational / Sources

Description

The External Translational Velocity Source (PB) block represents an ideal external velocity source that generates a specified velocity regardless of the load at the connected port.

Port R is a position-based translational conserving port. Specify the velocity at physical signal port S. A positive signal at port S applies a positive velocity to the network at port R.

The block logs the variable f, which represents the force applied at port R to generate the specified velocity. A positive force corresponds to acceleration in the positive direction. For more information, see Data Logging.

Ports

Input

expand all

Physical signal input port for the control signal that drives the source. A positive signal at this port applies a positive velocity to the network at port R.

Programmatic Use

Port: S

Conserving

expand all

Position-based translational conserving port that connects the block to the circuit and applies the external velocity to the physical network.

Programmatic Use

Port: R

Programmatic Use: Add Block

To add the block programmatically, use the add_block function with one of these library block paths as the source.

"fl_lib/Translational/Sources/External Translational Velocity Source (PB)"

Example: add_block("fl_lib/Translational/Sources/External Translational Velocity Source (PB)","myModel/myBlock",MakeNameUnique="on")

For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2024b