Method and device for detecting installation state of pluggable board card and electronic equipment

The distance detection system automatically detects the installation status of pluggable boards, solving the problems of low efficiency and low accuracy of manual inspection. It enables accurate judgment of the installation status before assembly, improving detection efficiency and accuracy.

CN121498538APending Publication Date: 2026-02-10INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202511695065.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-14
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

In existing technologies, manual inspection of the proper installation of pluggable boards is inefficient and inaccurate. Furthermore, the use of high-precision pressure sensors on the slots can only be performed after the entire machine is assembled, which cannot prevent installation problems in advance.

Method used

A distance detection system is adopted, which uses a distance sensor to measure the actual detection distance between the pluggable board and the motherboard. By obtaining the relationship between the distance threshold and the actual detection distance, the installation status of the pluggable board is automatically detected and the detection is completed before assembly.

Benefits of technology

It improves the efficiency and accuracy of detecting the installation status of pluggable boards, ensuring that the detection can be completed before assembly, reducing errors, and achieving efficient and accurate installation status judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121498538A_ABST
    Figure CN121498538A_ABST
Patent Text Reader

Abstract

The invention discloses an installation state detection method and device of a pluggable board card and electronic equipment, and relates to the technical field of detection. In the method, the installation state of the pluggable board card to be detected is automatically detected by the distance detection system, so that the detection efficiency and accuracy are improved; secondly, the to-be-detected pluggable board card inserted on the mainboard is moved to the to-be-detected area, the installation state of the to-be-detected pluggable board card is detected, namely detection is carried out before assembly is completed, and it is guaranteed that the pluggable board card can be normally used on a product; thirdly, the adopted distance threshold value is determined according to the target detection distance value corresponding to the distance difference value meeting the preset requirement, and the distance difference value is the difference value between the distance value measured by the distance sensor and the distance value determined manually. The distance threshold value is determined according to the distance measurement result of the board card belonging to the same type as the to-be-detected pluggable board card, so that the selected threshold value is relatively appropriate, and the accuracy of detecting the installation state of the various types of pluggable board cards is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of testing technology, and in particular to a method, apparatus, and electronic device for detecting the installation status of a pluggable board. Background Technology

[0002] Pluggable cards, such as memory modules and graphics cards, need to be inserted into their corresponding slots to function. In practice, pluggable cards may not be properly installed, rendering them unusable. Related technologies involve manual inspection of the installation of pluggable cards, which is time-consuming, labor-intensive, inefficient, and has a high failure rate. Other technologies use high-precision pressure sensors on the slots, transmitting pressure to the processor, and only determining the installation status of the pluggable cards after the computer is powered on. However, this only performs testing after the entire system is assembled, failing to meet the requirement of proactive prevention and ensuring the product is made correctly from the start.

[0003] Therefore, how to accurately and efficiently detect the installation status of pluggable boards to ensure that the product can be used normally after the whole machine is assembled is a technical problem that urgently needs to be solved by people in this field. Summary of the Invention

[0004] The purpose of this invention is to provide a method, device, and electronic device for detecting the installation status of pluggable boards, in order to solve the problems of low efficiency and low accuracy in manually checking the installation status of pluggable boards, and the fact that when using a high-precision pressure sensor on the slot to detect the installation status of pluggable boards, the detection is only performed after the entire machine is assembled, which does not meet the requirements of early prevention and making the product right the first time.

[0005] To address the aforementioned technical problems, this invention provides a method for detecting the installation status of a pluggable board, applied to a distance detection system. The method includes:

[0006] When the platform controller detects that the pluggable card under test plugged into the motherboard has moved to the test area, it receives a detection command sent by the platform controller to characterize the installation status of the pluggable card under test.

[0007] The distance sensor is controlled to operate according to the detection command to obtain the actual detection distance value between the distance sensor and the pluggable board under test;

[0008] Obtain a distance threshold; wherein the distance threshold is determined based on the target detection distance value corresponding to the distance difference that meets the preset requirements; the distance difference is the difference between the detection distance value between itself and the sample pluggable board measured by the distance sensor, and the distance value between the distance sensor and the sample pluggable board determined manually; the sample pluggable board and the pluggable board to be tested are boards of the same type;

[0009] The installation status of the pluggable board under test is determined based on the relationship between the actual detection distance value and the distance threshold.

[0010] On the one hand, obtaining the actual detection distance value between the distance sensor and the pluggable board under test includes:

[0011] Acquire the detection distance values ​​between itself and the pluggable board under test, measured multiple times by the distance sensor;

[0012] The collected detection distance values ​​are arranged in order of magnitude to obtain a distance value sequence;

[0013] Remove a preset number of distance values ​​from both ends of the distance value sequence to obtain the remaining distance value sequence;

[0014] Obtain the average distance value of the distance values ​​in the remaining distance value sequence;

[0015] The actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value.

[0016] On the other hand, determining the actual detection distance value between the distance sensor and the pluggable board under test based on the average distance value includes:

[0017] The distance sensor is measured manually. ...

[0018] Obtain the sum of the distances obtained by adding the first distance value, the height value, and the second distance value;

[0019] Obtain the first difference between the sum of the distances and the third distance value;

[0020] The actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value and the first difference.

[0021] On the other hand, there are multiple distance sensors, each corresponding to a target detection position; the distance threshold is a range of distance thresholds, and obtaining the range of distance thresholds includes:

[0022] A first array is established based on the detection distance values ​​between the target and the sample pluggable board measured multiple times by the target distance sensor at the target detection position;

[0023] Obtain the third distance value between the surface closest to the sample pluggable board and the motherboard among all surfaces of the target distance sensor that are measured manually;

