A method and system for online detection and adaptive grinding of internal spherical surface roughness

By using a detection capsule transfer color development method and an adaptive grinding method, the problem of low detection accuracy of the inner spherical surface was solved, achieving high-precision inner spherical surface roughness detection and grinding, and improving grinding accuracy and uniformity.

CN123111145APending Publication Date: 2026-11-17HANGZHOU HANGHAI INTELLIGENT MANUFACTURING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611279613.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

The narrow space and continuous curvature of the inner spherical surface make it difficult for the detection probe to fit stably, resulting in low detection accuracy and difficulty in timely guiding the grinding process.

Method used

Online roughness detection of the inner spherical surface is performed using a detection capsule. The detection capsule is attached to the inner spherical surface for color transfer and development, and the color image is obtained to identify the rough area and degree. Grinding parameters are adaptively determined, including window indentation recognition, shape completion and geometric center extraction, and the grinding grit and path of the grinding airbag are dynamically adjusted.

Benefits of technology

It achieves high-precision detection and grinding of the inner spherical surface roughness, improves detection and grinding accuracy, reduces missed grinding, and enhances grinding uniformity and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123111145A_ABST
    Figure CN123111145A_ABST
Patent Text Reader

Abstract

This invention relates to an online detection and adaptive grinding method and system for the roughness of internal spherical surfaces, relating to the field of mechanical parts processing. The method includes: controlling the inflation of a detection chamber with a dynamic air pressure value; coating the outer surface of the detection chamber with pressure-sensitive color-developing pigment to form a pressure-sensitive color-developing layer; placing the detection chamber into a cage-type retainer, inflating it to a fitted state, and maintaining this fitted imprint for a specified duration; controlling the deflation of the detection chamber to separate it from the internal spherical surface, and removing the detection chamber from the cage-type retainer; inflating the detection chamber with the detection air volume, dividing the surface of the detection chamber into regions and outputting color-developing images of the corresponding regions; sequentially stitching the color-developing images to obtain a spherical unfolded image; identifying roughness color-developing features on the spherical unfolded image and outputting the roughness degree and roughness region; if the roughness degree does not fall within a preset roughness range, initiating grinding with a grinding airbag. This invention improves the detection accuracy of internal spherical surface roughness and enhances the accuracy of graded grinding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of machining of mechanical parts, and in particular to a method and system for online detection and adaptive grinding of the roughness of an internal spherical surface. Background Technology

[0002] The inner spherical surface is the spherical mating surface inside the cage-like cage of the product. The inner spherical surface contacts the outer spherical surface of the mating part, and its roughness directly affects the friction, abnormal noise and fatigue life of the cage-like cage during operation.

[0003] Currently, after the inner spherical surface is machined, the roughness of the inner spherical surface is usually detected by manual sampling. This requires the operator to insert the detection probe into the cage and move the detection probe along a local area of ​​the inner spherical surface to obtain the roughness detection results at the corresponding location.

[0004] Regarding the aforementioned technologies, due to the small space and continuously changing curvature of the inner spherical surface, it is difficult for the probe to fit stably, resulting in low detection accuracy of the inner spherical surface roughness and difficulty in timely guiding subsequent grinding processes. There is still room for improvement. Summary of the Invention

[0005] To improve the detection accuracy of internal spherical surface roughness, this invention provides an online detection and adaptive grinding method and system for internal spherical surface roughness.

[0006] In a first aspect, the present invention provides an online detection and adaptive grinding method for the roughness of an internal spherical surface, employing the following technical solution: An online method for detecting and adaptive grinding of internal spherical surface roughness includes: S10: Obtain the product model of the cage retainer, match the corresponding detection bladder model according to the product model, and determine the active air pressure value and detection air volume of the detection bladder according to the detection bladder model and the product model. S20: Control the detection capsule to inflate with the active air pressure value, then replenish with the detection air volume, coat the outer surface of the detection capsule with pressure-sensitive color pigment using a preset coating method to form a pressure-sensitive color layer, and then deflate with the detection air volume. S30: Place the detection capsule into the cage-type retainer, inflate the detection capsule with the detection air volume, so that the detection capsule is in a fitted state and maintain the preset fitting and imprinting time to obtain the positioning reference point. S40: Control the deflation of the detection capsule to restore the active air pressure value, control the separation of the detection capsule from the inner spherical surface and remove the detection capsule from the cage retainer; S50: Inflate the detection capsule with the detection volume, divide the surface of the detection capsule into different regions and output the color images of the corresponding regions, stitch the color images in sequence to obtain the spherical unfolded image, identify the preset rough color features on the spherical unfolded image and output the roughness and rough area. S61: If the roughness falls within the preset roughness range, the inner spherical surface is defined as qualified. S62: If the roughness does not fall within the preset roughness range, determine the roughness region coordinates on the spherical unfolded image based on the positioning reference point; determine the grinding coordinates of the inner spherical surface based on the roughness region coordinates, and determine the grinding parameters based on the roughness of the roughness region, and start the grinding airbag to perform grinding.

[0007] By adopting the above technical solution, the rough area and roughness of the inner spherical surface are transferred and developed by detecting the color of the inner spherical surface, thus realizing online detection and coordinate positioning. Based on this, grinding parameters are adaptively determined, thereby improving detection and grinding accuracy.

[0008] Optionally, methods for obtaining positioning reference points include: S301: Determine the re-pressure air volume and the collection air volume according to the product model and the detection capsule model. Inflate the detection capsule with the re-pressure air volume, deflate it with the collection air volume after maintaining the adhesion and imprinting time, and collect window image information from the outside of the window on the surface of the detection capsule. S3021: If a preset window indentation feature is identified in the window image information, it is defined as the transfer being completed and a window indentation being obtained; S30211: Determine the standard window shape based on the product model, complete the window indentation based on the standard window shape in the window image information, define the center of the largest circumcircle of the window indentation as the window geometric center, select a window geometric center as the positioning reference point, and mark it at the corresponding position of the detection capsule.

[0009] By adopting the above technical solution, the positioning reference point can be accurately obtained through window indentation recognition, shape completion and geometric center extraction, reducing the positioning deviation caused by incomplete indentation and improving the coordinate transformation of rough areas and the positioning accuracy of subsequent grinding.

[0010] Optionally, methods for obtaining positioning reference points also include: S3022: If the preset window indentation feature is not identified in the window image information, control the detection bladder to inflate with the collected air volume, and deflate with the collected air volume after maintaining the adhesion and imprint duration to update the window image information. S30221: Re-identify the preset window indentation features in the updated window image information. If the window indentation features are identified, it is defined as the transfer is completed and the positioning reference point is obtained based on the window indentation. S30222: If the window indentation feature is still not detected, then the pressure-sensitive colorimetric pigment is recoated on the outer surface of the detection capsule using the preset coating method to form a pressure-sensitive colorimetric layer, and then S301 is repeated.

[0011] By adopting the above technical solution, supplementary printing is performed when the transfer is insufficient, and the color development layer is recoated after the supplementary printing fails, thereby improving the success rate of window indentation formation and the reliability of obtaining positioning reference points, and reducing positioning errors.

[0012] Optional methods for deepening the indentation include: S3011: When the detection capsule is in contact with the imprint, the end face image information of the upper and lower ends of the detection capsule is collected. The end face contour is drawn on the end face image information through the preset end face features. The center points of the upper and lower ends are marked on the end face contour and defined as the force points. S3012: Determine the extrusion pressure, extrusion time, and vibration frequency based on the product model and the detection bladder model; S3013: When the detection capsule is kept in close contact with the impression, the upper and lower ends of the detection capsule are controlled to be squeezed at the force point, and the detection capsule is vibrated at the vibration frequency.

[0013] By adopting the above technical solution, the arc-shaped surface of the detection capsule is squeezed and vibrated simultaneously at both ends of the capsule, which improves the integrity and clarity of the transfer and color development in the rough area, and deepens the window indentation, thereby further improving the accuracy of obtaining the positioning reference point.

[0014] Optional grinding methods include: S6211: If the roughness of the rough region falls within a preset first roughness range, then the rough region falling within the first roughness range is defined as the first rough region. S6212: Determine the primary grinding airbag model based on the product model and the first roughness range, determine the primary grinding air volume based on the primary grinding airbag model, and inflate the primary grinding airbag with the primary grinding air volume. S6213: Determine the first rough area block on the spherical unfolded image based on the coordinates of the first rough area and output the circumferential widths at both ends of the block; determine the first-level grinding width based on the model of the first-level grinding airbag. S62141: If the circumferential width at both ends does not fall within the first-level grinding width, output the arc length and circumferential polar coordinates of the first rough area according to the coordinates of the first rough area, and define the first rough area as the first-level arc length grinding area, and determine the first grinding endpoint according to the circumferential polar coordinates and the first-level arc length grinding area. S62142: If the circumferential width at both ends falls within the first-level grinding width, the center of the first rough area is calculated based on the coordinates of the first rough area, the center point of the first rough area is calculated based on the first rough area, and the center of each first rough area is moved toward the preset reference surface to update the center point of the first rough area and define it as the first grinding point. S6215: Control the first-stage grinding airbag to grind sequentially according to the first grinding point and / or the first grinding end point.

[0015] By adopting the above technical solution, the grinding point or grinding endpoint can be adaptively determined according to the width and arc length of the rough area, thereby improving the working efficiency of grinding each rough area, reducing missed grinding, and improving the grinding accuracy and surface treatment uniformity of the inner spherical surface.

