How to modelling and measure an algorithmic potentiometer in Matlab

1 view (last 30 days)
Derek Quintana
Derek Quintana on 10 Feb 2022
Answered: Joel Van Sickel on 14 Feb 2022
I need to compare the output voltage of an algorithmic potentiometer with the ouput voltage of a liner potentiometer. Im having trouble finding compatible blocks in Simulink. I understand there are potentiometer blocks in the RF blockset and the regular simscape blockset but I find it troublesome to measure the outputs using the scope block. Is it possible for an example to be provided of how the simulation may be ran?

Answers (1)

Joel Van Sickel
Joel Van Sickel on 14 Feb 2022
Hello Derek,
the appropriate way to model potentiometer response is using Simscape. If you are having trouble with Simscape, I would recommend starting with this free training: https://www.mathworks.com/learn/tutorials/circuit-simulation-onramp.html which has a section on op-amps. If you don't like using the scopes, I recommend using the to workspace block so you can view the data in Matlab.
Regards,
Joel

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by