[0024] The distance difference is obtained by subtracting the height of the sample pluggable board, the second distance between the bottom of the sample pluggable board and the motherboard, and the target element in the first array from the third distance value; wherein, the target element is any element in the first array;

[0025] Obtain a second array consisting of multiple distance differences;

[0026] If multiple equal elements are detected in the second array, the target detection distance value corresponding to the equal elements in the second array is obtained;

[0027] Arrange the elements in the second array in ascending order to obtain a new second array;

[0028] Based on the order of the elements in the new second array, obtain the detection distance value corresponding to each element to obtain the detection distance value sequence;

[0029] Obtain candidate detection distance values ​​in the detection distance value sequence that differ from the target detection distance value in the sequence by a preset step size;

[0030] The minimum detection distance value among the candidate detection distance values ​​is used as the lower limit of the distance threshold range, and the maximum detection distance value among the candidate detection distance values ​​is used as the upper limit of the distance threshold range, so as to obtain the distance threshold range at the target detection location;

[0031] If it is detected that there is a target detection location where the corresponding distance threshold range has not been obtained, the target detection location where the distance threshold range has not been obtained is taken as the new target detection location, and the step of establishing the first array based on the detection distance value between itself and the sample pluggable board measured multiple times at the target detection location by the target distance sensor is returned.

[0032] On the other hand, determining the installation status of the pluggable board under test based on the relationship between the actual detection distance value and the distance threshold includes:

[0033] If the actual detection distance values ​​between multiple distance sensors and the pluggable board under test are within the distance threshold range at the corresponding target detection positions, the installation status of the pluggable board under test is determined to be the installed state.

[0034] On the other hand, after determining that the installation status of the pluggable board under test is in the installed position, the method further includes:

[0035] Information indicating that the installation status of the pluggable board under test is in the installed position is sent to the manufacturing execution system;

[0036] The manufacturing execution system sends an instruction to the platform controller to indicate the release of the pipeline board containing the pluggable board under test, so that the platform controller can release the pipeline board containing the pluggable board under test according to the instruction.

[0037] On the other hand, determining the installation status of the pluggable board under test based on the relationship between the actual detection distance value and the distance threshold includes:

[0038] If the actual detection distance between the distance sensor and the pluggable board under test is not within the distance threshold range at the corresponding target detection position, the installation status of the pluggable board under test is determined to be not installed properly.

[0039] When the actual detection distance value is not within the distance threshold range of the corresponding target detection position, the corresponding target detection position is regarded as an abnormal installation position;

[0040] The output is a prompt message indicating that the pluggable board under test is not properly installed in the abnormal installation position.

[0041] To address the aforementioned technical problems, the present invention also provides an installation status detection device for a pluggable board, comprising: a distance detection system and a platform controller, wherein the distance detection system is connected to the platform controller;

[0042] The platform controller is used to detect the position of the pluggable card under test inserted on the motherboard, and when it detects that the pluggable card under test inserted on the motherboard has moved to the test area, it sends a detection command to the distance detection system to characterize the installation status of the pluggable card under test.

[0043] The distance detection system is used to control the distance sensor to work according to the detection command, so as to obtain the actual detection distance value between the distance sensor and the pluggable board under test; and to obtain a distance threshold; wherein, the distance threshold is determined according to the target detection distance value corresponding to the distance difference that meets the preset requirements; the distance difference is the difference between the detection distance value between the distance sensor and the sample pluggable board measured by the distance sensor and the distance value between the distance sensor and the sample pluggable board determined manually; the sample pluggable board and the pluggable board under test are boards of the same type; and the installation status of the pluggable board under test is determined according to the relationship between the actual detection distance value and the distance threshold.

[0044] On the one hand, it also includes a manufacturing execution system; one end of the manufacturing execution system is connected to the distance detection system; the other end of the manufacturing execution system is connected to the platform controller;

[0045] The manufacturing execution system is used to receive information sent by the distance detection system indicating that the installation status of the pluggable board under test is in place; and to send an instruction to the platform controller according to the information, indicating that the production line board containing the pluggable board under test is to be released, so that the platform controller can release the production line board containing the pluggable board under test according to the instruction.

[0046] To address the aforementioned technical problems, the present invention also provides an electronic device, comprising:

[0047] Memory, used to store computer programs;

[0048] A processor is used to implement the steps of the above-described method for detecting the installation status of a pluggable board when executing the computer program.

[0049] The beneficial effects of this invention are as follows: First, compared to manual inspection methods, the method provided by this invention uses a distance detection system to control a distance sensor to obtain the actual detection distance value between the distance sensor and the pluggable card under test. The installation status of the pluggable card under test is determined based on the relationship between the actual detection distance value and a distance threshold. In other words, the distance detection system automatically detects the installation status of the pluggable card under test, improving the efficiency and accuracy of the detection. Second, when the platform controller detects that the pluggable card under test has moved to the test area, it sends a detection command to the distance detection system, which then performs distance detection to maximize accuracy. This ensures that the installation status of the pluggable board under test can be detected. Furthermore, the pluggable board under test, inserted into the motherboard, is moved to the test area, and its installation status is detected before assembly, ensuring normal operation of the pluggable board in the product. Secondly, the distance threshold used is determined based on the target detection distance value corresponding to a preset distance difference. The distance difference is the difference between the detection distance measured by the distance sensor between itself and the sample pluggable board (of the same type as the pluggable board under test), and the distance value between the distance sensor and the sample pluggable board determined manually. In other words, the distance threshold is determined based on the distance measurement results of the sample pluggable board of the same type as the pluggable board under test, making the selected threshold more appropriate and improving the accuracy of installation status detection for various types of pluggable boards.