[0016] Alternatively, grinding methods may also include: S6221: If the roughness of the rough region falls within a preset second roughness range, and the second roughness range is greater than the first roughness range, then the rough region falling within the second roughness range is defined as the second roughness region. S6222: Determine the model of the secondary grinding airbag according to the product model and the second roughness range, determine the secondary grinding air volume according to the model of the secondary grinding airbag, and inflate the secondary grinding airbag with the secondary grinding air volume; S6223: Determine the second roughness block on the spherical unfolded image based on the coordinates of the second roughness region and output the circumferential widths at both ends of the block; determine the second-stage grinding width based on the model of the second-stage grinding airbag. S62241: If the circumferential width at both ends does not fall into the secondary grinding width, output the arc length and circumferential polar coordinates of the second rough area according to the coordinates of the second rough area, and define the second rough area as the secondary arc length grinding area. Determine the second grinding endpoint according to the circumferential polar coordinates and the secondary arc length grinding area. S62242: If the circumferential width at both ends falls within the second-level grinding width, the center of the second rough area is calculated based on the coordinates of the second rough area, the center point of the second rough area is calculated based on the second rough area, and the center of each second rough area is moved toward the preset reference surface to update the center point of the second rough area and define it as the second grinding point. S6225: Control the secondary grinding airbag to grind the second rough area sequentially according to the second grinding point and / or the second grinding end point until the roughness of the rough area falls into the preset first roughness range.

[0017] By adopting the above technical solution, grinding airbags with different grit sizes are matched to rough areas of different degrees, and the grinding point or grinding endpoint is adaptively determined to gradually grind the second rough area to the first rough range, thereby improving the accuracy of graded grinding and the uniformity of surface treatment.

[0018] Alternatively, grinding methods may also include: S6231: Match the air supply volume and the air release rate according to the product model; S6232: Control the primary grinding airbag and the secondary grinding airbag to be inflated with the secondary grinding air volume and then replenished with the supplementary air volume; while controlling the secondary grinding airbag to grind at the grinding point, release air at the point release speed until the secondary grinding air volume is reached. S6233: Control the primary grinding airbag to be inflated with the primary grinding air volume and then replenished with supplementary air volume; while controlling the primary grinding airbag to grind at the grinding point, release air at a point release rate until the primary grinding air volume is reached.

[0019] By adopting the above technical solution, the grinding grit of the grinding airbag surface can be changed within a certain range through air replenishment and point air release, thereby realizing automatic adjustment of grinding intensity and improving the grinding fineness at the grinding point and the smoothness and uniformity of the inner spherical surface.

[0020] Alternatively, grinding methods may also include: S6241: Match the air supply volume and end-point venting speed according to the product model; S6242: Control the secondary grinding airbag to be inflated with the secondary grinding air volume and then replenished with the supplementary air volume; control the secondary grinding airbag to fit against one end point at the grinding end point, and release air at the end point release speed while grinding until the secondary grinding air volume is reached. S6243: Control the secondary grinding airbag to move in the secondary arc length grinding zone towards the other end point by a preset circumferential distance. When moving, control the secondary grinding airbag to replenish air with replenishment volume. After moving, repeat S6242 and S6243 to perform grinding until it moves to the other end point. S6244: Control the primary grinding airbag to be inflated with the primary grinding air volume and then replenished with the supplementary air volume; control the primary grinding airbag to be in contact with one end point at the grinding end point, and release air at the end point release speed while grinding until the primary grinding air volume is reached. S6245: Control the first-stage grinding airbag to move at a preset circumferential distance in the first-stage arc length grinding zone towards the other end point. During the movement, control the first-stage grinding airbag to replenish air with the replenishment amount. After the movement, repeat S6244 and S6245 to perform grinding until it moves to the other end point.

[0021] By adopting the above technical solution, the grinding grit of the grinding airbag is dynamically adjusted through air replenishment, end-point air release, and segmented circumferential movement, so that the grinding trajectory continuously covers the arc-length grinding area, thereby improving the grinding fineness at the grinding end point and the grinding uniformity of the arc area.

[0022] Optional methods for applying pressure-sensitive color-developing pigments include: S201: Determine the height of the arc surface of the detection capsule according to the model of the detection capsule, and determine the immersion depth of the detection capsule according to the height of the arc surface; S202: Control the central axis of the detection capsule to remain horizontal with the surface of the pressure-sensitive colorimetric pigment liquid, and control the detection capsule to descend along the liquid surface to the immersion depth, and rotate once at the immersion depth; S203: Control the detection capsule to lift it off the liquid surface and heat and dry the surface of the detection capsule to form a pressure-sensitive colorimetric layer.

[0023] By adopting the above technical solution, the tilting immersion depth is controlled according to the height of the arc surface of the detection capsule, and the pressure-sensitive color pigment is evenly covered on the arc surface by rotation, so as to reduce the situation of missed coating, accumulation and uneven thickness, which helps to form a stable color layer and improve the consistency of printing color development.

[0024] Secondly, the present invention provides an online detection and adaptive grinding system for internal spherical surface roughness, employing the following technical solution: An online detection and adaptive grinding system for internal spherical surface roughness includes: The acquisition module is used to acquire information such as the product model, color image, and window image of the cage retainer. A memory for storing a program for an online detection and adaptive grinding method for internal spherical surface roughness as described in any of the preceding claims; The processor and memory can load and execute programs to realize online detection and adaptive grinding methods for internal spherical surface roughness.

[0025] By adopting the above technical solution, information is acquired based on the acquisition module, stored in the memory, and compared by the processor, thereby realizing the accuracy detection of the roughness of the inner spherical surface and effectively guiding the grinding operation.

[0026] In summary, the present invention has at least one of the following beneficial technical effects: 1. By using the detection capsule to adhere to the inner spherical surface and transfer the rough color features, the rough area of ​​the inner spherical surface that is difficult to observe directly is visualized, making it easier to identify its location, range and roughness. 2. Perform graded grinding according to the roughness, and determine the grinding path by combining the width, arc length and position of the rough area to reduce missed grinding and improve grinding accuracy and uniformity. Attached Figure Description

[0027] Figure 1 This is a flowchart of an online detection and adaptive grinding method for the roughness of an internal spherical surface; Figure 2 This is a schematic diagram of the test bag inflation transfer. Figure 3 This is a schematic diagram of a grinding method.

[0028] The parts referred to by the numbers in the above attached figures are as follows: 1. Cage retainer; 2. Inner spherical surface; 3. Window; 4. Detection chamber; 5. Primary grinding air chamber; 6. Secondary grinding air chamber. Detailed Implementation

[0029] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.

[0030] This invention discloses an online detection and adaptive grinding method and system for the roughness of an internal spherical surface.

[0031] This invention matches the detection capsule 4 with the product model and inflation / deflation parameters, forming a pressure-sensitive colorimetric layer on the surface of the detection capsule 4. Inflation is performed to adhere it to the spherical surface 2 inside the cage-type retainer 1, completing the imprint. After removal, the colorimetric image is acquired and stitched together to identify the rough areas, their degree, and location. For unqualified rough areas, different grinding airbags are selected according to the roughness degree, and point or path grinding is performed based on the block width and arc length. The grinding pressure is adjusted by replenishing air, deflating air, and circumferential movement to achieve detection positioning and graded grinding.

[0032] Reference Figure 1 An online detection and adaptive grinding method for the roughness of an internal spherical surface includes the following steps: S10: Obtain the product model of cage retainer 1, match the corresponding detection bladder model according to the product model, and determine the active air pressure value and detection air volume of detection bladder 4 according to the detection bladder model and the product model.

[0033] The cage cage 1 is an annular metal part used to define the position of the rolling elements and maintain their spacing. Its inner side has an inner spherical surface 2 that contacts the rolling elements, and multiple windows 3 are arranged circumferentially to accommodate the rolling elements. The product model is a pre-set identification information used by staff to distinguish different cage cages 1. This identification information is marked on the outside of the cage in the form of a QR code. Scanning the QR code provides information on the material and dimensions of the cage cage 1, the number and shape of the windows 3, and the size and curvature of the inner spherical surface 2.

[0034] The detection bladder 4 is a flexible, inflatable, and deflated air bladder. Its upper and lower ends are parallel and have the same diameter on their circular end faces, forming a continuous arc surface between them, resulting in a hollow, symmetrical frustum shape. Inflating the detection bladder 4 causes the arc surface to expand outwards and conform to the inner spherical surface 2 of the cage-like retainer 1. Deflating the detection bladder 4 reduces its size, allowing it to be inserted into or removed from the cage-like retainer 1. The detection bladder model number is used to distinguish different sizes of the detection bladder 4 and the curvature of the frustum's arc surface. This model number is marked on the upper end face of the detection bladder 4 in the form of a QR code. Different product models of the cage-like retainer 1 are matched with different detection bladder models to ensure that the curvature of the inner spherical surface 2 of the cage-like retainer 1 is consistent with the curvature of the frustum's arc surface of the detection bladder 4, allowing the detection bladder 4 to conform to the inner spherical surface 2 after inflation.

[0035] The active air pressure value is the internal air pressure value at which the detection bladder 4 can maintain a basically expanded state and freely enter and exit the inner spherical surface 2. Under this air pressure condition, the outer diameter of the detection bladder 4 is smaller than the minimum size of the inner spherical surface 2 of the cage-type retainer 1, so the detection bladder 4 can freely enter and exit the cage-type retainer 1. The detection air volume is the amount of gas required to inflate the inner spherical surface 2 to the fit state based on the active air pressure value.

[0036] Different product models correspond to different detection capsule models, which are pre-recorded in a data table by staff. The corresponding detection capsule model is retrieved by inputting the product model into the data table. Different detection capsule models and their corresponding product models require different activity pressure values; this relationship is pre-recorded in an activity database. The corresponding activity pressure value is obtained by inputting the detection capsule model and its corresponding product model into the activity database. Different detection capsule models and their corresponding product models require different detection air volumes; the corresponding detection air volume is obtained by inputting the detection capsule model and its corresponding product model into the air pressure database.

[0037] S20: Control the detection bladder 4 to inflate with the active air pressure value, then replenish with the detection air volume, coat the outer surface of the detection bladder 4 with pressure-sensitive color-developing pigment using a preset coating method to form a pressure-sensitive color-developing layer, and then deflate with the detection air volume.

[0038] The coating method involves uniformly adhering the liquid pressure-sensitive colorimetric pigment to the curved surface of the detection capsule 4. The height of the curved surface of the detection capsule 4 determines the immersion depth, and the detection capsule 4 is lowered into the liquid pressure-sensitive colorimetric pigment and rotated once. The pressure-sensitive colorimetric pigment is a liquid mixture that changes color upon compression, composed of microencapsulated crystal violet lactone, zinc salicylate, waterborne polyurethane resin, and water as a solvent. The pressure-sensitive colorimetric layer is a flexible thin layer formed on the outer surface of the detection capsule 4 after the liquid pressure-sensitive colorimetric pigment is uniformly coated, dried, and cured. The pressure-sensitive colorimetric layer can elastically deform with the detection capsule 4 and forms imprinted patterns of varying color depths and shapes when compressed by the rough area of ​​the inner spherical surface 2.

[0039] The air pump on the upper surface of the detection capsule 4 is controlled to inflate the detection capsule 4 with an active air pressure value, so that the arc surface of the detection capsule 4 unfolds. Then, the air pump is controlled to replenish the detection capsule 4 with detection air, so that the detection capsule 4 reaches a state of contact with the inner spherical surface 2. In this contact state, pressure-sensitive color pigment is applied. After the coating is completed, different detection capsule models correspond to different rotation speeds, which are pre-recorded in the rotation speed data table by the staff. By inputting the detection capsule model into the rotation speed data table, the corresponding rotation speed is found. The detection capsule 4 is controlled to rotate at the corresponding rotation speed to shake off excess solution. Then, the hot air blower placed next to the detection capsule 4 is controlled to blow hot dry air for curing. After curing, a pressure-sensitive color layer is formed on the surface of the detection capsule 4, which is disclosed in S201 to S203. The air pump is controlled to discharge the detection air that was replenished this time.

[0040] S30: Place the detection capsule 4 into the cage retainer 1, inflate the detection capsule 4 with the detection air volume, so that the detection capsule 4 is in a fitted state and maintains the preset fitting and imprinting time to obtain the positioning reference point.

[0041] The "fitting state" refers to the state in which the curved surface of the detection capsule 4 maintains full contact with the area to be detected on the inner spherical surface 2. The fitting and imprinting time refers to the duration required for full contact between the inner spherical surface 2 and the curved surface of the detection capsule 4; this time is preset by the operator. The positioning reference point is the reference point for determining the circumferential starting position of the detection capsule 4 and establishing coordinate relationships. The geometric center of any one of the windows 3 of the cage-type retainer 1 can be selected, and an identification mark is formed at the corresponding position when the detection capsule 4 is in the fitting state.

[0042] The detection capsule 4, under active air pressure, is placed inside the cage-type retainer 1, with the upper and lower end faces of the detection capsule 4 aligned with the axial direction of the cage-type retainer 1. The air pump is controlled to inflate the detection capsule 4 with detection air, gradually bringing the curved surface into contact with the inner spherical surface 2 until they are in a fitted state. This fitted state is maintained for a specified imprinting time, allowing the roughness of the inner spherical surface 2 to be transferred to the pressure-sensitive color-developing layer. A window indentation is formed on the surface of the detection capsule 4 at the edge of the window 3. One window 3 of the cage-type retainer 1 is randomly selected and photographed to obtain an image of the window 3. The standard window shape corresponding to the product model is obtained by scanning a QR code with a camera. The window indentation is then outlined using the standard window shape, and the center of the largest circumcircle of the window indentation is calculated to obtain the geometric center of the window, which is defined as the positioning reference point. An identification mark is formed at the corresponding position on the detection capsule 4 using an inkjet pen. The specific details of obtaining the positioning reference point are disclosed in S301 to S30222.

[0043] S40: Control the deflation of the detection bladder 4 to restore the active air pressure value, control the separation of the detection bladder 4 from the inner spherical surface 2 and remove the detection bladder 4 from the cage retainer 1.

[0044] The inner spherical surface 2 is a continuous arc-shaped surface inside the cage cage 1 that mates with or contacts the rolling elements.

[0045] The air pump at the upper end of the detection capsule 4 gradually discharges the gas that was introduced into the detection capsule 4 during the detection process until the internal air pressure of the detection capsule 4 returns to the active air pressure value. As the internal air pressure decreases, the arc-shaped surface of the detection capsule 4 gradually separates from the inner spherical surface 2. After the detection capsule 4 is completely separated from the inner spherical surface 2, the detection capsule 4 is removed along the axial direction of the cage-type retainer 1, taking care to avoid the arc-shaped surface of the detection capsule 4 scraping against the edge of the window 3, so as not to damage the already formed color pattern.

[0046] S50: Inflate the detection bladder 4 with the detection gas volume, divide the surface of the detection bladder 4 into different regions and output the color images of the corresponding regions, stitch the color images in sequence to obtain the spherical unfolded image, identify the preset rough color features on the spherical unfolded image and output the roughness and rough area.

[0047] The color development image is the image obtained by the camera after capturing the pressure-sensitive color development layer after the transfer is completed. The spherical unfolded image is a planar image formed by correcting, stitching, and unfolding color development images taken from different positions according to axial position and circumferential order, capable of displaying the color development of the entire curved surface within the same plane. The rough color development feature is the image feature formed by the local compression of the pressure-sensitive color development layer by the rough area of ​​the inner sphere 2, including the texture, shape, and color features of the rough color development, preset by staff and stored in a database. The roughness level is a roughness grade determined based on the rough color development feature; the greater the roughness level, the deeper the color development. The rough area is a continuous region in the spherical unfolded image where the rough color development feature meets the roughness recognition condition.

[0048] The air pump on the upper surface of the detection capsule 4 is controlled to inflate it with the required amount of air to restore the capsule to its original size during the imprinting process. The axial arc length, spherical radius, and circumferential angle range of the arc-shaped surface are determined by the capsule model. The central axis of the detection capsule 4 is used as the axial reference. The zero-degree reference plane is jointly determined by the positioning reference point and the central axis. The intersection of the zero-degree reference plane and the continuous arc-shaped surface is defined as the circumferential dividing line. The continuous arc-shaped surface of the detection capsule 4 is divided into multiple axial rings according to a preset axial spacing. Starting from the circumferential dividing line, the surface of the detection capsule 4 is divided into upper and lower circumferential sectors based on the central circumference of the capsule 4 and the axial rings. The surface of the detection capsule 4 is then divided into different regions according to the circumferential sectors on each axial ring. The circumferential sector corresponding to the positioning reference point is used as the first image acquisition area. The camera is controlled to take pictures of different areas on the surface of the detection capsule 4 from left to right and simultaneously from top to bottom, acquiring the color rendering images of the corresponding areas. A certain overlap area is retained between adjacent areas. The SIFT feature matching algorithm is used to extract feature points between adjacent images. Based on the extracted feature points of adjacent images, image registration is completed through the image homography matrix. Then, the equidistant cylindrical projection method in the spherical unfolding algorithm is used to transform multiple area images into a unified two-dimensional coordinate system and stitch them together in circumferential order to obtain a complete spherical unfolded image. The camera scans the QR code to obtain the rough color rendering characteristics corresponding to the product model. Interference areas such as window indentations and positioning marks are excluded from the spherical unfolded photo. The rough color rendering characteristics are identified in the photo, and the color rendering degree and color rendering area are output. The greater the roughness, the deeper the color rendering. The corresponding roughness degree and roughness area are determined by the color rendering degree and color rendering area.

[0049] S61: If the roughness falls within the preset roughness range, then the inner spherical surface 2 is defined as qualified.

[0050] The roughness range is the allowable roughness range determined according to the product model and processing standards of the cage retainer 1, and is preset by the staff.

[0051] The roughness of each identified rough area is compared with the roughness range corresponding to the product model. When the roughness of the effective detection area of ​​the detection capsule 4 is within the allowable range, the state of the spherical surface 2 inside the cage retainer 1 is determined to be qualified, the grinding operation is no longer started, and the qualified detection result is output.

[0052] S62: If the roughness does not fall within the preset roughness range, determine the roughness region coordinates on the spherical unfolded image based on the positioning reference point; determine the grinding coordinates of the inner spherical surface 2 based on the roughness region coordinates, and determine the grinding parameters based on the roughness of the roughness region, and start the grinding airbag to perform grinding.

[0053] The rough area coordinates are the position vectors of the rough area in the spherical unfolded image, including the axial and circumferential coordinates of the rough area center, the region boundary coordinates, the circumferential polar coordinates, width, and area. The rough area coordinates use the central axis of the detection bladder 4 as the axial position reference and the plane containing the central circumference of the detection bladder 4 as the circumferential position reference. The grinding coordinates are the position vectors obtained after transforming the rough area coordinates to the actual space of the spherical surface 2 inside the cage retainer 1, and are used to control the movement of the grinding airbag to the corresponding position on the inner spherical surface 2. The grinding parameters are all the parameters used to control the grinding airbag to complete local grinding, including the grinding airbag model, abrasive mesh size, grinding air volume, replenishment air volume, and deflation speed.

[0054] The grinding airbag is a flexible airbag with an abrasive layer on its outer surface that can be inflated and deflated. The grinding airbag consists of a primary grinding airbag 5 and a secondary grinding airbag 6, which are spaced apart along the control axis. Their overall arrangement resembles two spheres connected in series on the same rod. Both airbags are hollow, symmetrical frustum-shaped airbags with the same diameter at the top and bottom ends and a continuous arc-shaped surface in the middle. The curvature of the arc-shaped surface of the inflated grinding airbag matches the curvature of the inner spherical surface 2 of the cage-like retainer 1. However, the grinding airbag does not simultaneously conform to the entire inner spherical surface 2; it only forms an effective contact area at the current positioning position. Different grinding airbags have abrasive layers with different mesh sizes. By changing the air volume inside the grinding airbag, the expansion size of the grinding airbag can be adjusted, and the abrasive mesh size of the abrasive layer itself can be changed within a certain range.

[0055] When a rough area does not fall within the preset roughness range, the center circumference of the detection capsule 4 is used as the reference latitude line, and the positioning reference point is used as the origin. A line perpendicular to the reference latitude line is drawn through the positioning reference point and defined as the reference longitude line. A coordinate system of X and Y axes is established through the reference latitude line and the reference longitude line, and the rough area is placed in this coordinate system. The circumferential and axial distances of the rough area relative to the origin are output as the rough area coordinates. The size of the arc surface of the detection capsule 4 in the fitted state is the same as the size of the arc surface of the inner sphere 2. Therefore, the grinding coordinates of the inner sphere 2 are the same as the rough area coordinates. Different roughness degrees correspond to different grinding parameters, which are pre-recorded in the grinding data table by the operator. The corresponding grinding parameters can be retrieved by inputting the roughness degree into the grinding data table.

[0056] In S30, before obtaining the positioning reference point by maintaining the preset bonding and imprinting time, the method for obtaining the positioning reference point includes the following steps: S301: Determine the repressurization gas volume and the collection gas volume according to the product model and the detection capsule model. Inflate the detection capsule 4 with the repressurization gas volume. After maintaining the adhesion and imprinting time, deflate with the collection gas volume and collect window image information from the outside of the window 3 onto the surface of the detection capsule 4.

[0057] The re-pressurization gas volume is the amount of gas refilled to enhance the imprinting force between the detection capsule 4 and the rough area of ​​the inner spherical surface 2. The acquisition gas volume is the amount of gas discharged to bring the detection capsule 4 from the re-pressurization state to a suitable image acquisition state for capturing the window indentation. In the image acquisition state, the detection capsule 4 remains basically expanded, while the portion of the detection capsule 4 extending into the window 3 is appropriately retracted, allowing observation of whether an indentation has appeared on the window 3. The window image information is a digital image obtained by photographing the surface window 3 of the detection capsule 4 from the outside of the window 3 of the cage-type retainer 1, looking towards the inside of the window 3.

[0058] Different product models and corresponding detection capsule models correspond to different repressurization and collection gas volumes, which are pre-recorded in the repressurization data table by the staff. By inputting the product model and corresponding detection capsule model into the repressurization data table, the corresponding repressurization and collection gas volumes can be found. The air pump is controlled to inflate the detection capsule 4 with the repressurization gas volume. After the gas volume inside the detection capsule 4 increases, the arc-shaped surface of the detection capsule 4 expands outward, and the surface of the detection capsule 4 located at the window 3 protrudes slightly into the window 3. The pressure-sensitive color development layer at the edge of the window 3 is locally squeezed, so that the shape of the edge of the window 3 is transferred to the surface of the detection capsule 4. After the adhesion and imprinting time is reached, the air pump is controlled to deflate the detection capsule 4 with the collection gas volume. The camera is set outside the cage-type retainer 1 and the shooting direction is facing the inside of the window 3. The camera is controlled to take pictures of the window 3 on the surface of the detection capsule 4 to collect window image information.

[0059] S3021: If a preset window indentation feature is identified in the window image information, it is defined as the transfer being completed and a window indentation being obtained.

[0060] The window indentation feature is an image feature preset by the staff to determine whether a window 3 outline has formed on the pressure-sensitive color development layer. It includes a closed outline or near-closed outline similar in shape to the window 3, continuously distributed color development edges, color changes that are significantly higher than the surrounding area, and indentation areas that conform to the size range of the window 3. The window indentation is the outline mark formed after the edge of the window 3 presses against the pressure-sensitive color development layer on the surface of the detection capsule 4.

[0061] The color-developing area of ​​the pressure-sensitive color-developing layer is identified in the photograph using a color threshold segmentation method, and the outline of the color-developing area is extracted. The window indentation feature matching the model is determined by scanning the QR code on the outside of the cage-type retainer 1 with a camera. If the matching window indentation feature is identified in the photograph, it is defined as the transfer is complete, and the color-developing area corresponding to the outline is identified as the window indentation.

[0062] S30211: Determine the standard window shape based on the product model, complete the window indentation based on the standard window shape in the window image information, define the center of the largest circumcircle of the window indentation as the window geometric center, select a window geometric center as the positioning reference point, and mark it at the corresponding position of the detection capsule 4.

[0063] The standard window shape is the complete window 3 outline corresponding to the product model of the cage retainer 1. The geometric center of the window is the center position corresponding to the complete window indentation outline, and is determined by the center of the circumcircle of the window indentation. The positioning reference point is a reference point used to determine the circumferential position of the detection capsule 4, the starting point of the image arrangement, and the coordinates of the rough area. The positioning reference point corresponds to the geometric center of an actual window 3 in the cage retainer 1.

[0064] The standard window shape is obtained by pre-photographing and marking the window 3 of the qualified cage retainer 1, and then uploading the standard window shape to the system and storing it in the window 3 database. Different product models correspond to different standard window shapes. By inputting the product model into the window 3 database, the standard window shape matching that model is found. The outline of the window indentation that has already appeared in the photograph is extracted, and the standard window shape is scaled to the same size as the actual window indentation. Then, by translating and rotating the standard window shape, the outline in the standard window shape is made to coincide with the corresponding outline in the actual window indentation. The outline parts of the standard window shape that are not shown in the actual window indentation are added to the photograph to complete the outline of the window indentation. The center of the largest circumcircle of the window indentation is drawn in the photograph and defined as the geometric center of the window. The window 3 closest to the QR code on the outside of the cage retainer 1 is defined as the first window, and the corresponding geometric center of the window is used as the positioning reference point. After determining the positioning reference point, the inkjet pen is controlled to form an identification mark at the corresponding position of the detection capsule 4.

[0065] The method for obtaining positioning reference points also includes the following steps: S3022: If the preset window indentation feature is not identified in the window image information, control the detection bladder 4 to inflate it with the collected air volume, and deflate it with the collected air volume after maintaining the adhesion and imprinting time, and update the window image information.

[0066] The color-developing area of ​​the pressure-sensitive color-developing layer is identified in the photograph using a color threshold segmentation method, and the outline of the color-developing area is extracted. The QR code on the outside of the cage-type retainer 1 is scanned by a camera to determine the window indentation feature that matches the model. If the matching window indentation feature is not identified in the photograph, the air pump is controlled to refill the detection bladder 4 with the collection volume, so that the edge of the window 3 is squeezed against the pressure-sensitive color-developing layer again. After maintaining the adhesion and imprinting time, the air pump is controlled to deflate the detection bladder 4 with the collection volume. After deflation is completed, the shape of the detection bladder 4 is waited for to stabilize, and then the camera is controlled to re-capture the surface of the detection bladder 4 from the outside of the corresponding window 3 to update the window image information.

[0067] S30221: Re-identify the preset window indentation features in the updated window image information. If the window indentation features are identified, it is defined as the transfer is completed and the positioning reference point is obtained based on the window indentation.

[0068] On the updated photo, the color-developing area of ​​the pressure-sensitive color-developing layer is re-identified using the color threshold segmentation method, and the outline of the color-developing area is extracted. The QR code on the outside of the cage-type retainer 1 is scanned by a camera to determine the window indentation feature matching this model, and the matching window indentation feature is identified again on the updated photo. If the matching window indentation feature is identified, it is defined as the transfer is complete, and the color-developing area corresponding to the outline is defined as the window indentation.

[0069] After the second imprinting, at least one edge of window 3 has formed a window indentation on the pressure-sensitive color development layer of the detection capsule 4. The outline of the window indentation is extracted from the photograph, and the standard window shape is scaled to the same size as the actual window indentation. Then, by translating and rotating the standard window shape, the outline in the standard window shape coincides with the corresponding outline in the actual window indentation. The outline in the standard window shape that is not shown in the actual window indentation is added to the photograph to complete the outline of the window indentation. The center of its largest circumscribed circle is defined as the geometric center of the window. The window 3 near the outer QR code of the cage holder 1 is defined as the first window, and the corresponding geometric center of the window is used as the positioning reference point.

[0070] S30222: If the window indentation feature is still not detected, then repeat S301 after recoating the pressure-sensitive colorimetric pigment onto the outer surface of the detection capsule 4 using the preset coating method and forming a pressure-sensitive colorimetric layer.

[0071] If no matching window indentation feature is identified on the updated image, it indicates that the pressure-sensitive color development layer has failed. A prompt to recoat the pressure-sensitive color development pigment is output, and the air pump is controlled to deflate the detection capsule 4 until the active air pressure value is restored. The detection capsule 4 is removed from the cage holder 1, and a new pressure-sensitive color development layer is formed to cover the old pressure-sensitive color development layer according to steps S201 to S203. After the new pressure-sensitive color development layer is formed, the detection capsule 4 is put back into the cage holder 1, and the repressurization, holding, deflation and window 3 image acquisition are repeated according to step S301.

