How to link a control knob to a simscape potentiometer?

조회 수: 17 (최근 30일)
Will Banks
Will Banks 2023년 3월 4일
답변: Joel Van Sickel 2023년 3월 10일
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
Will Banks
Will Banks 2023년 3월 5일
Update: For the time being, I have a sine wave modulating the taper. You can see how the duty cycle changes over time.

댓글을 달려면 로그인하십시오.

답변 (1개)

Joel Van Sickel
Joel Van Sickel 2023년 3월 10일
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.

카테고리

Help CenterFile Exchange에서 Converters (High Power)에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by