[0050] Furthermore, based on the detection distance values ​​obtained from multiple measurements by the distance sensor, a distance value sequence is obtained by arranging the multiple detection distance values ​​in ascending order. After removing a preset number of distance values ​​from both ends of the distance value sequence, the average distance value of the remaining distance value sequence is calculated to obtain the actual detection distance value between the distance sensor and the pluggable board under test. This method reduces the error introduced by the distance sensor, thereby improving the accuracy of the installation status detection of the pluggable board.

[0051] When determining the actual detection distance between the distance sensor and the pluggable board under test based on the average distance value, the method first obtains the height of the pluggable board under test, the second distance value between the bottom of the pluggable board under test and the motherboard, and the first distance value from the surface closest to the pluggable board under test to the top of the pluggable board among all manually measured surfaces of the distance sensor. Then, the method obtains the first difference between the sum of these distances and the third distance value from the surface closest to the pluggable board under test to the motherboard. Finally, the actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value and the first difference. This method takes into account errors from the distance sensor and mechanical mechanisms, corrects for deviations in the distance value, and thus obtains a more accurate actual detection distance value.

[0052] Multiple distance sensors are used to detect the installation status of pluggable boards, improving the efficiency and accuracy of installation status detection. A range of distance thresholds is used instead of a single threshold, enhancing the system's robustness and flexibility in distance measurement. When determining the distance threshold range, the range corresponding to each target detection position is determined separately, improving the accuracy of pluggable board installation status detection at each target detection position. Furthermore, the installation status of the pluggable board under test is determined to be in place only when the actual detected distance values ​​between multiple distance sensors and the pluggable board under test are within the distance threshold range of their respective target detection positions. Through collaborative determination of distance thresholds corresponding to multiple target detection positions, the installation status detection of pluggable boards achieves high accuracy and a low false alarm rate, effectively avoiding misjudgments caused by single-point errors.

[0053] After confirming that the installation status of the pluggable board under test is in place, the manufacturing execution system control platform controller releases the production line board containing the pluggable board under test, enabling the testing cycle of multiple pluggable boards under test.

[0054] In addition, the present invention also provides an installation status detection device and electronic device for pluggable boards, which have the same or corresponding technical features as the aforementioned installation status detection method for pluggable boards, and have the same effect. Attached Figure Description

[0055] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0056] Figure 1 A structural diagram of an installation status detection device for a pluggable board provided in an embodiment of the present invention;

[0057] Figure 2 A flowchart illustrating a method for detecting the installation status of a pluggable board according to an embodiment of the present invention;

[0058] Figure 3 This is a schematic diagram of a laser distance sensor for ranging, provided in an embodiment of the present invention.

[0059] Figure 4 This is a schematic diagram of a memory module installation status detection scenario provided by an embodiment of the present invention;

[0060] Figure 5 This is a schematic diagram of a memory module installation status detection device provided in an embodiment of the present invention;

[0061] Figure 6 A flowchart illustrating a method for detecting the installation status of a memory module, as provided in an embodiment of the present invention;

[0062] Figure 7 This is a structural diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0063] 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, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.

[0064] The core of this invention is to provide a method, device, and electronic device for detecting the installation status of pluggable boards, in order to solve the problems of low efficiency and low accuracy in manually checking the installation status of pluggable boards, and the fact that when using a high-precision pressure sensor on the slot to detect the installation status of pluggable boards, the detection is only performed after the entire machine is assembled, which does not meet the requirements of early prevention and making the product right the first time.

[0065] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Figure 1 This is a structural diagram of an installation status detection device for a pluggable board provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the device includes a distance detection system 1, a platform controller 2 (such as a programmable logic controller (PLC)), and a manufacturing execution system 3 (MES). The distance detection system 1 is connected to the platform controller 2; one end of the manufacturing execution system 3 is connected to the distance detection system 1; and the other end of the manufacturing execution system 3 is connected to the platform controller 2. The installation status detection method for pluggable boards provided by this invention is applied to the distance detection system. Figure 2 A flowchart illustrating a method for detecting the installation status of a pluggable board according to an embodiment of the present invention is shown below. Figure 2 As shown, the method includes:

[0066] S10: When the platform controller detects that the pluggable card under test plugged into the motherboard has moved to the test area, it receives a detection command sent by the platform controller to characterize the installation status of the pluggable card under test.

[0067] There are no restrictions on the type of pluggable card under test (PDT), such as memory modules or graphics cards. The PDT is inserted into the motherboard, and the motherboard flows along the pipeline to the testing area (i.e., the testing area). When the platform controller detects that the PDT has moved to the testing area, it blocks the board carrying the motherboard. Then, the platform controller notifies the distance detection system to begin detecting the PDT's installation status. The distance detection system receives detection commands from the platform controller characterizing the PDT's installation status.

[0068] S11: Control the distance sensor to work according to the detection command to obtain the actual detection distance value between the distance sensor and the pluggable board under test.

[0069] The distance detection system includes a controller and distance sensors. The distance sensors can specifically be laser distance sensors. The number of distance sensors is not limited; there can be one or more. To improve the efficiency of installation status detection and to cover the installation status of all locations of the pluggable board under test, in practice, three distance sensors can be used, positioned above both ends and above the middle of the pluggable board under test, respectively. Figure 3 As shown, Figure 3This is a schematic diagram of a laser distance sensor for distance measurement provided in an embodiment of the present invention. Distance measurement is performed using three laser distance sensors 5 located above the memory module 4. Each laser distance sensor measures the distance between itself and the upper surface of the memory module. Furthermore, if the distance sensor is not located at the designated detection position, it can be connected to a movable mechanism, which moves the distance sensor to the designated detection position for detection.

