Electric circuit based on dependent source with Simulink
Versione 1.0.0 (36,5 KB) da
Abdelrahman Farghly
Create an electric circuit with a dependent source using MATLAB Simulink
Step-by-Step Instructions1. Add Voltage Source (Control Signal)
- Use an AC Voltage Source or Step Voltage Source.
- Connect to a Resistor for loading (optional).
- Tap the voltage using a Voltage Measurement block.
2. Add Controlled Voltage Source
- Place the Controlled Voltage Source block.
- Its input port (Simulink signal) takes the measured voltage (or a scaled version).
- You can use a Gain block from Simulink if you want Vout=k⋅VcontrolV_{\text{out}} = k \cdot V_{\text{control}}Vout=k⋅Vcontrol.
3. Connect the Output Circuit
- Add a Resistive Load at the output of the Controlled Voltage Source.
- Connect everything to Ground.
4. Monitoring
- Use another Voltage Measurement block on the output.
- Feed this to a Scope.
5. Simulation Settings
- Use the Powergui block (from SimPowerSystems > Extras).
- Choose “Continuous” or “Discrete” solver in Powergui settings.
Cita come
Abdelrahman Farghly (2026). Electric circuit based on dependent source with Simulink (https://it.mathworks.com/matlabcentral/fileexchange/180968-electric-circuit-based-on-dependent-source-with-simulink), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2022b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |