Error detection systems, methods, computer equipment and media for mechanical products
An automated detection system based on capacitance value and measurement distance has solved the problem of precision error after mechanical product assembly, achieving efficient error detection and improved production efficiency.
Patent Information
- Application Number
- CN202310610635.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-05-26
AI Technical Summary
Mechanical products have precision errors after assembly. Existing testing methods rely on manual operation, which is inefficient and requires highly experienced technicians.
An error detection system comprising a first measuring component and a second measuring component is employed to determine the installation error of the guide and components by measuring capacitance value and measurement distance, and to automatically detect parallelism and perpendicularity using a processor.
It has enabled automated error detection of mechanical products, improved detection efficiency, reduced assembly difficulty, and increased production efficiency.
Smart Images

Figure CN116817828B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of device testing technology, specifically to error detection systems, methods, computer equipment, and media for mechanical products. Background Technology
[0002] In the manufacturing industry, mechanical products undergo stages such as equipment design, production assembly, and precision testing before being sold. After the design drawings are completed, they need to be processed into parts, and then the parts need to be assembled and debugged before becoming a mechanical product. The debugging stage is particularly important. Because errors are unavoidable in the production stage, the assembled mechanical device may have some precision errors, which may affect the use of the product. Currently, the main method for controlling equipment precision is for relevant technicians to assemble and debug the equipment while using a micrometer and dial indicator. This requires these technicians to have comprehensive assembly and debugging experience, placing high demands on their skills, and this method is relatively inefficient for product testing. Summary of the Invention
[0003] In view of this, the present invention provides an error detection system, method, computer equipment and medium for mechanical products, in order to solve the problem of low detection efficiency of mechanical products.
[0004] In a first aspect, the present invention provides an error detection system for mechanical products, the system comprising:
[0005] The first measuring component includes a first electrode unit, a second electrode unit respectively disposed on a first guide and a second guide of the object to be measured, and a metal sheet disposed on a slider. The electrodes of the first electrode unit and the second electrode unit are opposite. The object to be measured includes a first guide, a second guide, a slider, and a first component. The first component is fixed to the slider, and the slider slides on both the first guide and the second guide.
[0006] A second measuring component is disposed on the first part of the object to be measured; and
[0007] The processor, connected to the first measuring component and the second measuring component, is used to acquire the capacitance value between the first guide and the second guide when the slider slides on the first guide and the second guide, and the measured distance between the first component and the target surface, respectively, so as to determine the installation error detection results of the first guide, the second guide, and the first component.
[0008] In one alternative embodiment, the system further includes an image acquisition device disposed on the slider.
[0009] In a second aspect, the present invention provides an error detection method for a mechanical product, applied to the processor described in the second aspect, the method comprising:
[0010] The capacitance value between the first guide and the second guide in the object under test is determined based on the first measuring component.
[0011] The measurement distance between the first component of the object under test and the target surface is determined based on the second measurement component.
[0012] Based on the capacitance value and the measurement distance, the installation error detection results of the first guide, the second guide, and the first component are determined. The installation error detection results include the parallelism detection results between the first guide and the second guide, and the perpendicularity detection results between the first component and the target surface.
[0013] The error detection method for mechanical products provided by this invention determines the capacitance value between a first guide and a second guide in the object under test based on a first measuring component, and determines the measurement distance between a first component of the object under test and a target surface based on a second measuring component. The installation error detection results for the first guide, the second guide, and the first component are determined based on the capacitance value and the measurement distance. The installation error results include the parallelism detection results between the first and second guides and the perpendicularity detection results between the first component and the target surface. This method provides an error detection method for the object under test, which can automatically detect the object, save detection time, improve detection efficiency, thereby reducing the technical difficulty of assembly and improving production efficiency.
[0014] In one optional implementation, determining the capacitance value between the first guide and the second guide in the object under test based on the first measuring component includes:
[0015] When the slider in the object under test slides on the first guide and the second guide, the capacitance value between the first guide and the second guide is determined based on the first electrode unit disposed on the first guide and the second electrode unit disposed on the second guide in the first measuring component.
[0016] In one optional implementation, the parallelism detection result is determined as follows: the change in capacitance value is determined based on the capacitance value between the first guide and the second guide;
[0017] The parallelism between the first guide and the second guide is determined based on the change in capacitance value.
[0018] In one optional implementation, determining the parallelism between the first guide and the second guide based on the change in capacitance value includes:
[0019] When the change in capacitance is zero, the first guide and the second guide are parallel.
[0020] In one optional implementation, the perpendicularity detection result between the first component and the target surface is determined as follows:
[0021] Determine whether the measured distance and the preset threshold are equal, and obtain the determination result;
[0022] When the judgment result is that the measured distance is not equal to the preset threshold, the verticality detection result is determined to be that the first component is not perpendicular to the target surface.
[0023] In an optional implementation, the method further includes:
[0024] Acquire the target image captured by the image acquisition device in the system;
[0025] By comparing the positions of the target baseline in each target image, the comparison results are obtained.
[0026] The parallelism detection result between the first guide and the second guide is determined based on the comparison result.
[0027] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the error detection method for mechanical products described in the second aspect or any corresponding embodiment thereof.
[0028] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the error detection method for a mechanical product according to the second aspect above or any corresponding embodiment. Attached Figure Description
[0029] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0030] Figure 1 This is a schematic block diagram of an error detection system for mechanical products according to an embodiment of the present invention;
[0031] Figure 2 This is a schematic diagram of an error detection system for mechanical products according to an embodiment of the present invention;
[0032] Figure 3 This is a schematic diagram of an error detection system for a mechanical product according to an embodiment of the present invention;
[0033] Figure 4 This is a flowchart illustrating an error detection method for mechanical products according to an embodiment of the present invention;
[0034] Figure 5 This is a schematic diagram illustrating the capacitance value change according to an embodiment of the present invention;
[0035] Figure 6 This is a schematic diagram illustrating the capacitance value change according to an embodiment of the present invention;
[0036] Figure 7 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0038] Before being sold, mechanical products undergo stages such as equipment design, production assembly, and precision testing. After the design drawings are completed, they need to be manufactured to become parts. These parts then require assembly and debugging before becoming the final mechanical product. Some mechanical products consist of multiple components, each with fixed installation angles according to regulations, such as parallel or perpendicular to each other. Even minute errors in the installation angles between the assembled components may exist. If these errors are not detected, they may affect the subsequent use of the mechanical product. In related technologies, error detection is typically performed manually by technicians using micrometers. After detection, the mechanical product needs to be debugged. In industrial production, this detection and debugging process is time-consuming, requires technicians to have comprehensive assembly and debugging experience, places high demands on the technical personnel, and results in relatively low product testing efficiency.
[0039] Based on this, embodiments of the present invention provide an error detection system for mechanical products, such as... Figure 1 As shown, the system includes: a first measurement component 1001, a second measurement component 108, and a processor 10. The object under test is as follows: Figure 2 As shown, the first measuring component 1001 includes a first electrode unit 101 and a second electrode unit 102 respectively disposed on the first guide 104 and the second guide 105 of the object to be measured, and a metal sheet 103 disposed on the slider 106. The electrodes of the first electrode unit 101 and the second electrode unit 102 are opposite. The object to be measured includes the first guide 104, the second guide 105, the slider 106, and the first component 107. The first component 107 is fixed to the slider 106, and the slider 106 slides on the first guide 104 and the second guide 105 simultaneously.
[0040] The second measuring component 108 is disposed on the first component 107 of the object to be measured.
[0041] The processor 10 is connected to the first measuring component 1001 and the second measuring component 108, and is used to acquire the capacitance value between the first guide 104 and the second guide 105 when the slider 106 slides on the first guide 104 and the second guide 105, and the measured distance between the first component 107 and the target surface, so as to determine the installation error detection results of the first guide 104, the second guide 105 and the first component 107.
[0042] The first guide member 104 and the second guide member 105 can be a slide rail or a slide groove, and the sliding member 106 can be a pulley or a slider.
[0043] According to production standards, the first guide 104 and the second guide 105 in the test object are parallel to each other. However, due to production errors, the first guide 104 and the second guide 105 may not be parallel, so it is necessary to test the parallelism between the first guide 104 and the second guide 105. Since the electrodes of the first electrode unit 101 and the second electrode unit 102 on the first guide 104 and the second guide 105 are opposite, positive current and negative current are respectively applied to the first guide 104 and the second guide 105, forming a capacitance region between the first guide 104 and the second guide 105. The metal sheet 103 is disposed on the slider 106. When the slider 106 slides on the first guide 104 and the second guide 105, the metal sheet 103 disposed on the slider 106 can cut the capacitance region between the first guide 104 and the second guide 105.
[0044] The processor acquires the capacitance value between the first guide 104 and the second guide 105. As the slider 106 moves on the first guide 104 and the second guide 105, the capacitance value between them may change. Based on the change in capacitance value, the processor determines the installation error detection result of the first guide 104 and the second guide 105. This installation error detection result may include the parallelism between the first guide 104 and the second guide 105. The first component 107 can pass through the slider 106 and be fixed to it. The specific position is not limited. According to the production standard, the slider 106 and the first component 107 are perpendicular to each other. When the object to be tested is placed horizontally, the plane between the first guide 104 and the second guide 105 is parallel to the target surface. According to the production standard, the first component 107 should be perpendicular to the target surface. The target surface can be a tabletop, the ground, or any flat surface. Taking the ground as the target surface as an example, when the first component 107 is perpendicular to the ground, the distance between point A on the first component 107 and the ground is set as a preset threshold. The specific location of point A is not limited. The distance from point A on the first component 107 to the ground is measured by the second measuring component 108, and this distance is defined as the measurement distance. If the measurement distance is not the same as the preset threshold, the installation error of the first component 107 can be determined, specifically the perpendicularity of the first component 107 to the target surface.
[0045] In some alternative implementations, the system also includes an image acquisition device 109, which is disposed on the slider 106.
[0046] like Figure 3 As shown, the image acquisition device 109 is mounted on the slider 106, and can be mounted at any part of the slider 106.
[0047] According to an embodiment of the present invention, an error detection method for mechanical products is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0048] This embodiment provides an error detection method for mechanical products, which can be used in the processor of the aforementioned error detection system for mechanical products. Figure 4 This is a flowchart of an error detection method for mechanical products according to an embodiment of the present invention, such as... Figure 4 As shown, the process includes the following steps:
[0049] Step S11: Determine the capacitance value between the first guide and the second guide in the object under test based on the first measuring component.
[0050] The object under test is a mechanical product, which may be a moving shaft. The object under test is assembled from one or more components. The first measuring assembly includes a first electrode unit and a second electrode unit respectively disposed on a first guide and a second guide of the object under test, as well as a metal sheet disposed on a sliding component. According to production standards, the first and second guides in the object under test are parallel to each other. However, due to production errors, the first and second guides may not be parallel, therefore, it is necessary to detect the parallelism between the first and second guides. The processor in the first measuring assembly can be connected to the metal sheet via a signal line to receive the capacitance value between the first and second guides.
[0051] The measurement principle is explained below. Capacitance, also known as capacitance, refers to the amount of free charge stored under a given potential difference. Generally, charges move under the influence of an electric field. When a dielectric material exists between conductors, it hinders the movement of charges, causing them to accumulate on the conductors, resulting in charge storage. The amount of stored charge is called capacitance. Capacitance is a physical quantity that expresses the ability of a capacitor to store charge. Physically speaking, capacitance is a static charge storage medium, and the charge may exist permanently. The ratio of the charge Q carried by a capacitor to the voltage U between its terminals is called the capacitance of the capacitor. In circuit theory, the ability of a capacitor to store charge under a given potential difference is called capacitance, denoted by C. If a capacitor carries 1 coulomb of charge and the potential difference between its terminals is 1 volt, the capacitance of this capacitor is 1 farad, i.e., C = Q / U. However, the size of the capacitance is not determined by Q (charge) or U (voltage). The capacitance formula is as follows:
[0052]
[0053] Where C represents capacitance, ε r Let S represent the relative permittivity of the dielectric, S represent the area of the two plates facing each other, k represent the electrostatic constant, and d represent the distance between the two plates.
[0054] When there is a distance *d* between the two plates, and the upper and lower plates are connected by a signal line and respectively carry positive and negative currents, a capacitance region is formed between the upper and lower plates. The capacitance value is read by testing. To analyze the changes in a parallel-plate capacitor, first determine the invariants and fundamental variables: the charge *Q* remains constant, the voltage between the two plates remains constant, and the variables include the area *S* of the facing plates, the distance between the plates, and the dielectric constant. If a metal material is inserted between the plates, according to electrostatic induction, opposite charges are induced on the upper and lower sides of the metal material. Since there is no electric field inside the metal material, this is equivalent to reducing the distance between the plates for the capacitor. As the metal material moves between the plates, any change in the capacitance value will cause a change in the capacitance value. The change in capacitance value can then be analyzed.
[0055] Based on the above principle, in this embodiment, since the electrodes of the first electrode unit and the second electrode unit provided on the first guide member and the second guide member are opposite, positive current and negative current are respectively applied to the first guide member and the second guide member, forming a capacitance region on the first guide member and the second guide member. A metal sheet is disposed on a sliding member. When the sliding member moves on the first guide member and the second guide member, the metal sheet disposed on the sliding member can cut the capacitance region between the first guide member and the second guide member. The processor is connected to the metal sheet via a signal line. When the metal sheet cuts the capacitance region, the capacitance value is displayed on a display device connected to the processor. The display device can display the specific capacitance value or display a capacitance value change graph in the form of an image. The display method of the capacitance value can be set according to the actual situation.
[0056] Step S12: Determine the measurement distance between the first part of the object to be measured and the target surface based on the second measurement component.
[0057] The first component can be fixed to the slider through it. The specific fixing position is not limited. According to production standards, the slider and the first component are perpendicular to each other. When the object to be measured is placed horizontally, the plane between the first guide and the second guide is parallel to the target surface. According to production standards, the first component should be perpendicular to the target surface. The target surface can be a tabletop, the ground, or any kind of plane. Taking the ground as an example, when the first component is perpendicular to the ground, the distance between point A on the first component and the ground is set to a preset threshold. The specific position of point A is not limited. The distance from point A on the first component to the ground is measured by the second measuring component, and this distance is defined as the measurement distance.
[0058] It is important to note that the position of point A can also overlap with the position of the second measuring component. That is, the second measuring component directly measures the straight-line distance from itself to the target surface. Correspondingly, the preset threshold is the distance from point A to the target surface under ideal conditions when the first component is perpendicular to the target surface. The second measuring component is a distance measuring device, such as a rangefinder. Specifically, it can be a laser rangefinder, ultrasonic rangefinder, infrared rangefinder, etc., and can be set according to actual needs. The second measuring component is connected to the processor via a signal line. The processor receives the measured distance between the first component and the target surface measured by the second measuring component and displays the measured distance on a display device connected to the processor.
[0059] Step S13: Determine the installation error detection results of the first guide, the second guide, and the first component based on the capacitance value and the measurement distance.
[0060] The installation error detection results include the parallelism detection results between the first guide and the second guide, and the perpendicularity detection results between the first component and the target surface.
[0061] The processor acquires the capacitance value between the first and second guide members, converts the electrical signal into a digital signal via an analog block, and displays the capacitance value on a display device connected to the processor. As the slider moves on the first and second guide members, the capacitance value between them may change. If a change in capacitance value occurs, all capacitance values are displayed on the display device. It can also be configured to display an image of the capacitance value changing with the sliding distance based on the acquired capacitance values. A certain end of the guide member can be set as the sliding starting point. As the slider begins to slide from the starting point, the sliding distance continuously increases, with the maximum sliding distance being the length of the guide member or the maximum distance the slider can move on the two guide members.
[0062] The processor detects the installation error of the first and second guide members based on the capacitance value on the display device. After acquiring the capacitance value, the processor further detects the installation error based on changes in the capacitance value, specifically by detecting the parallelism between the first and second guide members. If the capacitance value changes, it indicates a change in the distance between the first and second guide members, thus determining that they are not parallel, and the result is displayed on the display device. Alternatively, relevant personnel can also make the judgment based on the capacitance value on the display device.
[0063] The processor acquires the measured distance between the first component and the target surface. Based on this distance, it can determine whether the first component has an installation error. The installation error detection result includes the perpendicularity detection result between the first component and the target surface, i.e., whether the first component is perpendicular to the target surface. The result of the installation error determination can be displayed on a display device, or it can be determined by relevant personnel based on the measured distance.
[0064] The error detection method for mechanical products provided by this invention determines the capacitance value between a first guide and a second guide in the object under test based on a first measuring component, and determines the measurement distance between a first component of the object under test and a target surface based on a second measuring component. The installation error detection results for the first guide, the second guide, and the first component are determined based on the capacitance value and the measurement distance. The installation error results include the parallelism detection results between the first and second guides and the perpendicularity detection results between the first component and the target surface. This method provides an error detection method for the object under test, which can automatically detect the object, save detection time, improve detection efficiency, thereby reducing the technical difficulty of assembly and improving production efficiency.
[0065] In some optional embodiments, step S11 includes: when the slider in the object to be measured slides on the first guide and the second guide, determining the capacitance value between the first guide and the second guide based on the first electrode unit disposed on the first guide and the second electrode unit disposed on the second guide in the first measuring component.
[0066] The sliding member can be controlled by a mechanical device to slide on the first and second guide members, or it can be moved manually; the specific method is not limited. A metal plate is provided on the sliding member. The first and second guide members are respectively connected to the first and second electrode units, and the first and second electrode units are opposite in orientation. When the first and second electrode units are connected to different potentials, as the sliding member moves on the guide members, the metal plate on the sliding member will cut the potential region between the first and second electrode units. The metal plate can be connected to the processor via a signal line to obtain and display the capacitance value between the first and second guide members.
[0067] In some optional implementations, the parallelism detection result is determined as follows: Step S21, the capacitance change is determined based on the capacitance value between the first guide and the second guide.
[0068] The change in capacitance can be zero or not equal to zero. As the slider moves on the first and second guides, the collected capacitance value is displayed, and the change in capacitance value is calculated during the movement of the slider.
[0069] Step S22: Determine the parallelism between the first guide and the second guide based on the change in capacitance value.
[0070] It can display an image showing the change in capacitance value, thereby determining the parallelism between the first and second guide members based on the change. If the capacitance value changes, it indicates that the distance between the first and second guide members has changed, suggesting that the first and second guide members are not parallel. Figure 5 As shown, relevant technicians can adjust the object under test according to the displayed capacitance value change graph, and change the error in the assembly process by tapping or applying external force until the final capacitance value no longer changes.
[0071] In some alternative implementations, step S22 includes: when the change in capacitance is zero, the first guide and the second guide are parallel to each other.
[0072] When the first guide member and the second guide member are parallel, the capacitance between them remains unchanged, such as Figure 6 As shown.
[0073] It should be noted that this detection method can be used to detect any pair of parallel parts in the object to be tested. The object to be tested provided in this embodiment is only an illustration and can actually be other shapes.
[0074] In some optional implementations, the perpendicularity test result between the first component and the target surface is determined as follows:
[0075] Step S31: Determine whether the measured distance and the preset threshold are equal, and obtain the determination result;
[0076] Step S32: When the judgment result is that the measured distance is not equal to the preset threshold, the verticality detection result is determined to be that the first component is not perpendicular to the target surface.
[0077] The judgment results include whether the measured distance is not equal to the preset threshold, and whether the measured distance is equal to the preset threshold. When the measured distance is not equal to the preset threshold, it can be determined that the first component is not perpendicular to the target surface.
[0078] Taking the second measuring component as an infrared emitter as an example, the infrared light forms a real-time waveform diagram through the interval of reflection time. Technicians can judge the waveform diagram and then adjust the first component. Alternatively, the waveform diagram can be judged automatically, and an external control device can be connected to automatically adjust the first component.
[0079] It should be noted that this detection method is used to detect the perpendicularity of any component in the object to be tested. The object to be tested provided in this embodiment is only an illustration and can actually be other shapes.
[0080] This embodiment provides an error detection method for mechanical products, used in a processor of an error detection system for mechanical products. The method includes the following steps:
[0081] Step S41: Obtain the target image acquired by the image acquisition device in the system.
[0082] The image acquisition device can be mounted on the slider or fixed to a first component on the slider. This embodiment is used to detect the parallelism between the first guide and the second guide, so the surface captured by the image acquisition device is parallel to the plane between the first and second guides. For example, a piece of paper can be placed under the device under test, and a target reference line can be set on the paper. The direction of the target reference line is consistent with the movement direction of the slider, and the position of the target reference line on the paper is not limited, as long as the image acquisition device can capture it. As the slider moves, the image acquisition device captures images of the paper, obtaining multiple target images.
[0083] Step S42: Compare the positions of the target baseline in each target image to obtain the comparison results.
[0084] The target image is a paper image below the slider when it is in different positions. Each paper image contains a target baseline. The processor can compare each target image, for example by overlapping the target images or by comparing the relative coordinates of the target baseline in the target images, to determine that the target baseline in each target image is in the same position.
[0085] Step S43: Determine the parallelism detection result between the first guide and the second guide based on the comparison result.
[0086] If the target baselines in each target image are at different positions, it can be determined that the first guide and the second guide are not parallel; if the target baselines in each target image are at the same position, it can be determined that the first guide and the second guide are parallel.
[0087] The target baseline can also be set as a vertical edge feature. By analyzing the edge lines of the features in the image pixels and performing virtual extension calculations, the camera software obtains virtual coordinates through virtual calculations. The first image is then set as the baseline coordinates. Each time the camera moves, it takes a picture, and the pixel ratio of the photos is used to calculate the actual size represented by each pixel. These values are then compared to provide a deviation value, which is the camera positioning compensation. This deviation value can be fed back to the control system, which then adjusts the components in the object under test.
[0088] In equipment design, every designer aims for a product with zero tolerance. However, after the design drawings are completed, they need to be manufactured to become parts. These parts then require assembly and debugging before becoming the final product. This invention provides real-time accuracy feedback starting from the assembly and debugging stage, assisting in assembly, debugging, and production operations. This invention uses three methods—potential difference, light reflection, and vision—to perform comprehensive accuracy compensation calculations, ensuring that design tolerances are fully extended to assembly, debugging, and production. This saves personnel time during the assembly and debugging phase, reduces the technical difficulty of assembly work, and improves production efficiency.
[0089] This embodiment also provides an error detection device for mechanical products, which is used to implement the above embodiments and implementation methods; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0090] This embodiment provides an error detection device for mechanical products, including:
[0091] A capacitance determination module is used to determine the capacitance value between the first guide and the second guide in the object under test based on the first measurement component.
[0092] A distance determination module is used to determine the measurement distance between the first component of the object to be measured and the target surface based on the second measurement component;
[0093] An error detection module is used to determine the installation error detection results of the first guide, the second guide, and the first component based on the capacitance value and the measurement distance. The installation error detection results include the parallelism detection results between the first guide and the second guide, and the perpendicularity detection results between the first component and the target surface.
[0094] In some alternative implementations, the capacitance determination module includes:
[0095] The capacitance determination unit is used to determine the capacitance value between the first guide and the second guide based on the first electrode unit disposed on the first guide and the second electrode unit disposed on the second guide in the first measuring component when the slider in the object under test slides on the first guide and the second guide.
[0096] In some optional implementations, the error detection module includes: a change determination unit, configured to determine the change in capacitance value based on the capacitance value between the first guide and the second guide;
[0097] A parallelism determination unit is used to determine the parallelism between the first guide member and the second guide member based on the change in capacitance value.
[0098] In some optional implementations, the parallelism determination unit includes:
[0099] The first determining subunit is configured to ensure that the first guide and the second guide are parallel when the change in capacitance is zero.
[0100] In some optional implementations, the error detection module includes:
[0101] A distance judgment unit is used to determine whether the measured distance and a preset threshold are equal, and to obtain a judgment result;
[0102] A verticality determination unit is used to determine that the verticality detection result is that the first component and the target surface are not perpendicular when the judgment result is that the measured distance is not equal to the preset threshold.
[0103] In some alternative embodiments, the apparatus further includes:
[0104] The image acquisition module is used to acquire the target image captured by the image acquisition device in the system;
[0105] The comparison result determination module is used to compare the position of the target baseline in each target image and obtain the comparison result.
[0106] The second determining module is used to determine the parallelism detection result between the first guide and the second guide based on the comparison result.
[0107] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0108] In this embodiment, the error detection device for mechanical products is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0109] This invention also provides a computer device having the error detection device for the aforementioned mechanical product.
[0110] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 7 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 7 Take a processor 10 as an example.
[0111] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0112] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0113] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0114] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0115] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0116] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0117] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. An error detection system for mechanical products, characterized in that, The system includes: The first measuring component includes a first electrode unit, a second electrode unit respectively disposed on a first guide and a second guide of the object to be measured, and a metal sheet disposed on a slider. The electrodes of the first electrode unit and the second electrode unit are opposite. The object to be measured includes a first guide, a second guide, a slider, and a first component. The first component is fixed to the slider, and the slider slides on both the first guide and the second guide. A second measuring component is disposed on the first part of the object to be measured; and A processor, connected to the first measuring component and the second measuring component, is configured to acquire, respectively, the capacitance value between the first guide and the second guide when the slider slides on the first guide and the second guide, and the measured distance between the first component and the target surface, to determine the installation error detection results of the first guide, the second guide, and the first component; the installation error detection results include the parallelism detection results between the first guide and the second guide, and the perpendicularity detection results between the first component and the target surface; A capacitor region is formed between the first guide member and the second guide member. When the slider slides on the first guide member and the second guide member, the metal sheet provided on the slider member cuts the capacitor region between the first guide member and the second guide member. The parallelism test results are determined as follows: The capacitance change is determined based on the capacitance value between the first guide member and the second guide member; the parallelism between the first guide member and the second guide member is determined based on the capacitance change. The perpendicularity test result between the first component and the target surface is determined as follows: Determine whether the measured distance and the preset threshold are equal to obtain a judgment result; if the judgment result is that the measured distance and the preset threshold are not equal, determine that the verticality detection result is that the first component is not perpendicular to the target surface.
2. The system according to claim 1, characterized in that, The system also includes an image acquisition device, which is mounted on the slider.
3. A method for detecting errors in mechanical products, characterized in that, The method, applied to the processor in the system of claim 1, comprises: The capacitance value between the first guide and the second guide in the object under test is determined based on the first measuring component. The measurement distance between the first component of the object under test and the target surface is determined based on the second measurement component. Based on the capacitance value and the measurement distance, the installation error detection results of the first guide, the second guide, and the first component are determined. The installation error detection results include the parallelism detection results between the first guide and the second guide, and the perpendicularity detection results between the first component and the target surface.
4. The method according to claim 3, characterized in that, Determining the capacitance value between the first guide and the second guide in the object under test based on the first measuring component includes: When the slider in the object under test slides on the first guide and the second guide, the capacitance value between the first guide and the second guide is determined based on the first electrode unit disposed on the first guide and the second electrode unit disposed on the second guide in the first measuring component.
5. The method according to claim 4, characterized in that, The parallelism test results are determined as follows: The amount of capacitance change is determined based on the capacitance value between the first guide and the second guide; The parallelism between the first guide and the second guide is determined based on the change in capacitance value.
6. The method according to claim 5, characterized in that, Determining the parallelism between the first guide and the second guide based on the change in capacitance includes: When the change in capacitance is zero, the first guide and the second guide are parallel.
7. The method according to claim 3, characterized in that, The perpendicularity test result between the first component and the target surface is determined as follows: Determine whether the measured distance and the preset threshold are equal, and obtain the determination result; When the judgment result is that the measured distance is not equal to the preset threshold, the verticality detection result is determined to be that the first component is not perpendicular to the target surface.
8. The method according to claim 3, characterized in that, The method further includes: Acquire the target image captured by the image acquisition device in the system; By comparing the positions of the target baseline in each target image, the comparison results are obtained. The parallelism detection result between the first guide and the second guide is determined based on the comparison result.
9. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the error detection method for the mechanical product according to any one of claims 3 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the error detection method for the mechanical product according to any one of claims 3 to 8.
Citation Information
Patent Citations
Crane synchronous error measurement device and synchronous error deviation-rectification method
CN111847240A
MEMS sensitive structure, tilt angle sensor and control method of tilt angle sensor
CN115420259A
How much quality automatic checkout device of jumbo size sheet metal work piece
CN208042989U
