Drawing circuits in Simulink

17 views (last 30 days)
Filipe
Filipe on 23 Dec 2012
Hi everyone! Matlab isn't new for me but I never used Simulink and now I need it for a project about signal conditioning I'm working on.
The signal conditioning I need requires an input of 5V to produce an output of +-10V. There is also an input sign with a range of 5V [0->5V]. I already draw (in paper) the circuit that does this and now I'm trying to transpose it to simulink, but I'm having troubles with that. As I said before I'm new with Simulink so I really don't now if i'm doing something wrong or not...
You can check the links below to have a look at what I've done.
Circuit on paper (Sinal means Sign): http://tinypic.com/r/2rnv90n/6
Circuit in Simulink: http://tinypic.com/r/33x8zrn/6
Anyone can help me?
Cheers, Filipe Belga
  2 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 23 Dec 2012
What is your problem?
Filipe
Filipe on 24 Dec 2012
Well, I try to run the simulation but an error occurs. It says: "Block error", source: ground2, "Simscape components in Simulacao_montagemLab4 are not connected to a Solver Block." What should I do?
And also... what are those red lines connecting some of the elements of my circuit? They shouldn't be black like the others?

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 24 Dec 2012
Edited: Azzi Abdelmalek on 24 Dec 2012
You are using elements from different libraries, that can't be connected. The red line means that your blocks are not connected.
Your controlled voltage source is from SimPowerSystem toolbox, it can't be conected to resistor block from fondation librairie use instead a series RLC branch bloc from SimPowerSystem/element then set branch type to R if you want a resistor or L if you want an inductance and so on

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!