![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/346755/image.png)
Simulink Electrical Op Amps
7 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/346755/image.png)
2 个评论
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 Center 和 File Exchange 中查找有关 Switches and Breakers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!