Effacer les filtres
Effacer les filtres

R-Capacitance Sensitivity

1 vue (au cours des 30 derniers jours)
Peter Balazovic
Peter Balazovic le 30 Mar 2022
I would like to simulate a simple R-C circuit where capacitance is changed and its change is very small such as cca. 0.5pF and its baseline is 50pF and circoiut resistance is 200Ohm. I use a voltage-controlled current source to enforce a constant alternating current 0.01 peak amplitide, with 100kHz freqquency.
I would like to see the voltage change due to capacitance change - unfortunately, I can't see it - how can I set the Simulink environment to see it change there?

Réponses (1)

Pratyush
Pratyush le 19 Jan 2024
Hi Peter,
To simulate the R-C circuit in Simulink and observe the voltage change due to a small change in capacitance, you will need to configure the Simulation Parameters. In "Model Configuration Parameters" :
  • set the "Stop Time" to a value that allows you to observe several periods of the sine wave, such as 0.001 seconds (1ms),
  • set the "Solver" to a suitable type, like "ode45 (Dormand-Prince)" for a more accurate result.
  • set the "Max step size" to a small value to capture the small changes, such as 1e-7 seconds.
To see the small change in voltage due to the 0.5 pF change in capacitance, you may need to zoom in on the Scope plot or adjust the Scope settings to increase the Y-axis resolution. Simulink's visualization tools might not be sensitive enough to clearly show such a small change in the voltage directly. If you cannot see the change, you can log the data to the MATLAB workspace and use MATLAB's plotting functions to get a more detailed view of the voltage changes.

Catégories

En savoir plus sur Electrical Systems dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by