Simulating OpAmp in Simulink: Error Fix Needed

  • Thread starter Thread starter jean28
  • Start date Start date
  • Tags Tags
    Opamp
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
jean28
Messages
83
Reaction score
0

Homework Statement



I need to simulate an OpAmp in Simulink but I can't seem to find an OpAmp block that works in SimPowerSystems, so I kept searching and found out sort of an equivalent. However, the simulation still gives me an error. I would highly appreciate if anyone could tell me what I could do to fix it.



The Attempt at a Solution



Here is what I have so far:

http://i1226.photobucket.com/albums/ee410/jean28x/Projecto2.jpg
 
Physics news on Phys.org
The OpAmp equivalent is the part where I put the two voltage measurements followed by the adder block, and then the gain and saturation blocks.