- Add a “n-D Lookup Table” block, its dimension would depend upon your control signals (Say you have one control signal like voltage then the dimension would be “1”, if you have “voltage” and “current” both then “2” and so on).
- Configure the “Lookup Table” block by adding the value of capacitance that corresponds to your control signal. You can import these values from an excel sheet as well, into the “Lookup Table” block.
- You can select the interpolation function in the “Lookup Table” block as well more on which you can find in the following link under the “Algorithm” section: https://www.mathworks.com/help/simulink/slref/ndlookuptable.html?searchHighlight=interpolation
- Add your control signal(s) and connect them to the “Lookup Table” block.
- At last, add the “Simulink-PS Converter” to connect the output of the “Lookup Table” block to the input of the “Variable Capacitor” block.
variable capacitance configuration with the look up table
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi everyone I am trying to build a variable capacitance circuit but I am struggling to accomodate the look up table in it so I can get the capacitance value at the maximum and minimum points. could you help please?
thank you
0 comentarios
Respuestas (1)
Pramil
el 28 de Mzo. de 2024
Editada: Pramil
el 28 de Mzo. de 2024
Assuming you want to control your “Variable Capacitor” block with the help of the “Lookup Table” block, you can do the following:
This will allow you to control the “Variable Capacitor” block using the “Lookup Table” block.
Hope this helps.
0 comentarios
Ver también
Categorías
Más información sobre Signal Routing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!