[0072] In S301, between maintaining the adhesion and imprinting until venting is performed using the collected gas volume, an indentation deepening method is also included, which includes the following steps: S3011: When the detection capsule 4 is in contact with the pressure, the end face image information of the upper and lower ends of the detection capsule 4 is collected. The end face contour is circled on the end face image information by the preset end face features. The center points of the upper and lower ends are marked on the end face contour and defined as the force points.

[0073] The end-face image information consists of digital images obtained by the camera capturing the upper and lower end faces of the detection capsule 4. The end-face features are preset by the operator to identify image features of the end face of the detection capsule 4 from the end-face image information. The end-face contour is the outer edge of the end face identified from the end-face image information, obtained through color thresholding. The force-bearing point is the location where the two robotic arms contact the end face of the detection capsule 4 and apply axial compressive force.

[0074] With the detection capsule 4 in a fitted and pressed state, the camera is positioned perpendicular to the upper and lower end faces of the detection capsule 4 to capture images of the upper and lower end faces respectively. The camera scans the QR code on the upper end of the detection capsule 4 to determine the end face features that match the detection capsule model. The matching end face features are identified in the images, and the end face area is separated from the background using a color threshold segmentation method. The circle with a color difference between the end face area and the background is the end face outline. The end face outline is drawn, and the center points of the circles on the upper and lower end faces are defined as the upper and lower force points, respectively. The inkjet pen is controlled to form identification force mark points at the corresponding positions on the detection capsule 4.

[0075] S3012: Determine the squeezing force, squeezing time, and vibration frequency based on the product model and the detection bladder model.

[0076] The compression force is the axial force exerted by the compression end of the robotic arm on the upper and lower end faces of the detection capsule 4, used to compress the detection capsule 4 appropriately in the vertical direction. The compression time is the duration for which the upper and lower compression ends maintain the compression force. The vibration frequency is the number of times the exciter on the robotic arm drives the detection capsule 4 to undergo periodic micro-vibrations per unit time.

[0077] Different product models and testing capsule models correspond to different extrusion pressures, extrusion times, and vibration frequencies, which are pre-recorded in the vibration pressure data table by staff. The corresponding testing capsule model can be found by entering the product model into the vibration pressure data table.

[0078] S3013: When the detection capsule 4 is in contact with the imprint, the upper and lower ends of the detection capsule 4 are squeezed at the force point with a squeezing force, and the detection capsule 4 is vibrated at a vibration frequency.

[0079] While the detection capsule 4 remains in a pressed and adhered state, the two robotic arms are controlled to contact the force marking points on the end face of the detection capsule 4. One robotic arm is controlled to move downward at the upper pressing end, while the other robotic arm moves upward at the lower pressing end, so that the upper and lower ends of the detection capsule 4 are subjected to the same axial force. When the actual force reaches the pressing force, the robotic arms are controlled to stop moving and pressurize while maintaining the current force. The pressing time is calculated from the time the pressing force reaches the set value. At the same time, the vibrators set in the two robotic arms are controlled to drive the detection capsule 4 to perform periodic micro-vibrations at a vibration frequency. After the pressing time is reached, the vibrators are controlled to stop vibrating and the robotic arms are controlled to gradually release the force and move away from the end face of the detection capsule 4.

[0080] In S62, between determining the grinding parameters based on the roughness of the rough area and starting the grinding airbag for grinding, a grinding method is also included, which includes the following steps: S6211: If the roughness of the rough area falls within a preset first roughness range, then the rough area falling within the first roughness range is defined as the first rough area.

[0081] The first roughness range is a roughness interval used to indicate that the inner spherical surface 2 has slight roughness and requires fine grinding. This range is preset by the operator. The first roughness region is a local area of ​​the inner spherical surface 2 whose roughness falls within the first roughness range.

[0082] The roughness of each rough region identified in the spherical unfolded image is compared with a first roughness range. If the roughness of a rough region falls within the first roughness range, the region is marked as the first rough region. If there are regions with roughness greater than the first roughness range, they are processed in steps S6221 to S6225.

[0083] S6212: Determine the model of the primary grinding airbag according to the product model and the first roughness range, determine the primary grinding air volume according to the model of the primary grinding airbag, and inflate the primary grinding airbag 5 with the primary grinding air volume.

[0084] The primary grinding airbag model is used to distinguish the structure and working parameters of the primary grinding airbag 5, including the grinding width, abrasive mesh size, axial length, expansion dimension, radius of curvature of the arc surface, and effective contact range after inflation. Different product models have different inner spherical surface 2 dimensions and curvatures, requiring the selection of a primary grinding airbag 5 with a matching arc surface curvature. The primary grinding air volume is the amount of gas required to inflate the primary grinding airbag 5 from its unworking state to its fine grinding working state. The primary grinding airbag 5 is a flexible grinding airbag used for fine grinding of the first rough area, with a finer abrasive mesh size, used to process areas with relatively mild roughness.

[0085] Different product models and initial roughness ranges correspond to different grinding airbag models, which are pre-recorded in the grinding data table by the staff. The corresponding primary grinding airbag model is retrieved by inputting the product model and initial roughness range into the grinding data table. Different grinding airbag models correspond to different grinding air volumes, which are also pre-recorded in the grinding data table by the staff. The corresponding primary grinding air volume is retrieved by inputting the primary grinding airbag model into the grinding data table. The air pump is controlled to fill the primary grinding airbag 5 with gas at the primary grinding air volume. After filling is complete, the air pump is turned off, keeping the primary grinding airbag 5 in fine grinding operation.

[0086] S6213: Determine the first rough block on the spherical unfolded image based on the coordinates of the first rough area and output the circumferential widths at both ends of the block; determine the first-level grinding width based on the model of the first-level grinding airbag.

[0087] The coordinates of the first roughened region are the positional data of the first roughened region in the spherical unfolded image, with the central axis of the detection bladder 4 as the axial position reference and the plane containing the central circumference of the detection bladder 4 as the circumferential position reference. The first roughened block is the arc-shaped surface of the inner spherical surface 2 covered by the widest part of the first roughened region in the circumference. The circumferential width at both ends refers to the distance covered by the first roughened block along the circumference of the inner spherical surface 2. The first-level grinding width is the effective grinding width that the first-level grinding airbag 5 can form in the circumferential direction of the inner spherical surface 2 when it is inflated according to the first-level grinding air volume and adheres to the inner spherical surface 2.

[0088] In the spherical unfolded image, the first rough region is selected from the rough regions based on the first rough range. The coordinates of the first rough region are obtained through the rough region coordinates corresponding to the first rough region. The two coordinate points with the largest circumferential span of the region are output through the first rough region coordinates. The two arc-shaped surfaces of the inner spherical surface covering these two coordinate points are defined as the first rough block. The circumferential span of these two coordinate points is defined as the circumferential width at both ends. Different grinding airbag models correspond to different grinding widths, which are pre-recorded in the grinding width data table by the staff. The corresponding first-level grinding width can be found by inputting the first-level grinding airbag model into the grinding width data table.

[0089] S62141: If the circumferential width at both ends does not fall within the first-level grinding width, output the arc length and circumferential polar coordinates of the first rough area according to the coordinates of the first rough area, and define the first rough area as the first-level arc length grinding area. Determine the first grinding endpoint according to the circumferential polar coordinates and the first-level arc length grinding area.

[0090] The arc length is the actual surface length of the first roughened block extending circumferentially along the inner sphere. The circumferential polar coordinates are the coordinates of the furthest boundaries in two opposite directions as the first roughened block extends circumferentially. The first-level arc-length grinding zone is the first roughened block that cannot be covered by the first-level grinding airbag 5 at a single location in one pass; it requires controlling the movement of the first-level grinding airbag 5 along the circumferential path for grinding. The first grinding endpoint is the starting and ending positioning point corresponding to the movement of the first-level grinding airbag 5 along the first-level arc-length grinding zone, indicating the position that the effective contact center of the first-level grinding airbag 5 needs to reach.

[0091] If the circumferential width at both ends does not fall within the first-level grinding width, it indicates that the arc-shaped surface width of the first roughening block is greater than the effective grinding width of the first-level grinding airbag 5. Therefore, the circumferential start and end coordinates of the first roughening region are determined using the coordinates of the first roughening region. The circumferential span value of the circumferential start and end coordinates on the inner sphere 2 is output as the arc length of the first roughening block. The circumferential coordinates corresponding to the start and end coordinates are then output as the circumferential polar coordinates. This first roughening block is defined as the first-level arc-length grinding zone. To ensure that the effective grinding area of ​​the first-level grinding airbag 5 completely covers the first roughening block, the position of the circumferential polar coordinates within the first-level arc-length grinding zone is compensated using the first-level grinding width to obtain the first grinding endpoint. For example, the first grinding endpoint near the start side is set at a position half an effective grinding width inward from the start boundary of the first roughening block, and the first grinding endpoint near the end side is set at a position half an effective grinding width inward from the end boundary.

[0092] S62142: If the circumferential width at both ends falls within the first-level grinding width, calculate the center point of the first roughness block based on the first roughness block and define it as the first grinding point.

[0093] The center point of the first roughened area is the midpoint of the short arc of the inner spherical surface 2 corresponding to the widest point in the circumference of the first roughened area, representing the position that the center of the effective contact area of ​​the first-stage grinding airbag 5 needs to be aligned with. The first grinding point is the position that the center of the effective contact area of ​​the first-stage grinding airbag 5 should be aligned with. After the first-stage grinding airbag 5 is aligned with the first grinding point, its arc-shaped surface will fit against a piece of inner spherical surface 2 around the first grinding point, thereby covering the entire first roughened area.

[0094] If the circumferential width at both ends falls within the first-level grinding width, it indicates that the effective contact area formed by the first-level grinding airbag 5 in one working position can cover the entire first roughening block, and long-distance movement along the circumference is not required. Select the arc where the maximum circumferential width of the first roughening block is located, and determine and define the first grinding point by calculating the center point of the arc.