[0070] S12: Obtain the distance threshold.

[0071] The distance threshold is determined based on the target detection distance value corresponding to a preset distance difference. The distance difference is the difference between the detection distance measured by the distance sensor between itself and the sample pluggable board, and the manually determined distance between the distance sensor and the sample pluggable board. The sample pluggable board and the pluggable board under test are of the same type. The preset distance difference requirement is that the distance differences are equal. It is worth noting that when using multiple distance sensors for distance measurement (e.g., ... Figure 3 As shown, each distance sensor has a corresponding target detection position. Multiple distance sensors each have their corresponding actual detection distance value.

[0072] In addition, due to factors such as manufacturing process, the installation height of different locations of the pluggable board may vary. Therefore, in order to achieve more accurate detection of the installation status of the pluggable board under test, different distance thresholds can be set for different detection locations during implementation.

[0073] S13: Determine the installation status of the pluggable board under test based on the relationship between the actual detection distance value and the distance threshold.

[0074] After obtaining the actual detection distance value and the distance threshold, the installation status of the pluggable board under test is determined based on the relationship between the actual detection distance value and the distance threshold. Specifically, if the difference between the actual detection distance value and the distance threshold is within a preset range (i.e., the difference is small), the installation status of the pluggable board under test is determined to be "installed in place." "Installed in place" indicates that the pluggable board under test can be used normally after the entire assembly is completed. If the difference between the actual detection distance value and the distance threshold is not within the preset range, the installation status of the pluggable board under test is determined to be "not installed in place." "Not installed in place" indicates that the pluggable board under test cannot be used normally after the entire assembly is completed.

[0075] First, compared to manual inspection methods, the method provided by this invention uses a distance detection system to control a distance sensor, obtaining the actual detection distance between the sensor and the pluggable card under test. The installation status of the pluggable card is determined based on the relationship between the actual detection distance and a distance threshold. In other words, the distance detection system automatically detects the installation status of the pluggable card, improving detection efficiency and accuracy. Second, when the platform controller detects that the pluggable card under test has moved to the testing area, it sends a detection command to the distance detection system, which then performs distance detection, ensuring as much accuracy as possible. The installation status of the pluggable board under test is checked. Furthermore, the pluggable board under test, inserted into the motherboard, is moved to the test area, and its installation status is checked again. This check, performed before assembly, ensures the pluggable board functions correctly in the product. Secondly, the distance threshold is determined based on the target detection distance value corresponding to a preset distance difference. The distance difference is the difference between the detection distance measured by the distance sensor between itself and the sample pluggable board (of the same type as the pluggable board under test), and the manually determined distance between the distance sensor and the sample pluggable board. In other words, the distance threshold is determined based on the distance measurement results of the sample pluggable board (of the same type as the pluggable board under test), ensuring a suitable threshold and improving the accuracy of installation status detection for various types of pluggable boards.

[0076] To improve the accuracy of distance sensor detection, in some embodiments, obtaining the actual detection distance value between the distance sensor and the pluggable board under test includes:

[0077] Acquire the detection distance values ​​between itself and the pluggable board under test, measured multiple times by the distance sensor;

[0078] The collected detection distance values ​​are arranged in order of magnitude to obtain a distance value sequence;

[0079] Remove a preset number of distance values ​​from both ends of the distance value sequence to obtain the remaining distance value sequence;

[0080] Get the average distance value of the distance values ​​in the remaining distance value sequence;

[0081] The actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value.

[0082] The following section uses the pluggable board under test as an example to explain the process of determining the actual detection distance between the distance sensor and the memory module. Figure 4 This is a schematic diagram of a memory module installation status detection scenario provided by an embodiment of the present invention, such as... Figure 4As shown, laser distance sensors are installed at positions A, B, and C respectively. The distance detection system controls the high-precision laser distance sensor to move to the detection position, position A directly above the memory module. The distance detection system communicates with the laser distance sensor, repeatedly reading and storing the laser distance sensor data d1, d2, ..., dn. The laser distance sensor data is read multiple times. The formula for calculating the measured distance of the laser distance sensor is:

[0083] ;

[0084] in, This represents the average distance value. Represents the truncation coefficient. , Indicates the number of data points. This indicates the number of data items removed. This represents the sequential order of the data after sorting in ascending order. For position A, the distance from the laser distance sensor to position A on the memory module can be expressed as... This reduces errors introduced by the sensor. Following the steps above, use the laser distance sensor to measure the sensor distance at point B. The sensor at point C measures the distance. .

[0085] In this method, based on the detection distance values ​​obtained from multiple measurements by a distance sensor, the multiple detection distance values ​​are arranged in ascending order to obtain a distance value sequence. After removing a preset number of distance values ​​from both ends of the distance value sequence, the average distance value of the remaining distance value sequence is calculated to obtain the actual detection distance value between the distance sensor and the pluggable board under test. This method reduces the error introduced by the distance sensor, thereby improving the accuracy of installation status detection of the pluggable board.

[0086] After the measurement is completed, the distance detection system controls the high-precision laser distance sensor to move to the initialization position. In practice, errors may exist due to the distance sensor and mechanical mechanisms; therefore, this embodiment further corrects the measurement data. In some embodiments, determining the actual detection distance between the distance sensor and the pluggable board under test based on the average distance value includes:

[0087] Acquire the following values ​​from all surfaces of the manually measured distance sensor: the first distance value from the surface closest to the pluggable board under test to the top of the pluggable board under test, the height value of the pluggable board under test, the second distance value from the bottom of the pluggable board under test to the motherboard, and the third distance value from the surface closest to the pluggable board under test to the motherboard.

[0088] Obtain the sum of the distances obtained by adding the first distance value, the height value, and the second distance value;

[0089] Get the first difference between the sum of the distances and the third distance value;

[0090] The actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value and the first difference.

[0091] The first difference is also called the error value. Still using... Figure 4 For example, the formula for calculating the error value is as follows:

[0092] ;

[0093] in, Indicates the error value; This represents the distance (i.e., the first distance value) measured manually from the bottom surface of the laser distance sensor to the top of the memory module. This indicates the height of the memory module (i.e., the height value, data provided by the supplier). This indicates the distance from the bottom of the memory module in the dual in-line memory slot to the motherboard (i.e., the second distance value), which is also data provided by the supplier; The distance from the bottom surface of the laser distance sensor to the motherboard surface is measured manually (i.e., the third distance value).

[0094] The measured values ​​are corrected to calculate a more accurate distance; the calibrated distance value is then obtained. (That is, the actual detected distance value). The formula for calculating the actual detected distance value is as follows:

[0095] ;

[0096] right Figure 4 From the three positions shown, the actual detection distance value at position A can be obtained respectively. The actual detection distance value at position B and the actual detection distance value at position C. .

[0097] This method takes into account errors from distance sensors and mechanical mechanisms, and corrects the distance values ​​to obtain more accurate actual detection distance values.

[0098] To improve the efficiency and accuracy of installation status detection, in some embodiments, multiple distance sensors are used, each corresponding to a target detection location. For example... Figure 4In the diagram, from left to right, the laser distance sensors are laser distance sensor a, laser distance sensor b, and laser distance sensor c. Laser distance sensor a corresponds to target detection position A, laser distance sensor b corresponds to target detection position B, and laser distance sensor c corresponds to target detection position C.

[0099] To enhance the robustness and flexibility of the system in distance measurement, the distance threshold is set as a range of distance thresholds, rather than a single threshold.

[0100] The range of distance thresholds includes:

[0101] A first array is established based on the detection distance values ​​between the target distance sensor and the sample pluggable board, which are measured multiple times at the target detection position.

[0102] Obtain the third distance value between the surface closest to the sample pluggable board and the motherboard among all surfaces of the target distance sensor measured manually;

[0103] The distance difference is obtained by subtracting the height of the sample pluggable board, the second distance between the bottom of the sample pluggable board and the motherboard, and the target element in the first array from the third distance value; where the target element is any element in the first array.

[0104] Obtain the second array consisting of multiple distance differences;

[0105] If multiple equal elements are detected in the second array, obtain the target detection distance value corresponding to the equal elements in the second array;

[0106] Arrange the elements in the second array in ascending order to obtain a new second array;

[0107] Based on the order of the elements in the new second array, obtain the detection distance value corresponding to each element to obtain the detection distance value sequence;

[0108] Obtain candidate detection distance values ​​in the detection distance value sequence that differ from the target detection distance value in the sequence by a preset step size;

[0109] The minimum detection distance value among the candidate detection distance values ​​is used as the lower limit of the distance threshold range, and the maximum detection distance value among the candidate detection distance values ​​is used as the upper limit of the distance threshold range, so as to obtain the distance threshold range at the target detection location.

[0110] If a target detection location is found to be outside the corresponding distance threshold range, the target detection location outside the corresponding distance threshold range is taken as the new target detection location, and the first array is established by returning the detection distance values ​​between itself and the sample pluggable board measured multiple times at the target detection location by the target distance sensor.

[0111] The method described above for obtaining the distance threshold range is called the threshold calculation and tuning method. A first array (one-dimensional array) is created to store the distance from the laser distance sensor at that point to the top of the memory module.

[0112] The distance value of the laser distance sensor calculated by manual measurement ( The difference between the reading of the laser distance sensor and the reading of the laser distance sensor is used as an element in the second array. Elements in the second array The calculation formula is:

[0113] ;

[0114] in, This indicates the distance from the bottom surface of the laser distance sensor to the top of the memory module each time.

[0115] Second array The process continues until two equal numbers (at least 10 numbers) are found in the array, and the positions and values ​​of these two numbers are recorded. The median threshold value is then calculated by inverse operation on their positions. Furthermore, the elements in the second array are arranged in ascending order to obtain a new second array. Based on the order of the elements in the new second array, the detection distance values ​​corresponding to each element are obtained to obtain a detection distance value sequence. Candidate detection distance values ​​that differ from the target detection distance value in the sequence by a preset step size are obtained. The preset step size is not limited; for example, a difference of 3 positions. Then, the threshold range for position A is determined. for: The threshold self-tuning at point A is complete. Then, points B and C are tuned using the same method until the threshold at point B is reached. Threshold at point C Calculate everything.

[0116] To improve the accuracy of installation status detection, in some embodiments, determining the installation status of the pluggable board under test based on the relationship between the actual detection distance value and a distance threshold includes:

[0117] If the actual detection distance values ​​between multiple distance sensors and the pluggable board under test are within the distance threshold range at the corresponding target detection positions, the installation status of the pluggable board under test is determined to be the installed state.

[0118] If the actual detection distance between the distance sensor and the pluggable board under test is not within the distance threshold range at the corresponding target detection position, the installation status of the pluggable board under test is determined to be not installed properly.

[0119] When the actual detection distance value is not within the distance threshold range of the corresponding target detection position, the corresponding target detection position is regarded as an abnormal installation position;

[0120] The output is a prompt message indicating that the pluggable board under test is not installed in an abnormal installation position.

[0121] After comparing the threshold values, if the distance between the three positions is not within the threshold range, the system will display an alarm interface and sound a prompt indicating that the memory module is not properly inserted, reminding employees to check and re-press the memory module position; if the distance values ​​of the three positions are all within the threshold range, the system will display a green "PASS" message, indicating that the memory module is installed correctly.

[0122] In practice, there may be foreign objects, such as metal shavings, between the pluggable board under test and the motherboard, which can affect the use of the pluggable board under test. Therefore, in some embodiments, after determining that the pluggable board under test is in the installed position, the following steps are also included:

[0123] The distance sensor is controlled to continuously sample the distance between itself and the upper surface of the pluggable board under test multiple times within a preset time period;

[0124] Obtain the maximum difference between sampled values ​​obtained from multiple samplings;

[0125] If the maximum difference detected is greater than the preset difference, it is determined that there is a foreign object between the pluggable card under test and the motherboard, and a prompt message is output to indicate that the pluggable card under test is not installed properly.

[0126] If the maximum difference detected is less than or equal to the preset difference, a prompt message indicating that the pluggable board under test is installed in place will be output.

[0127] The preset difference value is not limited and is determined based on the actual situation. In this method, after determining that the installation state of the pluggable board under test is in the installed state based on the method in the embodiment described above, continuous sampling is performed again, and the installation state is further determined based on the difference between the continuous sampling values. This achieves accurate detection of the installation state.

[0128] To enable a testing loop for multiple pluggable boards under test, in some embodiments, after determining that the installation state of the pluggable board under test is in the installed position, the following steps are also included:

[0129] Information indicating that the installation status of the pluggable board under test is in place is sent to the manufacturing execution system.

[0130] The manufacturing execution system sends instructions to the platform controller to characterize the pipeline board containing the pluggable board under test, so that the platform controller can release the pipeline board containing the pluggable board under test according to the instructions.

[0131] If the system detects that the memory module is installed correctly, it notifies the platform controller that the pipeline card can be released and the next detection cycle can begin.

[0132] In this method, after determining that the installation status of the pluggable board under test is in the installed position, the manufacturing execution system control platform controller releases the production line board where the pluggable board under test is located, which can realize the testing cycle of multiple pluggable boards under test.

[0133] To enable those skilled in the art to better understand the above-described method for detecting the installation status of pluggable boards, this embodiment uses a memory module installation status detection device as an example to further illustrate the method. Figure 5 This is a schematic diagram of a memory module installation status detection device provided in an embodiment of the present invention, as shown below. Figure 5 As shown, it includes: a laser ranging module 100, a threshold calculation module 200, a detection and judgment module 300, a position detection alarm module 400, and a system control module 500.

[0134] The laser ranging module connects to a movable mechanism via three high-precision laser distance sensors to form a hardware system. The detection device operates independently of the object being detected, enabling simultaneous production and inspection, thus improving efficiency. It also reduces the low first-time success rate of memory installation, minimizing the need for disassembly and rework due to memory installation issues.

[0135] The threshold calculation module, through parameter modification and automatic tuning, solves the problem of adapting the device to various memory modules and memory DIMM slots. The parameters mainly include the height of the memory module and the height from the bottom of the memory module in the DIMM slot to the motherboard. After inputting the parameters, the system's one-click self-tuning function calculates the thresholds at three locations, which is very convenient and fast.

[0136] The detection and judgment module independently measures and judges three positions of the memory module, which can ensure that the memory module is completely inserted into the DIMM slot and makes full contact with the gold fingers, thus ensuring the stable operation of the host product.

[0137] The positioning detection and alarm module alerts employees via the system and a buzzer to ensure that the operation is in place. If the front, middle, or rear positions are not in place, the error location is accurate, improving memory insertion and self-test efficiency, ensuring a high success rate for one-time insertion, increasing production efficiency, and reducing rework rate.

[0138] The system card control module completely controls the memory installation status, reducing human error, misjudgment, and other omissions, greatly improving accuracy and yield; it ensures proper memory installation and resolves customer complaints caused by the inability to power on the device after receiving the goods.

[0139] Figure 6 A flowchart of a memory module installation status detection method provided in an embodiment of the present invention is shown below. Figure 6 As shown, the method includes:

[0140] S14: The motherboard with the memory installed flows to the testing area along with the card;

[0141] S15: The laser rangefinder moves to the ranging position;

[0142] S16: Begin measuring distance;

[0143] S17: Compare with the threshold values ​​respectively;

[0144] S18: Determine if the memory module is properly inserted; if not, proceed to step S19; if yes, proceed to step S20.

[0145] S19: Determine the location where the device is not installed correctly and trigger an alarm;

[0146] S20: Ensure that all detection locations are within their respective thresholds;

[0147] S21: The system pops up a message saying that the installation status check has passed;

[0148] S22: Notify the platform controller that the production line card can be released.

[0149] For step S19:

[0150] If the distance value at position A is not within the threshold range, the system will pop up an alarm and sound a notification that the device is not inserted properly at position A.

[0151] If the distance value at position B is not within the threshold range, the system will pop up an alarm and sound a notification that the device is not inserted properly at position B.

[0152] If the distance value at position C is not within the threshold range, the system will pop up an alarm and sound a notification that the device is not properly inserted at position C.

[0153] The above describes a method for detecting the installation status of a pluggable board. This embodiment also provides a device for detecting the installation status of a pluggable board, including: a distance detection system and a platform controller, wherein the distance detection system is connected to the platform controller.

[0154] The platform controller is used to detect the position of the pluggable card under test plugged into the motherboard, and when it detects that the pluggable card under test plugged into the motherboard has moved to the test area, it sends a detection command to the distance detection system to characterize the installation status of the pluggable card under test.

[0155] The distance detection system controls the distance sensor to operate according to detection commands to obtain the actual detection distance between the distance sensor and the pluggable board under test; it also acquires a distance threshold. The distance threshold is determined based on the target detection distance value corresponding to a distance difference that meets preset requirements. The distance difference is the difference between the detection distance measured by the distance sensor between itself and the sample pluggable board, and the distance value determined manually between the distance sensor and the sample pluggable board. The sample pluggable board and the pluggable board under test are of the same type. The installation status of the pluggable board under test is determined based on the relationship between the actual detection distance value and the distance threshold.

[0156] In addition, it includes a manufacturing execution system; one end of the manufacturing execution system is connected to the distance detection system; the other end of the manufacturing execution system is connected to the platform controller;

[0157] The manufacturing execution system receives information from the distance detection system indicating that the installation status of the pluggable board under test is in place; and sends an instruction to the platform controller to indicate that the production line board containing the pluggable board under test is ready for release, so that the platform controller can release the production line board containing the pluggable board under test according to the instruction.

[0158] The installation status detection device for pluggable boards provided in this embodiment has the same or corresponding technical features as the installation status detection method for pluggable boards described above. The embodiments of the installation status detection method for pluggable boards have been described in detail above, and the embodiments of the installation status detection device for pluggable boards will not be repeated here, but the effects are the same as above.

[0159] In the above embodiments, the installation status detection method for pluggable boards has been described in detail. This invention also provides embodiments of an installation status detection system and electronic device for pluggable boards. It should be noted that this invention describes the embodiments of the device portion from two perspectives: one based on functional modules, and the other based on hardware.

[0160] The installation status detection system for pluggable boards provided in this embodiment of the invention, based on the functional modules, includes:

[0161] The receiving module is used to receive a detection command sent by the platform controller to characterize the installation status of the pluggable board under test when the platform controller detects that the pluggable board under test plugged into the motherboard has moved to the area under test.

[0162] The control and acquisition module is used to control the distance sensor to work according to the detection command, so as to obtain the actual detection distance value between the distance sensor and the pluggable board under test;

[0163] The acquisition module is used to acquire the distance threshold; wherein, the distance threshold is determined based on the target detection distance value corresponding to the distance difference that meets the preset requirements; the distance difference is the difference between the detection distance value between itself and the sample pluggable board measured by the distance sensor and the distance value between the distance sensor and the sample pluggable board determined manually; the sample pluggable board and the pluggable board to be tested are the same type of board;

[0164] The determination module is used to determine the installation status of the pluggable board under test based on the relationship between the actual detection distance value and the distance threshold.

[0165] In some embodiments, the installation status detection system for pluggable boards further includes:

[0166] The first sending module is used to send information indicating that the installation status of the pluggable board under test is in place to the manufacturing execution system.

[0167] The second sending module is used to send an instruction to the platform controller through the manufacturing execution system to characterize the pipeline board where the pluggable board under test is located, so that the platform controller can release the pipeline board where the pluggable board under test is located according to the instruction.

[0168] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0169] Figure 7 This is a structural diagram of an electronic device provided in an embodiment of the present invention. This embodiment is based on a hardware perspective, such as... Figure 7 As shown, the electronic device includes:

[0170] Memory 20 is used to store computer programs;

[0171] The processor 21 is used to implement the steps of the installation status detection method for pluggable boards as mentioned in the above embodiments when executing a computer program.

[0172] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array. The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.

[0173] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the installation status detection method for pluggable cards disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the aforementioned installation status detection method for pluggable cards.

[0174] In some embodiments, the electronic device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0175] Those skilled in the art will understand that Figure 7 The structures shown do not constitute a limitation on electronic devices and may include more or fewer components than those shown.

