How to modelling and measure an algorithmic potentiometer in Matlab

2 views (last 30 days)
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: 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.


More Answers in the  Power Electronics Control


Find more on Electrical Sensors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by