Circuit design with a switch to charge the capacitor then upon reaching the desired charge second switch triggers to supply energy to resistor.

6 visualizaciones (últimos 30 días)
making a circuit with AC voltage supply, where a switch 1 completes the circuit and charges the capapcitor. Then upon the full caprging of capacitor switch 1 open and switch 2 closed to complete the second part of cuicuit where a resistor is attached and current and voltage is measured accros it.
Attaching my progress in simulink as a pic and file both. Dont know how to use the switches.

Respuestas (1)

Joel Van Sickel
Joel Van Sickel el 5 de Mayo de 2022
Hello Sarthak,
the best thing to do is probably take the free trianing here for Simscape and Circuits:
but specifically, you need to pass signals to the devices that are larger than the specified threshold voltage. The easiest way to do this is to send signals in Simulink through an s to ps converter block. If you set your turn on voltage to 0.5, then a 1 and a 0 will turn them on and off.
See this example for how switches can be controlled:
Regards,
Joel

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by