Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Incorrect capacitance matrix

Please login with a confirmed email address before reporting spam

I am trying to model an interdigital capacitor surrounded by a ground plane.

The model is very simple : a block of silicon, with rectangles on the surface. Two of the rectangles are Terminal objects, and the others are Ground objects.

This is the capacitance matrix I get as a result :

es.C11= 4.6233e-13 [F]
es.C12= -4.6233e-13 [F]
es.C21= -4.6168e-13 [F]
es.C22= 4.6168e-13 [F]

As you see, the matrix is not symmetrical : the mutual capacitance between terminals 1 and 2 is different from the mutual capacitance between 2 and 1. Furthermore, the terms C11 and C22 should be equal to the sum of the capacitance to ground and the capacitance to the other terminal, but this is not the case.

How to explain these results? I am inclined to believe that for some reason, the capacitance matrix given has the elements in a different order than the usual Maxwell matrix definition.

10 Replies Last Post 9 juin 2017, 02:16 UTC−4
Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 janv. 2017, 02:55 UTC−5
Dear Louis,

please have a look at this blog post
www.comsol.ch/blogs/analyzing-capacitive-touchscreens-in-consumer-electronics/

to see the convention COMSOL is following in capacitance matrix calculation. Note also that in the Derived Values > Global Matrix Evaluation, you can define alternative output transformations, e.g. into the "from Mutaul to Maxwell" format.

Best regards,
Sven Friedel
Dear Louis, please have a look at this blog post https://www.comsol.ch/blogs/analyzing-capacitive-touchscreens-in-consumer-electronics/ to see the convention COMSOL is following in capacitance matrix calculation. Note also that in the Derived Values > Global Matrix Evaluation, you can define alternative output transformations, e.g. into the "from Mutaul to Maxwell" format. Best regards, Sven Friedel

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 janv. 2017, 10:18 UTC−5
Hello Sven,
thank you for the link. I encountered another problem when trying to use a Global Matrix Evaluation : the "Expression" field is not clickable, and I cannot enter anything into it.

I can get each component of the matrix individually by using a Global Evaluation, but I cannot use the Global Matrix Evaluation feature to see the whole matrix and use the "Mutual to Maxwell" transform.

How can I set up a Global Matrix Evaluation for capacitance?

Thank you,

-- Louis Haeberle
Hello Sven, thank you for the link. I encountered another problem when trying to use a Global Matrix Evaluation : the "Expression" field is not clickable, and I cannot enter anything into it. I can get each component of the matrix individually by using a Global Evaluation, but I cannot use the Global Matrix Evaluation feature to see the whole matrix and use the "Mutual to Maxwell" transform. How can I set up a Global Matrix Evaluation for capacitance? Thank you, -- Louis Haeberle

Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 janv. 2017, 10:39 UTC−5

Hello Sven,
thank you for the link. I encountered another problem when trying to use a Global Matrix Evaluation : the "Expression" field is not clickable, and I cannot enter anything into it.


Click on "Replace expression" in the Expression section header's toolbar and select the matrix variable in the tree.


[QUOTE] Hello Sven, thank you for the link. I encountered another problem when trying to use a Global Matrix Evaluation : the "Expression" field is not clickable, and I cannot enter anything into it. [/QUOTE] Click on "Replace expression" in the Expression section header's toolbar and select the matrix variable in the tree.

Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 janv. 2017, 10:45 UTC−5
Hi Louis,

make sure to set "Activate terminal sweep" in the Electrostatics interface. If in doubt, you can comparte your model with our touchscreen model. There all necessary settings have been made.

Sven
Hi Louis, make sure to set "Activate terminal sweep" in the Electrostatics interface. If in doubt, you can comparte your model with our touchscreen model. There all necessary settings have been made. Sven

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 20 janv. 2017, 15:04 UTC−5
Hello Sven,
I have tried to replicate the settings in the touchscreen model, and am able to select es.C in the Global Evaluation "expression" field, but all the elements are NaN. Here are the steps I have taken :

1. Create a parameter named "terminalName" in Global Definitions
2. Activate Terminal Sweep in the Electrostatics node, with sweep parameter "terminalName"
3. Create a Parametric Sweep in the Study 1 node, for the parameter "terminalName" with value list {1,2}
4. Compute the study.
5. Create a Global Matrix Evaluation of the expression es.C

All the elements in the capacitance matrix are now NaN. I have looked at all the settings in the capacitive touchscreen model, and cannot find any relevant settings I failed to duplicate.

Regards,

--Louis Haeberle
Hello Sven, I have tried to replicate the settings in the touchscreen model, and am able to select es.C in the Global Evaluation "expression" field, but all the elements are NaN. Here are the steps I have taken : 1. Create a parameter named "terminalName" in Global Definitions 2. Activate Terminal Sweep in the Electrostatics node, with sweep parameter "terminalName" 3. Create a Parametric Sweep in the Study 1 node, for the parameter "terminalName" with value list {1,2} 4. Compute the study. 5. Create a Global Matrix Evaluation of the expression es.C All the elements in the capacitance matrix are now NaN. I have looked at all the settings in the capacitive touchscreen model, and cannot find any relevant settings I failed to duplicate. Regards, --Louis Haeberle

Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 23 janv. 2017, 03:31 UTC−5
Please let me know, if the model I sent you in p. comm. works out for you.

Best regards,
Sven
Please let me know, if the model I sent you in p. comm. works out for you. Best regards, Sven

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 23 janv. 2017, 11:06 UTC−5
Hello Sven,
thank you very much for taking the time to build this example model! It has solved my problem.
My mistake was omitting to exclude the terminal domains from the selection in the Electrostatics node.

When the domains are included, the study will compute, and the solution will be the same, but the capacitance matrix cannot be calculated.

Thank you and regards,

-- Louis Haeberle
Hello Sven, thank you very much for taking the time to build this example model! It has solved my problem. My mistake was omitting to exclude the terminal domains from the selection in the Electrostatics node. When the domains are included, the study will compute, and the solution will be the same, but the capacitance matrix cannot be calculated. Thank you and regards, -- Louis Haeberle

Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 23 janv. 2017, 11:08 UTC−5
You are welcome - enjoy modeling!

Sven
You are welcome - enjoy modeling! Sven

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 8 juin 2017, 19:48 UTC−4
Hi Sven,

I have encountered a situation where I have gotten non-diagonal positive elements (under Maxwell form) and asymmetric capacitance matrix, which is quite weird to me. Do you have some idea why does it happen?
Hi Sven, I have encountered a situation where I have gotten non-diagonal positive elements (under Maxwell form) and asymmetric capacitance matrix, which is quite weird to me. Do you have some idea why does it happen?

Sven Friedel COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 9 juin 2017, 02:16 UTC−4
Updated: 7 years ago 9 juin 2017, 02:17 UTC−4
Hi Hiroki,

this would be a quite weird behavior, indeed. I could only imagine that your system matrix is very ill-posed for some reason (arising from geometry or meshing) so that numerical errors could accumulate.
Have you contacted support about it?

Best regards,
Sven
Hi Hiroki, this would be a quite weird behavior, indeed. I could only imagine that your system matrix is very ill-posed for some reason (arising from geometry or meshing) so that numerical errors could accumulate. Have you contacted support about it? Best regards, Sven

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.