Borrar filtros
Borrar filtros

How to link a control knob to a simscape potentiometer?

10 visualizaciones (últimos 30 días)
Will Banks
Will Banks el 4 de Mzo. de 2023
Respondida: Joel Van Sickel el 10 de Mzo. de 2023
I am wanting to create a pontentiometer that controls the pulse width of a square signal. One side is connected to V+, the other V-, not ground.
Simscape requires a knob interface to control the resistance, but I cannot find any other resources online to fix this issue. Everything I tried online has not come up with anything.
Here is what I know: I know that we must convert the simscape signal to simulink. Then, we must double click the knob and click on the converted signal. But when I do this part, it says that there is no parameters or values to edit.
To summarize: can someone walk me through how to control the resistance on the potentiometer? Thank you so much. I already searched the forums but couldn't find anything. Thank you so much for your time and patience.
  1 comentario
Will Banks
Will Banks el 5 de Mzo. de 2023
Update: For the time being, I have a sine wave modulating the taper. You can see how the duty cycle changes over time.

Iniciar sesión para comentar.

Respuestas (1)

Joel Van Sickel
Joel Van Sickel el 10 de Mzo. de 2023
You should be able to tie the knob to a constant value in simulink that then passed into a simulink to ps converter, and then pass that to the potentiometer.




Community Treasure Hunt

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

Start Hunting!

Translated by