variable capacitance configuration with the look up table

4 views (last 30 days)
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

Answers (1)

Pramil
Pramil on 28 Mar 2024 at 13:41
Edited: Pramil on 28 Mar 2024 at 13:45
Assuming you want to control your “Variable Capacitor” block with the help of the “Lookup Table” block, you can do the following:
  1. 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).
  2. 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.
  3. 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
  4. Add your control signal(s) and connect them to the “Lookup Table” block.
  5. At last, add the “Simulink-PS Converter” to connect the output of the “Lookup Table” block to the input of the “Variable Capacitor” block.
This will allow you to control the “Variable Capacitor” block using the “Lookup Table” block.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!