[0095] S6215: Control the first-stage grinding airbag 5 to grind sequentially according to the first grinding point and / or the first grinding end point.

[0096] If there is a first grinding point, the path of the first-stage grinding airbag 5 is determined based on the position of the first grinding point on the inner spherical surface 2, and the first grinding point is ground in a clockwise or counterclockwise manner.

[0097] If there is a first grinding endpoint, for the first-level arc length grinding zone processed by the first grinding endpoint, control the first-level grinding airbag 5 to complete the grinding at one first grinding endpoint, and control the first-level grinding airbag 5 to move circumferentially to another first grinding endpoint with the corresponding arc length of the grinding zone, and grind all the first grinding endpoints in a clockwise or counterclockwise manner.

[0098] If there is a first grinding point and a first grinding end point, the path of the first-stage grinding airbag 5 is determined based on the position of the first grinding point and the first grinding end point on the inner spherical surface 2, and the first grinding point and the first grinding end point are ground in a clockwise or counterclockwise manner.

[0099] The grinding method also includes the following steps: S6221: If the roughness of the rough region falls within a preset second roughness range, and the second roughness range is greater than the first roughness range, then the rough region falling within the second roughness range is defined as the second roughness region.

[0100] The second roughness range is used to indicate the degree of roughness of the inner spherical surface 2, which is severely rough and requires rough grinding. This range is preset by the operator. The second roughness region is a local area of ​​the inner spherical surface 2 whose roughness falls within the second roughness range.

[0101] The roughness of each rough region identified in the spherical unfolded image is compared with the second roughness range. If the roughness of a rough region falls into the second roughness range and the second roughness range is greater than the first roughness range, then the region is marked as the second roughness region.

[0102] S6222: Determine the model of the secondary grinding airbag according to the product model and the second roughness range, determine the secondary grinding air volume according to the model of the secondary grinding airbag, and inflate the secondary grinding airbag 6 with the secondary grinding air volume.

[0103] The secondary grinding airbag model is used to distinguish the structure and working parameters of the secondary grinding airbag 6, including the grinding width, abrasive mesh size, axial length, expansion dimension, radius of curvature of the arc surface, and effective contact range after inflation. Different product models have different inner spherical surface 2 dimensions and curvatures, requiring the selection of a secondary grinding airbag 6 with a matching arc surface curvature. The secondary grinding air volume is the amount of gas required to inflate the secondary grinding airbag 6 from its unworking state to its rough grinding working state. The secondary grinding airbag 6 is a flexible grinding airbag used for rough grinding of the second rough area, with a coarser abrasive mesh size, used to process areas with relatively severe roughness.

[0104] Different product models and second roughness ranges correspond to different grinding airbag models, which are pre-recorded in the grinding data table by the staff. The corresponding grinding airbag model is retrieved by inputting the product model and second roughness range into the secondary grinding data table. Different grinding airbag models correspond to different grinding air volumes, which are also pre-recorded in the grinding data table by the staff. The corresponding secondary grinding air volume is retrieved by inputting the secondary grinding airbag model into the grinding data table. The air pump is controlled to fill the secondary grinding airbag 6 with gas at the secondary grinding air volume. After filling is complete, the air pump is turned off, keeping the secondary grinding airbag 6 in rough grinding operation.

[0105] S6223: Determine the second roughness block on the spherical unfolded image based on the coordinates of the second roughness region and output the circumferential widths at both ends of the block; determine the second-stage grinding width based on the model of the second-stage grinding airbag.

[0106] The coordinates of the second roughening region are the positional data of the second roughening region in the spherical unfolded image, with the central axis of the detection bladder 4 as the axial position reference and the plane containing the central circumference of the detection bladder 4 as the circumferential position reference. The second roughening block is the arc-shaped surface of the inner spherical surface 2 covered by the widest part of the second roughening region in the circumference. The circumferential width at both ends refers to the distance covered by the second roughening block along the circumference of the inner spherical surface 2. The secondary grinding width is the effective grinding width that the secondary grinding airbag 6 can form in the circumferential direction of the inner spherical surface 2 when it is inflated according to the secondary grinding air volume and adheres to the inner spherical surface 2.

[0107] In the spherical unfolded image, a second rough area is selected from the rough areas based on the second rough range. The coordinates of the second rough area are obtained through the rough area coordinates corresponding to the second rough area. The two coordinate points with the largest circumferential span of the area are output through the second rough area coordinates. The arc surface of the inner spherical part covering these two coordinate points is defined as the second rough block, and the circumferential span of these two coordinate points is defined as the circumferential width at both ends. Different grinding airbag models correspond to different grinding widths, which are pre-recorded in the grinding width data table by the staff. The corresponding secondary grinding width can be found by inputting the secondary grinding airbag model into the grinding width data table.

[0108] S62241: If the circumferential width at both ends does not fall within the secondary grinding width, output the arc length and circumferential polar coordinates of the second rough area according to the coordinates of the second rough area, and define the second rough area as the secondary arc length grinding area. Determine the second grinding endpoint according to the circumferential polar coordinates and the secondary arc length grinding area.

[0109] The arc length is the actual surface length of the second roughening block extending circumferentially along the inner sphere. The circumferential polar coordinates are the coordinates of the farthest boundaries in two opposite directions when the first roughening block extends circumferentially. The second-level arc-length grinding zone is the second roughening block that cannot be covered by the second-level grinding airbag 6 at a single position in one go, and needs to be ground by controlling the movement of the second-level grinding airbag 6 along the circumferential path. The second grinding endpoint is the starting and ending positioning point corresponding to the movement of the second-level grinding airbag 6 along the second-level arc-length grinding zone, indicating the position that the effective contact center of the second-level grinding airbag 6 needs to reach.

[0110] If the circumferential width at both ends does not fall within the secondary grinding width, it indicates that the arc-shaped surface width of the second roughening block is greater than the effective grinding width of the secondary grinding airbag 6. Therefore, the circumferential start and end coordinates of the second roughening region are determined using the coordinates of the second roughening region. The circumferential span value of the circumferential start and end coordinates on the inner sphere 2 is output as the arc length of the second roughening block. The circumferential coordinates corresponding to the start and end coordinates are then output as the circumferential polar coordinates. This second roughening block is defined as the secondary arc-length grinding zone. To ensure that the effective grinding area of ​​the secondary grinding airbag 6 completely covers the second roughening block, the circumferential polar coordinates are compensated for position using the secondary grinding width within the secondary arc-length grinding zone to obtain the second grinding endpoint. For example, the second grinding endpoint near the start side is set at a position half an effective grinding width inward from the start boundary of the second roughening block, and the second grinding endpoint near the end side is set at a position half an effective grinding width inward from the end boundary.

[0111] S62242: If the circumferential width at both ends falls within the second-level grinding width, calculate the center point of the second roughness block based on the second roughness block and define it as the second grinding point.

[0112] The center point of the second roughening block is the midpoint of the short arc of the inner spherical surface 2 corresponding to the widest point in the circumference of the second roughening block, representing the position that the center of the effective contact area of ​​the secondary grinding airbag 6 needs to be aligned with. The second grinding point is the position that the center of the effective contact area of ​​the secondary grinding airbag 6 should be aligned with. After the secondary grinding airbag 6 is aligned with the second grinding point, its arc-shaped surface will fit against a piece of inner spherical surface 2 around the second grinding point, thereby covering the entire second roughening block.

[0113] If the circumferential width at both ends falls within the secondary grinding width, it indicates that the effective contact area formed by the secondary grinding airbag 6 in one working position can cover the entire second roughening block, and long-distance movement along the circumference is not required. Select the arc where the maximum circumferential width of the second roughening block is located, and determine and define the second grinding point by calculating the center point of the arc.

[0114] S6225: Control the secondary grinding airbag 6 to grind the second rough area sequentially according to the second grinding point and / or the second grinding end point until the roughness of the rough area falls into the preset first roughness range.

[0115] For a two-stage arc-length grinding zone processed using a second grinding endpoint, the two-stage grinding airbag 6 is controlled to complete grinding at one second grinding endpoint, and the two-stage grinding airbag 6 is controlled to move circumferentially along the corresponding arc length of the grinding zone to reach another second grinding endpoint.

[0116] If there is a second grinding point, the path of the secondary grinding airbag 6 is determined based on the position of the second grinding point on the inner spherical surface 2, grinding the second grinding point clockwise or counterclockwise. If there is a second grinding endpoint, for the secondary arc-length grinding area processed using the second grinding endpoint, the secondary grinding airbag 6 is controlled to complete grinding at one second grinding endpoint, and then controlled to move circumferentially along the corresponding arc length of the grinding area to reach another second grinding endpoint, grinding all second grinding endpoints clockwise or counterclockwise. If there are a second grinding point and a second grinding endpoint, the path of the secondary grinding airbag 6 is determined based on the positions of the second grinding point and the second grinding endpoint on the inner spherical surface 2, grinding the second grinding point and the second grinding endpoint clockwise or counterclockwise. The rough area that has been polished by the secondary grinding airbag 6 will fall into the first rough area. If there is a second grinding point, it will be updated to the first grinding point after polishing. If there is a second grinding endpoint, it will be updated to the first grinding endpoint. If there is a second grinding point and a second grinding endpoint, it will be updated to the first grinding point and the first grinding endpoint after polishing, and S6211 to S6215 will be repeated.

[0117] The grinding method also includes the following steps: S6231: Match the air supply volume and the air release speed according to the product model.

