Announcement

Collapse
No announcement yet.

calculation for compensat lens

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    calculation for compensat lens

    i am looking for the full process of calculation (formulas) for compensation of prescription taking in consideration

    1- vertex distance
    2- pantoscopic tilt
    3- wrap tilt -

    for example

    r- sph + 1.50 - 0.75 x 165 add - 2.00
    L= sph + 1.00 - 1.00 x 90 add 2.00

    distance reference - 15 fitted distance 12
    pantoscopic tilt - 8
    wrap 6

    thanks
    avi

    #2

    Comment


      #3
      Distilled down to provide simple calculations and still be understandable.

      Our prescription is composed of the effective parameters:
      [latex]
      Sph_{e} \\
      Cyl_{e} \\
      axis_{e}
      [/latex]

      Step 1 - compute the effective tilt angle of the lens

      [latex]


      \phi = tan^{-1}(\frac{\sqrt[2]{sin^2(face) + tan^2(panto)}}{cos(face)})


      [/latex]

      Step 2 - Compute the effective change factors for the Sagittal, Tangential, and Torsional components. (we can save ourselves a bit of work by computing the Sagittal meridians change factor first and using it in our other components and the equations further simplify, I have also used the geometric mean for the torsional change factor instead of the arithmetic mean)

      [latex]

      S_{c} = 1 + \frac{sin^2(\phi)}{2*n} \\
      T_{c} = \frac{S_{c}}{cos^2(\phi)} \\
      H_{c} = \frac{S_{c}}{cos(\phi)}

      [/latex]

      Step 3 - Rotate the local coordinate system of the Rx so that the sagittal and tangential meridians of our tilt and Rx align (conventional papers on the subject recommend that this rotation be compensated for the left eye by subtracting both the angles below from 90, however by substituting a negative faceform for the left eye instead of positive this accomplishes the same thing and is simpler to code and remember)

      [latex]


      A = tan^{-1}(\frac{tan(panto)}{sin(face)}) \\
      A" = tan^{-1}(\frac{sin(panto)}{tan(face)})


      [/latex]

      Step 4 - Rotate our prescription. (we are just rotating the original axis, the sph and cyl remain the same)

      [latex]

      axis_{A} = axis_{e} - A

      [/latex]

      Result of Step 4 is the Prescription we will work on in the remaining steps, this prescription is a rotated coordinate system so that the effects of both the sagittal and tangential meridians align with how our lenses are tilted.

      [latex]

      Sph_{e} \\
      Cyl_{e} \\
      axis_{A}

      [/latex]

      Step 5 - Convert from sphero-cylindrical to a power matrix

      [latex]

      P_{e} = \begin{bmatrix}
      P_{ex} & P_{et} \\
      P_{et} & P_{ey} \\
      \end{bmatrix} =
      \begin{bmatrix}
      Sph_{e} + Cyl_{e} * sin^2(axis_{A}) & -Cyl_{e} * cos(axis_{A}) * sin(axis_{A}) \\
      -Cyl_{e} * cos(axis_{A}) * sin(axis_{A}) & Sph_{e} + Cyl_{e} * cos^2(axis_{A}) \\
      \end{bmatrix}

      [/latex]

      Step 6 - now we compensate by our change factors

      [latex]

      P_{c} = \begin{bmatrix}
      P_{cx} & P_{ct} \\
      P_{ct} & P_{cy} \\
      \end{bmatrix} =
      \begin{bmatrix}
      \frac{P_{ex}}{T_{c}} & \frac{P_{et}}{H_{c}} \\
      \frac{P_{et}}{H_{c}} & \frac{P_{ey}}{S_{c}} \\
      \end{bmatrix}

      [/latex]

      Step 7 - Convert the compensated power matrix back into sphero-cylinder form

      [latex]

      t = P_{cx} + P_{cy} \\
      d = P_{cx}*P_{cy} - P_{ct}^2 \\
      \\
      Cyl" = \pm\sqrt[2]{(t^2 - 4d)} \\
      Sph" = \frac{t - Cyl"}{2} \\
      axis"_{A} = tan^{-1}(\frac{S - P_{cx}}{P_{ct}})

      [/latex]

      Step 8 - Don't forget we rotated the coordinate system to simplify the compensation, now we need to rotate it back

      [latex]

      axis" = axis"_{A} + A"

      [/latex]

      So the answer and result is: Sph" Cyl" axis"

      Not a simple or difficult equation to walk through or understand. Relatively easy to program. That's as simple as I can make the steps with a few shortcuts added in. There are two main research papers that deal with this topic one by Keating and another by Blendowski. The method provided above is a meld of the two with a shortcut of my own added in for good measure.
      Last edited by MakeOptics; 07-29-2015, 07:04 AM.
      http://www.opticians.cc

      Creator of the industries 1st HTML5 Browser based tracer software.
      Creator of the industries 1st Mac tracer software.
      Creator of the industries 1st Linux tracer software.

      Comment


        #4
        You can also download an iOS app at http://brent.mccardle.me/opticaltool/

        Another calculator is available at http://mccardle.me/brent/calculators/
        The web version is optimized for mobile.

        If you are looking for the calculations you will need to get the paper titled "Oblique Central Refraction in Spherocylindrical Corrections with Both Faceform and Pantoscopic Tilt" by Michael Keating

        This paper uses Matrix algebra along with some other advanced calculations, but it is a great read if you are interested.

        Comment


          #5
          Originally posted by lensgrinder View Post
          You can also download an iOS app at http://brent.mccardle.me/opticaltool/

          Another calculator is available at http://mccardle.me/brent/calculators/
          The web version is optimized for mobile.

          If you are looking for the calculations you will need to get the paper titled "Oblique Central Refraction in Spherocylindrical Corrections with Both Faceform and Pantoscopic Tilt" by Michael Keating

          This paper uses Matrix algebra along with some other advanced calculations, but it is a great read if you are interested.
          Years ago I derived a formul for tilt only considering the sph and cyl values it was until the papers mentioned in Brents post that I understood the torsional component and the rotation both before and afterwards. I do have an android version of the app available but to get it I would need to see an understanding of the formulas and paper before I sent it, I'm just picky like that. If you can give an example of the above equations worked out with a unique example (not from the texts) then I can send it to you to sideload.
          http://www.opticians.cc

          Creator of the industries 1st HTML5 Browser based tracer software.
          Creator of the industries 1st Mac tracer software.
          Creator of the industries 1st Linux tracer software.

          Comment


            #6
            Originally posted by MakeOptics View Post
            I do have an android version of the app available but to get it I would need to see an understanding of the formulas and paper before I sent it, I'm just picky like that. If you can give an example of the above equations worked out with a unique example (not from the texts) then I can send it to you to sideload.
            Thank you for the offer, but I use iOS so I would have no need for the app. I can assure you that I do have an understanding of the equations and the paper or I would not have been able to write the iOS app and the web app.

            Comment


              #7
              Originally posted by lensgrinder View Post
              Thank you for the offer, but I use iOS so I would have no need for the app. I can assure you that I do have an understanding of the equations and the paper or I would not have been able to write the iOS app and the web app.
              Brent,

              Sorry I didn't mean to write it to you, but to the original poster who should really read the paper and understand it before using tools like your calculator. I know you teach optics and do a phenomenal job of it, I have the utmost respect for your knowledge and position. Again I greatly apologize for the way the message was received.

              To the original poster if you have an android device here is a complementary app, I would still recommend reading and understanding the paper that Brent provided.

              Created a while back and refined for a year now. I just read and responded to a post that a great friend helped me in learning. As a tribute I am releasing the app in his honor. (https://play.google.com/store/apps/details?id=com.makeoptics.weboptics)
              http://www.opticians.cc

              Creator of the industries 1st HTML5 Browser based tracer software.
              Creator of the industries 1st Mac tracer software.
              Creator of the industries 1st Linux tracer software.

              Comment


                #8
                Originally posted by lensgrinder View Post
                Thank you for the offer, but I use iOS so I would have no need for the app. I can assure you that I do have an understanding of the equations and the paper or I would not have been able to write the iOS app and the web app.
                Rereading my post I see how I could have written it with more clarity, sometimes I end up taking too long to post and write in short sessions. Often needing to re-login, but then I forget that the first part of the post I intended to post that may have been written minutes or even hours before never was posted.
                http://www.opticians.cc

                Creator of the industries 1st HTML5 Browser based tracer software.
                Creator of the industries 1st Mac tracer software.
                Creator of the industries 1st Linux tracer software.

                Comment


                  #9
                  Thanks for the replay

                  2 more question

                  1. are we calculate the vertex distance before this calculation.
                  2. what will be the calculation for the add

                  thanks

                  Avi

                  Comment


                    #10
                    Originally posted by avi View Post
                    Thanks for the replay

                    2 more question

                    1. are we calculate the vertex distance before this calculation.
                    2. what will be the calculation for the add

                    thanks

                    Avi
                    Yes, calc vertex first. The add needs a seperate compensation with a different panto tilt value taking into account the seg drop. A rule of thumb is 2 degrees per 1mm, however we could get a more accurate measure by calculating the eye's center of rotation. If we use the average human eye's diameter of 24mm, then the radius is 12mm.

                    [latex]

                    sin(comppanto) = \frac{mfh}{vertex + 12mm}

                    [/latex]

                    The frame panto needs to be compensated a positive value would have this compensation subtracted from it to arrive an the effective panto tilt at the reading. Then the total reading power should be compensated based on this new effective panto measure. The compensated Rx arrived at for the reading should then have the distance compensated power subtracted from it to arrive at the additional power needed. The formulas for adding and subtracting powers is well documented in other threads including a more recent one, using astigmatic decomposition.

                    Hello, I tried to make some spreadsheet where I will solve oblique cross-cylinders. I am comparing results with Crossed Cylinders Calculation Form (http://www.opticampus.com/tools/cylinders.php) and only where I failed is in orientation of resulting axis. I really tried to fix this but I can not see the right rules for that, so


                    If using a traditional lens design then we need just the add power so a simple subtraction of the mean refractive error will suffice.

                    Additional parameters can be taken into account to provide more accuracy like the frame bevel tilt and decentration to arrive at the lens tilt which is a more accurate representation of the tilt then the frames tilt measures. Prism compensation is also necessary to offset the slight amount of prism produced by a skewed ray. Once again the paper that Brent recommended is a great place to start.
                    http://www.opticians.cc

                    Creator of the industries 1st HTML5 Browser based tracer software.
                    Creator of the industries 1st Mac tracer software.
                    Creator of the industries 1st Linux tracer software.

                    Comment


                      #11
                      Originally posted by MakeOptics View Post
                      Brent,

                      Sorry I didn't mean to write it to you, but to the original poster who should really read the paper and understand it before using tools like your calculator. I know you teach optics and do a phenomenal job of it, I have the utmost respect for your knowledge and position. Again I greatly apologize for the way the message was received.

                      To the original poster if you have an android device here is a complementary app, I would still recommend reading and understanding the paper that Brent provided.

                      http://www.optiboard.com/forums/show...-(Android-App)
                      I did not think you meant anything. No worries!

                      Nice app!

                      Comment


                        #12
                        thanks

                        Comment


                          #13
                          Originally posted by lensgrinder View Post
                          I did not think you meant anything. No worries!

                          Nice app!
                          Thanks, your opinion means a lot to me. I don't want you to think I take your knowledge or posts for granted, I regularly read your posts when I see them because of the quality of content you provide. I also recommend your app to others I work with when I see they have an iPhone.
                          http://www.opticians.cc

                          Creator of the industries 1st HTML5 Browser based tracer software.
                          Creator of the industries 1st Mac tracer software.
                          Creator of the industries 1st Linux tracer software.

                          Comment


                            #14
                            thanks
                            if i understand you corectly the new angel for the add will be the coopnsat angle or if will be the diviation betwwe then

                            for example mph 12
                            vertex fiting 12 and 12 mm eys that give 30 degree - this is the new angel i'm using for the add power compnsation?

                            can you give me also samples?

                            thanks

                            Avi

                            Comment


                              #15
                              Originally posted by avi View Post
                              thanks
                              if i understand you corectly the new angel for the add will be the coopnsat angle or if will be the diviation betwwe then

                              for example mph 12
                              vertex fiting 12 and 12 mm eys that give 30 degree - this is the new angel i'm using for the add power compnsation?

                              can you give me also samples?

                              thanks

                              Avi
                              MFH = Minimum fitting height

                              in practice using the sin is going to be difficult since we would need to measure the vertex on gaze through the reading, and assuming the vertex remains the same through ocular rotation is a bad assumption. Often I substitute with the tan, discussions with the late Darryl Meister confirmed that sin would be more accurate if the vertex could be measured in gaze.

                              As an example if you were using a lens that fit at 18mm and the vertex for the patient is 12mm in the frame, then

                              tan(comppanto) = 18mm / (12mm + 12mm) = 18 / 24 = 0.75
                              comppanto = tan^-1(0.75) = 36.9 degrees

                              Assume that the panto is 15 degrees for the frame:

                              effective panto = 15 - 36.9 = -21.9 degrees

                              That would be the new panto to use in the above referenced formula, along with the total power at reading. Of course you could still incorporate prism thinning and bevel tilt to get at an even more accurate lens tilt, but this is only a third order relationship anyway so it's more accurate but still not accurate.
                              http://www.opticians.cc

                              Creator of the industries 1st HTML5 Browser based tracer software.
                              Creator of the industries 1st Mac tracer software.
                              Creator of the industries 1st Linux tracer software.

                              Comment

                              Working...
                              X