modelControlCircuit
Control circuit
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This is an analog control circuit with operational amplifiers.
Compare the analog solution with the block circuit, e.g. firstOrder2B.y and firstOrder2A.v2.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | T1 | 0.01 | Small time constant |
| SI.Time | T2 | 0.01 | Large time constant |
| SI.Time | Ti | T2 | Integral time constant |
| Real | kp | T2/(2*T1) | Proportional gain |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Basic.Ground | ground | ||
| Modelica.Electrical.Analog.Sources.StepVoltage | stepA | ||
| OpAmpCircuits.Feedback | feedbackA | ||
| OpAmpCircuits.PI | PIA | ||
| OpAmpCircuits.FirstOrder | firstOrder1A | ||
| OpAmpCircuits.Add | addA | ||
| Modelica.Electrical.Analog.Sources.StepVoltage | step1A | ||
| OpAmpCircuits.FirstOrder | firstOrder2A | ||
| Modelica.Blocks.Sources.Step | stepB | ||
| Modelica.Blocks.Math.Feedback | feedbackB | ||
| Modelica.Blocks.Continuous.PI | PIB | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder1B | ||
| Modelica.Blocks.Math.Add | addB | ||
| Modelica.Blocks.Sources.Step | step1B | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder2B |