[0118] The replenishment air volume is the amount of gas that is continued to be injected into the primary grinding airbag 5 or the secondary grinding airbag 6 after reaching the corresponding grinding air volume, in order to reduce the abrasive mesh size. After this amount of gas is discharged, the grinding airbag will return to its original abrasive mesh size. The point venting rate is the amount of gas discharged from the grinding airbag per unit time when the grinding airbag is grinding at the grinding point.

[0119] Different product models correspond to different air supply and venting speeds, which are pre-recorded in the venting data table by the staff. By inputting the product model of cage cage 1 into the venting data table, the corresponding air supply and venting speed can be found.

[0120] S6232: Control the primary grinding airbag 5 and the secondary grinding airbag 6 to be inflated with the secondary grinding air volume and then replenished with the supplementary air volume; while controlling the secondary grinding airbag 6 to grind at the grinding point, release air at the point release speed until the secondary grinding air volume is reached.

[0121] The air pump is controlled to inflate the primary grinding airbag 5 and the secondary grinding airbag 6 with a secondary grinding air volume. Once both airbags have reached the secondary grinding air volume, additional air is added, and the air pump is shut off to maintain the current expansion state of both airbags. The secondary grinding airbag 6 is moved to the grinding point according to the grinding coordinates corresponding to the grinding point, ensuring that the center of the effective contact area contacts the grinding point. The primary grinding airbag 5 is positioned in an axial avoidance position, avoiding contact with the inner spherical surface 2 of the target. The secondary grinding airbag 6 is controlled to rotate according to the preset secondary grinding speed and direction to begin grinding, and the air pump is controlled to exhaust air at a point-release rate.

[0122] S6233: Control the first-stage grinding airbag 5 to be inflated with the first-stage grinding air volume and then replenished with the supplementary air volume; while controlling the first-stage grinding airbag 5 to grind at the grinding point, release air at the point release speed until the first-stage grinding air volume is reached.

[0123] The air pump is controlled to inflate the first-stage grinding airbag 5 with the first-stage grinding air volume, and then replenished with additional air. After replenishment, the air pump is turned off, keeping the first-stage grinding airbag 5 in its current inflated state. The first-stage grinding airbag 5 is moved to the grinding point according to the grinding coordinates corresponding to the grinding point, so that the center of the effective contact area contacts the grinding point, and the second-stage grinding airbag 6 is placed in an axial avoidance position that does not contact the inner spherical surface 2 of the target. The first-stage grinding airbag 5 is controlled to rotate according to the preset first-stage grinding speed and rotation direction to start grinding. The air pump is controlled to exhaust air at a point-release rate until the first-stage grinding air volume is reached and maintained.

[0124] The grinding method also includes the following steps: S6241: Match the air supply volume and end-point air release speed according to the product model.

[0125] The end-point venting rate is the amount of gas discharged from the secondary grinding airbag 6 per unit time when the secondary grinding airbag 6 is grinding at the grinding end point.

[0126] Different product models correspond to different air supply volumes and end-point venting speeds, which are pre-recorded in the end mill data table by the staff. The corresponding air supply volume and end-point venting speed can be found by entering the product model into the end mill data table.

[0127] S6242: Control the secondary grinding airbag 6 to be inflated with the secondary grinding air volume and then replenished with the supplementary air volume; control the secondary grinding airbag 6 to be in contact with one end point at the grinding end point, and release air at the end point release speed while grinding until the secondary grinding air volume is reached.

[0128] The air pump is controlled to inflate the primary grinding airbag 5 and the secondary grinding airbag 6 with a secondary grinding air volume. Once both grinding airbags have reached the secondary grinding air volume, additional air is added, and the air pump is shut off to maintain the current expansion state of both grinding airbags. At any one end of the grinding process, the secondary grinding airbag 6 is positioned against that end. Simultaneously with the start of grinding, the air pump deflates at the same rate as the end until the secondary grinding airbag 6 reaches the secondary grinding air volume.

[0129] S6243: Control the secondary grinding airbag 6 to move in the secondary arc length grinding zone towards the other end point by a preset circumferential distance. When moving, control the secondary grinding airbag 6 to replenish air with replenishment volume. After moving, repeat S6242 and S6243 to perform grinding until it moves to the other end point.

[0130] The secondary grinding airbag 6 is controlled to move at intervals towards the other end point within the secondary arc-length grinding zone. Different grinding airbag models correspond to different interval distances, which are pre-recorded in the movement data table by the operator. The corresponding interval distance is retrieved by inputting the grinding airbag model into the interval data table. After each point is ground within the secondary arc-length grinding zone, the airbag 6 moves towards the other end point at interval distances until it reaches the other end point. During movement, the air pump is controlled to replenish air to the secondary grinding airbag 6. After the secondary grinding airbag 6 moves, steps S6242 and S6243 are repeated for grinding until it reaches the other end point.

[0131] S6244: Control the first-stage grinding airbag 5 to be inflated with the first-stage grinding air volume and then replenished with the supplementary air volume; control the first-stage grinding airbag 5 to be in contact with one end point at the grinding end point, and release air at the end point release speed while grinding until the first-stage grinding air volume is reached.

[0132] The air pump is controlled to inflate the primary grinding airbag 5 with the primary grinding air volume. Once the primary grinding airbag 5 has reached the primary grinding air volume, additional air is added, and then the air pump is shut off to maintain the primary grinding airbag 5 in its current inflated state. Either end point is selected from the grinding endpoints, and the primary grinding airbag 5 is controlled to fit against that endpoint. Simultaneously with the start of grinding, the air pump is controlled to deflate at the endpoint deflation rate until the primary grinding airbag 5 reaches the primary grinding air volume.

[0133] S6245: Control the first-stage grinding airbag 5 to move in the first-stage arc length grinding zone towards the other end point by a preset circumferential distance. During the movement, control the first-stage grinding airbag 5 to replenish air with replenishment volume. After the movement, repeat S6244 and S6245 to perform grinding until it moves to the other end point.

[0134] The primary grinding airbag 5 is controlled to move at intervals towards the other end point within the primary arc-length grinding zone. Different grinding airbag models correspond to different interval distances, which are pre-recorded in the movement data table by the operator. The corresponding interval distance is retrieved by inputting the grinding airbag model into the interval data table. After grinding each point within the primary arc-length grinding zone, the airbag moves towards the other end point by the interval distance until it reaches the other end point. During movement, the air pump replenishes the primary grinding airbag 5 with additional air. After the primary grinding airbag 5 moves, steps S6244 and S6245 are repeated for grinding until it reaches the other end point.

[0135] In S20, between the replenishment of gas to the detection capsule 4 with the detection gas volume until the pressure-sensitive colorimetric layer is formed, a method for applying the pressure-sensitive colorimetric pigment is also included. The method for applying the pressure-sensitive colorimetric pigment includes the following steps: S201: Determine the height of the arc surface of the detection capsule 4 according to the detection capsule model, and determine the immersion depth of the detection capsule 4 according to the height of the arc surface.

[0136] The arc-shaped surface height is the maximum radial distance that the arc-shaped surface of the detection capsule 4 protrudes outward relative to the edge of the end face. The arc-shaped surface height = the vertical distance from the maximum outward protrusion point of the arc-shaped surface to the central axis of the detection capsule 4 - the radius of the end face of the detection capsule 4. The immersion depth refers to the vertical distance that the lowest contact point of the detection capsule 4 enters below the liquid surface when the detection capsule 4 descends into the liquid pressure-sensitive colorimetric pigment.

[0137] Different detection capsule models correspond to different arc surface heights, which are pre-recorded in a height data table by staff. By inputting the detection capsule model into the height data table, the corresponding arc surface height can be found, and this arc surface height is the immersion depth.

[0138] S202: Control the central axis of the detection capsule 4 to remain horizontal with the surface of the pressure-sensitive colorimetric pigment liquid, and control the detection capsule 4 to descend along the liquid surface to the immersion depth, and rotate once at the immersion depth.

[0139] Control the two robotic arms to clamp the two ends of the detection capsule 4, tilt the detection capsule 4 at 90 degrees, and keep the central axis of the detection capsule 4 horizontal with the liquid surface of the pressure-sensitive colorimetric pigment. When the lowest point of the detection capsule 4 contacts the liquid surface, record the current lifting position and take this position as the immersion start position. Control the robotic arms to move downwards according to the immersion depth. After reaching the immersion depth, stop moving. Control the robotic arms to make the detection capsule 4 rotate around the central axis one revolution.

[0140] S203: Control the detection capsule 4 to lift off the liquid surface, and heat and dry the surface of the detection capsule 4 to form a pressure-sensitive colorimetric layer.

[0141] The robotic arm lifts the detection capsule 4 off the liquid surface. Different detection capsule models correspond to different rotation speeds, which are pre-recorded in the rotation speed data table by the staff. By inputting the detection capsule model into the rotation speed data table, the corresponding rotation speed is found. The detection capsule 4 is controlled to rotate at that speed to shake off excess solution. Then, a hot air blower placed next to the detection capsule 4 is controlled to blow hot dry air for curing. After curing, a pressure-sensitive color development layer is formed on the surface of the detection capsule 4.

[0142] Based on the same inventive concept, embodiments of the present invention provide an online detection and adaptive grinding system for the roughness of an internal spherical surface.

[0143] An online detection and adaptive grinding system for internal spherical surface roughness includes: The acquisition module is used to acquire the product model, color image, and window image information of the cage retainer 1.

[0144] The memory stores a computer program that can be loaded by the processor and executed as a method for online detection and adaptive grinding of internal spherical surface roughness.

[0145] The processor loads and executes programs from memory.

