A method, system, storage medium and intelligent terminal for controlling the chamfering of a lens
By obtaining lens profile information and calibration parameters, calculating the contact angle and distance between the lens and the grinding wheel, controlling the lens movement for inverted edge processing, solving the problem of low lens processing efficiency, realizing inverted edge and efficient machining.
Patent Information
- Application Number
- CN202211508571.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-11-28
AI Technical Summary
After the lens is worn, it needs to be removed from the edge grinder and placed in a special inverted edge machine, resulting in extended processing time and inefficient efficiency.
By obtaining the shape and edge profile information of the lens after the edge is grinded, combined with the parameter information in the preset calibration database, the angle and distance of the lens contact with the grinding wheel in the vertical and horizontal directions are calculated, and the lens movement is controlled to achieve inverted edge processing, reducing the amount of angle calculation and performing position compensation.
The lens is instantly inverted after edge grinding, which improves processing efficiency, reduces the impact of grinding wheel tilt on position, and avoids interference from special features.
Smart Images

Figure CN115805479B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lens processing technology, and in particular to a lens chamfering control method, system, storage medium and intelligent terminal. Background Art
[0002] In the process of processing spectacle lenses, generally four steps are required: inspection, edging, chamfering and detection. Among them, inspection is to check the condition of the lens before processing, edging is to use an edging machine to edge the lens, chamfering is to chamfer the edged lens, and detection is to send the processed lens to the corresponding detection equipment for detection.
[0003] In the related art, when chamfering of the lens is required, the lens is taken out of the edging machine and placed in a dedicated chamfering machine for processing, so that the edge of the processed lens is relatively smooth for subsequent use.
[0004] Regarding the above related art, the inventor believes that after the lens edging is completed, the lens needs to be taken out and placed in a dedicated chamfering machine, which prolongs the overall processing time and results in low processing efficiency, and there is still room for improvement. Summary of the Invention
[0005] In order to improve the overall efficiency in the process of lens processing, this application provides a lens chamfering control method, system, storage medium and intelligent terminal.
[0006] In a first aspect, this application provides a lens chamfering control method, adopting the following technical solution:
[0007] A lens chamfering control method includes:
[0008] Obtaining the shape contour information, edge contour information and required chamfer information of the lens after edging;
[0009] Performing matching analysis according to the required chamfer information, vertical calibration parameter information and horizontal calibration parameter information stored in the preset calibration database to determine the vertical calibration parameter information and horizontal calibration parameter information corresponding to the required chamfer information;
[0010] Determining the vertical target contour information according to the shape contour information and the vertical calibration parameter information, and determining the horizontal target contour information according to the edge contour information and the horizontal calibration parameter information;
[0011] Calculating the distances between the preset center point and each point on the contour line corresponding to the vertical target contour information to determine the first distance information, and calculating the distances between the preset positioning point and each point on the contour line corresponding to the horizontal target contour information to determine the second distance information;
[0012] Control the rotation of the lens and perform calculations based on preset mechanical parameters, a preset first fixed value, and first distance information in the real-time state of the lens to determine the first angle information when each point on the contour line corresponding to the vertical target contour information contacts the grinding wheel, and perform calculations based on the mechanical parameters, a preset second fixed value, and second distance information in the real-time state of the lens to determine the second angle information when each point on the contour line corresponding to the horizontal target contour information contacts the grinding wheel;
[0013] Determine the first angle information with the largest value among all the first angle information, and define the point on the contour line corresponding to this first angle information as the first contact point. Also, determine the second angle information with the largest value among all the second angle information, and define the point on the contour line corresponding to this second angle information as the second contact point;
[0014] Determine the lifting height information based on the first contact point, and determine the horizontal length information based on the second contact point;
[0015] Determine the processing point based on the lifting height information and the horizontal length information, and control the movement of the lens to perform chamfering on the processing point.
[0016] By adopting the above technical solution, after the edge grinding is completed, obtain the contour condition of the lens and the required chamfering angle condition to determine the target contour condition to be achieved after chamfering. At this time, determine the distance between each point on the contour and the fixed point during the processing to determine the contact point that first contacts the grinding wheel when the lens moves in the vertical or horizontal direction in the real-time state of the lens, so as to determine the distances that the lens needs to move in the vertical and horizontal directions, thereby being able to control the movement of the lens to a suitable position for chamfering, so as to realize the chamfering processing of the lens on the edge grinding machine and improve the overall efficiency during the lens processing.
[0017] Optionally, the control method for the rotation of the lens includes:
[0018] Output a processing signal after the chamfering process of the lens;
[0019] Perform counting based on the processing signal to determine the processing times information;
[0020] Judge whether the value corresponding to the processing times information is equal to the preset reasonable value;
[0021] If the value corresponding to the processing times information is not equal to the reasonable value, continue to control the lens to rotate a preset fixed angle and perform the corresponding chamfering process;
[0022] If the value corresponding to the processing times information is equal to the reasonable value, control the lens to stop rotating.
[0023] By adopting the above technical solution, the situation during the lens processing can be recorded so that the processing can be immediately stopped after the lens is processed.
[0024] Optionally, the method for determining the first angle information includes:
[0025] Define the points on the contour line corresponding to the vertical target contour information directly below the center point as processing points;
[0026] Connect the processing points with the center point to form a processing line, and control the processing line to rotate a preset detection angle along a preset fixed direction with the center point as the rotation point to form a boundary line;
[0027] Define the points on the contour line corresponding to the vertical target contour information between the processing line and the boundary line as judgment points, and determine the first angle information according to each judgment point.
[0028] By adopting the above technical solution, the points on the contour that may affect the contact of the grinding wheel are delimited, so that it is not necessary to calculate the angles of all the points on the contour, greatly reducing the amount of angle calculation and facilitating the determination of the first angle information.
[0029] Optionally, the method for determining the lifting height information includes:
[0030] Obtain the horizontal tilt angle information of the grinding wheel;
[0031] Perform fitting according to the horizontal tilt angle information and a first fixed value to form first ellipse information;
[0032] Determine the horizontal coordinate information according to the first contact point;
[0033] Determine the longitudinal coordinate information of the projection point on the ellipse corresponding to the first ellipse information at the coordinate corresponding to the horizontal coordinate information;
[0034] Determine the lifting height information according to the longitudinal coordinate information.
[0035] By adopting the above technical solution, when the grinding wheel is tilted, the trajectory formed by the contact points on the grinding wheel is shown as an ellipse on the vertical plane. At this time, calculating the longitudinal coordinate information can compensate for the moving distance in the vertical direction to reduce the influence caused by the tilt of the grinding wheel.
[0036] Optionally, the method for determining the horizontal length information includes:
[0037] Obtain the vertical tilt angle information of the grinding wheel;
[0038] Perform fitting according to the vertical tilt angle information and a second fixed value to form second ellipse information;
[0039] Determine the first vertical coordinate information based on the first contact point, and determine the second vertical coordinate information based on the second contact point;
[0040] Determine the horizontal coordinate information of the projection point on the ellipse corresponding to the second ellipse at the coordinate corresponding to the second vertical coordinate information;
[0041] Calculate according to the horizontal tilt angle information, the first fixed value, and the first vertical coordinate information to determine the horizontal compensation information;
[0042] Calculate according to the horizontal coordinate information and the horizontal compensation information to determine the horizontal length information.
[0043] By adopting the above technical solution, the contact point moves on the first ellipse to make the position of the second ellipse uncertain. At this time, according to the situation of the second ellipse itself and the position of the second ellipse on the first ellipse, the position compensation in the horizontal direction of the processing position is realized to reduce the occurrence of inaccurate processing positions in the horizontal direction caused by the tilt of the grinding wheel.
[0044] Optionally, the chamfering treatment method for the processing point includes:
[0045] Obtain the lens cross-section information at the processing point;
[0046] Judge whether there is a preset special feature on the section corresponding to the lens cross-section information;
[0047] If there is no special feature on the section corresponding to the lens cross-section information, perform chamfering treatment normally;
[0048] If there is a special feature on the section corresponding to the lens cross-section information, define the contact end point between the special feature and the lens processing surface as the turning point, and determine the turning position information of the turning point;
[0049] Determine the target position information of the target point on the section corresponding to the lens cross-section information according to the required chamfering information;
[0050] Calculate the distance between adjacent target points and turning points to determine the separation distance information;
[0051] Judge whether the distance value corresponding to the separation distance information is greater than the preset qualified value;
[0052] If the distance value corresponding to the separation distance information is greater than the qualified value, perform chamfering treatment normally;
[0053] If the distance value corresponding to the separation distance information is not greater than the qualified value, update the target point position according to the qualified value, and perform chamfering treatment to the new target point.
[0054] By adopting the above technical solutions, the chamfering process of the lens will not interfere with the features, ensuring the normal processing and use of the lens.
[0055] In a second aspect, the present application provides a lens chamfering control system, adopting the following technical solutions:
[0056] A lens chamfering control system includes:
[0057] An acquisition module for acquiring the shape contour information, edge contour information, and required chamfer information of the lens after grinding;
[0058] A processing module, connected to the acquisition module, for storing and processing information;
[0059] The processing module performs matching analysis based on the required chamfer information, vertical calibration parameter information, and horizontal calibration parameter information stored in the preset calibration database to determine the vertical calibration parameter information and horizontal calibration parameter information corresponding to the required chamfer information;
[0060] The processing module determines the vertical target contour information based on the shape contour information and vertical calibration parameter information, and determines the horizontal target contour information based on the edge contour information and horizontal calibration parameter information;
[0061] The processing module calculates the distances between the preset center point and each point on the contour line corresponding to the vertical target contour information to determine the first distance information, and calculates the distances between the preset positioning point and each point on the contour line corresponding to the horizontal target contour information to determine the second distance information;
[0062] The processing module controls the rotation of the lens and calculates based on the preset mechanical parameters, preset first fixed value, and first distance information in the real-time state of the lens to determine the first angle information when each point on the contour line corresponding to the vertical target contour information contacts the grinding wheel, and calculates based on the mechanical parameters, preset second fixed value, and second distance information in the real-time state of the lens to determine the second angle information when each point on the contour line corresponding to the horizontal target contour information contacts the grinding wheel;
[0063] The processing module determines the first angle information with the largest value among all the first angle information, and defines the point on the contour line corresponding to this first angle information as the first contact point, and determines the second angle information with the largest value among all the second angle information, and defines the point on the contour line corresponding to this second angle information as the second contact point;
[0064] The processing module determines the lifting height information based on the first contact point and determines the horizontal length information based on the second contact point;
[0065] The processing module determines the processing point according to the lifting height information and the horizontal length information, and controls the movement of the lens to chamfer the processing point.
[0066] By adopting the above technical solution, after the edge grinding is completed, the acquisition module first acquires the contour condition of the lens and the required chamfering angle condition, so that the processing module determines the target contour condition to be achieved after chamfering. At this time, the processing module determines the distance between the points on each contour and the fixed points during the processing, so that the processing module determines the contact points that first contact the grinding wheel when the lens moves in the vertical direction or the horizontal direction in the real-time state of the lens, thereby determining the distances that the lens needs to move in the vertical direction and the horizontal direction, so as to be able to control the movement of the lens to a suitable position for chamfering, so as to realize the chamfering processing of the lens on the edge grinding machine, so as to improve the overall efficiency in the lens processing process.
[0067] In a third aspect, the present application provides an intelligent terminal, adopting the following technical solution:
[0068] An intelligent terminal includes a memory and a processor, and a computer program capable of being loaded and executed by the processor for any of the above lens chamfering control methods is stored on the memory.
[0069] By adopting the above technical solution, through the use of the intelligent terminal, after the edge grinding is completed, the contour condition of the lens and the required chamfering angle condition are acquired to determine the target contour condition to be achieved after chamfering. At this time, the distance between the points on each contour and the fixed points during the processing is determined to determine the contact points that first contact the grinding wheel when the lens moves in the vertical direction or the horizontal direction in the real-time state of the lens, thereby determining the distances that the lens needs to move in the vertical direction and the horizontal direction, so as to be able to control the movement of the lens to a suitable position for chamfering, so as to realize the chamfering processing of the lens on the edge grinding machine, so as to improve the overall efficiency in the lens processing process.
[0070] In a fourth aspect, the present application provides a computer storage medium, which can store corresponding programs and has the characteristic of improving the overall efficiency in the lens processing process, adopting the following technical solution:
[0071] A computer-readable storage medium stores a computer program capable of being loaded and executed by the processor for any of the above lens chamfering control methods.
[0072] By adopting the above technical solution, there is a computer program of the lens chamfering control method in the storage medium. After the edge grinding is completed, the contour condition of the lens and the required chamfering angle condition are obtained to determine the target contour condition to be achieved after chamfering. At this time, the distances between the points on each contour and the fixed points during the processing are determined to determine the contact points that first contact the grinding wheel when the lens moves in the vertical or horizontal direction in the real-time state of the lens, so as to determine the distances that the lens needs to move in the vertical and horizontal directions, so as to control the lens to move to a suitable position for chamfering processing, so as to realize the chamfering processing of the lens on the edge grinding machine and improve the overall efficiency in the lens processing process.
[0073] In summary, the present application includes at least one of the following beneficial technical effects:
[0074] 1. After the lens edge grinding is completed, according to the required chamfering angle condition, the corresponding moving distance conditions in the vertical and horizontal directions are determined to control the lens to contact the grinding wheel at a suitable position for chamfering processing, so as to realize timely chamfering after lens edge grinding and improve the overall efficiency of lens processing;
[0075] 2. The movement of the lens in the vertical and horizontal directions can be compensated according to the inclination of the grinding wheel, so that the processing position of the lens is not easily affected by the inclination of the grinding wheel;
[0076] 3. During the lens chamfering process, special features can be avoided to reduce the occurrence of the situation where the features are affected by chamfering. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 is a flowchart of the lens chamfering control method.
[0078] Figure 2 is a schematic diagram of the lens chamfering processing.
[0079] Figure 3 is a schematic diagram of the contour conditions of the lens.
[0080] Figure 4 is a schematic diagram of the first angle determination process.
[0081] Figure 5 is a flowchart of the lens rotation control method.
[0082] Figure 6 is a flowchart of the angle calculation simplification method.
[0083] Figure 7 is a flowchart of the lifting height determination method.
[0084] Figure 8 is a schematic diagram of the inclination of the grinding wheel.
[0085] Figure 9 It is a flowchart of a method for determining the horizontal length.
[0086] Figure 10 It is a flowchart of a method for avoiding the chamfering feature of the lens edge.
[0087] Figure 11 It is a schematic diagram of the lens cross-section.
[0088] Figure 12 It is a module flowchart of a method for controlling the chamfering of the lens edge. Specific implementation manners
[0089] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the following further elaborates on the present application in conjunction with the appended Figures 1 - 12 drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0090] The following further describes the embodiments of the present invention in detail with reference to the drawings of the specification.
[0091] The embodiments of the present application disclose a method for controlling the chamfering of a lens edge. After the lens edge grinding is completed, the contour shape of the lens and the chamfering requirement situation are determined, so as to control the movement of the lens in the vertical direction and the horizontal direction for chamfering processing, such that it is not necessary to replace the machine for chamfering operation after the lens edge grinding, thereby improving the overall efficiency of lens processing.
[0092] Referring to Figure 1 , the method flow of the method for controlling the chamfering of the lens edge includes the following steps:
[0093] Step S100: Obtain the shape contour information, edge contour information, and required chamfer information of the lens after edge grinding.
[0094] Referring to Figure 2 , during the lens processing, the lens is clamped on a fixed rotating shaft. The fixed rotating shaft can move in the horizontal direction and the vertical direction. At the same time, the fixed rotating shaft can rotate itself to enable the lens clamped on the fixed rotating shaft to rotate for processing at different positions. A component for chamfering the lens is provided below the fixed rotating shaft. The component includes a chamfering grinding wheel and a grooving grinding wheel; the contour line corresponding to the shape contour information is the two-dimensional contour line of the lens after edge grinding. Referring to Figure 3, in this embodiment, chamfering is performed on the front end face of the lens for illustration. The processing of the rear end face is the same and will not be described separately; the contour line corresponding to the edge contour information is the contour line formed by the distance values between the fixed points on the mechanism and the points on the contour line corresponding to the shape contour information in the direction parallel to the axis of the rotation axis; the angle value corresponding to the required chamfering information is the chamfering angle when the staff sets that the lens needs to be chamfered, which can be set in advance or manually input by the staff according to the lens situation.
[0095] Step S101: Perform matching analysis according to the required chamfering information, vertical calibration parameter information, and horizontal calibration parameter information stored in the preset calibration database to determine the vertical calibration parameter information and horizontal calibration parameter information corresponding to the required chamfering information.
[0096] The value corresponding to the vertical calibration parameter information is the length value required for processing in the direction perpendicular to the horizontal line after the chamfering angle corresponding to the required chamfering information is processed on the lens. The value corresponding to the horizontal calibration parameter information is the length value required for processing in the direction of the horizontal line after the chamfering angle corresponding to the required chamfering information is processed on the lens. Both are determined by the staff through multiple tests and a calibration database is established according to the corresponding relationship for data induction. The method for establishing the database is a conventional technical means for those skilled in the art and will not be elaborated.
[0097] Step S102: Determine the vertical target contour information according to the shape contour information and the vertical calibration parameter information, and determine the horizontal target contour information according to the edge contour information and the horizontal calibration parameter information.
[0098] The contour corresponding to the vertical target contour information is the contour required to be obtained after the contour corresponding to the shape contour information is processed by the value corresponding to the vertical calibration parameter information. The contour corresponding to the horizontal target contour information is the contour required to be obtained after the contour corresponding to the edge contour information is processed by the value corresponding to the horizontal and vertical calibration parameter information.
[0099] Step S103: Calculate the distance between the preset center point and each point on the contour line corresponding to the vertical target contour information to determine the first distance information, and calculate the distance between the preset positioning point and each point on the contour line corresponding to the horizontal target contour information to determine the second distance information.
[0100] The center point is the point through which the axis of the rotation axis on the lens passes when the lens is clamped. The distance value corresponding to the first distance information is the straight-line distance between the center point and each point on the contour line corresponding to the vertical target contour information, which is determined by the pixel grid situation of the two points; the positioning point is the fixed point on the mechanism used to determine the edge contour information, and the distance value corresponding to the second distance information is the distance value between the positioning point and each point on the contour line corresponding to the horizontal target contour information on the horizontal line.
[0101] Step S104: Control the lens to rotate and calculate based on preset mechanical parameters, a preset first fixed value, and first distance information in the real-time state of the lens to determine the first angle information when each point on the contour line corresponding to the vertical target contour information contacts the grinding wheel, and calculate based on the mechanical parameters, a preset second fixed value, and second distance information in the real-time state of the lens to determine the second angle information when each point on the contour line corresponding to the horizontal target contour information contacts the grinding wheel.
[0102] The mechanical parameters are fixed numerical values of each part on the mechanism in a physical sense. For example, the distance between the grinding wheel and the clamping rotating shaft fixed in the horizontal direction, etc. Refer to Figure 4 , there is a corresponding processing point on the grinding wheel for the lens, and the position of this processing point is set by the staff according to the actual situation. The first fixed value is the radius of the circle formed after the processing point rotates one circle with the center line of the grinding wheel as the rotation axis. The angle value corresponding to the first angle information is the angle required to control the lens to rotate downward when each point on the contour line corresponding to the vertical target contour information needs to contact the grinding wheel; the second fixed value is the radius of the circle formed after the processing point rotates one circle with the straight line perpendicular to the center line of the grinding wheel as the rotation axis. The angle value corresponding to the second angle information is the angle required to control the lens to shift to the right when each point on the contour line corresponding to the horizontal target contour information needs to contact the grinding wheel.
[0103] Step S105: Determine the first angle information with the largest numerical value among all the first angle information, and define the point on the contour line corresponding to this first angle information as the first contact point. Determine the second angle information with the largest numerical value among all the second angle information, and define the point on the contour line corresponding to this second angle information as the second contact point.
[0104] Determining the first angle information with the largest angle value indicates that when this point moves downward in the current state of the lens, it first contacts the grinding wheel, that is, this point is not affected by the interference of the rest of the positions on the lens. At this time, this point is defined as the first contact point for identification to determine different points on the lens; the second contact point is the same and will not be elaborated.
[0105] Step S106: Determine the lifting height information based on the first contact point, and determine the horizontal length information based on the second contact point.
[0106] The height value corresponding to the lifting height information is the height distance value that the fixed rotating shaft needs to descend from the preset zero point, which is determined by the position of the first contact point; the length value corresponding to the horizontal length information is the length value that the fixed rotating shaft needs to move in the horizontal direction, which is determined by the position of the second contact point.
[0107] Step S107: Determine the processing point according to the lifting height information and the horizontal length information, and control the movement of the lens to chamfer the processing point.
[0108] Based on the lifting height information and the horizontal length information, the final processing point that needs to be carried out on the lens can be determined. At this time, controlling the corresponding movement of the lens can achieve the processing of the processing point to realize the chamfering processing of the lens.
[0109] Refer to Figure 5 , the control method for the rotation of the lens includes:
[0110] Step S200: Output a processing signal after the chamfering process of the lens.
[0111] Output the processing signal to determine that the current processing point on the lens has been processed, so as to facilitate subsequent processing.
[0112] Step S201: Count according to the processing signal to determine the processing times information.
[0113] The value corresponding to the processing times information is the total number of times the processing signal appears, which can be determined by counting. The counting method is a conventional technical means for those skilled in the art and will not be elaborated.
[0114] Step S202: Determine whether the value corresponding to the processing times information is equal to the preset reasonable value.
[0115] The reasonable value is the number of points that need to be processed on the lens set by the staff. The purpose of the judgment is to know whether the lens has been completely processed.
[0116] Step S2021: If the value corresponding to the processing times information is not equal to the reasonable value, continue to control the lens to rotate a preset fixed angle and perform the corresponding chamfering process.
[0117] When the value corresponding to the processing times information is not equal to the reasonable value, it means that the lens has not been completely processed. At this time, control the lens to rotate a fixed angle to re-determine the processing point and perform the chamfering process. Among them, the fixed angle is a fixed value set by the staff to realize the processing of each point on the lens.
[0118] Step S2022: If the value corresponding to the processing times information is equal to the reasonable value, control the lens to stop rotating.
[0119] When the value corresponding to the processing times information is equal to the reasonable value, it means that the lens has been completely processed. At this time, control the lens to stop rotating to complete the processing of the lens.
[0120] Refer to Figure 6 , the determination method of the first angle information includes:
[0121] Step S300: Define the points on the contour line corresponding to the vertical target contour information directly below the center point as the processing points.
[0122] Define the points on the contour line directly below the center point as the processing points for identification, so as to facilitate the distinction of different points on the contour line.
[0123] Step S301: Connect the processing points with the center point to form a processing line, and control the processing line to rotate a preset detection angle along a preset fixed direction with the center point as the rotation point to form a boundary line.
[0124] Refer to Figure 4 , the processing line is the connection line between the processing point and the center point, the fixed direction is the direction of lens processing, including clockwise and counterclockwise, which is determined by the rotation direction of the fixed rotation axis, the detection angle is the angle set by the staff, control the rotation of the processing line to determine the boundary line, so as to realize the delineation of the contour line.
[0125] Step S302: Define the points on the contour line corresponding to the vertical target contour information between the processing line and the boundary line as the judgment points, and determine the first angle information according to each judgment point.
[0126] Determine the judgment points to illustrate that the points on the judgment points may have an impact on the determination of the contact points, and the points on the rest of the contour cannot have an impact on it. Therefore, only determine the first angle information of the judgment points to reduce the calculation amount and facilitate the quick determination of the first contact point. Among them, the range of the judgment points is determined by the detection angle, and the detection angle is determined by the staff through multiple tests. Preferably, the maximum angle value is 34°; the second angle information is determined in the same way and will not be elaborated.
[0127] Refer to Figure 7 , the determination method of the lifting height information includes:
[0128] Step S400: Obtain the horizontal tilt angle information of the grinding wheel.
[0129] The angle value corresponding to the horizontal tilt angle information is the tilt angle value of the grinding wheel on the horizontal line. Refer to Figure 8 .
[0130] Step S401: Fit according to the horizontal tilt angle information and the first fixed value to form the first ellipse information.
[0131] The ellipse corresponding to the first ellipse information is the projection of the circle corresponding to the first fixed value on the vertical plane, which can be determined by the angle corresponding to the horizontal tilt angle information. Refer to Figure 8 .
[0132] Step S402: Determine the horizontal coordinate information according to the first contact point.
[0133] The coordinate point corresponding to the horizontal coordinate information is the horizontal coordinate point of the first contact point on the plane where the ellipse corresponding to the first ellipse information is located, so as to establish a physical coordinate system for the ellipse to determine.
[0134] Step S403: Determine the longitudinal coordinate information of the projection point on the ellipse corresponding to the first ellipse information at the coordinate corresponding to the horizontal coordinate information.
[0135] The coordinate value corresponding to the longitudinal coordinate information is the vertical coordinate value of the point in the longitudinal direction among the coordinate values corresponding to the horizontal coordinate information on the ellipse corresponding to the first ellipse information.
[0136] Step S404: Determine the lifting height information according to the longitudinal coordinate information.
[0137] Determine the lifting height information according to the coordinate point corresponding to the longitudinal coordinate information, so that the lens can perform distance compensation due to the inclination of the grinding wheel in the vertical direction, so that the lens can be moved to the grinding wheel for processing.
[0138] Refer to Figure 9 , the determination method of the horizontal length information includes:
[0139] Step S500: Obtain the vertical inclination angle information of the grinding wheel.
[0140] The angle value corresponding to the vertical inclination angle information is the inclination angle value of the grinding wheel on the vertical line.
[0141] Step S501: Fit according to the vertical inclination angle information and the second fixed value to form the second ellipse information.
[0142] The ellipse corresponding to the second ellipse information is the projection of a circle with a radius of the second fixed value on the horizontal plane. Refer to Figure 8 , which can be determined by the angle corresponding to the vertical inclination angle information.
[0143] Step S502: Determine the first vertical coordinate information according to the first contact point, and determine the second vertical coordinate information according to the second contact point.
[0144] The coordinate value corresponding to the first vertical coordinate information is the coordinate value of the first contact point in the longitudinal direction, and the coordinate value corresponding to the second vertical coordinate information is the coordinate value of the second contact point in the longitudinal direction.
[0145] Step S503: Determine the horizontal coordinate information of the projection point on the ellipse corresponding to the second ellipse information at the coordinate corresponding to the second vertical coordinate information.
[0146] The coordinate value corresponding to the horizontal coordinate information is the abscissa value of the projection point where the ordinate under the ellipse corresponding to the second ellipse information is the coordinate value corresponding to the second vertical coordinate information. This point is the first point from left to right. Refer to Figure 8 .
[0147] Step S504: Calculate according to the horizontal tilt angle information, the first fixed value, and the first vertical coordinate information to determine the horizontal compensation information.
[0148] According to the first vertical coordinate information, the specific projection of the circle corresponding to the second ellipse on the circle corresponding to the first ellipse can be determined, thereby determining the specific position of the second ellipse. For example, Figure 8 as shown, the offset of this circle on the horizontal line can be determined, and the information recording this offset situation is the horizontal compensation information.
[0149] Step S505: Calculate according to the horizontal coordinate information and the horizontal compensation information to determine the horizontal length information.
[0150] Calculate according to the horizontal coordinate information and the horizontal compensation information to determine the horizontal length information, so that the distance that the lens moves in the horizontal direction can be compensated due to the tilt of the grinding wheel, so that the lens can move to the grinding wheel for processing.
[0151] Refer to Figure 10 , the chamfering processing method for the processing point includes:
[0152] Step S600: Obtain the lens cross-section information at the processing point.
[0153] The cross-section corresponding to the lens cross-section information is the cross-section perpendicular to the fixed rotation axis at the processing point of the lens. Refer to Figure 11 .
[0154] Step S601: Determine whether there is a preset special feature on the cross-section corresponding to the lens cross-section information.
[0155] The special feature is a feature for special processing on the lens set by the staff, such as a sharp edge design. The purpose of the judgment is to know whether there is a situation where a special feature may be affected.
[0156] Step S6011: If there is no special feature on the cross-section corresponding to the lens cross-section information, perform chamfering processing normally.
[0157] When there is no special feature on the cross-section corresponding to the lens cross-section information, it means that there will be no situation where chamfering affects the special feature. At this time, normal chamfering processing can be performed.
[0158] Step S6012: If there is a special feature on the cross-section corresponding to the lens cross-sectional information, define the contact endpoint between the special feature and the lens processing surface as the turning point, and determine the turning position information of the turning point.
[0159] When there is a special feature on the cross-section corresponding to the lens cross-sectional information, it indicates that there may be a chamfering effect on the special feature, and further analysis is required; define the contact endpoint between the special feature and the lens processing surface as the turning point for identification, so as to facilitate the determination of the corner position of the special feature, thus facilitating subsequent analysis; the position corresponding to the turning position information is the position of the turning point on the lens processing surface.
[0160] Step S602: Determine the target position information of the target point on the cross-section corresponding to the lens cross-sectional information according to the required chamfering information.
[0161] The position corresponding to the target position information is the position of the target point on the lens processing surface after chamfering according to the angle corresponding to the required chamfering information.
[0162] Step S603: Calculate the distance between adjacent target points and turning points to determine the separation distance information.
[0163] The distance value corresponding to the separation distance information is the distance between adjacent target points and turning points.
[0164] Step S604: Determine whether the distance value corresponding to the separation distance information is greater than the preset qualified value.
[0165] The qualified value is the minimum distance value set by the staff that needs to be maintained between adjacent target points and turning points during the lens chamfering process. The purpose of the judgment is to know whether the current chamfering process will affect the special feature.
[0166] Step S6041: If the distance value corresponding to the separation distance information is greater than the qualified value, perform the chamfering process normally.
[0167] When the distance value corresponding to the separation distance information is greater than the qualified value, it indicates that the current chamfering process will not affect the special feature, and at this time, the chamfering process can be performed normally.
[0168] Step S6042: If the distance value corresponding to the separation distance information is not greater than the qualified value, update the target point position according to the qualified value, and chamfer to the new target point.
[0169] When the distance value corresponding to the separation distance information is not greater than the qualified value, it indicates that the current chamfering process will affect the special feature. At this time, update the position of the target point according to the situation of the qualified value, so that the chamfering process only processes to the new target point, reducing the occurrence of the chamfering process affecting the special feature.
[0170] Reference Figure 12 , based on the same inventive concept, an embodiment of the present invention provides a lens chamfering control system, including:
[0171] An acquisition module, configured to acquire the shape contour information, edge contour information, and required chamfering information of the lens after edging;
[0172] A processing module, connected to the acquisition module, for storing and processing information;
[0173] The processing module performs matching analysis according to the required chamfering information, vertical calibration parameter information, and horizontal calibration parameter information stored in the preset calibration database to determine the vertical calibration parameter information and horizontal calibration parameter information corresponding to the required chamfering information;
[0174] The processing module determines the vertical target contour information according to the shape contour information and the vertical calibration parameter information, and determines the horizontal target contour information according to the edge contour information and the horizontal calibration parameter information;
[0175] The processing module calculates the distances between the preset center point and each point on the contour line corresponding to the vertical target contour information to determine the first distance information, and calculates the distances between the preset positioning point and each point on the contour line corresponding to the horizontal target contour information to determine the second distance information;
[0176] The processing module controls the rotation of the lens and calculates according to the preset mechanical parameters, preset first fixed value, and the first distance information in the real-time state of the lens to determine the first angle information when each point on the contour line corresponding to the vertical target contour information contacts the grinding wheel, and calculates according to the mechanical parameters, preset second fixed value, and the second distance information in the real-time state of the lens to determine the second angle information when each point on the contour line corresponding to the horizontal target contour information contacts the grinding wheel;
[0177] The processing module determines the first angle information with the largest value among all the first angle information, defines the point on the contour line corresponding to the first angle information as the first contact point, determines the second angle information with the largest value among all the second angle information, and defines the point on the contour line corresponding to the second angle information as the second contact point;
[0178] The processing module determines the lifting height information according to the first contact point, and determines the horizontal length information according to the second contact point;
[0179] The processing module determines the processing point according to the lifting height information and the horizontal length information, and controls the movement of the lens to perform chamfering processing on the processing point;
[0180] A lens rotation control module, configured to control the rotation processing of the lens;
[0181] An angle determination module for delimiting the contour points where contact points may occur, so as to reduce the calculation of points on the entire contour, reduce the calculation amount, and improve the overall efficiency;
[0182] A lifting height determination module for determining the inclination of the grinding wheel to compensate for the vertical movement distance and improve the movement accuracy of the lens;
[0183] A horizontal length determination module for compensating the movement distance of the lens in the horizontal direction to improve the movement accuracy of the lens;
[0184] An edge chamfering avoidance control module for avoiding special features during the edge chamfering process of the lens to reduce the occurrence of the situation where special features are affected by edge chamfering.
[0185] Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described system, device, and unit can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0186] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor to implement a lens edge chamfering control method.
[0187] Computer storage media include, for example: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0188] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal including a memory and a processor, and a computer program that can be loaded and executed by the processor is stored on the memory to implement a lens edge chamfering control method.
[0189] Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described system, device, and unit can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0190] The above are all preferred embodiments of the present application, and do not limit the protection scope of the present application accordingly. Any feature disclosed in this specification (including the abstract and drawings), unless specifically described, can be replaced by other equivalent or similar-purpose alternative features. That is, unless specifically described, each feature is only an example of a series of equivalent or similar features.
Claims
1. A method for controlling the chamfering of a lens, characterized in that, Including: Obtaining the shape contour information, edge contour information, and required chamfering information of the lens after edging; Performing matching analysis based on the required chamfering information, vertical calibration parameter information, and horizontal calibration parameter information stored in the preset calibration database to determine the vertical calibration parameter information and horizontal calibration parameter information corresponding to the required chamfering information; Determining the vertical target contour information based on the shape contour information and vertical calibration parameter information, and determining the horizontal target contour information based on the edge contour information and horizontal calibration parameter information; Calculating the distances between the preset center point and each point on the contour line corresponding to the vertical target contour information to determine the first distance information, and calculating the distances between the preset positioning point and each point on the contour line corresponding to the horizontal target contour information to determine the second distance information; Controlling the rotation of the lens and calculating based on the preset mechanical parameters, preset first fixed value, and first distance information in the real-time state of the lens to determine the first angle information when each point on the contour line corresponding to the vertical target contour information contacts the grinding wheel, and calculating based on the mechanical parameters, preset second fixed value, and second distance information in the real-time state of the lens to determine the second angle information when each point on the contour line corresponding to the horizontal target contour information contacts the grinding wheel; Determining the first angle information with the largest value among all the first angle information, and defining the point on the contour line corresponding to this first angle information as the first contact point, and determining the second angle information with the largest value among all the second angle information, and defining the point on the contour line corresponding to this second angle information as the second contact point; Determining the lifting height information based on the first contact point, and determining the horizontal length information based on the second contact point; Determining the processing point based on the lifting height information and the horizontal length information, and controlling the movement of the lens to perform chamfering processing on the processing point.
2. The lens chamfering control method according to claim 1, wherein The control method for the rotation of the lens includes: Outputting a processing signal after the chamfering processing of the lens; Counting according to the processing signal to determine the processing times information; Judging whether the value corresponding to the processing times information is equal to the preset reasonable value; If the value corresponding to the processing times information is not equal to the reasonable value, continue to control the lens to rotate by a preset fixed angle and perform corresponding chamfering processing; If the value corresponding to the processing times information is equal to the reasonable value, control the lens to stop rotating.
3. The lens chamfering control method according to claim 1, characterized in that The determination method for the first angle information includes: Defining the point on the contour line corresponding to the vertical target contour information directly below the center point as the processing point; Connecting the processing point and the center point to form a processing line, and controlling the processing line to rotate around the center point in a preset fixed direction by a preset detection angle to form a boundary line; Defining the points on the contour line corresponding to the vertical target contour information between the processing line and the boundary line as the determination points, and determining the first angle information based on each determination point.
4. The lens chamfering control method according to claim 1, wherein The determination method for the lifting height information includes: Obtaining the horizontal tilt angle information of the grinding wheel; Performing fitting based on the horizontal tilt angle information and the first fixed value to form the first ellipse information; Determining the horizontal coordinate information based on the first contact point; Determining the longitudinal coordinate information of the projection point on the ellipse corresponding to the first ellipse information at the coordinate corresponding to the horizontal coordinate information; Determine the lifting height information according to the longitudinal coordinate information.
5. The lens chamfering control method according to claim 4, characterized in that, The method for determining the horizontal length information includes: Obtain the vertical tilt angle information of the grinding wheel; Perform fitting according to the vertical tilt angle information and the second fixed value to form the second ellipse information; Determine the first vertical coordinate information according to the first contact point, and determine the second vertical coordinate information according to the second contact point; Determine the horizontal coordinate information of the projection point on the ellipse corresponding to the second ellipse information at the coordinate corresponding to the second vertical coordinate information; Calculate the lateral compensation information according to the horizontal tilt angle information, the first fixed value, and the first vertical coordinate information; Calculate the horizontal length information according to the horizontal coordinate information and the lateral compensation information.
6. The lens chamfering control method according to claim 1, wherein The method for chamfering the machining point includes: Obtain the lens cross-section information at the machining point; Judge whether there is a preset special feature on the cross-section corresponding to the lens cross-section information; If there is no special feature on the cross-section corresponding to the lens cross-section information, perform chamfering normally; If there is a special feature on the cross-section corresponding to the lens cross-section information, define the contact endpoint between the special feature and the lens machining surface as the turning point, and determine the turning position information of the turning point; Determine the target position information of the target point on the cross-section corresponding to the lens cross-section information according to the required chamfering information; Calculate the distance between adjacent target points and the turning point to determine the separation distance information; Judge whether the distance value corresponding to the separation distance information is greater than the preset qualified value; If the distance value corresponding to the separation distance information is greater than the qualified value, perform chamfering normally; If the distance value corresponding to the separation distance information is not greater than the qualified value, update the target point position according to the qualified value, and chamfer to the new target point.
7. A lens chamfering control system, characterized in that, Include: An acquisition module for acquiring the shape profile information, edge profile information, and required chamfering information of the lens after edging; A processing module, connected to the acquisition module, for storing and processing information; The processing module performs matching analysis according to the required chamfering information, vertical calibration parameter information, and horizontal calibration parameter information stored in the preset calibration database to determine the vertical calibration parameter information and horizontal calibration parameter information corresponding to the required chamfering information; The processing module determines the vertical target profile information according to the shape profile information and the vertical calibration parameter information, and determines the horizontal target profile information according to the edge profile information and the horizontal calibration parameter information; The processing module calculates the distance between the preset center point and each point on the contour line corresponding to the vertical target profile information to determine the first distance information, and calculates the distance between the preset positioning point and each point on the contour line corresponding to the horizontal target profile information to determine the second distance information; The processing module controls the rotation of the lens and calculates, according to the preset mechanical parameters, the preset first fixed value, and the first distance information, the first angle information when each point on the contour line corresponding to the vertical target profile information contacts the grinding wheel in the real-time state of the lens, and calculates, according to the mechanical parameters, the preset second fixed value, and the second distance information, the second angle information when each point on the contour line corresponding to the horizontal target profile information contacts the grinding wheel in the real-time state of the lens; The processing module determines the first angular information with the largest value among all the first angular information, defines the point on the contour line corresponding to the first angular information as the first contact point, determines the second angular information with the largest value among all the second angular information, and defines the point on the contour line corresponding to the second angular information as the second contact point; The processing module determines the lifting height information based on the first contact point and determines the horizontal length information based on the second contact point; The processing module determines the processing point based on the lifting height information and the horizontal length information, and controls the movement of the lens to chamfer the processing point.
8. An intelligent terminal, characterized in that, It includes a memory and a processor, and a computer program capable of being loaded and executed by the processor, such as any one of the methods in claims 1 to 6, is stored on the memory.
9. A computer-readable storage medium, characterized in that, A computer program capable of being loaded and executed by the processor, such as any one of the methods in claims 1 to 6, is stored.
Citation Information
Patent Citations
Lens grinding apparatus with chamfer mechanism
CN101041229A
Appliance for tactile sensing a spectacle frame and related grinding machine
CN101291776A