Question about decenter tolerance of a lens inside a lens mount
Hello,
I have the following scenario:
A round lens has a given diameter tolerance D1 +/- delta_D1, distribution 1. The lens is glued inside a mount. The inner diameter of the lens mount has also a given tolerance D2 +/- delta_D2, distribution 2. This clearance fit implies a decenter tolerance of the optical axis of the lens. The position of the lens inside the (larger) mount should be uniform distributed.
In Matlab I would simulate this the following way:
1. Calculate random number for D1 +/- delta_D1, distribution 1
2. Calculate random number for D2 +/- delta_D2, distribution 2
3. Calculate difference between both random numbers and devide result by 2 =: X
4. Calculate random number for +/- X, uniform distribution. This is the random decenter of the optical axis of the lens
How can I simulate this correctly in Zemax? Can I simulate this with standard tolerance operands?
Or do I need to work with tolerance script?
Does anybody has an idea?
Best regards
Dirk
I have the following scenario:
A round lens has a given diameter tolerance D1 +/- delta_D1, distribution 1. The lens is glued inside a mount. The inner diameter of the lens mount has also a given tolerance D2 +/- delta_D2, distribution 2. This clearance fit implies a decenter tolerance of the optical axis of the lens. The position of the lens inside the (larger) mount should be uniform distributed.
In Matlab I would simulate this the following way:
1. Calculate random number for D1 +/- delta_D1, distribution 1
2. Calculate random number for D2 +/- delta_D2, distribution 2
3. Calculate difference between both random numbers and devide result by 2 =: X
4. Calculate random number for +/- X, uniform distribution. This is the random decenter of the optical axis of the lens
How can I simulate this correctly in Zemax? Can I simulate this with standard tolerance operands?
Or do I need to work with tolerance script?
Does anybody has an idea?
Best regards
Dirk
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.