[0176] The electronic device provided in this embodiment of the invention includes a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: a method for detecting the installation status of a pluggable board, with the same effect as above.

[0177] This invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the above-described method for detecting the installation status of a pluggable board.

[0178] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, performs the steps described in the above method embodiments.

[0179] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0180] The computer-readable storage medium provided by this invention includes the aforementioned method for detecting the installation status of pluggable boards, and has the same effect.

[0181] The foregoing has provided a detailed description of the installation status detection method, apparatus, and electronic device for a pluggable board provided by the present invention. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to the present invention without departing from the principles of the invention, and these improvements and modifications also fall within the protection scope of the present invention.

[0182] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for detecting the installation status of a pluggable board, characterized in that, Applied to a distance detection system, the method includes: When the platform controller detects that the pluggable card under test plugged into the motherboard has moved to the test area, it receives a detection command sent by the platform controller to characterize the installation status of the pluggable card under test. The distance sensor is controlled to operate according to the detection command to obtain the actual detection distance value between the distance sensor and the pluggable board under test; Obtain a distance threshold; wherein the distance threshold is determined based on the target detection distance value corresponding to the distance difference that meets the preset requirements; the distance difference is the difference between the detection distance value between itself and the sample pluggable board measured by the distance sensor, and the distance value between the distance sensor and the sample pluggable board determined manually; the sample pluggable board and the pluggable board to be tested are boards of the same type; The installation status of the pluggable board under test is determined based on the relationship between the actual detection distance value and the distance threshold.

