Minimum deflection angle determination method and device, computer device and readable storage medium
By iteratively updating the minimum bias angle and the target rotation angle, the problem of low accuracy in optical glass refractive index testing is solved, achieving higher accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CDGM OPTICAL GLASS
- Filing Date
- 2026-03-16
- Publication Date
- 2026-05-29
AI Technical Summary
Existing methods for determining the minimum deviation angle are not very accurate in optical glass refractive index testing.
By obtaining the minimum deviation angle and target rotation angle of the test sample, the minimum deviation angle and target rotation angle are iteratively updated using the angle deviation value until the angle deviation value is 0, gradually approaching the true value.
It improves the accuracy of determining the minimum deviation angle and reduces testing errors.
Smart Images

Figure CN122109023A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical glass refractive index testing technology, and in particular to a method, apparatus, computer device, computer-readable storage medium, and computer program product for determining the minimum deviation angle. Background Technology
[0002] Currently, when testing the refractive index of optical glass using the minimum deviation angle method, the position of the minimum deviation angle is determined dynamically. This involves rotating the sample stage until it rotates the sample to approximately the position of the minimum deviation angle, ensuring that the refracted light of a specific wavelength is relatively close to, but not in contact with, the angle detector. Then, the sample stage is fine-tuned, changing the distance between the refracted light of that specific wavelength and the angle detector, while simultaneously observing the changes in the detected signal. This process of repeatedly adjusting the sample stage while observing the detected signal continues until the signal reaches its maximum or minimum value. At this point, the adjustment of the sample stage is stopped, and the position of the sample at this point represents the position of the minimum deviation angle of the sample at that specific wavelength.
[0003] However, current methods for determining the minimum deviation angle suffer from low accuracy. Summary of the Invention
[0004] Based on this, this application addresses the aforementioned technical problems by providing a method, apparatus, computer device, computer-readable storage medium, and computer program product for determining the minimum deviation angle, which can improve the accuracy of minimum deviation angle determination.
[0005] Firstly, this application provides a method for determining the minimum deflection angle, including:
[0006] Obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle;
[0007] The sample stage where the sample to be tested is located is rotated to the target rotation angle position, and the angle detector associated with the sample to be tested is rotated to the position of minimum deviation angle, and the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector is obtained.
[0008] If the angle deviation value is not 0, the minimum deviation angle and target rotation angle are updated based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The process then returns to the step of rotating the sample stage where the sample under test is located to the target rotation angle position and rotating the angle detector associated with the sample under test to the position of the minimum deviation angle. The step of obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector is repeated until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
[0009] In one embodiment, updating the minimum deviation angle and the target rotation angle based on the apex angle, the reference angle, the target rotation angle, the minimum deviation angle, and the angle deviation value includes:
[0010] Based on the reference angle and the target rotation angle, the incident angle corresponding to the current rotation cycle is obtained;
[0011] The minimum deviation angle and target rotation angle are updated based on the apex angle, reference angle, minimum deviation angle, incident angle, and angle deviation value.
[0012] In one embodiment, the minimum deflection angle and the target rotation angle are updated based on the apex angle, reference angle, minimum deflection angle, incident angle, and angle deviation value, including:
[0013] Based on the apex angle, minimum deviation angle, angle deviation value, and incident angle, the updated minimum deviation angle is obtained;
[0014] The updated target rotation angle is obtained based on the updated minimum deviation angle, apex angle, and reference angle.
[0015] In an exemplary embodiment, the updated minimum deflection angle is obtained based on the apex angle, the minimum deflection angle, the angular deviation value, and the incident angle, including:
[0016] The first angle is obtained by adding the apex angle, the minimum deviation angle, and the angle deviation value to the incident angle, and half of the apex angle is taken as the second angle.
[0017] The updated minimum deflection angle is obtained based on the sine of the first angle, the sine of the incident angle, the cosine of the apex angle, the sine of the second angle, and the apex angle.
[0018] In one embodiment, the updated target rotation angle is obtained based on the updated minimum bias angle, apex angle, and reference angle, including:
[0019] The updated minimum deviation angle and vertex angle are summed and averaged to obtain the corresponding angle average.
[0020] The updated target rotation angle is obtained by subtracting the mean angle from the sum of the interior angles of the triangle and the reference angle.
[0021] In one embodiment, when the current rotation round is the first rotation round, the minimum deviation angle and target rotation angle of the test sample in the current rotation round are obtained, including:
[0022] Obtain the estimated minimum deflection angle pre-set for the incident light;
[0023] The estimated minimum deviation angle will be used as the minimum deviation angle of the sample under test in the current rotation cycle.
[0024] Based on the estimated minimum deviation angle, apex angle, and reference angle, the target rotation angle of the test sample in the current rotation cycle is obtained.
[0025] Secondly, this application also provides a minimum deviation angle determination device, comprising:
[0026] The acquisition module is used to obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle;
[0027] The rotation module is used to rotate the sample stage where the sample to be tested is located to the target rotation angle position, and to rotate the angle detector associated with the sample to the position of minimum deviation angle, and to obtain the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector.
[0028] The update module is used to update the minimum deviation angle and target rotation angle based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value when the angle deviation value is not zero. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The module then returns to the steps of rotating the sample stage where the sample under test is located to the target rotation angle position and rotating the angle detector associated with the sample under test to the position of the minimum deviation angle, and obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector, until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is then used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
[0029] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0030] Obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle;
[0031] The sample stage where the sample to be tested is located is rotated to the target rotation angle position, and the angle detector associated with the sample to be tested is rotated to the position of minimum deviation angle, and the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector is obtained.
[0032] If the angle deviation value is not 0, the minimum deviation angle and target rotation angle are updated based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The process then returns to the step of rotating the sample stage where the sample under test is located to the target rotation angle position and rotating the angle detector associated with the sample under test to the position of the minimum deviation angle. The step of obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector is repeated until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
[0033] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0034] Obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle;
[0035] The sample stage where the sample to be tested is located is rotated to the target rotation angle position, and the angle detector associated with the sample to be tested is rotated to the position of minimum deviation angle, and the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector is obtained.
[0036] If the angle deviation value is not 0, the minimum deviation angle and target rotation angle are updated based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The process then returns to the step of rotating the sample stage where the sample under test is located to the target rotation angle position and rotating the angle detector associated with the sample under test to the position of the minimum deviation angle. The step of obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector is repeated until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
[0037] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0038] Obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle;
[0039] The sample stage where the sample to be tested is located is rotated to the target rotation angle position, and the angle detector associated with the sample to be tested is rotated to the position of minimum deviation angle, and the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector is obtained.
[0040] If the angle deviation value is not 0, the minimum deviation angle and target rotation angle are updated based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The process then returns to the step of rotating the sample stage where the sample under test is located to the target rotation angle position and rotating the angle detector associated with the sample under test to the position of the minimum deviation angle. The step of obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector is repeated until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
[0041] The aforementioned method, apparatus, computer device, computer-readable storage medium, and computer program product for determining the minimum deviation angle obtain the minimum deviation angle and target rotation angle corresponding to the current rotation cycle of the test sample. They then rotate the sample stage containing the test sample to the target rotation angle position and rotate the angle detector associated with the test sample to the position of the minimum deviation angle. The method also obtains the angular deviation value between the incident light, the refracted light from the test sample, and the rotated angle detector. If the angular deviation value is not zero, the minimum deviation angle and target rotation angle are updated based on the apex angle and reference angle of the test sample, the target rotation angle, the minimum deviation angle, and the angular deviation value. The process is repeated by rotating the angle rotator and sample stage until the angular deviation value is zero. The minimum deviation angle corresponding to the current rotation cycle is then taken as the minimum deviation angle corresponding to the test sample. By using quantifiable angular deviation values to iteratively update the minimum deviation angle and target rotation angle, the method gradually approximates the true value of the minimum deviation angle, thereby improving the accuracy of the determined minimum deviation angle. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is an application environment diagram of the minimum deviation angle determination method in one embodiment;
[0044] Figure 2 This is a flowchart illustrating the method for determining the minimum deviation angle in one embodiment;
[0045] Figure 3 This is a flowchart illustrating an angle update method in one embodiment;
[0046] Figure 4 This is a structural block diagram of the minimum deviation angle determination device in one embodiment;
[0047] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0049] The minimum deviation angle determination method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, various associated devices on the test sample stage communicate with server 102 via a network. A data storage system can store the data that server 102 needs to process. The data storage system can be integrated onto server 102 or placed on a cloud or other network server. Server 102 obtains the minimum deviation angle and target rotation angle of the test sample in the current rotation cycle, rotates the test sample stage to the target rotation angle position, and rotates the angle detector associated with the test sample to the minimum deviation angle position. It also obtains the angular deviation value between the incident light, the refracted light from the test sample, and the rotated angle detector. If the angular deviation value is not zero, it updates the minimum deviation angle and target rotation angle based on the apex angle and reference angle of the test sample, the target rotation angle, the minimum deviation angle, and the angular deviation value. The minimum deviation angle and the target rotation angle are used as the minimum deviation angle for the next rotation cycle. The process then returns to the previous steps: rotating the sample stage containing the sample to be tested to the target rotation angle, rotating the angle detector associated with the sample to the minimum deviation angle, and obtaining the angular deviation value between the incident light, the refracted light from the sample, and the rotated angle detector. This process continues until the angular deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is then used as the minimum deviation angle for the sample to be tested. The reference angle represents the angle at which the incident light is perpendicular to the light-transmitting surface of the sample. Server 102 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0050] In one exemplary embodiment, such as Figure 2 As shown, a method for determining the minimum deviation angle is provided, which is then applied to... Figure 1 Taking server 102 as an example, the explanation includes the following steps S201 to S204. Wherein:
[0051] Step S201: Obtain the minimum deviation angle and target rotation angle of the sample to be tested in the current rotation cycle.
[0052] The minimum deviation angle can be understood as the angle at which the direction of light propagation changes the least when the light passes through the sample under test. The target rotation angle can be understood as the angle at which the sample stage where the sample under test is located needs to be rotated. The sample under test may include a prism.
[0053] For example, when the current rotation is the first rotation, the server 102 uses the preset minimum deviation angle as the minimum deviation angle corresponding to the current rotation, and calculates the target rotation angle corresponding to the current rotation based on the minimum deviation angle corresponding to the current rotation, the apex angle of the test sample, and the reference angle; when the current rotation is not the first rotation, the server 102 obtains the updated minimum deviation angle and target rotation angle corresponding to the previous rotation, and uses the updated minimum deviation angle and target rotation angle corresponding to the previous rotation as the minimum deviation angle and target rotation angle corresponding to the current rotation.
[0054] Step S202: Rotate the sample stage where the sample to be tested is located to the target rotation angle position, and rotate the angle detector associated with the sample to be tested to the position of minimum deviation angle, and obtain the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector.
[0055] The angle deviation value can be understood as the angle between the refracted light and the angle detector.
[0056] Optionally, the server 102 rotates the sample stage where the sample to be tested is located to the target rotation angle position, and rotates the angle detector associated with the sample to be tested to the position of minimum deviation angle, and reads the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector.
[0057] Step S203: If the angle deviation value is not 0, update the minimum deviation angle and target rotation angle based on the apex angle and reference angle of the sample to be tested, the target rotation angle, the minimum deviation angle, and the angle deviation value. Use the updated minimum deviation angle and target rotation angle as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. Then return to execute the steps of rotating the sample stage where the sample to be tested is located to the target rotation angle position and rotating the angle detector associated with the sample to the minimum deviation angle position, and obtaining the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector, until the angle deviation value is 0. Use the minimum deviation angle corresponding to the current rotation cycle as the minimum deviation angle corresponding to the sample to be tested. The reference angle represents the angle of the incident light perpendicular to the light transmission surface of the sample to be tested.
[0058] For example, when the angle deviation value is not 0 (i.e., the minimum deviation angle corresponding to the current rotation cycle has a certain error with the true minimum deviation angle of the sample under test), the server 102 updates the minimum deviation angle and the target rotation angle according to the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The server then returns to execute the steps of rotating the sample stage where the sample under test is located to the target rotation angle position, rotating the angle detector associated with the sample under test to the minimum deviation angle position, and obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector, until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. Here, the reference angle represents the angle of the incident light perpendicular to the light transmission surface of the sample under test.
[0059] In the aforementioned method for determining the minimum deviation angle, the minimum deviation angle and target rotation angle of the test sample corresponding to the current rotation cycle are obtained. The sample stage containing the test sample is rotated to the position of the target rotation angle, and the angle detector associated with the test sample is rotated to the position of the minimum deviation angle. The angular deviation value between the incident light, the refracted light of the test sample, and the rotated angle detector is obtained. If the angular deviation value is not zero, the minimum deviation angle and target rotation angle are updated based on the apex angle and reference angle of the test sample, the target rotation angle, the minimum deviation angle, and the angular deviation value. The rotation of the angle rotator and the sample stage is then repeated until the angular deviation value is zero. The minimum deviation angle corresponding to the current rotation cycle is then taken as the minimum deviation angle corresponding to the test sample. The iterative update of the minimum deviation angle and target rotation angle is achieved through quantifiable angular deviation values, gradually approaching the true value of the minimum deviation angle, thereby improving the accuracy of the determined minimum deviation angle.
[0060] In one embodiment, such as Figure 3 As shown, an angle update method is provided, including steps S301 and S302, wherein:
[0061] Step S301: Based on the reference angle and the target rotation angle, obtain the incident angle corresponding to the current rotation cycle.
[0062] The incident angle can be understood as the angle at which the incident light enters the sample to be tested.
[0063] Optionally, server 102 uses the sum of the interior angles of the triangle minus the reference angle and the target rotation angle to obtain the incident angle corresponding to the current rotation cycle.
[0064] Step S302: Update the minimum deviation angle and target rotation angle based on the apex angle, reference angle, minimum deviation angle, incident angle, and angle deviation value.
[0065] For example, server 102 inputs the apex angle, minimum deviation angle, incident angle and angle deviation value into a pre-designed formula to obtain the updated minimum deviation angle, and uses the updated minimum deviation angle, apex angle and reference angle to obtain the updated target rotation angle.
[0066] According to the above implementation method, by updating the minimum deviation angle and the target rotation angle of the current rotation cycle, the updated minimum deviation angle gradually approaches the true minimum deviation angle of the test sample, thereby ensuring the reliability of the finally determined minimum deviation angle.
[0067] In one embodiment, the minimum deviation angle and the target rotation angle are updated based on the apex angle, the reference angle, the minimum deviation angle, the incident angle, and the angle deviation value. This includes: obtaining the updated minimum deviation angle based on the apex angle, the minimum deviation angle, the angle deviation value, and the incident angle; and obtaining the updated target rotation angle based on the updated minimum deviation angle, the apex angle, and the reference angle.
[0068] Optionally, server 102 inputs the apex angle, the lowest deviation angle, the angle deviation value, and the incident angle into a pre-designed minimum deviation angle calculation formula to obtain the updated minimum deviation angle, and inputs the updated minimum deviation angle, apex angle, and reference angle into a pre-designed target rotation angle calculation formula to obtain the updated target rotation angle.
[0069] Based on the aforementioned implementation method, data updates are achieved by directly inputting data into a pre-designed formula, thereby accelerating the data update speed.
[0070] In an exemplary embodiment, the updated minimum deviation angle is obtained based on the apex angle, the minimum deviation angle, the angle deviation value, and the incident angle, including: obtaining the corresponding first angle by adding the minimum deviation angle to the apex angle, adding the angle deviation value to the angle, and subtracting the incident angle; and taking half of the apex angle as the second angle; and obtaining the updated minimum deviation angle based on the sine value of the first angle, the sine value of the incident angle, the cosine value of the apex angle, the sine value of the second angle, and the apex angle.
[0071] For example, server 102 uses the apex angle plus the minimum deviation angle plus the angle deviation value and subtracts the incident angle to obtain the corresponding first angle, and takes half of the apex angle as the second angle. The sine value of the first angle, the sine value of the incident angle, the cosine value of the apex angle, the sine value of the second angle, and the apex angle are substituted into the pre-designed minimum deviation angle calculation formula to obtain the updated minimum deviation angle.
[0072] According to the above implementation method, trigonometric functions such as sine and cosine are used to map the angle information onto a deflection metric, which facilitates reflecting the influence of geometric / angular relationships in the subsequent minimum deflection angle formula. This improves the accuracy of the calculated minimum deflection angle.
[0073] In one embodiment, obtaining the updated target rotation angle based on the updated minimum bias angle, apex angle, and reference angle includes: summing and averaging the updated minimum bias angle and apex angle to obtain the corresponding angle mean; and subtracting the angle mean and reference angle from the sum of the interior angles of the triangle to obtain the updated target rotation angle.
[0074] Optionally, server 102 sums and averages the updated minimum deviation angle and vertex angle to obtain the corresponding angle mean. Then, by subtracting the angle mean from the sum of the triangle's interior angles and subtracting it from the reference angle, the updated target rotation angle is obtained. The information content of the target rotation angle is closely related to the minimum deviation angle, ensuring the synchronization of position adjustments and avoiding the problem of data asynchrony during dynamic adjustments, thereby improving the accuracy of the minimum deviation angle.
[0075] In one embodiment, when the current rotation round is the first rotation round, obtaining the minimum deviation angle and target rotation angle of the test sample in the current rotation round includes: obtaining the estimated minimum deviation angle pre-set for the incident light; using the estimated minimum deviation angle as the minimum deviation angle of the test sample in the current rotation round; and obtaining the target rotation angle of the test sample in the current rotation round based on the estimated minimum deviation angle, the apex angle, and the reference angle.
[0076] For example, when the current rotation is the first rotation, the server 102 obtains the estimated minimum deviation angle pre-set for the incident light, uses the estimated minimum deviation angle as the minimum deviation angle corresponding to the test sample in the current rotation, adds the estimated minimum deviation angle and the vertex angle and calculates the mean value to obtain the estimated angle mean value, and uses the sum of the interior angles of the triangle, subtracts the estimated angle mean value and then subtracts the reference angle to obtain the target rotation angle corresponding to the test sample in the current rotation.
[0077] According to the above implementation method, when the current rotation is the first rotation, the calculation of the minimum deviation angle and the target rotation angle corresponding to the current rotation is quickly entered by using the estimated minimum deviation angle pre-set for the incident light, thereby speeding up the determination of the minimum deviation angle.
[0078] In one exemplary embodiment, a specific implementation of the minimum deviation angle determination method is provided, wherein:
[0079] When testing the apex angle of the sample, record the angle β of the light ray perpendicular to the light-transmitting surface of the triangular prism. After the apex angle α test is completed, select a specific wavelength spectral line, input the estimated minimum deviation angle σ, and calculate the angle θ that the sample stage needs to rotate at this time (i.e., the aforementioned target rotation angle) according to Formula 1.
[0080] (1)
[0081] Rotate the sample stage to position θ, then rotate the angle detector to the estimated minimum deviation angle σ. At this point, read the angle γ between the refracted light of the specific wavelength spectral line and the angle detector (i.e., the aforementioned angle deviation value). If this angle is not 0, it indicates that the input estimated minimum deviation angle has a certain deviation from the actual minimum deviation angle of the sample. Then, calculate the incident angle according to formula (2). Then Substitute into formula (3) to calculate the re-estimated minimum deviation angle σ1 (i.e. the updated minimum deviation angle).
[0082] (2)
[0083] (3)
[0084] Substitute the recalculated minimum deviation angle σ1 into formula (1), recalculate the corresponding sample stage angle θ1 (i.e., the updated target rotation angle mentioned above), adjust the sample stage and angle detector to positions θ1 and σ1 respectively, and read the angle between the refracted light of the specific wavelength spectral line and the angle detector again to determine if its value is 0. Repeat the above steps until the distance between the refracted light of the specific wavelength spectral line and the angle detector is 0. The minimum deviation angle calculated at this time is the minimum deviation angle of the specific wavelength spectral line.
[0085] Compared with existing public disclosures, this application has the following technical advantages:
[0086] It avoids the phenomenon of position and signal being out of sync, reduces test errors, and improves the accuracy of minimum deviation angle confirmation.
[0087] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0088] Based on the same inventive concept, this application also provides a minimum deflection angle determining device for implementing the minimum deflection angle determining method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the minimum deflection angle determining device provided below can be found in the limitations of the minimum deflection angle determining method described above, and will not be repeated here.
[0089] In one exemplary embodiment, such as Figure 4 As shown, a minimum deviation angle determination device is provided, comprising: an acquisition module 401, a rotation module 402, and an update module 403, wherein:
[0090] The acquisition module 401 is used to acquire the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle;
[0091] The rotation module 402 is used to rotate the sample stage where the sample to be tested is located to the target rotation angle position, and to rotate the angle detector associated with the sample to be tested to the position of minimum deviation angle, and to obtain the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector.
[0092] The update module 403 is used to update the minimum deviation angle and target rotation angle based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value when the angle deviation value is not 0. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The module then returns to the steps of rotating the sample stage where the sample under test is located to the target rotation angle position and rotating the angle detector associated with the sample under test to the minimum deviation angle position, and obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector, until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
[0093] In one embodiment, the update module 403 is further configured to obtain the incident angle corresponding to the current rotation cycle based on the reference angle and the target rotation angle; and update the minimum deviation angle and the target rotation angle according to the apex angle, the reference angle, the minimum deviation angle, the incident angle and the angle deviation value.
[0094] In one embodiment, the updating module 403 is further configured to obtain the updated minimum deviation angle based on the apex angle, minimum deviation angle, angle deviation value and incident angle; and to obtain the updated target rotation angle based on the updated minimum deviation angle, apex angle and reference angle.
[0095] In an exemplary embodiment, the updating module 403 is further configured to obtain a corresponding first angle by adding the minimum deviation angle to the apex angle, adding the angle deviation value to the incident angle, and taking half of the apex angle as the second angle; and to obtain the updated minimum deviation angle based on the sine of the first angle, the sine of the incident angle, the cosine of the apex angle, the sine of the second angle, and the apex angle.
[0096] In one embodiment, the updating module 403 is further configured to sum and average the updated minimum deviation angle and apex angle to obtain the corresponding angle average; and to obtain the updated target rotation angle by subtracting the angle average and the reference angle from the sum of the interior angles of the triangle.
[0097] In one embodiment, when the current rotation is the first rotation, the acquisition module 401 is further configured to acquire the estimated minimum deviation angle pre-set for the incident light; use the estimated minimum deviation angle as the minimum deviation angle corresponding to the test sample in the current rotation; and obtain the target rotation angle corresponding to the test sample in the current rotation based on the estimated minimum deviation angle, the apex angle, and the reference angle.
[0098] Each module in the aforementioned minimum deviation angle determination device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0099] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media to run. The database stores the minimum deviation angle and target rotation angle corresponding to the current rotation, the angle deviation value, and the apex angle and reference angle of the test sample. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a method for determining the minimum deviation angle.
[0100] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0101] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the minimum deflection angle determination method of the above embodiments.
[0102] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the minimum deflection angle determination method of the above embodiments.
[0103] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the minimum deflection angle determination method of the above embodiments.
[0104] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0105] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0106] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0107] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for determining the minimum deflection angle, characterized in that, The method includes: Obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle; The sample stage where the sample to be tested is located is rotated to the position of the target rotation angle, and the angle detector associated with the sample to be tested is rotated to the position of the minimum deviation angle, and the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector is obtained. If the angle deviation value is not 0, the minimum deviation angle and the target rotation angle are updated based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value. The updated minimum deviation angle and target rotation angle are used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The process then returns to the steps of rotating the sample stage where the sample under test is located to the position of the target rotation angle, rotating the angle detector associated with the sample under test to the position of the minimum deviation angle, and obtaining the angle deviation value between the incident light and the refracted light of the sample under test and the rotated angle detector, until the angle deviation value is 0. The minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle of the incident light perpendicular to the light-transmitting surface of the sample under test.
2. The method according to claim 1, characterized in that, The step of updating the minimum deviation angle and the target rotation angle based on the apex angle, the reference angle, the target rotation angle, the minimum deviation angle, and the angle deviation value includes: Based on the reference angle and the target rotation angle, the incident angle corresponding to the current rotation cycle is obtained; The minimum deviation angle and the target rotation angle are updated based on the apex angle, the reference angle, the minimum deviation angle, the incident angle, and the angle deviation value.
3. The method according to claim 2, characterized in that, The step of updating the minimum deviation angle and the target rotation angle based on the apex angle, the reference angle, the minimum deviation angle, the incident angle, and the angle deviation value includes: Based on the apex angle, the minimum deviation angle, the angle deviation value, and the incident angle, the updated minimum deviation angle is obtained; The updated target rotation angle is obtained based on the updated minimum deviation angle, the apex angle, and the reference angle.
4. The method according to claim 3, characterized in that, The process of obtaining the updated minimum deviation angle based on the apex angle, the minimum deviation angle, the angle deviation value, and the incident angle includes: The first angle is obtained by adding the apex angle, the minimum deviation angle, the angle deviation value, and the incident angle, and half of the apex angle is taken as the second angle. The updated minimum deviation angle is obtained based on the sine of the first angle, the sine of the incident angle, the cosine of the apex angle, the sine of the second angle, and the apex angle.
5. The method according to claim 3, characterized in that, The step of obtaining the updated target rotation angle based on the updated minimum bias angle, the apex angle, and the reference angle includes: The updated minimum deviation angle and the vertex angle are summed and averaged to obtain the corresponding angle mean. The updated target rotation angle is obtained by subtracting the mean of the angles from the sum of the interior angles of the triangle and the reference angle.
6. The method according to any one of claims 1-5, characterized in that, When the current rotation round is the first rotation round, obtaining the minimum deviation angle and target rotation angle of the test sample in the current rotation round includes: Obtain the estimated minimum deviation angle pre-set for the incident light; The estimated minimum deviation angle is taken as the minimum deviation angle of the test sample in the current rotation cycle; Based on the estimated minimum deviation angle, the apex angle, and the reference angle, the target rotation angle of the test sample in the current rotation cycle is obtained.
7. A minimum deviation angle determination device, characterized in that, The device includes: The acquisition module is used to obtain the minimum deviation angle and target rotation angle of the sample under test in the current rotation cycle; The rotation module is used to rotate the sample stage where the sample to be tested is located to the position of the target rotation angle, and to rotate the angle detector associated with the sample to be tested to the position of the minimum deviation angle, and to obtain the angle deviation value between the incident light and the refracted light of the sample to be tested and the rotated angle detector. The update module is used to update the minimum deviation angle and the target rotation angle based on the apex angle and reference angle of the sample under test, the target rotation angle, the minimum deviation angle, and the angle deviation value when the angle deviation value is not 0. The updated minimum deviation angle and target rotation angle are then used as the minimum deviation angle and target rotation angle corresponding to the next rotation cycle. The module then returns to the previous steps of rotating the sample stage where the sample under test is located to the position of the target rotation angle, rotating the angle detector associated with the sample under test to the position of the minimum deviation angle, and obtaining the angle deviation value between the incident light, the refracted light of the sample under test, and the rotated angle detector. This process continues until the angle deviation value is 0, and the minimum deviation angle corresponding to the current rotation cycle is used as the minimum deviation angle corresponding to the sample under test. The reference angle represents the angle at which the incident light ray is perpendicular to the light-transmitting surface of the sample under test.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.