Electric circuit based on dependent source with simscape

Create an electric circuit with a dependent source in Simscape (MATLAB/Simulink)
46 download
Aggiornato 2 mag 2025

Visualizza la licenza

Build a circuit where the output voltage source is controlled by the voltage across a resistor.Steps:
  1. Open Simulink, create a new model, and add a Simscape > Simscape > Solver Configuration block and an Electrical Reference.
  2. Add a Voltage Sensor and a Controlled Voltage Source:
  • Found under: Simscape > Foundation Library > Electrical > Electrical Sensors and Electrical Sources
  1. Connect a basic resistor and voltage source:
  • From: Electrical > Electrical Elements (Resistor)
  • From: Electrical Sources (Ideal Voltage Source)
  1. Use a PS Gain block to scale the measured voltage (e.g., gain = 2).
  2. Connect the voltage measurement to the input of the Controlled Voltage Source via the PS Gain.
  3. Use Simulink-PS Converter and PS-Simulink Converter blocks if needed.
  4. Close the loop and run the simulation.

Cita come

Abdelrahman Farghly (2026). Electric circuit based on dependent source with simscape (https://it.mathworks.com/matlabcentral/fileexchange/180967-electric-circuit-based-on-dependent-source-with-simscape), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2022b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag
Versione Pubblicato Note della release
1.0.0