How to create a mechanical potentiometer?

8 次查看(过去 30 天)
I am trying to create a model for a potentiometer that is mechanically adjusted i.e, the slider position for the pot is mechanically changed to give the varying voltage output. But I am not able to find such a block in Simulink. The standard potentiometer model only takes an electrical input. How do I do this?

回答(1 个)

Abhishek Kumar Singh
Hi Ani,
I believe you want to use a potentiometer that uses a mechanical control.
You can use the 'Potentiometer' block from Simscape Electrical Library as mentioned in the documentation page here:
It is a rotary or linear-travel potentiometer which is controlled by physical signal. You can provide mechanical input to the physical signal input 'x'.
For a working example, you can refer to an example provided in the following documentation page:
I hope it helps!
  1 个评论
Ani R
Ani R 2023-11-27
But I want to connect a constant block linked to a knob block. I was not able to do it with this potentiometer block.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Switches and Breakers 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by