Tool/software: WEBENCH® Design Tools
Webench option: Sensors / coil designer
Issue: the coil length per layer calculation does not vary for the different coil types; the result is always calculated for a circular coil. This applies not only for the LDC2114, but for all the other inductive sensors as well.
By looking at the script "SecondTabCtrl.js", we can see that the function seems correct:
function getCoilLength( dout , din, indexOfShape)
{
for(var i=0;i<$scope.drawShape.length;i++)
{
if($scope.drawShape[i].name == $scope.totalInductanceObject[indexOfShape].selfInductance)
{
return Math.PI*$scope.turns*(dout+ din)/2;
}
else if($scope.drawShape[i].name == $scope.totalInductanceObject[indexOfShape].selfInductance)
{
return 4*$scope.turns*(dout+ din)/2;
}
else if($scope.drawShape[i].name == $scope.totalInductanceObject[indexOfShape].selfInductance)
{
return 3.4641*$scope.turns*(dout+ din)/2;
}
else if($scope.drawShape[i].name == $scope.totalInductanceObject[indexOfShape].selfInductance)
{
return 3.3137*$scope.turns*(dout+ din)/2;
}
}
}
However, the parameter indexOfShape does not seem to be passed correctly. The function call is the following:
$scope.coilPerLength = getCoilLength($scope.outerDiameter,$scope.innerDiameter,indexOfShape); //Math.PI*$scope.turns*($scope.outerDiameter+ $scope.innerDiameter)/2;
I would appreciate if this could be fixed.
Let me know if I can provide you with more information.
Thank you!