Effacer les filtres
Effacer les filtres

How to create a mechanical potentiometer?

4 vues (au cours des 30 derniers jours)
Ani R
Ani R le 12 Nov 2023
Commenté : Ani R le 27 Nov 2023
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?

Réponses (1)

Abhishek Kumar Singh
Abhishek Kumar Singh le 26 Nov 2023
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 commentaire
Ani R
Ani R le 27 Nov 2023
But I want to connect a constant block linked to a knob block. I was not able to do it with this potentiometer block.

Connectez-vous pour commenter.

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by