2. The method for detecting the installation status of a pluggable board according to claim 1, characterized in that, The actual detection distance value between the distance sensor and the pluggable board under test includes: Acquire the detection distance values ​​between itself and the pluggable board under test, measured multiple times by the distance sensor; The collected detection distance values ​​are arranged in order of magnitude to obtain a distance value sequence; Remove a preset number of distance values ​​from both ends of the distance value sequence to obtain the remaining distance value sequence; Obtain the average distance value of the distance values ​​in the remaining distance value sequence; The actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value.

3. The method for detecting the installation status of a pluggable board according to claim 2, characterized in that, Determining the actual detection distance value between the distance sensor and the pluggable board under test based on the average distance value includes: The distance sensor is measured manually. ... Obtain the sum of the distances obtained by adding the first distance value, the height value, and the second distance value; Obtain the first difference between the sum of the distances and the third distance value; The actual detection distance between the distance sensor and the pluggable board under test is determined based on the average distance value and the first difference.

4. The method for detecting the installation status of a pluggable board according to any one of claims 1 to 3, characterized in that, There are multiple distance sensors, and each distance sensor corresponds to a target detection position; The distance threshold is a range of distance thresholds. Obtaining the range of distance thresholds includes: A first array is established based on the detection distance values ​​between the target and the sample pluggable board measured multiple times by the target distance sensor at the target detection position; Obtain the third distance value between the surface closest to the sample pluggable board and the motherboard among all surfaces of the target distance sensor that are measured manually; The distance difference is obtained by subtracting the height of the sample pluggable board, the second distance between the bottom of the sample pluggable board and the motherboard, and the target element in the first array from the third distance value; wherein, the target element is any element in the first array; Obtain a second array consisting of multiple distance differences; If multiple equal elements are detected in the second array, the target detection distance value corresponding to the equal elements in the second array is obtained; Arrange the elements in the second array in ascending order to obtain a new second array; Based on the order of the elements in the new second array, obtain the detection distance value corresponding to each element to obtain the detection distance value sequence; Obtain candidate detection distance values ​​in the detection distance value sequence that differ from the target detection distance value in the sequence by a preset step size; The minimum detection distance value among the candidate detection distance values ​​is used as the lower limit of the distance threshold range, and the maximum detection distance value among the candidate detection distance values ​​is used as the upper limit of the distance threshold range, so as to obtain the distance threshold range at the target detection location; If it is detected that there is a target detection location where the corresponding distance threshold range has not been obtained, the target detection location where the distance threshold range has not been obtained is taken as the new target detection location, and the step of establishing the first array based on the detection distance value between itself and the sample pluggable board measured multiple times at the target detection location by the target distance sensor is returned.

