Ideal Force Sensor
R2026bForce sensor in mechanical translational systems
Libraries:
Simscape /
Foundation Library /
Mechanical /
Mechanical Sensors
Description
The Ideal Force Sensor block represents a device that converts a variable passing through the sensor into a control signal proportional to the force. The sensor is ideal since it does not account for inertia, friction, delays, energy consumption, and so on.
Connections R and C are mechanical translational conserving ports. Connect this sensor in series with the block where you want to measure the force because force is a Through variable (for the mechanical translational domain). The sensor constrains ports R and C to allow no motion between them, therefore connecting the sensor in parallel may affect the simulation results because it is analogous to adding a bypass connection line between the connection points. A series connection within an existing line does not affect the simulation results and provides an accurate measurement.
Connection F is a physical signal port that outputs the measurement result. The block positive direction is from port R to port C. This means that positive force applied to port R (the sensor positive probe) generates a positive output signal.
Ports
Output
Conserving
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/Mechanical/Mechanical Sensors/Ideal Force Sensor"
Example: add_block("fl_lib/Mechanical/Mechanical Sensors/Ideal Force Sensor","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
Version History
Introduced in R2007a