[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is merely an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above is referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0147] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A method for online detection and adaptive grinding of internal spherical surface roughness, characterized in that, include: S10: Obtain the product model of the cage retainer (1), match the corresponding detection bladder model according to the product model, and determine the active air pressure value and detection air volume of the detection bladder (4) according to the detection bladder model and the product model. S20: Control the detection capsule (4) to be inflated with the active air pressure value, and then replenished with the detection air volume. Apply pressure-sensitive color pigment to the outer surface of the detection capsule (4) using a preset coating method to form a pressure-sensitive color layer, and then deflate with the detection air volume. S30: Place the detection capsule (4) into the cage retainer (1), inflate the detection capsule (4) with the detection air volume, so that the detection capsule (4) is in a fitted state and maintains the preset fitting and imprinting time to obtain the positioning reference point. S40: Control the deflation of the detection capsule (4) to restore the active air pressure value, control the separation of the detection capsule (4) from the inner spherical surface (2) and remove the detection capsule (4) from the cage retainer (1); S50: Inflate the detection bladder (4) with the detection gas volume, divide the surface of the detection bladder (4) into different regions and output the color images of the corresponding regions, stitch the color images in sequence to obtain the spherical unfolded image, identify the preset rough color features on the spherical unfolded image and output the roughness and rough area. S61: If the roughness falls within the preset roughness range, then the inner spherical surface (2) is defined as qualified. S62: If the roughness does not fall within the preset roughness range, the roughness region coordinates are determined on the spherical unfolded image based on the positioning reference point; the grinding coordinates of the inner spherical surface (2) are determined based on the roughness region coordinates, and the grinding parameters are determined based on the roughness of the roughness region, and the grinding airbag is started for grinding.

2. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 1, characterized in that, In S30, before obtaining the positioning reference point while maintaining the preset bonding and imprinting time, the method for obtaining the positioning reference point includes: S301: Determine the repressurization gas volume and the collection gas volume according to the product model and the detection capsule model. Inflate the detection capsule (4) with the repressurization gas volume. After maintaining the adhesion and imprinting time, deflate with the collection gas volume and collect window image information from the outside of the window (3) on the surface of the detection capsule (4). S3021: If a preset window indentation feature is identified in the window image information, it is defined as the transfer being completed and a window indentation being obtained; S30211: Determine the standard window shape according to the product model, complete the window indentation based on the standard window shape in the window image information, define the center of the largest outer circle of the window indentation as the window geometric center, select a window geometric center as the positioning reference point, and mark it at the corresponding position of the detection capsule (4).

3. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 2, characterized in that, Methods for obtaining positioning reference points also include: S3022: If the preset window indentation feature is not identified in the window image information, control the detection bladder (4) to inflate with the collected air volume, and deflate with the collected air volume after maintaining the adhesion imprint duration to update the window image information; S30221: Re-identify the preset window indentation features in the updated window image information. If the window indentation features are identified, it is defined as the transfer is completed and the positioning reference point is obtained based on the window indentation. S30222: If the window indentation feature is still not identified, then the pressure-sensitive color pigment is coated again on the outer surface of the detection capsule (4) using the preset coating method to form a pressure-sensitive color layer, and then S301 is repeated.

4. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 2, characterized in that, In S301, between maintaining the adhesion and imprinting and releasing the gas using the collected gas volume, an indentation deepening method is also included, the indentation deepening method comprising: S3011: When the detection capsule (4) is pressed and adhered, the end face image information of the upper and lower ends of the detection capsule (4) is collected. The end face contour is circled on the end face image information by the preset end face features. The center points of the upper and lower ends are marked on the end face contour and defined as the force points. S3012: Determine the extrusion pressure, extrusion time, and vibration frequency based on the product model and the detection bladder model; S3013: When the detection capsule (4) is pressed against the surface, the upper and lower ends of the detection capsule (4) are pressed at the force point with a squeezing force, and the detection capsule (4) is vibrated at a vibration frequency.

5. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 1, characterized in that, In S62, between determining the grinding parameters based on the roughness of the rough region and activating the grinding airbag for grinding, a grinding method is also included, which includes: S6211: If the roughness of the rough region falls within a preset first roughness range, then the rough region falling within the first roughness range is defined as the first rough region. S6212: Determine the model of the first-level grinding airbag according to the product model and the first roughness range, determine the first-level grinding air volume according to the model of the first-level grinding airbag, and inflate the first-level grinding airbag (5) with the first-level grinding air volume. S6213: Determine the first rough area block on the spherical unfolded image based on the coordinates of the first rough area and output the circumferential widths at both ends of the block; determine the first-level grinding width based on the model of the first-level grinding airbag. S62141: If the circumferential width at both ends does not fall within the first-level grinding width, output the arc length and circumferential polar coordinates of the first rough area according to the coordinates of the first rough area, and define the first rough area as the first-level arc length grinding area, and determine the first grinding endpoint according to the circumferential polar coordinates and the first-level arc length grinding area. S62142: If the circumferential width at both ends falls within the first-level grinding width, the center of the first rough area is calculated based on the coordinates of the first rough area, the center point of the first rough area is calculated based on the first rough area, and the center of each first rough area is moved toward the preset reference surface to update the center point of the first rough area and define it as the first grinding point. S6215: Control the first-level grinding airbag (5) to grind sequentially according to the first grinding point and / or the first grinding end point.

6. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 5, characterized in that, Grinding methods also include: S6221: If the roughness of the rough region falls within a preset second roughness range, and the second roughness range is greater than the first roughness range, then the rough region falling within the second roughness range is defined as the second roughness region. S6222: Determine the model of the secondary grinding airbag according to the product model and the second roughness range, determine the secondary grinding air volume according to the model of the secondary grinding airbag, and inflate the secondary grinding airbag (6) with the secondary grinding air volume; S6223: Determine the second roughness block on the spherical unfolded image based on the coordinates of the second roughness region and output the circumferential widths at both ends of the block; determine the second-stage grinding width based on the model of the second-stage grinding airbag. S62241: If the circumferential width at both ends does not fall into the secondary grinding width, output the arc length and circumferential polar coordinates of the second rough area according to the coordinates of the second rough area, and define the second rough area as the secondary arc length grinding area. Determine the second grinding endpoint according to the circumferential polar coordinates and the secondary arc length grinding area. S62242: If the circumferential width at both ends falls within the second-level grinding width, the center of the second rough area is calculated based on the coordinates of the second rough area, the center point of the second rough area is calculated based on the second rough area, and the center of each second rough area is moved toward the preset reference surface to update the center point of the second rough area and define it as the second grinding point. S6225: Control the secondary grinding airbag (6) to grind the second rough area sequentially according to the second grinding point and / or the second grinding end point until the roughness of the rough area falls into the preset first roughness range.

7. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 6, characterized in that, Grinding methods also include: S6231: Match the air supply volume and the air release rate according to the product model; S6232: Control the first-level grinding airbag (5) and the second-level grinding airbag (6) to be inflated with the second-level grinding air volume and then replenished with the supplementary air volume; while controlling the second-level grinding airbag (6) to grind at the grinding point, release air at the point release speed until the second-level grinding air volume is reached. S6233: Control the first-level grinding airbag (5) to inflate with the first-level grinding air volume and then replenish with the supplementary air volume; control the first-level grinding airbag (5) to release air at the point of grinding at the grinding point until the first-level grinding air volume is reached.

8. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 6, characterized in that, Grinding methods also include: S6241: Match the air supply volume and end-point venting speed according to the product model; S6242: Control the secondary grinding airbag (6) to be inflated with the secondary grinding air volume and then replenished with the supplementary air volume; control the secondary grinding airbag (6) to be in contact with one end point at the grinding end point, and release air at the end point release speed while grinding until the secondary grinding air volume is reached. S6243: Control the secondary grinding airbag (6) to move in the secondary arc length grinding zone towards the other end point by a preset circumferential distance. When moving, control the secondary grinding airbag (6) to replenish air with replenishment amount. After moving, repeat S6242 and S6243 to perform grinding until it moves to the other end point. S6244: Control the first-level grinding airbag (5) to be inflated with the first-level grinding air volume and then replenished with the supplementary air volume; control the first-level grinding airbag (5) to be in contact with one end point at the grinding end point, and release air at the end point release speed while grinding until the first-level grinding air volume is reached. S6245: Control the first-stage grinding airbag (5) to move in the first-stage arc length grinding zone towards the other end point by a preset circumferential distance. When moving, control the first-stage grinding airbag (5) to replenish air with replenishment amount. After moving, repeat S6244 and S6245 to perform grinding until it moves to the other end point.

9. The method for online detection and adaptive grinding of internal spherical surface roughness according to claim 1, characterized in that, In S20, between the replenishment of gas to the control detection capsule (4) with the detection gas volume until the pressure-sensitive colorimetric layer is formed, a method for applying the pressure-sensitive colorimetric pigment is also included, wherein the method for applying the pressure-sensitive colorimetric pigment includes: S201: Determine the arc surface height of the detection capsule (4) according to the detection capsule model, and determine the immersion depth of the detection capsule (4) according to the arc surface height; S202: Control the central axis of the detection capsule (4) to remain horizontal with the surface of the pressure-sensitive colorimetric pigment liquid, and control the detection capsule (4) to descend along the liquid surface to the immersion depth, and rotate once at the immersion depth; S203: Control the detection capsule (4) to lift off the liquid surface and heat and dry the surface of the detection capsule (4) to form a pressure-sensitive colorimetric layer.

10. An online detection and adaptive grinding system for internal spherical surface roughness, characterized in that, include: The acquisition module is used to acquire the product model, color image, and window image information of the cage retainer (1); A memory for storing a program for an online detection and adaptive grinding method for internal spherical surface roughness as described in any one of claims 1 to 9; The processor and memory can load and execute programs to realize online detection and adaptive grinding methods for internal spherical surface roughness.