Simulink Electrical Op Amps

조회 수: 14 (최근 30일)
Hong kit Chong
Hong kit Chong 2020년 8월 16일
편집: hosein Javan 2020년 8월 17일
Hi all,
I am just wondering how do you connect a Triangle wave (or input a triangle wave) to an op-amp circuit ? The triangle wave models (sawtooth, triangle) are build in the Specialised Power System toolbox, which is in the form of a Simulink signal. I tried to use a Simulink-PS converter and connect the PS side to a Controlled Voltage Source, and had no luck. Anyone has any guide ?
Thanks

답변 (1개)

hosein Javan
hosein Javan 2020년 8월 16일
your method is correct. this image shows a model that has been tested. what is the problem exactly? any error?
  댓글 수: 2
Hong kit Chong
Hong kit Chong 2020년 8월 17일
I had errors before, maybe i've included the powergui and changed something in the model settings. It worked yesterday straight after i posted this question. Thanks!
Also another question : how do you do a frequency sweep ? I saw the chirp wave but not exacly sure how to examine the output with a scope, (e.g. low pass filter bode plot)
hosein Javan
hosein Javan 2020년 8월 17일
편집: hosein Javan 2020년 8월 17일
you're welcome. in order to create a variable-frequency signal, you can use 1d look-up table. define your function in one period vs angle from 0 to 2*pi. now your look-up recieves angle. you can provide an integrator to its input that integrates angular frequency and provides the angle. this way you can have a variable-frequency signal with any frequency arbitrary at its input.
you can also modify the existing saw-wave generator in simulink library as the above procedure. but before that, you must disable its link, or you can Ctrl+U on it andcopy its content to another subsystem and attempt to modify it.

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

카테고리

Help CenterFile Exchange에서 Switches and Breakers에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by