How to build op amp
Show older comments
How to build op amp as shown in figure.
1 Comment
PIRC
on 5 Aug 2020
It’s available in Matlab toolbox. Otherwise develop op amp with help of transistors
Answers (1)
Mohsen Aleenejad
on 4 Aug 2020
0 votes
Hi Khald,
Do you have access to Simscape library? You can find the built in block in Simscape library.
Best
Mohsen
4 Comments
Mohsen Aleenejad
on 4 Aug 2020

Mohsen Aleenejad
on 4 Aug 2020
If you are trying to model that in the Simulink, then you should see if you can find a relacement block for that or not. For example, sometimes the op-amp is used as a comprator, in this case you can find it in the simulink library. Otherwise, you can build it by using a Sum and a Gain block.
SUM is in Simulink under "Math Operations" or just type sum in search box of the simulink library. Under list of signals type "+-" without quotes of course as opamp has both inverting and noninverting input. Result is difference of the inputs. Now add amplifier and set gain to something large such as 100000 for example (this is gain A). connect output of sum to input of amp. you get simple
Vout = A*(V1 - V2)
where
A = gain
V1, V2 are inputs to SUM block
khald Ali
on 4 Aug 2020
Mohsen Aleenejad
on 4 Aug 2020
If you are simulating your model is Specialized Power System, then follow the circuit given in this picture:

Communities
More Answers in the Power Electronics Control
Categories
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!