5. The method for detecting the installation status of a pluggable board according to claim 4, characterized in that, Determining the installation status of the pluggable board under test based on the relationship between the actual detection distance value and the distance threshold includes: If the actual detection distance values ​​between multiple distance sensors and the pluggable board under test are within the distance threshold range at the corresponding target detection positions, the installation status of the pluggable board under test is determined to be the installed state.

6. The method for detecting the installation status of a pluggable board according to claim 5, characterized in that, After determining that the installation status of the pluggable board under test is in the installed position, the process also includes: Information indicating that the installation status of the pluggable board under test is in the installed position is sent to the manufacturing execution system; The manufacturing execution system sends an instruction to the platform controller to indicate the release of the pipeline board containing the pluggable board under test, so that the platform controller can release the pipeline board containing the pluggable board under test according to the instruction.

7. The method for detecting the installation status of a pluggable board according to claim 4, characterized in that, Determining the installation status of the pluggable board under test based on the relationship between the actual detection distance value and the distance threshold includes: If the actual detection distance between the distance sensor and the pluggable board under test is not within the distance threshold range at the corresponding target detection position, the installation status of the pluggable board under test is determined to be not installed properly. When the actual detection distance value is not within the distance threshold range of the corresponding target detection position, the corresponding target detection position is regarded as an abnormal installation position; The output is a prompt message indicating that the pluggable board under test is not properly installed in the abnormal installation position.

