Method, device and system for testing induction module
Through dynamic testing scenarios, the signal attenuation factor and attenuation coefficient of the induction module are obtained, combined with the detection success rate, the optimal induction range of the induction module is determined, which solves the problems of long static testing cycles and poor adaptability, and achieves the comprehensive reliability and improvement of the performance evaluation of the induction module and the testing efficiency.
Patent Information
- Application Number
- CN202510749435.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-06-06
AI Technical Summary
The traditional induction module performance testing method is mainly static testing, which cannot cover the dynamically changing environment, resulting in a long test cycle and poor adaptability, making it difficult to meet the performance testing needs in complex environments.
By constructing a dynamic test scenario, obtain the test data of the induction module at different intervals, calculate the signal attenuation factor and attenuation coefficient, combine the detection success rate, determine the optimal induction range and edge range of the induction area of the induction module, and obtain performance testing parameters.
The comprehensive reliability and testing efficiency of induction module performance evaluation have been achieved, and the problems of long and poor adaptability of traditional static test cycles have been solved, which has improved the accuracy of test results.
Smart Images

Figure CN120489200A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent sensor testing, and in particular to a testing method, device and system for a sensing module. Background Art
[0002] With the rapid development of the Internet of Things, smart homes, smart wearable devices, and industrial automation, sensor modules (such as infrared and lidar modules) are widely used as core sensor components in scenarios such as distance detection, person recognition, and environmental perception. Furthermore, with the continuous expansion of the consumer market, terminal devices (such as mobile phones and automotive electronics) have higher performance standards for sensor modules. Therefore, efficient and accurate testing methods have become a key link in ensuring product quality.
[0003] Traditional sensor module performance testing methods primarily rely on static testing, using a controlled variable method to measure the sensor module's performance under a single factor. This results in long measurement cycles and inability to cover dynamically changing environments. As businesses enter increasingly complex fields (such as smart homes and autonomous driving), traditional performance testing methods are unable to meet the performance testing needs of sensor modules. Summary of the Invention
[0004] In order to solve the technical problem that traditional performance testing methods introduce static test scenarios and are time-consuming, making it difficult to meet the performance testing requirements of sensing modules, the present invention aims to provide a testing method, device, and system for sensing modules. The technical solutions adopted are as follows:
[0005] A method for testing a sensing module, the method comprising:
[0006] Acquire test data of the sensing module under each preset test condition; repeat the experiment a preset number of times for each preset condition, wherein the test data includes at least the signal strength at the test point, the detection success rate, the response time, and the distance between the sensing module and the test point;
[0007] Based on the attenuation performance of the signal strength at each test point and the corresponding interval distance, a signal attenuation factor of each test point is obtained; the interval distances are classified based on the data values, and based on the distribution of the signal attenuation factors for each interval distance, a signal attenuation coefficient for each interval distance is obtained; based on the difference between the signal attenuation coefficient for each interval distance and the standard signal attenuation coefficient of the sensing module and the overall detection success rate, the test sensitivity for each interval distance is obtained;
[0008] The optimal sensing range and the edge range of the sensing area of the sensing module are determined based on the test sensitivity; and the performance test parameters of the sensing module are obtained according to the response time and the detection success rate of all the interval distances within the edge range of the sensing area, combined with the size of the optimal sensing range.
[0009] Furthermore, the method for obtaining the signal attenuation factor includes:
[0010] The test data also includes the intensity of the transmitted signal emitted by the sensing module; based on the intensity of the transmitted signal, the signal attenuation factor of each test point is obtained according to the attenuation performance of the signal intensity per unit distance during all experiments at each test point.
[0011] Furthermore, the method for obtaining the signal attenuation factor includes:
[0012] For any of the interval distances, the signal attenuation factor of each test point is weighted and summed according to the similarity between the signal attenuation factor of each test point and all the signal attenuation factors of the same type, and the weighted summation result is used as the signal attenuation coefficient corresponding to the interval distance.
[0013] Furthermore, the method for obtaining the test sensitivity includes:
[0014] The test sensitivity of each of the interval distances is obtained according to the smaller degree of the signal attenuation coefficient of each of the interval distances compared to the standard signal attenuation coefficient, combined with the average of the detection success rates.
[0015] Furthermore, the method for obtaining the performance test parameters includes:
[0016] Obtaining a detection failure rate based on the detection success rate; obtaining a test error factor for the edge range of the sensing area according to an average of the response times of all the interval distances within the edge range of the sensing area, an average of the detection failure rates, and the maximum interval distance;
[0017] The test error factor and the maximum interval distance within the optimal sensing range are integrated to obtain the performance test parameters of the sensing module.
[0018] Furthermore, the method for determining the optimal sensing range and the edge range of the sensing area of the sensing module based on the test sensitivity includes:
[0019] The maximum interval distance of the test sensitivity greater than the first preset sensitivity threshold is used as the optimal sensing ball radius to obtain the optimal sensing range; the maximum interval distance of the test sensitivity less than or equal to the first preset sensitivity threshold and greater than the second preset sensitivity threshold is used as the maximum sensing ball radius, and the ball range between the maximum sensing ball radius and the optimal sensing ball radius is used as the edge range of the sensing area.
[0020] Furthermore, the first preset sensitivity threshold is 0.9, and the second preset sensitivity threshold is 0.2.
[0021] Furthermore, the preset number of times is 5 times.
[0022] The present invention also provides a testing system for an induction module, the system comprising:
[0023] Data acquisition module: acquires test data of the sensing module under each preset test condition; repeats the experiment a preset number of times for each preset condition, and the test data includes at least the signal strength of the test point, the detection success rate, the response time, and the distance between the sensing module and the test point;
[0024] Test analysis module: based on the attenuation performance of the signal strength at each test point and the corresponding interval distance, obtain the signal attenuation factor of each test point; classify the interval distances based on the data value, and obtain the signal attenuation coefficient of each interval distance based on the distribution of the signal attenuation factor of each interval distance; based on the difference between the signal attenuation coefficient of each interval distance and the standard signal attenuation coefficient of the sensing module, combined with the overall detection success rate, obtain the test sensitivity of each interval distance;
[0025] Performance evaluation module: determines the optimal sensing range and sensing area edge range of the sensing module based on the test sensitivity; obtains the performance test parameters of the sensing module according to the response time and the detection success rate of all the interval distances within the sensing area edge range, combined with the size of the optimal sensing range.
[0026] The present invention also proposes a testing device for an induction module, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, it implements any one of the steps of the testing method for an induction module.
[0027] The present invention has the following beneficial effects:
[0028] The present invention first obtains the test data of the sensing module to provide a data basis for performance evaluation; further obtains the signal attenuation factor of each test point and quantifies the signal attenuation of each test point; further obtains the signal attenuation coefficient based on the distribution of the signal attenuation factor of each interval distance, characterizes the signal attenuation intensity at each interval distance, and provides a basis for subsequent evaluation of test sensitivity and performance analysis; further obtains the test sensitivity of each interval distance, reflects the actual performance of the sensing module at each interval distance, and characterizes the sensitivity of the actual test of the sensing module at each interval distance; further determines the optimal sensing range and sensing area edge range of the sensing module based on the test sensitivity, and obtains the performance test results of the sensing range angle; finally, based on the response time and detection success rate of all interval distances within the sensing area edge range, combined with the size of the optimal sensing range, comprehensively evaluates the performance of the sensing module under dynamic testing and obtains the performance test parameters of the sensing module. By constructing a dynamic test scenario, the present invention quantitatively analyzes the signal attenuation and test performance of the sensing module at different interval distances, effectively solving the problems of long cycle and poor adaptability of traditional static testing, improving test efficiency and result accuracy, and ensuring comprehensive and reliable performance evaluation of the sensing module. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0030] Figure 1 A flow chart of a method for testing a sensing module provided by one embodiment of the present invention;
[0031] Figure 2 A schematic diagram of an optimal sensing range provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] To further illustrate the technical means and effectiveness of the present invention in achieving its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, describes in detail a method, device, and system for testing a sensing module according to the present invention, including its specific implementation, structure, features, and effectiveness. In the following description, references to "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
[0033] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0034] The following describes in detail a specific solution of a testing method, device and system for a sensing module provided by the present invention with reference to the accompanying drawings.
[0035] See also Figure 1 , which shows a flow chart of a method for testing a sensing module provided by one embodiment of the present invention, specifically comprising:
[0036] Step S1: Acquire test data of the sensing module under each preset test condition; repeat the experiment for each preset condition for a preset number of times, and the test data at least includes the signal strength of the test point, the detection success rate, the response time, and the distance between the sensing module and the test point.
[0037] In an embodiment of the present invention, a dynamic test scenario is set as follows:
[0038] 1. Use a laser level to calibrate the verticality of the wall slide rail (error ≤ 0.5°), and use aluminum alloy slide rails to build the slide rail system, which is mainly used to sense the movement changes of the module position.
[0039] 2. Build a reflective surface platform, install a universal hinge at the bottom of the platform, and use a digital inclinometer (accuracy ±0.5°) to lock the angle using the knob.
[0040] Note: Each height bracket is detachable and can be fixed with spacers of different thicknesses via bayonet.
[0041] 3. Deploy a programmable mobile cart (e.g., equipped with an STM32 controller) on the reflective surface platform to simulate the target object moving at a constant speed and along a preset path. Simultaneously, the slide rail system is linked to dynamically adjust the height of the sensing module as the target moves, maintaining the same height between the sensing module and the cart.
[0042] 4. By traversing the combinations of height, angle, and speed, five experiments are conducted for each combination to collect data to fully test the sensing module under different conditions.
[0043] Among them, the combination of height, angle, speed, and the movement path of the trolley can be adjusted by the implementer according to the testing requirements and test scenarios of the sensing module. Here is just an example: the height corresponds to [0.5, 1.0, 1.5, 2.0], the unit is meter; the angle corresponds to [0°, 15°, 30°, 40°], and the speed corresponds to [1.5, 2.0, 2.5], the unit is meter per second; there are 48 combinations in total, each combination corresponds to a preset test condition, and each group of experiments is repeated 5 times. The movement path of the trolley in each group of experiments is fixed, and the data collection frequency is 0.1 second / time.
[0044] Since the parameters of each group of tests are consistent, the position of the car is the same at the time points with the same data collection order. For example, in a certain group of tests, the position of the car at the 20th collection moment of the first experiment and the second experiment is the same. Therefore, the position of the car at each collection moment of the first experiment of each group of tests is taken as a test point, and all test points under a group of tests (a preset test condition) are determined. Each test point corresponds to the test data of 5 repeated experiments.
[0045] It should be noted that when setting the moving path of the trolley, it is necessary to ensure that the moving path of the trolley can cover the theoretical sensing range of the sensing module, and involve some sections of the road beyond the theoretical sensing range, so as to comprehensively test the sensing module; the implementer can install positioning devices on the trolley and the sensing module, such as laser displacement sensors, ultrasonic sensors, etc., which can achieve millimeter-level precision positioning, establish a three-dimensional coordinate system, and obtain three-dimensional coordinates to facilitate the positioning of the trolley and the sensing module.
[0046] Considering that signal attenuation, detection success rate and response time are important performance indicators of the sensing module, and these performance indicators are closely related to the signal transmission distance, to facilitate subsequent analysis, the test data at least includes the signal strength, detection success rate, response time and the distance between the sensing module and the test point.
[0047] Step S2: Based on the attenuation performance of the signal strength at each test point and the corresponding interval distance, the signal attenuation factor of each test point is obtained; the interval distances are classified based on the data values, and the signal attenuation coefficient of each interval distance is obtained according to the distribution of the signal attenuation factor of each interval distance; based on the difference between the signal attenuation coefficient of each interval distance and the standard signal attenuation coefficient of the sensing module and the overall detection success rate, the test sensitivity of each interval distance is obtained.
[0048] Taking into account the different attenuation of signal transmission at different test points and the different interval distances, we first obtain the signal attenuation factor of each test point based on the attenuation performance of the signal strength at each test point and the corresponding interval distance to quantify the signal attenuation of each test point.
[0049] Preferably, in one embodiment of the present invention, considering that the signal strength at the test point belongs to the signal strength at the receiving end, in order to analyze the signal attenuation, the signal strength at the transmitting end needs to be obtained, so the test data also includes the transmission signal strength emitted by the sensing module;
[0050] Taking the transmitted signal strength as a benchmark, the signal attenuation factor of each test point is obtained according to the attenuation performance of the signal strength per unit distance during all experiments at each test point.
[0051] As an example, the transmission signal strength of the sensing module is fixed. The transmission signal strength is used as the minuend, the mean of the signal strength of all experiments at the test point is used as the subtrahend, and the difference is used as the numerator, reflecting the attenuation performance of the signal strength at the test point; the interval distance is used as the denominator, and the fractional ratio is used as the signal attenuation factor of the corresponding test point.
[0052] It should be noted that, in one embodiment of the present invention, the transmission signal strength of the sensing module is kept fixed in all tests and is set to the maximum transmission strength; in other embodiments of the present invention, at least the transmission signal strength of the sensing module for one test point is guaranteed to be fixed, and the transmission signal strength for different test points may be different. The transmission signal strength of the sensing module can be set by the implementer. When setting, refer to the transmission signal strength range in the experimental manual or product manual. The longer the interval distance, the stronger the transmission signal strength should be, and no limitation is given here.
[0053] Considering that theoretically, the signal attenuation rate of the signal emitted by the sensing module should be the same when radiating in all directions under the same distance conditions, we classify the interval distance based on the data value. Some test points with the same interval distance and their signal attenuation factors are grouped into one category. This results in multiple interval distance categories, which facilitates the analysis of signal attenuation characteristics at the same distance.
[0054] Considering that the distribution of signal attenuation factors at the same spacing distance reflects environmental interference and directionality differences, the signal attenuation coefficient of each spacing distance is obtained based on the distribution of signal attenuation factors at each spacing distance to characterize the signal attenuation intensity at each spacing distance, providing a basis for subsequent evaluation of test sensitivity and analysis performance.
[0055] Preferably, in one embodiment of the present invention, considering that under normal circumstances, the signal attenuation factors measured at positions with the same interval of the distance sensing module should not differ much, for any interval distance, the signal attenuation factor of each test point is weighted and summed according to the similarity between the signal attenuation factor of each test point and all signal attenuation factors of the same type, and the weighted summation result is used as the signal attenuation coefficient corresponding to a certain interval distance.
[0056] As an example, for any separation distance, the average value of all signal attenuation factors of this separation distance is obtained as the benchmark attenuation factor, and the average value is used to represent the overall characteristics of all signal attenuation factors of a separation distance;
[0057] The absolute value of the difference between the signal attenuation factor and the benchmark attenuation factor is used as the independent variable, and a negative correlation mapping is performed through the exp(-x) function with the natural constant e as the base to reflect the distribution of the signal attenuation factor of the interval distance. After the mapping value is normalized by the softmax function, the normalized result is used as the weighted weight, and further based on the weighted weight, all signal attenuation factors of this interval distance are weighted summed, and the weighted sum result is used as the signal attenuation coefficient corresponding to a certain interval distance.
[0058] Among them, all signal attenuation factors of the same type represent all signal attenuation factors with the same interval distance, and x represents the independent variable; the degree of difference between the signal attenuation factor and the benchmark attenuation factor is expressed by the absolute value of the difference, and then the degree of similarity between the signal attenuation factor and all signal attenuation factors of the same type is expressed by negative correlation mapping, and finally fused by weighted summation; the softmax function is a technical means well known to those skilled in the art and will not be repeated here.
[0059] The signal attenuation coefficients for all types of distance intervals are obtained in the same way.
[0060] Taking into account the theoretical signal attenuation coefficient of the sensing module (theoretical signal attenuation rate per unit distance), the standard signal attenuation coefficient of the sensing module can be obtained through the product manual or laboratory data. At this time, comparing the standard signal attenuation coefficient with the actually measured signal attenuation coefficient of the product reflects the actual performance of the sensing module at each interval distance. At the same time, the detection success rate is also an important performance indicator of the sensing module. Therefore, based on the difference between the signal attenuation coefficient of each interval distance and the standard signal attenuation coefficient of the sensing module, combined with the overall detection success rate, the test sensitivity of each interval distance is obtained, which characterizes the actual test sensitivity of the sensing module at each interval distance, and provides a basis for subsequently determining the optimal sensing range and the edge range of the sensing area.
[0061] Preferably, in one embodiment of the present invention, the smaller the actually measured signal attenuation coefficient is compared to the standard signal attenuation coefficient, the better the signal attenuation performance of the sensing module in the actual test is, and the higher the test sensitivity is. At the same time, the larger the mean value of the detection success rate is, the higher the probability of successful detection of all test points at a certain interval distance by the sensing module in the actual test is, and the higher the test sensitivity is.
[0062] Based on this, the test sensitivity of each interval distance is obtained according to the degree to which the signal attenuation coefficient of each interval distance is smaller than the standard signal attenuation coefficient, combined with the average detection success rate.
[0063] As an example, for any interval distance, the difference between the standard signal attenuation coefficient and the signal attenuation coefficient is used as the independent variable. After mapping through exp(x) with the natural constant e as the base, the mapped value is multiplied by the mean of the detection success rate of all test points at this interval distance, and then linearly normalized. The normalized result is used as the test sensitivity of this interval distance.
[0064] The difference between the signal attenuation coefficient and the standard signal attenuation coefficient is analyzed in the form of a difference. The standard signal attenuation coefficient is the minuend. The difference is amplified by the positively correlated exp(x) function to show the difference between the signal attenuation coefficient and the standard signal attenuation coefficient of the sensing module.
[0065] The ratio of the number of successful detections in the five experiments of each test point to 5 (number of experiments) is used as the detection success rate of each test point, and then the mean detection success rate corresponding to an interval distance is obtained; the linear normalization is performed under the corresponding data dimension, and the normalization adopted in the embodiment of the present invention can adopt this method. The specific technical means are well known to those skilled in the art and will not be elaborated here.
[0066] The test sensitivity for all kinds of distance intervals is obtained in the same way.
[0067] Step S3: Determine the optimal sensing range and sensing area edge range of the sensing module based on the test sensitivity; obtain the performance test parameters of the sensing module according to the response time and detection success rate of all interval distances within the sensing area edge range, combined with the size of the optimal sensing range.
[0068] Considering that the test sensitivity represents the actual performance of the currently tested sensing module at different interval distances, the optimal sensing range and sensing area edge range of the sensing module are determined based on the test sensitivity to obtain the performance test results of the sensing range angle.
[0069] Preferably, in one embodiment of the present invention, considering that a higher test sensitivity indicates a better sensing effect at a corresponding spacing distance, and that wireless signals (such as electromagnetic waves and ultrasonic waves) can propagate evenly in all directions in free space, the effective range of the sensing module should be a spherical area;
[0070] Based on this, the maximum interval distance of the test sensitivity greater than the first preset sensitivity threshold is taken as the optimal sensing ball radius to obtain the optimal sensing range; the maximum interval distance of the test sensitivity less than or equal to the first preset sensitivity threshold and greater than the second preset sensitivity threshold is taken as the maximum sensing ball radius, and the ball range between the maximum sensing ball radius and the optimal sensing ball radius is taken as the edge range of the sensing area.
[0071] As an example, the first preset sensitivity threshold is 0.9, and the second preset sensitivity threshold is 0.2.
[0072] See also Figure 2 , which shows a schematic diagram of an optimal sensing range provided by an embodiment of the present invention; Figure 2 The three-dimensional coordinate system is shown in the figure, the origin corresponds to the sensing module, the solid line range is the optimal sensing range, the dotted line range is the maximum sensing range, and the sphere range between the solid line and the dotted line is the edge range of the sensing area.
[0073] The size of the optimal sensing range is an important performance parameter of the sensing module. The response time and detection success rate of all interval distances within the edge of the sensing area reflect the test performance of the sensing module at the edge of the sensing area. Therefore, based on the response time and detection success rate of all interval distances within the edge of the sensing area, combined with the size of the optimal sensing range, the performance of the sensing module under dynamic testing is comprehensively evaluated, the performance test parameters of the sensing module are obtained, and the comprehensive performance test performance of the sensing module is evaluated.
[0074] Preferably, in one embodiment of the present invention, considering that the higher the detection failure rate and the longer the response time of the sensing module at the edge of the sensing area, the worse the performance of the sensing module in this range; and the smaller the interval distance corresponding to the edge of the sensing area, the smaller the edge of the sensing area, the smaller the maximum sensing distance of the sensing module, and the worse the performance;
[0075] Based on this, the detection failure rate is obtained based on the detection success rate; the test error factor of the edge range of the sensing area is obtained based on the average response time of all interval distances within the edge range of the sensing area, the average detection failure rate and the maximum interval distance;
[0076] As an example, the detection failure rate is obtained by subtracting the detection success rate from the constant 1; the product of the mean response time of all test points at each interval distance within the edge range of the sensing area and the mean detection failure rate is used as the error sub-factor; the sum of the error sub-factors of all interval distances within the test error factor of the edge range of the sensing area is used as the numerator, the maximum interval distance is used as the denominator, and the fractional ratio is used as the test error factor of the edge range of the sensing area.
[0077] The interval distance within the edge range of the sensing area includes: an interval distance whose data value is greater than the maximum interval distance within the optimal sensing range and whose test sensitivity is less than or equal to a first preset sensitivity threshold.
[0078] Considering that the larger the maximum interval distance within the optimal sensing range, the larger the optimal sensing range, the better the performance test performance, the maximum interval distance within the optimal sensing range is used as the size of the optimal sensing range; the smaller the test error factor, the better the test performance at the edge of the sensing area. The test error factor and the maximum interval distance within the optimal sensing range are further integrated to obtain the performance test parameters of the sensing module.
[0079] As an example, the maximum interval distance within the optimal sensing range is used as the numerator, the test error factor is used as the denominator, and the fractional ratio is used as the performance test parameter of the sensing module.
[0080] In one embodiment of the present invention, after obtaining the performance test parameters, the test data is further displayed to relevant personnel through a display module (such as a display screen). The displayed content may include one or more of the following: Figure 2 The three-dimensional sensing range model, performance test parameters, optimal sensing ball radius and maximum sensing ball radius, etc. are shown, and the test data is stored for easy access by relevant personnel.
[0081] It should be noted that there may be very few interval distances that show abnormal performance, that is, the data value is less than the maximum interval distance within the optimal sensing range, but the test sensitivity is also less than or equal to the first preset sensitivity threshold. These interval distances with abnormal performance will be marked as abnormal and presented to relevant personnel.
[0082] An embodiment of the present invention further provides a testing system for a sensing module, which includes a data acquisition module 101 , a test analysis module 102 , and a performance evaluation module 103 .
[0083] Data acquisition module 101: acquires test data of the sensing module under each preset test condition; the experiment is repeated a preset number of times for each preset condition, and the test data includes at least the signal strength of the test point, the detection success rate, the response time, and the distance between the sensing module and the test point;
[0084] Test analysis module 102: Based on the attenuation performance of the signal strength at each test point and the corresponding interval distance, a signal attenuation factor is obtained for each test point; the interval distances are classified based on the data values, and based on the distribution of the signal attenuation factors for each interval distance, a signal attenuation coefficient for each interval distance is obtained; based on the difference between the signal attenuation coefficient for each interval distance and the standard signal attenuation coefficient of the sensing module and the overall detection success rate, the test sensitivity for each interval distance is obtained;
[0085] Performance evaluation module 103: determines the optimal sensing range and sensing area edge range of the sensing module based on the test sensitivity; obtains the performance test parameters of the sensing module according to the response time and detection success rate of all interval distances within the sensing area edge range, combined with the size of the optimal sensing range.
[0086] The implementation method of modules 101 - 103 has been described in the testing method of a sensing module described in steps S1 - S3 and will not be described again.
[0087] An embodiment of the present invention also provides a testing device for a sensing module, which includes a memory, a processor, and a computer program, wherein the memory is used to store a corresponding computer program, and the processor is used to run the corresponding computer program. When the computer program runs in the processor, it can implement a testing method for a sensing module described in steps S1-S3.
[0088] In summary, in response to the technical problem that traditional performance testing methods lead to static and time-consuming test scenarios, and are difficult to meet the performance testing requirements of sensing modules, the present invention proposes a testing method, device and system for sensing modules. The present invention first obtains the test data of the sensing module; further obtains the signal attenuation factor of each test point; further obtains the signal attenuation coefficient of each spacing distance based on the distribution of the signal attenuation factor of each spacing distance; further obtains the test sensitivity of each spacing distance based on the difference between the signal attenuation coefficient and the standard signal attenuation coefficient and combined with the detection success rate; finally, obtains the performance test parameters of the sensing module based on the response time and detection success rate of all spacing distances within the edge range of the sensing area and the size of the optimal sensing range. The present invention constructs a dynamic test scenario to quantitatively analyze the signal attenuation and test performance of the sensing module at different spacing distances, effectively solving the problems of long traditional static test cycles and poor adaptability, improving test efficiency and result accuracy, and ensuring that the performance evaluation of the sensing module is comprehensive and reliable.
[0089] It should be noted that the order in which the embodiments of the present invention are described above is for illustrative purposes only and does not necessarily represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0090] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
Claims
1. A method for testing a sensing module, characterized in that: The method comprises: Acquire test data of the sensing module under each preset test condition; repeat the experiment a preset number of times for each preset condition, wherein the test data includes at least the signal strength at the test point, the detection success rate, the response time, and the distance between the sensing module and the test point; Based on the attenuation performance of the signal strength at each test point and the corresponding interval distance, a signal attenuation factor of each test point is obtained; the interval distances are classified based on the data values, and based on the distribution of the signal attenuation factors for each interval distance, a signal attenuation coefficient for each interval distance is obtained; based on the difference between the signal attenuation coefficient for each interval distance and the standard signal attenuation coefficient of the sensing module and the overall detection success rate, the test sensitivity for each interval distance is obtained; The optimal sensing range and the edge range of the sensing area of the sensing module are determined based on the test sensitivity; and the performance test parameters of the sensing module are obtained according to the response time and the detection success rate of all the interval distances within the edge range of the sensing area, combined with the size of the optimal sensing range.
2. The method for testing a sensing module according to claim 1, wherein: The method for obtaining the signal attenuation factor includes: The test data also includes the intensity of the transmitted signal emitted by the sensing module; based on the intensity of the transmitted signal, the signal attenuation factor of each test point is obtained according to the attenuation performance of the signal intensity per unit distance during all experiments at each test point.
3. The method for testing a sensing module according to claim 1, wherein: The method for obtaining the signal attenuation factor includes: For any of the interval distances, the signal attenuation factor of each test point is weighted and summed according to the similarity between the signal attenuation factor of each test point and all the signal attenuation factors of the same type, and the weighted summation result is used as the signal attenuation coefficient corresponding to the interval distance.
4. The method for testing a sensing module according to claim 1, wherein: The method for obtaining the test sensitivity includes: The test sensitivity of each of the interval distances is obtained according to the smaller degree of the signal attenuation coefficient of each of the interval distances compared to the standard signal attenuation coefficient, combined with the average of the detection success rates.
5. The method for testing a sensing module according to claim 1, wherein: The method for obtaining the performance test parameters includes: Obtaining a detection failure rate based on the detection success rate; obtaining a test error factor for the edge range of the sensing area according to an average of the response times of all the interval distances within the edge range of the sensing area, an average of the detection failure rates, and the maximum interval distance; The test error factor and the maximum interval distance within the optimal sensing range are integrated to obtain the performance test parameters of the sensing module.
6. The method for testing a sensing module according to claim 1, wherein: The method for determining the optimal sensing range and the edge range of the sensing area of the sensing module based on the test sensitivity includes: The maximum interval distance of the test sensitivity greater than the first preset sensitivity threshold is used as the optimal sensing ball radius to obtain the optimal sensing range; the maximum interval distance of the test sensitivity less than or equal to the first preset sensitivity threshold and greater than the second preset sensitivity threshold is used as the maximum sensing ball radius, and the ball range between the maximum sensing ball radius and the optimal sensing ball radius is used as the edge range of the sensing area.
7. The method for testing a sensing module according to claim 6, wherein: The first preset sensitivity threshold is 0.9, and the second preset sensitivity threshold is 0.
2.
8. The method for testing a sensing module according to claim 1, wherein: The preset number of times is 5 times.
9. A testing system for a sensing module, characterized in that: The system comprises: Data acquisition module: acquires test data of the sensing module under each preset test condition; repeats the experiment a preset number of times for each preset condition, and the test data includes at least the signal strength of the test point, the detection success rate, the response time, and the distance between the sensing module and the test point; Test analysis module: based on the attenuation performance of the signal strength at each test point and the corresponding interval distance, obtain the signal attenuation factor of each test point; classify the interval distances based on the data value, and obtain the signal attenuation coefficient of each interval distance based on the distribution of the signal attenuation factor of each interval distance; based on the difference between the signal attenuation coefficient of each interval distance and the standard signal attenuation coefficient of the sensing module, combined with the overall detection success rate, obtain the test sensitivity of each interval distance; Performance evaluation module: determines the optimal sensing range and sensing area edge range of the sensing module based on the test sensitivity; obtains the performance test parameters of the sensing module according to the response time and the detection success rate of all the interval distances within the sensing area edge range, combined with the size of the optimal sensing range.
10. A testing device for a sensing module, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for testing a sensing module as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Wireless network length drawing test method and test system
CN107896379A
Determining the maximum range of a lidar sensor
CN111164458A
Laser radar echo signal transformation ratio timing method
CN118568931A
Performance test method and system for RFID tag
CN118818191A
Radio equipment test method and test system
CN119865260A