A method, system, device and medium for testing a safety limit switch
By obtaining switch model information and preset evaluation models, combined with stepper motor precise control and high-frequency sampling, the existing test system cannot adapt to the differences in the characteristics of switches in different batches, achieving comprehensive and accurate testing of safety limit switches, improving the testing accuracy and safety of elevator operation.
Patent Information
- Application Number
- CN202510661661.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-05-22
AI Technical Summary
The existing safety limit switch testing system cannot adapt to the characteristics of different switches in different batches, resulting in insufficient testing accuracy and easy to miss key action characteristic points, and inaccurate test results.
By obtaining the model information of the switch to be tested, using the preset evaluation model to retrieve the test parameters, using the actual action point dispersion analysis and the test sequence of intensive sampling of the target interval, combining the stepper motor's precise motion control and high-frequency continuous sampling, the action stability and on-resistance value of the switch are measured, the test results are generated and the unique SN tag is printed.
It realizes comprehensive and accurate testing of limit switches in different batches, improves the accuracy and reliability of the test, and ensures the safety of elevator operation and the accuracy of floor level.
Smart Images

Figure CN120178019B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of safety limit switch testing, and in particular to a safety limit switch testing method, system, device and medium. Background Art
[0002] The elevator safety limit switch is a key component to ensure the safe operation of the elevator end station, and is used to detect whether the elevator car reaches the extreme position of the end station and trigger corresponding safety protection. With the rapid development of the elevator industry and the continuous improvement of safety standards, higher requirements are put forward for the performance and reliability of the safety limit switch, and the accuracy and efficiency of its testing method are particularly important.
[0003] Existing safety limit switch testing systems usually adopt a testing method with a fixed sampling interval. By setting fixed test parameters and sampling points, the action characteristics and conduction resistance of the switch are measured. The testing system judges whether the switch performance is qualified according to the preset standard value.
[0004] Existing testing systems need to manually adjust the test parameters of switches in different batches according to the characteristic differences of switches in different batches, which is easy to introduce errors and affect the testing accuracy. At the same time, the fixed sampling interval may miss key action characteristic points, resulting in inaccurate test results. This situation needs to be further improved. Summary of the Invention
[0005] In order to solve the problems that existing testing systems need to continuously adjust test parameters according to the characteristic differences of switches in different batches, which affects the testing accuracy; at the same time, the fixed sampling interval may miss key action characteristic points, resulting in inaccurate test results, the present application provides a safety limit switch testing method, system, device and medium, and adopts the following technical solutions:
[0006] In the first aspect, the present application provides a safety limit switch testing method, including the following steps:
[0007] Obtain the model information of the safety limit switch to be tested, and retrieve the test parameters from the preset evaluation model according to the model information to obtain the corresponding reference action points and sampling frequencies. The preset evaluation model is established based on the test data of elevator switches in the same batch, and includes a test sequence for analyzing the dispersion of actual action points and dense sampling in the target interval;
[0008] According to the reference action points and sampling frequencies, control the stepping motor to drive the safety limit switch to move, measure the actual action points, and perform reciprocating motion tests at the actual action points to obtain action stability data;
[0009] Based on the action stability data, continuously sample in the switch-on state to obtain the conduction resistance values in the time series;
[0010] Calculate the switch performance index according to the time series of the on-resistance value and a preset calculation method, generate a test result and print a unique SN label.
[0011] By adopting the above technical solution, due to manufacturing process and material deviations in limit switches of different batches, there are discreteness in action characteristics. The test method with a fixed sampling interval is likely to miss key action points and cannot effectively evaluate the long-term stability of the switch. In this application, first, the model information of the switch to be tested is obtained, and test parameters are retrieved from a preset evaluation model. The evaluation model analyzes the historical test data of elevator switches of the same batch, establishes a test sequence for analyzing the discreteness of actual action points and dense sampling in the target interval, determines appropriate reference action points and sampling frequencies. The system controls the stepping motor to drive the limit switch to move according to the retrieved reference action points and sampling frequencies. By precisely controlling the movement process of the stepping motor, the actual action points of the switch are measured. To comprehensively evaluate the action stability of the switch, the system performs a reciprocating motion test at the position of the actual action point to obtain action stability data. Based on these data, the system performs high-frequency continuous sampling in the on-state of the switch to obtain the time series change of the on-resistance value. Finally, according to the time series characteristics of the on-resistance and a preset calculation method, the system completes the calculation of the switch performance index, generates a test result and prints a unique SN label to achieve full traceability of the product.
[0012] Optionally, obtaining the model information of the safety limit switch to be tested and retrieving test parameters from a preset evaluation model according to the model information specifically includes the following steps:
[0013] Scan the QR code on the safety limit switch to obtain a unique identification code, and query the database according to the unique identification code to obtain the test data of the safety limit switches applied to the extreme positions of elevator landings in the same batch.
[0014] Calculate the discreteness of the actual action points in the test data, and mark the target interval where the discreteness affecting the elevator leveling accuracy exceeds a preset threshold. The preset threshold is determined according to the elevator leveling accuracy standard and the actual operation data of elevators in the same batch.
[0015] Densely sample points in the target interval according to a preset rule to generate a test sequence. The preset rule is centered on the reference action point. According to the target interval, the actual action point is measured through stepping movement, and the time series sampling of the on-resistance is performed for a period of time at the actual action point to verify the stability of the on-state of the switch.
[0016] Retrieve the corresponding holding time and sampling frequency parameters from a preset evaluation model according to the test sequence.
[0017] By adopting the above technical solution, since the manufacturing characteristics of each batch of limit switches are different, it is difficult to adapt to the characteristics of different batches of products by using unified and fixed test parameters, which is easy to cause test blind spots; the system of this application first scans the QR code on the switch to obtain a unique identification code, and queries the database to obtain the test data of the same batch of switches at the extreme positions of the elevator floor station; then, the system calculates the discreteness of the actual action point, and marks the area exceeding the preset threshold as the target interval. This threshold is determined based on the elevator leveling accuracy standard and actual operation data; within the target interval, the system arranges dense sampling points according to preset rules centered on the reference action point to form a test sequence; through the precise control of the stepper motor, the system measures the actual action point at these sampling points, and maintains the position for a certain period of time to continuously sample the on-resistance to verify the stability of the switch on state; finally, the system retrieves the corresponding hold time and sampling frequency parameters from the evaluation model according to the generated test sequence; through discreteness analysis and dense sampling, the comprehensiveness and accuracy of the test are ensured.
[0018] Optionally, according to the reference action point and the sampling frequency, controlling the stepper motor to drive the safety limit switch to move and measuring the actual action point specifically includes the following steps:
[0019] Acquire initial position information of the stepper motor, and calculate the target motion stroke according to the initial position information and the reference action point;
[0020] Controlling the movement of the stepper motor according to a preset speed curve, wherein the speed curve includes an acceleration interval, a uniform speed interval and a deceleration interval, and the speed and time parameters of each interval are determined according to the sampling frequency;
[0021] In the uniform speed interval, the switch state signal and the position signal are collected in real time, and the corresponding position data when the switch state changes are recorded;
[0022] Analyzing and processing the position data, determining the actual action point, and calculating the deviation value between the actual action point and the reference action point;
[0023] It is determined whether the switch action characteristic meets the preset performance requirement according to the deviation value.
[0024] By adopting the above technical solution, in order to accurately measure the position of the action point of the switch, it is necessary to precisely control the movement process of the stepper motor while ensuring the synchronization and accuracy of data acquisition. Since the state changes near the action point of the switch are relatively sensitive, the traditional constant-speed movement method is prone to missing key state changes, and the sudden change in movement speed will introduce mechanical vibration, affecting the measurement accuracy. The system of this application first obtains the initial position information of the stepper motor and calculates the required target movement stroke in combination with the reference action point. The movement control adopts a three-segment speed curve, including an acceleration interval, a constant-speed interval, and a deceleration interval. The speed and time parameters of these intervals are not fixed but are dynamically determined according to the sampling frequency set by the system, ensuring the sufficiency of data acquisition. During the constant-speed interval, the system continuously samples the state signal and position signal of the switch. When it detects a change in the switch state, it records the corresponding position data. By analyzing and processing the collected position data, the system can accurately determine the position of the actual action point and calculate the deviation value from the reference action point. Finally, based on this deviation value, the system determines whether the action characteristics of the switch meet the preset performance requirements. Through the speed curve and synchronous acquisition strategy, the influence of mechanical vibration on measurement is avoided, and the accuracy of action point position measurement is improved.
[0025] Optionally, based on the action stability data, continuous sampling is performed in the switch-on state to obtain a time series of on-resistance values, which specifically includes the following steps:
[0026] Determine the stable on-position and detection time window of the switch according to the action stability data;
[0027] Apply a constant test current within the stable on-position and detection time window;
[0028] Continuously collect the voltage values at both ends of the switch according to the sampling frequency, and calculate the time series of on-resistance values based on the test current and voltage values;
[0029] Perform statistical analysis on the on-resistance, and calculate the mean value, standard deviation, and maximum fluctuation range;
[0030] Compare the statistical analysis results with the preset threshold to judge the stability of the switch-on state.
[0031] By adopting the above technical solution, the system of the present application first determines the stable on-position of the switch according to the motion stability data obtained in the early stage and sets a suitable detection time window; at this position and within this time window, the system applies a constant test current to ensure the consistency of the measurement conditions; according to the pre-determined sampling frequency, the system continuously collects the voltage values across the switch and combines the known test current to calculate a set of on-resistance values in a time series; through in-depth statistical analysis of this set of data, the system calculates characteristic parameters such as the mean value, standard deviation, and maximum fluctuation range of the on-resistance; finally, the system compares these statistical analysis results with the preset threshold values to comprehensively judge the stability of the switch on-state; through continuous sampling and statistical analysis, a more comprehensive and reliable evaluation result of the on-state is provided.
[0032] Optionally, according to the time series of the on-resistance values and a preset calculation method, calculate the switch performance indicators, which specifically include the following steps:
[0033] Based on the on-resistance values in the time series, extract characteristic parameters, including the on-resistance mean value, fluctuation amplitude, and stabilization time;
[0034] Calculate the deviations of the respective characteristic parameters from the preset standard values respectively;
[0035] Perform weighted calculation on the deviations of each item according to the preset weight coefficients to obtain a comprehensive performance score;
[0036] Compare the comprehensive performance score with the grading standard to determine the switch performance level;
[0037] Generate a test report including the characteristic parameters, deviation values, and performance level.
[0038] By adopting the above technical solution, since the influence degrees of different performance parameters on the switch reliability are different, simply treating each parameter equally or only considering a single parameter is difficult to reflect the true performance level of the switch; the present application first extracts multiple characteristic parameters from the time series data of the on-resistance, including the mean value of the on-resistance, fluctuation amplitude, and the time required to reach the stable state; for each characteristic parameter, the system calculates the deviation between it and the preset standard value; considering that the influence weights of different parameters on the switch performance are different, the system performs weighted calculation on the deviations of each item using the preset weight coefficients to obtain a score that can comprehensively reflect the switch performance; by comparing this comprehensive performance score with the grading standard, the system can accurately determine the performance level of the switch; finally, the system generates a complete test report, recording in detail the characteristic parameters, deviation values, and the finally determined performance level.
[0039] Optionally, the method further includes the following steps:
[0040] Detect the test process parameters to obtain abnormal state information;
[0041] Trigger an audible and visual alarm and display an abnormal interface according to the abnormal status information;
[0042] Based on the abnormal interface, perform a re - test once to obtain new test data;
[0043] According to the new test data, print the SN label and record the complete test process.
[0044] By adopting the above technical solution, the system continuously monitors various parameters during the test process, including signals such as current, voltage, and position. Once an abnormal state is detected, the system immediately generates abnormal status information; to ensure that operators can discover problems in a timely manner, the system will trigger an audible and visual alarm, and at the same time clearly display the abnormal information on the display interface, including the type of abnormality, occurrence time, and relevant parameters; operators can judge the cause of the abnormality based on the information provided by the abnormal interface and take corresponding measures; the system will automatically perform a re - test once to obtain new test data; only when the new test data meets the requirements will the system print the SN label of the product; improving the reliability of the test process.
[0045] Optionally, the method further includes the following steps:
[0046] Receive the input of query conditions to obtain query parameters;
[0047] Retrieve the test database according to the query parameters to obtain test records;
[0048] Generate a test report based on the test records to determine the quality status of the switch.
[0049] By adopting the above technical solution, the system first receives the query conditions input by the user, and these conditions can include query parameters in multiple dimensions such as time range, batch number, and performance level; the system accurately retrieves in the test database according to these parameters and quickly obtains the test records that meet the conditions; these records contain the complete test data of the switch, such as various indicators such as action characteristics, on - resistance, and stability; the system automatically generates a test report in a standard format based on these test records and determines the overall quality status of the switch through data analysis; improving the efficiency of quality management.
[0050] In a second aspect, the present application provides a safety limit switch test system, including:
[0051] A test parameter retrieval module, configured to obtain the model information of the safety limit switch to be tested, and retrieve test parameters from a preset evaluation model according to the model information to obtain corresponding reference action points and sampling frequencies. The preset evaluation model is established based on the test data of switches in the same batch and includes a test sequence for discrete degree analysis of actual action points and dense sampling in the target interval;
[0052] An action stability acquisition module, configured to control a stepper motor to drive the safety limit switch to move according to the reference action point and the sampling frequency, measure the actual action point, and perform a reciprocating motion test at the actual action point to obtain action stability data;
[0053] A conduction resistance value sampling module, configured to continuously sample based on the action stability data in the switch-on state to obtain a time series of conduction resistance values;
[0054] A test result generation module, configured to calculate switch performance indicators according to the time series of the conduction resistance values and a preset calculation method, generate a test result, and print a unique SN label.
[0055] In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned safety limit switch test method are implemented.
[0056] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned safety limit switch test method are implemented.
[0057] In summary, the present application includes at least one of the following beneficial technical effects:
[0058] The present application first obtains the model information of the switch to be tested and retrieves test parameters from a preset evaluation model; the evaluation model establishes a test sequence of actual action point dispersion analysis and target interval dense sampling by analyzing historical test data of elevator switches in the same batch, and determines appropriate reference action points and sampling frequencies; the system controls a stepper motor to drive the limit switch to move according to the retrieved reference action points and sampling frequencies; by precisely controlling the movement process of the stepper motor, the actual action point of the switch is measured; in order to comprehensively evaluate the action stability of the switch, the system performs a reciprocating motion test at the actual action point position to obtain action stability data. Based on these data, the system performs high-frequency continuous sampling in the switch-on state to obtain the time series change of the conduction resistance value; finally, according to the time series characteristics of the conduction resistance and a preset calculation method, the system completes the calculation of the switch performance indicators, generates a test result, and prints a unique SN label to achieve full-process traceability of the product;
[0059] The system of the present application first scans the QR code on the switch to obtain a unique identification code, and queries the database to obtain the test data of the same batch of switches at the extreme positions of the elevator floor station; then, the system calculates the discreteness of the actual action point and marks the area exceeding the preset threshold as the target interval. This threshold is determined based on the elevator leveling accuracy standard and actual operation data; within the target interval, the system arranges dense sampling points according to preset rules centered on the reference action point to form a test sequence; through the precise control of the stepper motor, the system measures the actual action point at these sampling points, and maintains the position for a certain period of time to continuously sample the on-resistance to verify the stability of the switch-on state; finally, according to the generated test sequence, the system retrieves the corresponding holding time and sampling frequency parameters from the evaluation model; through discreteness analysis and dense sampling, the comprehensiveness and accuracy of the test are ensured;
[0060] The system of this application first obtains the initial position information of the stepper motor, and calculates the required target motion stroke in combination with the reference action point; the motion control adopts a three-stage speed curve, including an acceleration interval, a uniform speed interval, and a deceleration interval; the speed and time parameters of these intervals are not fixed, but are dynamically determined according to the sampling frequency set by the system, ensuring the adequacy of data acquisition. In the uniform speed interval, the system collects the state signal and position signal of the switch in real time, and records the corresponding position data when a change in the switch state is detected; the collected position data is analyzed and processed, and the system can accurately determine the position of the actual action point and calculate the deviation value from the reference action point; finally, the system determines whether the action characteristics of the switch meet the preset performance requirements based on this deviation value; through the speed curve and synchronous acquisition strategy, the influence of mechanical vibration on the measurement is avoided, and the accuracy of the action point position measurement is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 It is a flowchart of a safety limit switch testing method according to an embodiment of the present application;
[0062] Figure 2 It is a schematic diagram of a test process in a safety limit switch test method according to an embodiment of the present application;
[0063] Figure 3 It is a flowchart of step S100 in a safety limit switch testing method according to an embodiment of the present application;
[0064] Figure 4 It is a flowchart of step S200 in a safety limit switch testing method according to an embodiment of the present application;
[0065] Figure 5 It is a flowchart of step S300 in a safety limit switch testing method according to an embodiment of the present application;
[0066] Figure 6 It is a schematic flow chart of step S400 in a safety limit switch test method according to an embodiment of the present application;
[0067] Figure 7 It is a schematic flow chart of abnormal alarm in a safety limit switch test method according to an embodiment of the present application;
[0068] Figure 8 It is a schematic flow chart of generating a test report in a safety limit switch test method according to an embodiment of the present application;
[0069] Figure 9 It is a schematic diagram of modules of a safety limit switch test system according to an embodiment of the present application;
[0070] Figure 10 It is an internal structure diagram of an electronic device according to an embodiment of the present application. Specific embodiments
[0071] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "an", "the", "above", "said", "this" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations including one or more of the listed items.
[0072] Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be construed as implying or indicating relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "plural" is two or more.
[0073] The following further describes the embodiments of the present application in conjunction with the accompanying drawings of the specification.
[0074] In a first aspect, the present application provides a safety limit switch test method. Referring to Figure 1 , the method includes the following steps:
[0075] S100. Obtain the model information of the safety limit switch to be tested, and retrieve test parameters from a preset evaluation model according to the model information to obtain corresponding reference action points and sampling frequencies.
[0076] Among them, the preset evaluation model is established based on the test data of elevator switches in the same batch, and includes a test sequence for analyzing the dispersion of actual action points and dense sampling in a target interval.
[0077] In this embodiment, the model information includes basic information such as the specification model and manufacturing batch of the switch, which can be obtained by barcode scanning; the evaluation model refers to the parameter mapping relationship established based on historical test data and is used to quickly determine the test parameters; the reference action point refers to the expected action position of the switch, and the sampling frequency determines the time interval of data acquisition.
[0078] Specifically, the system first reads the two-dimensional code information on the surface of the switch through a barcode scanner to obtain complete model information. The system maintains a model-parameter mapping table, which is regularly updated according to the test data of switches in the same batch and contains the reference action point range and recommended sampling frequency corresponding to different model switches. For example, for the XX-01 type switch, its reference action point range is 15 ± 0.5 mm, and the sampling frequency is set to 1 kHz. In addition, the system also establishes a dispersion analysis method to determine the key test interval by calculating the standard deviation of the actual action points of switches in the same batch. Within the key interval, the system will automatically increase the sampling frequency to achieve precise measurement of key parameters.
[0079] S200. According to the reference action point and the sampling frequency, control the stepping motor to drive the safety limit switch to move, measure the actual action point, and perform a reciprocating motion test at the actual action point to obtain action stability data.
[0080] In this embodiment, as Figure 2 shown, the safety limit switch is of a single-sided cantilever ball pendulum rod type structure, including a switch body and a single-sided cantilever pendulum rod with a ball. The pendulum rod is installed on the switch body through a bearing and can swing freely within a certain angle range. The ball design reduces the friction when the pendulum rod moves and improves the sensitivity of the switch action. The switch is installed on an orange test platform, and its position and angle are accurately calibrated to ensure the accuracy of the test.
[0081] Specifically, the system uses a precision stepper motor to drive the test mechanism, driving the switch installed on the test platform to move in a controlled manner. During the test, the ball of the single-sided cantilever swing rod contacts the guiding mechanism on the test platform. As the platform moves structurally, the swing rod generates an angular change until the switch is triggered to act. The system adopts a segmented control strategy: First, the switch is moved at a speed of 2 mm / s. When approaching 3 mm before the reference action position (such as the expected 15 mm), the speed is reduced to 0.5 mm / s. The switch status signal is monitored in real time during the test. When a status change is detected, the current position is recorded as the actual action point. For example, for a switch with a rated action position of 18 mm, the system performs precise scanning within the range of 16 - 20 mm. After detecting the action point (such as 18.2 mm), 10 reciprocating motions are performed within the range of ±1 mm from this position, and the precise position when the swing rod is triggered each time is recorded to evaluate the repeatability and stability of the switch action. During the entire test process, the switch position is continuously monitored through a high-precision displacement sensor to ensure the reliability of the measurement data.
[0082] S300. Based on the action stability data, continuous sampling is performed in the switch-on state to obtain the on-resistance values of the time series.
[0083] In this embodiment, the action stability data includes the trigger position data of the switch during reciprocating motion; the on state refers to the working state where the switch contacts are closed; the on-resistance value reflects the contact quality of the contacts, and its time series data is used to evaluate the stability of the contact.
[0084] Specifically, after the system confirms that the switch has completed the stability test, the swing rod is held in the on position. The four-wire measurement method is used to test the electrical characteristics of the switch contacts. The system continuously collects the contact voltage and current data through a high-precision data acquisition card within a certain period of time, and calculates a series of on-resistance values. To eliminate external interference, the system performs digital filtering processing on the original data to obtain a reliable on-resistance time series.
[0085] S400. According to the time series of the on-resistance values and the preset calculation method, calculate the switch performance indicators, generate the test results and print the unique SN label.
[0086] In this embodiment, the switch performance indicators include statistical parameters such as the average value, maximum value, and standard deviation of the contact on-resistance; the preset calculation method defines the calculation rules and judgment criteria for each indicator; the unique SN label is the unique serial number label, which is used for product traceability and quality control.
[0087] Specifically, the system calculates performance indicators based on the on-resistance time series data, including the average on-resistance, standard deviation, and stabilization time, etc. Determine whether the switch is qualified according to the preset judgment rules. For qualified products, generate a unique serial number in the format of "product model - production date - serial number". Finally, print a certificate of conformity containing a QR code and save the test data to the quality management database.
[0088] In one embodiment, referring to Figure 3 , in step S100, obtain the model information of the safety limit switch to be tested, and retrieve the test parameters from the preset evaluation model according to the model information, which specifically includes the following steps:
[0089] S110. Scan the QR code on the safety limit switch to obtain a unique identification code, and query the database according to the unique identification code to obtain the test data of the safety limit switches applied to the extreme positions of elevator landings in the same batch.
[0090] In this embodiment, the unique identification code includes product basic information and production batch information; the test data of the same batch refers to the historical test records obtained by the switches of the same model at the standard test stations during the same production cycle; the extreme position of the landing refers to the position where the elevator car makes mechanical contact with the safety limit switch when running to the end station.
[0091] Specifically, the system collects the QR code image on the surface of the switch through an industrial camera and parses it to obtain the unique identification code. The system maintains a basic database and establishes a mapping relationship between the product identification code and the test record. The database adopts a hierarchical architecture, where the basic layer stores the original test data, the middle layer contains batch statistical information, and the top layer stores the application data related to elevator operation. When querying, the system first locates the corresponding batch through the identification code, and then extracts the test records of the switches applied to the extreme positions of the landings in that batch.
[0092] S120. Calculate the dispersion degree of the actual action points in the test data, and mark the target interval where the dispersion degree affecting the elevator leveling accuracy exceeds the preset threshold.
[0093] Among them, the preset threshold is determined according to the elevator leveling accuracy standard and the actual operation data of the elevators in the same batch.
[0094] In this embodiment, the dispersion includes the deviation distribution of the switch action position relative to the nominal value and the actual docking error distribution during elevator landing positioning; the preset threshold is jointly determined by the elevator leveling accuracy level and the actual operation data; the target interval determines the test focus not only considering the action characteristics of the switch itself but also combining the compensation ability of the elevator landing positioning system. This solution is mainly for high-speed elevators in high-rise buildings and special elevators with high requirements for leveling accuracy (such as medical elevators, high-precision industrial elevators, etc.). The system establishes an elevator compensation characteristic database to record the compensation ability of the positioning system under different working conditions. Taking the high-speed elevator in a certain super high-rise building as an example, for the case of mechanical compensation, the deviation of the switch action position can be compensated by adjusting the position of the switch bracket, and the repeatability of the switch action is focused on; for the case of control compensation, the system can control the elevator deceleration point in advance according to the switch action position, and the timeliness of the switch action is focused on. When the switch is installed at the top limit position above the 80th floor, due to limited mechanical compensation and high braking accuracy requirements, the system will reduce the allowable threshold of the action position deviation to ±2 mm and correspondingly increase the test density in this interval. If the switch is used for ordinary landings and the control system has strong compensation ability, the threshold can be relaxed to ±5 mm. The system analyzes the matching relationship between the switch action characteristics and the compensation ability, and establishes a two-dimensional decision matrix. The horizontal axis is the switch action deviation, and the vertical axis is the compensation margin, which is used to quickly determine the range of the target interval and the test requirements. For special elevators such as medical elevators, the system will select a more stringent decision criterion according to the actual application scenario to ensure the smooth operation and positioning accuracy of the elevator.
[0095] Specifically, the system evaluates the dispersion in two dimensions: First, analyze the switch batch data, calculate the average value and standard deviation of the action position, and identify the abnormal points beyond ±2σ; second, introduce the elevator operation data and conduct a correlation analysis between the switch action characteristics and the landing positioning error. For example, a certain type of switch is used at the top limit position of a 10-story building. The system will focus on the action consistency of the switch during the elevator deceleration process because this directly affects the terminal positioning accuracy of the elevator. The system maintains a hierarchical threshold decision table. The basic layer contains the technical requirements of the switch body, the middle layer contains the compensation parameters at different floor heights, and the top layer contains the dynamic characteristic requirements corresponding to the elevator speed level. When there is a significant correlation between the dispersion of the switch action position and the elevator positioning error, the system marks the corresponding interval as the key test target and adjusts the subsequent test parameters accordingly.
[0096] S130. Densely sample points within the target interval according to a preset rule to generate a test sequence.
[0097] Among them, the preset rule is centered on the reference action point. According to the target interval, the actual action point is measured through a step motion, and a time series sampling of the on-resistance is performed while maintaining at the actual action point for a period of time to verify the stability of the switch-on state.
[0098] In this embodiment, the preset rule defines the distribution mode and density of the sampling points; dense sampling means increasing the number of test points within the target interval; the test sequence is a set of sampling positions arranged in chronological order.
[0099] Specifically, the system uses a linear interpolation method to generate a test sequence within the target interval. Centered on the reference action point, basic sampling points are arranged on both sides of it according to the equal-spacing principle. For the marked target interval, the system automatically adjusts the dense sampling interval, and the sampling density gradually decreases as it moves away from the central position. The test sequence includes both motion parameters and hold time parameters, which are used to control the switch test process.
[0100] S140. According to the test sequence, retrieve the corresponding hold time and sampling frequency parameters from the preset evaluation model.
[0101] In this embodiment, the hold time refers to the time length of staying at each sampling position for stability testing; the sampling frequency parameter determines the time resolution of data acquisition; the evaluation model is used to determine the optimal combination of test parameters.
[0102] Specifically, the system establishes a parameter look-up table to establish a correspondence between the test sequence features and the test parameters. The table contains recommended parameter values for different test scenarios, and the system selects the appropriate parameter combination according to the position and range of the target interval. For special application scenarios, the system will call a dedicated evaluation model for parameter optimization to ensure the reliability of the test.
[0103] In one embodiment, referring to Figure 4 , in step S200, according to the reference action point and the sampling frequency, control the stepping motor to drive the safety limit switch to move, and measure the actual action point, which specifically includes the following steps:
[0104] S210. Obtain the initial position information of the stepping motor, and calculate the target motion stroke according to the initial position information and the reference action point.
[0105] In this embodiment, the initial position information includes the zero position mark and the mechanical origin position of the stepping motor; the target motion stroke refers to the actual moving distance from the initial position to the reference action point; considering the mechanical characteristic differences of different test stations, the system needs to perform position calibration and compensation.
[0106] Specifically, the system uses a position mapping table to record the characteristic parameters of each test station. First, the zero position of the stepping motor is detected by a Hall sensor, and then the mechanical origin is determined by a mechanical limit switch. The system queries the corresponding position compensation value from the mapping table according to the station number, and converts the mechanical coordinates into standard test coordinates. For example, if the reference position of a certain test station is offset by 0.2 mm due to mechanical wear, the system will automatically compensate for this deviation when calculating the target stroke.
[0107] S220. Control the movement of the stepping motor according to a preset speed curve. The speed curve includes an acceleration interval, a constant-speed interval, and a deceleration interval. The speed and time parameters of each interval are determined according to the sampling frequency.
[0108] In this embodiment, the speed curve refers to the variation law of the speed of the stepping motor during the movement process. The S-shaped curve is adopted for the acceleration interval and the deceleration interval to ensure a smooth transition. The speed of the constant-speed interval needs to match the sampling frequency to ensure the accuracy of data acquisition.
[0109] Specifically, the system establishes a speed planning template and selects appropriate motion parameters according to the test requirements. The acceleration and deceleration times and the curve shape are determined by looking up a table. For example, when the sampling frequency is set to 1 kHz, the speed in the constant-speed section is controlled at 5 mm / s to ensure that the displacement increment between adjacent sampling points does not exceed 5 μm. The system realizes speed control through timer interruption and generates motor control pulses by means of table look-up and interpolation.
[0110] S230. During the constant-speed interval, the switch state signal and the position signal are collected in real time, and the position data corresponding to the change of the switch state is recorded.
[0111] In this embodiment, the switch state signal includes the on / off state and the conduction resistance value of the normally open / normally closed contact. The position signal comes from the stepping motor encoder and the linear grating ruler. The requirement for real-time collection is not to affect the motor motion control on the premise of ensuring the sampling accuracy.
[0112] Specifically, the system adopts a double-buffer data acquisition structure to separately process the state detection and the position recording. The state detection circuit uses optocoupler isolation and captures the moment of state change through a hardware trigger method. The position signal is recorded by a timing sampling method, and the precise position at the moment of state change is calculated by linear interpolation. For example, when it is detected that the switch state changes from off to on, the system records the position data points before and after the current moment and calculates the actual action position through interpolation.
[0113] S240. Analyze and process the position data to determine the actual action point and calculate the deviation value between the actual action point and the reference action point.
[0114] In this embodiment, the analysis and processing include data filtering, validity verification, and statistical calculation; the actual action point is defined as the position where the switch state changes stably; the deviation value is used to evaluate the accuracy of the switch action characteristics.
[0115] Specifically, the system preprocesses the original data using the sliding window method. First, median filtering is applied to the position data to remove outliers, and then the effective action intervals are identified according to the change characteristics of the status signal. The system maintains a deviation statistical table to record the typical deviation values under different working conditions for quickly judging the reasonableness of the test results.
[0116] S250. Determine whether the switch action characteristics meet the preset performance requirements according to the deviation value.
[0117] In this embodiment, the performance requirements include indicators such as action position deviation, contact feedback time, and switch state stability; the preset requirements are determined according to the switch application scenario and safety level.
[0118] Specifically, the system uses a hierarchical decision table to evaluate the switch performance. A three-level decision-making mechanism is established: first, check whether the deviation value is within the allowable range; second, verify the stability of the switch action; finally, evaluate the overall performance indicators.
[0119] In one embodiment, referring to Figure 5 , in step S300, based on the action stability data, continuous sampling is performed in the switch-on state to obtain the on-resistance values of the time series, which specifically includes the following steps:
[0120] S310. Determine the stable on-position and detection time window of the switch according to the action stability data.
[0121] In this embodiment, the stable on-position refers to the position point where the switch contacts are fully closed and the mechanical vibration has been sufficiently attenuated; the detection time window refers to the test duration maintained at this position point; these parameters need to be dynamically adjusted according to the switch type and working environment.
[0122] Specifically, the system maintains a parameter configuration table based on the switch model. The table records the mechanical stability time and recommended test duration of different types of switches, and the test parameters are quickly determined by looking up the table. For example, for a certain type of micro switch, the system starts the test 50 ms after the contacts are closed, and the test time window is set to 500 ms to ensure that the mechanical vibration is sufficiently attenuated.
[0123] S320. Apply a constant test current within the stable on-position and detection time window.
[0124] In this embodiment, the selection of the test current needs to consider the switch rating and the requirements for test accuracy; the constant current source adopts a precision control circuit based on an operational amplifier; the system ensures the stability of the test current through real-time monitoring.
[0125] Specifically, the system adopts a stepped current source design and establishes a test current lookup table. According to the switch contact material and the rated current, a suitable test current value is selected from the table.
[0126] S330. Continuously collect the voltage values at both ends of the switch according to the sampling frequency, and calculate the on-resistance values of the time series based on the test current and the voltage values.
[0127] In this embodiment, high-precision ADC is used for voltage sampling, which supports multi-channel synchronous sampling; the calculation of the on-resistance takes into account the compensation of the test circuit; the time series data is used to analyze the dynamic changes of the contact conduction characteristics.
[0128] Specifically, the system establishes a test compensation calibration table to record the line resistance and offset voltage of each test channel. During the sampling process, the compensation value is obtained by looking up the table, and the actual contact resistance is calculated in real time.
[0129] S340. Conduct statistical analysis on the on-resistance, and calculate the mean value, standard deviation, and maximum fluctuation range.
[0130] In this embodiment, data processing methods are used for statistical analysis; the mean value reflects the basic level of the contact on-resistance; the standard deviation and the fluctuation range are used to evaluate the conduction stability; the system automatically identifies and processes outliers.
[0131] Specifically, the system uses the sliding window method for real-time statistical calculation and maintains a typical value range table. First, the obviously abnormal sampling points are removed, and then the statistical characteristics of the valid data are calculated.
[0132] S350. Compare the statistical analysis results with the preset threshold values to judge the stability of the switch conduction state.
[0133] In this embodiment, the preset threshold values include judgment criteria in two dimensions: static and dynamic; the static criterion focuses on the absolute value of the on-resistance; the dynamic criterion evaluates the fluctuation characteristics of the resistance value; the judgment result is used for switch performance grading.
[0134] Specifically, the system uses a hierarchical judgment table for result evaluation. The table stipulates the judgment criteria under different application scenarios, including the upper limit of the on-resistance, the volatility limit, etc.
[0135] In one embodiment, referring to Figure 6 , in step S400, according to the time series of the on-resistance values and the preset calculation method, calculate the switch performance indicators, which specifically include the following steps:
[0136] S410. Extract characteristic parameters based on the on-resistance values in the time series, including the average on-resistance, the fluctuation amplitude, and the stabilization time.
[0137] In this embodiment, the characteristic parameters reflect the key performance indicators of the switch conduction state; the average on-resistance characterizes the contact quality of the contact; the fluctuation amplitude reflects the stability of the contact; the stabilization time describes the time required for the resistance value to stabilize from the contact of the contact.
[0138] Specifically, the system uses a characteristic parameter extraction table for data processing. The calculation window and extraction method of different parameters are defined in the table, avoiding complex signal processing algorithms. For example, the system calculates the local average once every 20 ms within a 1-second time window, and takes the average value of the last 10 points as the average on-resistance; determines the fluctuation amplitude by the difference between the maximum value and the minimum value; takes the moment when the resistance value enters the ±5% range as the stabilization time point.
[0139] S420. Calculate the deviations of the characteristic parameters from the preset standard values respectively.
[0140] In this embodiment, the preset standard values are derived from product specification requirements and historical test data; the deviation calculation uses a normalization processing method; the deviation calculation methods of different parameters are determined according to their physical meanings.
[0141] Specifically, the system establishes a classification standard value table and selects the corresponding standard values according to the switch model and application scenario. The typical values and allowable deviation ranges of each type of switch are recorded in the table.
[0142] S430. Perform weighted calculation on each deviation according to the preset weight coefficients to obtain the comprehensive performance score.
[0143] In this embodiment, the weight coefficients represent the influence degrees of each parameter on the switch performance; the weighted calculation uses normalization processing; the comprehensive performance score is represented in percentage system.
[0144] Specifically, the system uses a weight configuration table to manage the weights of each parameter. Select the corresponding weight configuration scheme according to the application requirements.
[0145] S440. Compare the comprehensive performance score with the grading standard to determine the switch performance level.
[0146] In this embodiment, the grading standard is formulated according to the product application level; the performance level is used for product screening and quality traceability; the determination of the performance level needs to consider the influence of test errors.
[0147] Specifically, the system maintains a grading determination table and adopts a gradient grading scheme. The performance levels and determination rules corresponding to different score intervals are specified in the table.
[0148] S450. Generate a test report including the characteristic parameters, deviation values, and performance levels.
[0149] In this embodiment, the test report includes quantitative data and qualitative evaluations; the characteristic parameters are presented in numerical form; the deviation values are displayed in the form of charts; and the performance levels serve as the basis for quality assessment.
[0150] Specifically, the system adopts a templated report generation scheme and establishes a test report template library. Selects a suitable report template according to the test type and automatically fills in the test data and evaluation results. For example, a regular test report includes a basic parameter table, a deviation analysis chart, and a rating result; a detailed report additionally includes a time series data chart and an abnormal analysis description.
[0151] In one embodiment, referring to Figure 7 , the method further includes the following steps:
[0152] S710. Detect the process parameters of the test to obtain abnormal status information.
[0153] In this embodiment, the process parameters include working conditions such as ambient temperature, test current, and supply voltage; the abnormal status information includes types such as parameter overrun, data anomaly, and equipment failure; and the system monitors and records these parameters in real time.
[0154] Specifically, the system establishes a process parameter monitoring table and sets the normal working range and alarm thresholds for key parameters. Adopts a simple state machine method for anomaly detection and compares the parameter values with the preset range.
[0155] S720. Trigger an audible and visual alarm and display an abnormal interface according to the abnormal status information.
[0156] In this embodiment, the audible and visual alarm adopts a multi-level alarm mechanism; the abnormal interface includes a fault code and a handling suggestion; and the system selects different prompting methods according to the type of anomaly.
[0157] Specifically, the system uses an alarm level configuration table to manage the prompting methods for different abnormal statuses. Establishes a set of simple alarm rules: a yellow indicator light indicates parameter fluctuations, and a red indicator light indicates a serious fault; the buzzer uses different interval modes to distinguish the anomaly levels. For example, when the test current fluctuates, a yellow light is displayed and the buzzer sounds intermittently; when the supply voltage is abnormal, a red light is displayed and the alarm sounds continuously. The fault description and recommended operations are displayed on the interface by looking up the table.
[0158] S730. Based on the abnormal interface, perform a retest to obtain new test data.
[0159] In this embodiment, different test schemes are selected for retesting based on the reasons for anomalies; the new test data needs to be compared and analyzed with the original data; the system automatically determines whether manual intervention is required.
[0160] Specifically, the system maintains an exception handling process table and selects the corresponding retesting strategy according to the type of anomaly. A simple decision tree structure is used to determine the processing scheme. For example, for anomalies caused by parameter fluctuations, the system automatically retests after the parameters return to normal; for equipment failures, the system requires the operator to confirm before continuing the test. When the difference between the retest data and the original data exceeds the set threshold, the system will mark that manual reinspection is required.
[0161] S740. Print the SN label and record the complete test process according to the new test data.
[0162] In this embodiment, the SN label contains the product serial number and test result information; the record of the complete test process includes the original data, anomaly information, and processing process; this information is used for product traceability and quality analysis.
[0163] Specifically, the system adopts a hierarchical storage scheme to manage the test data. A test record template is established, and different record formats are selected according to the product type. For example, ordinary products only record the final test results and key parameters; products with anomalies additionally save the complete process data and anomaly handling records. The label printing adopts a templated design, and the printing content is generated through text replacement. The system supports the data export function and can query historical records according to conditions such as time and batch.
[0164] In one embodiment, referring to Figure 8 , the method further includes the following steps:
[0165] S810. Receive the input of query conditions to obtain query parameters.
[0166] In this embodiment, the query conditions include screening options such as time range, production batch, and product model; the query parameters are stored in a structured format; the system supports multi-condition combination queries and fuzzy matching.
[0167] Specifically, the system establishes a query template table and presets common query condition combinations. The operation interface selects query items through a drop-down menu to avoid complex condition input.
[0168] S820. Retrieve the test database according to the query parameters to obtain test records.
[0169] In this embodiment, the test database adopts a hierarchical storage structure; the test records include two levels: basic information and detailed data; the retrieval process needs to consider the balance between data access efficiency and storage space.
[0170] Specifically, the system manages test records using an index table. The table contains quick retrieval fields such as record ID, timestamp, and key parameters. First, the record ID that meets the conditions is located through the index table, and then the detailed data is loaded as needed. For example, when querying the pass rate for a certain time period, only the statistical data in the index table needs to be accessed; when viewing specific test records, the complete test data is loaded. The system archives historical data regularly to maintain the retrieval efficiency of the main database.
[0171] S830. Generate a test report based on the test records to determine the quality status of the switch.
[0172] In this embodiment, the test report is divided into a statistical report and an analysis report according to the usage scenario; the quality status includes batch level and trend change; the system supports customized generation of reports.
[0173] Specifically, the system maintains a report template library containing different types of report formats. A simple data analysis rule table is established for quality status evaluation. For example, the daily production report uses a fixed format to display basic indicators such as production volume and pass rate; the quality analysis report adds detailed content such as a defective distribution map and a parameter trend graph. The system judges the quality trend based on continuous sampling inspection data, and when a certain indicator is close to the warning line three times in a row, an early warning prompt is automatically generated.
[0174] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0175] In a second aspect, the present application provides a safety limit switch test system. The safety limit switch test system of the present application will be described below in combination with the above safety limit switch test method.
[0176] Refer to Figure 9 , a safety limit switch test system, including:
[0177] A test parameter retrieval module for obtaining the model information of the safety limit switch to be tested, and retrieving test parameters from a preset evaluation model according to the model information to obtain corresponding reference action points and sampling frequencies. The preset evaluation model is established based on the test data of switches in the same batch and includes a test sequence for analyzing the dispersion of actual action points and dense sampling in the target interval;
[0178] An action stability acquisition module for controlling a stepper motor to drive the safety limit switch to move according to the reference action point and sampling frequency, measuring the actual action point, and performing a reciprocating motion test at the actual action point to obtain action stability data;
[0179] A conduction resistance value sampling module, which is used to continuously sample based on the action stability data in the switch-on state to obtain a time series of conduction resistance values;
[0180] A test result generation module, which is used to calculate switch performance indicators according to the time series of the conduction resistance values and a preset calculation method, generate a test result and print a unique SN label.
[0181] In one embodiment, the present application provides an electronic device, which may be a server, and its internal structure diagram may be as Figure 10 shown. The electronic device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store data. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a safety limit switch test method.
[0182] Those skilled in the art can understand that Figure 10 the structure shown in
[0183] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0184] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above various methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0185] The above are all preferred embodiments of this application. The protection scope of this application is not limited thereby. Therefore, all equivalent changes made according to the structure, shape, and principle of this application should be covered within the protection scope of this application.
Claims
1. A safety limit switch testing method, characterized in that, The method includes the following steps: Obtain the model information of the safety limit switch to be tested, and retrieve the test parameters from a preset evaluation model according to the model information to obtain the corresponding reference action point and sampling frequency. The preset evaluation model is established based on the test data of the same batch of elevator switches and includes a test sequence for analyzing the dispersion of actual action points and dense sampling in the target interval; According to the reference action point and sampling frequency, control the stepping motor to drive the safety limit switch to move, measure the actual action point, and conduct a reciprocating motion test at the actual action point to obtain action stability data; Based on the action stability data, continuously sample in the switch-on state to obtain the on-resistance values in the time series; According to the time series of the on-resistance values and a preset calculation method, calculate the switch performance index, generate a test result, and print a unique SN label; 2. The safety limit switch testing method according to claim 1, wherein Obtain the model information of the safety limit switch to be tested, and retrieve the test parameters from a preset evaluation model according to the model information. Specifically, it includes the following steps: Scan the QR code on the safety limit switch to obtain a unique identification code, and query the database according to the unique identification code to obtain the test data of the safety limit switches applied to the extreme positions of the elevator landings in the same batch; Calculate the dispersion of the actual action points in the test data, and mark the target interval where the dispersion affecting the elevator leveling accuracy exceeds a preset threshold. The preset threshold is determined according to the elevator leveling accuracy standard and the actual operation data of the same batch of elevators; Densely sample points in the target interval according to a preset rule to generate a test sequence. The preset rule is centered on the reference action point. According to the target interval, measure the actual action point through stepping motion, and perform time series sampling of the on-resistance at the actual action point for a period of time to verify the stability of the switch-on state; According to the test sequence, retrieve the corresponding holding time and sampling frequency parameters from a preset evaluation model; 3. The safety limit switch testing method according to claim 1, wherein According to the reference action point and sampling frequency, control the stepping motor to drive the safety limit switch to move, measure the actual action point. Specifically, it includes the following steps: Obtain the initial position information of the stepping motor, and calculate the target movement stroke according to the initial position information and the reference action point; Control the stepping motor to move according to a preset speed curve. The speed curve includes an acceleration interval, a constant-speed interval, and a deceleration interval. The speed and time parameters of each interval are determined according to the sampling frequency; During the constant-speed interval, continuously collect the switch state signal and position signal, and record the position data corresponding to the change in the switch state; Analyze and process the position data to determine the actual action point, and calculate the deviation value between the actual action point and the reference action point; Judge whether the switch action characteristics meet the preset performance requirements according to the deviation value; 4. The safety limit switch testing method according to claim 1, wherein Based on the action stability data, continuously sample in the switch-on state to obtain the on-resistance values in the time series. Specifically, it includes the following steps: Determine the stable switch-on position and detection time window of the switch according to the action stability data; Apply a constant test current within the stable switch-on position and detection time window; Continuously collect the voltage values at both ends of the switch according to the sampling frequency, and calculate the on-resistance values of the time series based on the measured current and voltage values; Conduct statistical analysis on the on-resistance, and calculate the mean value, standard deviation, and maximum fluctuation range; Compare the statistical analysis results with the preset threshold to judge the stability of the switch on-state.
5. The safety limit switch testing method according to claim 4, characterized in that According to the time series of the on-resistance values and the preset calculation method, calculate the switch performance indicators, which specifically include the following steps: Based on the on-resistance values of the time series, extract characteristic parameters, including the on-resistance mean value, fluctuation amplitude, and stabilization time; Calculate the deviations of the characteristic parameters from the preset standard values respectively; Perform weighted calculation on each deviation according to the preset weight coefficients to obtain the comprehensive performance score; Compare the comprehensive performance score with the grading standard to determine the switch performance level; Generate a test report including the characteristic parameters, deviation values, and performance level.
6. The safety limit switch testing method according to claim 1, wherein The method further includes the following steps: Detect the test process parameters to obtain abnormal state information; According to the abnormal state information, trigger an audible and visual alarm and display an abnormal interface; Based on the abnormal interface, perform a re-test once to obtain new test data; According to the new test data, print the SN label and record the complete test process.
7. The safety limit switch testing method according to claim 1, wherein The method further includes the following steps: Receive the input of query conditions to obtain query parameters; According to the query parameters, retrieve the test database to obtain test records; Based on the test records, generate a test report and determine the switch quality status.
8. A safety limit switch testing system, characterized in that, Including: A test parameter retrieval module, which is used to obtain the model information of the safety limit switch to be tested, and retrieve test parameters from the preset evaluation model according to the model information to obtain the corresponding reference action point and sampling frequency. The preset evaluation model is established based on the test data of the same batch of switches and includes a test sequence for analyzing the actual action point dispersion and dense sampling in the target interval; An action stability acquisition module, which is used to control the stepping motor to drive the safety limit switch to move according to the reference action point and sampling frequency, measure the actual action point, and perform a reciprocating motion test at the actual action point to obtain action stability data; An on-resistance value sampling module, which is used to continuously sample in the switch-on state based on the action stability data to obtain the on-resistance values of the time series; A test result generation module, which is used to calculate the switch performance indicators according to the time series of the on-resistance values and the preset calculation method, generate a test result, and print a unique SN label.
9. An electronic device, characterized in that, Including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the safety limit switch test method according to any one of claims 1-7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the safety limit switch test method according to any one of claims 1-7 are implemented.
Citation Information
Patent Citations
Automobile glass lifter switch quality detection method, system and equipment
CN118603596A
Test bench suitable for electric parameter acquisition of polymorphic type travel switch
CN205941815U