8. A device for detecting the installation status of a pluggable circuit board, characterized in that, include: A distance detection system and a platform controller, wherein the distance detection system is connected to the platform controller; The platform controller is used to detect the position of the pluggable card under test inserted on the motherboard, and when it detects that the pluggable card under test inserted on the motherboard has moved to the test area, it sends a detection command to the distance detection system to characterize the installation status of the pluggable card under test. The distance detection system is used to control the distance sensor to work according to the detection command, so as to obtain the actual detection distance value between the distance sensor and the pluggable board under test; Obtain a distance threshold; wherein the distance threshold is determined based on the target detection distance value corresponding to the distance difference that meets preset requirements; the distance difference is the difference between the detection distance value between the distance sensor and the sample pluggable board measured by the distance sensor, and the distance value between the distance sensor and the sample pluggable board determined manually; the sample pluggable board and the pluggable board to be tested are boards of the same type; the installation status of the pluggable board to be tested is determined based on the relationship between the actual detection distance value and the distance threshold.

9. The installation status detection device for a pluggable board according to claim 8, characterized in that, It also includes a manufacturing execution system; one end of the manufacturing execution system is connected to the distance detection system; the other end of the manufacturing execution system is connected to the platform controller; The manufacturing execution system is used to receive information sent by the distance detection system, which indicates that the installation status of the pluggable board under test is in the installed position. Based on the information, the system sends an instruction to the platform controller to indicate whether the pipeline board containing the pluggable board under test is to be released, so that the platform controller can release the pipeline board containing the pluggable board under test according to the instruction.

10. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the installation status detection method for a pluggable board as described in any one of claims 1 to 7 when executing the computer program.

Citation Information

Patent Citations

  • Pluggable metering data comparison method and system based on metering equipment

    CN111896910A

  • Board card installation position detection device and server

    CN113739682A

  • Method and device for determining installation position of sensor, equipment and medium

    CN116413660A

  • Assembly detection method and device, server, computer equipment and storage medium

    CN117707869A

  • Circuit breaker handcart with distance measuring device and medium-voltage switch cabinet

    CN217823934U