A linear guide friction coefficient testing method and system
Through the friction coefficient test of the linear guide pair, the friction coefficient under no load and load is obtained and weighted average is used to solve the error problem under the influence of lubricating oil viscous resistance and achieve a more accurate friction coefficient measurement.
Patent Information
- Application Number
- CN202410948047.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-16
AI Technical Summary
The existing friction coefficient testing method of linear guide pairs ignores the impact of lubricating oil viscous resistance on the friction coefficient measurement, resulting in errors.
By obtaining the friction coefficient of the linear guide pair when it is unloaded and loaded, and performing a weighted average according to the preset friction coefficient weight relationship, the impact of viscous resistance on the measured value of the dynamic friction factor is compensated, and measurement results closer to the true friction coefficient are obtained. .
It effectively reduces the error of friction coefficient measurement due to viscous resistance and provides more accurate friction coefficient measurement results.
Smart Images

Figure CN118501041B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial measurement technology, and in particular to a linear guide pair friction coefficient testing method, system, computer equipment, storage medium and computer program product. Background Art
[0002] With the continuous advancement of industrial automation, more and more linear guides are used in various industrial scenarios, such as CNC machine tools, process equipment, 3D printing, 3D coordinate measurement, etc. The friction coefficient of linear guides is always one of the parameters that cannot be ignored in all scenarios where linear guides are used, especially in precision machining machine tools.
[0003] The existing Chinese invention patent with announcement number CN109900632B discloses a rolling linear guide pair friction coefficient test system and method, which belongs to the field of rolling linear guide pair performance test. The system includes a rolling linear guide pair to be tested, a bed, a drive unit, a preload test unit, a friction force test unit and a data acquisition and processing unit. The method includes the following steps: first, build a rolling linear guide pair friction coefficient test system; then establish a rolling linear guide pair friction coefficient calculation model; then set the rolling linear guide pair friction coefficient test conditions; finally, test the rolling linear guide pair to be tested to obtain the test value of the rolling linear guide pair friction coefficient.
[0004] However, this method only uses the dynamic friction coefficient between the ball and other structures in the guide pair and the guide rail, ignoring the influence of the viscous resistance of the lubricating oil between the guide rail structures on the actual dynamic friction coefficient. Summary of the invention
[0005] Based on this, it is necessary to provide a linear guide friction coefficient testing method, system, computer equipment, computer readable storage medium and computer program product that can improve the error caused by the viscosity coefficient of lubricating oil to the friction coefficient measurement value in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a method for testing the friction coefficient of a linear guide pair, the method comprising:
[0007] Get the friction coefficient M1 of the linear guide pair when it is unloaded;
[0008] Obtain the friction coefficient M2 of the linear guide pair when it is loaded;
[0009] According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0010] In one embodiment, the specific steps of obtaining the friction coefficient M1 of the linear guide pair when it is unloaded include:
[0011] Acquire first spacing data from the slider to a preset position at a preset fixed period;
[0012] Outputting an inclination adjustment instruction to adjust the placement inclination of the linear guide pair so that the slider slidably connected to the linear guide pair starts to slide along the linear guide pair;
[0013] Waiting for indicating and obtaining a trigger signal for the slider to start sliding along the linear guide pair;
[0014] After the trigger signal is obtained, the output of the tilt angle adjustment instruction is stopped, and the first displacement data of the slider is simultaneously obtained;
[0015] The first displacement data is calculated according to a preset first friction coefficient algorithm to calculate the no-load friction coefficient M1.
[0016] In one embodiment, the specific steps of obtaining the displacement data of the slider after obtaining the trigger signal include:
[0017] The spacing data S obtained at the start time of a preset fixed cycle i , and the spacing data S obtained at the start time of the next preset fixed period adjacent to the preset fixed period i+1 , perform difference calculation to obtain the displacement data L of the slider within the preset fixed period i =|S i -S i+1 |.
[0018] In one embodiment, the specific steps of waiting for and obtaining a trigger signal indicating that the slider starts to slide along the linear guide pair include:
[0019] Determine whether the currently acquired spacing data is the same as the spacing data acquired a preset period ago;
[0020] If not, the ranging signal corresponding to the currently acquired spacing data is used as a trigger signal.
[0021] In one embodiment, the specific steps of measuring the friction coefficient M2 include:
[0022] Get the inclination information of the guide rail when the output angle adjustment command stops;
[0023] Acquiring second displacement data of the loaded slider during the sliding process at a preset fixed period;
[0024] The second displacement data is calculated according to a preset second friction coefficient algorithm to obtain the loaded friction coefficient M2.
[0025] In one embodiment, the calculation equation of the preset weight algorithm is as follows:
[0026]
[0027] Among them, M is the friction coefficient obtained by the weight algorithm, m1 is the weight of the no-load friction coefficient, and m2 is the weight of the loaded friction coefficient. The relationship between m1 and m2 satisfies m1+m2=1, and 0.52 <m1<0.68。
[0028] In a second aspect, the present application also provides a linear guide pair friction coefficient testing system, the system comprising:
[0029] An inclination adjustment module is used to obtain an angle adjustment instruction and adjust the inclination of the guide rail according to the angle adjustment instruction;
[0030] A distance measuring module, used for measuring the distance data between the slider slidably connected to the guide rail and the distance measuring module, so as to calculate the first displacement data and / or the second displacement data;
[0031] A storage module, used to store data and preset algorithms, the data including first displacement data, second displacement data, and spacing data, and the preset algorithms including a first friction coefficient algorithm and a second friction coefficient algorithm;
[0032] The data calculation module is used to obtain result data according to a preset algorithm, and the result data includes the no-load friction coefficient M1, the loaded friction coefficient M2 and the friction coefficient M.
[0033] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0034] Get the friction coefficient M1 of the linear guide pair when it is unloaded;
[0035] Obtain the friction coefficient M2 of the linear guide pair when it is loaded;
[0036] According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0037] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0038] Get the friction coefficient M1 of the linear guide pair when it is unloaded;
[0039] Obtain the friction coefficient M2 of the linear guide pair when it is loaded;
[0040] According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0041] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0042] Get the friction coefficient M1 of the linear guide pair when it is unloaded;
[0043] Obtain the friction coefficient M2 of the linear guide pair when it is loaded;
[0044] According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0045] The above-mentioned linear guide pair friction coefficient testing method, system, computer equipment, storage medium and computer program product introduce the no-load dynamic friction coefficient measurement value that is greatly affected by viscous resistance during the test, and weightedly sum the no-load dynamic friction coefficient with the loaded dynamic friction coefficient. In the process of weighted summation, a relatively larger weight coefficient is given to the dynamic friction in the no-load state, thereby compensating for the actual influence of viscous resistance on the dynamic friction coefficient measurement value, thereby obtaining a measurement result that is closer to the actual friction coefficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A diagram showing an application environment of a method for testing the friction coefficient of a linear guide pair in an embodiment;
[0047] Figure 2 A schematic diagram of a flow chart of a method for testing the friction coefficient of a linear guide pair in one embodiment;
[0048] Figure 3 is a flow chart of step S100 in one embodiment;
[0049] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] The linear guide rail friction coefficient test method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0052] In one embodiment, Figure 2 As shown, a method for testing the friction coefficient of a linear guide pair is provided, comprising the following steps:
[0053] Step S100: Obtain the friction coefficient M1 of the linear guide pair when it is unloaded.
[0054] Among them, when the linear guide pair is unloaded, the ratio of the viscous resistance of the lubricating oil to the ball to the friction resistance between the ball and the slider and / or the guide rail is greater than when it is loaded. Therefore, when it is unloaded, the friction coefficient measured should be the ratio of the resistance generated by the friction resistance and the viscous resistance on the slider to the pressure of the slider on the guide rail. The maximum value of the friction coefficient should be obtained at this time, that is, the friction coefficient M used for reference is less than or equal to the friction coefficient M1 when the linear guide pair is unloaded. The specific steps of step S100 include:
[0055] Step S110: acquiring first distance data from the slider to a preset position at a preset fixed period.
[0056] In an embodiment of the present application, the preset fixed period is set to 0.1S, that is, the first spacing data is obtained at a frequency of 10Hz, and the preset position is the distance from the ranging signal transmitting end of the ranging module to the end face of the slider or other reflecting surface that can reflect the ranging signal. In a specific embodiment, the ranging module is a laser ranging module, and the laser transmitting end and the receiving end of the optical ranging module are both arranged at one end of the linear guide pair to be measured, and the optical path of the optical ranging module is parallel to the length direction of the guide rail.
[0057] Step S120: outputting an inclination adjustment instruction to adjust the placement inclination of the linear guide pair so that the slider slidably connected to the linear guide pair starts to slide along the linear guide pair.
[0058] In this step, one end of the linear guide pair is fixed by the inclination adjustment module, and torque is output to the linear guide pair to make the other end of the linear guide pair tilt, thereby realizing the function of slowly tilting the linear guide pair. After a section of the linear guide pair away from the inclination adjustment module is slowly raised to a certain angle, the force balance state of the slider is destroyed and it slides down along the linear guide pair. At this time, the distance measurement module can detect the distance change between the slider and the transmitting end of the distance measurement module per unit time.
[0059] Step S130: Waiting for and obtaining a trigger signal indicating that the slider starts to slide along the linear guide pair. The specific steps include:
[0060] Step S131: Determine whether the currently acquired spacing data is the same as the spacing data acquired a preset period ago.
[0061] Step S132: If not, the ranging signal corresponding to the currently acquired spacing data is used as a trigger signal.
[0062] Since in step 110, the ranging module has started the periodic measurement of the distance between the slider and the ranging module, when executing the above steps S131 and S132, when the slider does not slide relative to the linear guide pair, the distance data remains unchanged, but the distance data obtained by the first sampling after the slider slides relative to the linear guide pair changes relative to the distance data before that. In fact, the distance data obtained by the first sampling after the slider slides relative to the linear guide pair is smaller than the distance data before that. Therefore, the signal feature of the change in the distance signal can be used as a trigger signal.
[0063] Step S140: after the trigger signal is obtained, the output of the tilt angle adjustment instruction is stopped, and the first displacement data of the slider is simultaneously obtained.
[0064] In one embodiment, the inclination adjustment instruction is a control instruction for controlling the inclination adjustment module and the inclination angle of the guide rail. The process of continuously controlling the guide rail to gradually increase the inclination angle is a process of continuously outputting control instructions for adjusting to the target angle and gradually increasing the target angle. The inclination adjustment module includes an angular displacement sensor or an encoder to measure the inclination angle of the guide rail at this time and realize more precise negative feedback control. After stopping outputting the angle adjustment instruction, the reading of the encoder or angle sensor at this time is the current inclination angle of the guide rail.
[0065] The specific steps of obtaining the first displacement include:
[0066] Step S141: The spacing data S obtained at the start time of a preset fixed period i , and the spacing data S obtained at the start time of the next preset fixed period adjacent to the preset fixed periodi+1 , perform difference calculation to obtain the displacement data L of the slider within the preset fixed period i =|S i -S i+1 |.
[0067] Step S150: Calculate the first displacement data according to a preset first friction coefficient algorithm to calculate the no-load friction coefficient M1.
[0068] Among them, the first friction coefficient algorithm is shown in the following equation:
[0069]
[0070] Among them, a is the acceleration of the slider during its downward movement, g is the acceleration due to gravity, and θ is the inclination of the guide rail at this time, which is also the reading of the angular displacement sensor or encoder in the inclination adjustment module. The calculation equation of acceleration a is as follows:
[0071]
[0072] By combining the above two equations, the friction coefficient M1 of the linear guide pair when it is unloaded can be calculated.
[0073] Step S200: Obtain the friction coefficient M of the linear guide pair when loaded 2。
[0074] The specific steps of step S200 include:
[0075] Step S210: Obtaining the inclination information of the guide rail when the output of the angle adjustment instruction stops.
[0076] The inclination information is the current reading of the encoder or angular displacement sensor in the inclination adjustment module. Through step S100, the acceleration data of the current guide rail when it is unloaded and the unloaded friction coefficient M1 corresponding to the current inclination information have been obtained. The same test is performed on the loaded guide rail under the same conditions and with the same test method, and the friction coefficient M2 calculated under different loaded states of the guide rail with the same inclination data can be obtained. The specific calculation process is as follows.
[0077] Step S220: obtaining second displacement data of the loaded slider during the sliding process at a preset fixed period.
[0078] In this step, since the unloaded slider can slide down at the guide rail inclination angle corresponding to the inclination information, the slider and the load will slide down together with a greater acceleration when in a loaded state. At this time, the distance measurement module collects the distance between the slider and the distance measurement module with the same distance measurement cycle, and calculates the displacement data of the slider and the load in unit time, and brings the calculated displacement data into the above acceleration calculation formula to obtain the sliding acceleration a of the slider in a loaded statem .
[0079] Step S230: Calculate the second displacement data according to a preset second friction coefficient algorithm to obtain the loaded friction coefficient M2.
[0080] In this step, the second friction coefficient algorithm is preset as shown in the following equation:
[0081]
[0082] where a m is the acceleration of the slider and the load when they slide down together, g is the acceleration due to gravity, and θ is the inclination angle of the guide rail at this time.
[0083] Step S300: According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0084] The calculation equation of the preset weight algorithm is as follows:
[0085]
[0086] Among them, M is the friction coefficient obtained by the weight algorithm, m1 is the weight of the no-load friction coefficient, and m2 is the weight of the loaded friction coefficient. The relationship between m1 and m2 satisfies m1+m2=1, and 0.52 <m1<0.68。
[0087] In order to make the calculated values of M1 and M2 closer to the actual values, the unloaded guide rail can be tested multiple times at different guide rail inclination states to obtain the M 11 、M 12 、M 13 、···M 1n Similarly, the guide rails can be tested multiple times under different load conditions at the same inclination angle to obtain the M 21 、M 22 、M 22 ···M 2n In one embodiment, m1 is 0.55, m2 is 0.45, and the calculation equation of the preset weight algorithm is:
[0088]
[0089] By substituting the above data into the equation, the measured value of the friction coefficient M without neglecting the effect of viscous resistance on the slider resistance can be obtained.
[0090] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0091] Based on the same inventive concept, the embodiment of the present application also provides a linear guide pair friction coefficient testing system for implementing the linear guide pair friction coefficient testing method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more linear guide pair friction coefficient testing system embodiments provided below can refer to the limitations of the linear guide pair friction coefficient testing method above, and will not be repeated here.
[0092] In one embodiment, a linear guideway friction coefficient testing system is provided, comprising: an inclination adjustment module, a distance measurement module, a storage module and a data calculation module, wherein:
[0093] The inclination adjustment module is used to obtain an angle adjustment instruction and adjust the inclination of the guide rail according to the angle adjustment instruction.
[0094] The distance measuring module is used to measure the distance data between the slider slidably connected to the guide rail and the distance measuring module to calculate the first displacement data and / or the second displacement data.
[0095] The storage module is used to store data and preset algorithms, the data including first displacement data, second displacement data, and spacing data, and the preset algorithms including first friction coefficient algorithm and second friction coefficient algorithm.
[0096] The data calculation module is used to obtain result data according to a preset algorithm, and the result data includes the no-load friction coefficient M1, the loaded friction coefficient M2 and the friction coefficient M.
[0097] Each module in the linear guide friction coefficient test system can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0098] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for testing the friction coefficient of a linear guide pair is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0099] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0101] Step S100: Obtain the friction coefficient M1 of the linear guide pair when it is unloaded. The specific steps of step S100 include:
[0102] Step S110: acquiring first distance data from the slider to a preset position at a preset fixed period.
[0103] Step S120: outputting an inclination adjustment instruction to adjust the placement inclination of the linear guide pair so that the slider slidably connected to the linear guide pair starts to slide along the linear guide pair.
[0104] Step S130: Waiting for and obtaining a trigger signal indicating that the slider starts to slide along the linear guide pair. The specific steps include:
[0105] Step S131: Determine whether the currently acquired spacing data is the same as the spacing data acquired a preset period ago.
[0106] Step S132: If not, the ranging signal corresponding to the currently acquired spacing data is used as a trigger signal.
[0107] Step S140: after the trigger signal is obtained, the output of the tilt angle adjustment instruction is stopped, and the first displacement data of the slider is simultaneously obtained.
[0108] The specific steps of obtaining the first displacement include:
[0109] Step S141: The spacing data S obtained at the start time of a preset fixed period i , and the spacing data S obtained at the start time of the next preset fixed period adjacent to the preset fixed period i+1 , perform difference calculation to obtain the displacement data L of the slider within the preset fixed period i =|S i -S i+1 |.
[0110] Step S150: Calculate the first displacement data according to a preset first friction coefficient algorithm to calculate the no-load friction coefficient M1.
[0111] Step S200: Obtain the friction coefficient M2 of the linear guide pair when it is loaded.
[0112] The specific steps of step S200 include:
[0113] Step S210: Obtaining the inclination information of the guide rail when the output of the angle adjustment instruction stops.
[0114] Step S220: obtaining second displacement data of the loaded slider during the sliding process at a preset fixed period.
[0115] Step S230: Calculate the second displacement data according to a preset second friction coefficient algorithm to obtain the loaded friction coefficient M2.
[0116] Step S300: According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0117] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0118] Step S100: Obtain the friction coefficient M1 of the linear guide pair when it is unloaded. The specific steps of step S100 include:
[0119] Step S110: acquiring first distance data from the slider to a preset position at a preset fixed period.
[0120] Step S120: outputting an inclination adjustment instruction to adjust the placement inclination of the linear guide pair so that the slider slidably connected to the linear guide pair starts to slide along the linear guide pair.
[0121] Step S130: Waiting for and obtaining a trigger signal indicating that the slider starts to slide along the linear guide pair. The specific steps include:
[0122] Step S131: Determine whether the currently acquired spacing data is the same as the spacing data acquired a preset period ago.
[0123] Step S132: If not, the ranging signal corresponding to the currently acquired spacing data is used as a trigger signal.
[0124] Step S140: after the trigger signal is obtained, the output of the tilt angle adjustment instruction is stopped, and the first displacement data of the slider is simultaneously obtained.
[0125] The specific steps of obtaining the first displacement include:
[0126] Step S141: The spacing data S obtained at the start time of a preset fixed period i , and the spacing data S obtained at the start time of the next preset fixed period adjacent to the preset fixed period i+1 , perform difference calculation to obtain the displacement data L of the slider within the preset fixed period i =|S i -S i+1 |.
[0127] Step S150: Calculate the first displacement data according to a preset first friction coefficient algorithm to calculate the no-load friction coefficient M1.
[0128] Step S200: Obtain the friction coefficient M2 of the linear guide pair when it is loaded.
[0129] The specific steps of step S200 include:
[0130] Step S210: Obtaining the inclination information of the guide rail when the output of the angle adjustment instruction stops.
[0131] Step S220: obtaining second displacement data of the loaded slider during the sliding process at a preset fixed period.
[0132] Step S230: Calculate the second displacement data according to a preset second friction coefficient algorithm to obtain the loaded friction coefficient M2.
[0133] Step S300: According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0134] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0135] Step S100: Obtain the friction coefficient M1 of the linear guide pair when it is unloaded. The specific steps of step S100 include:
[0136] Step S110: acquiring first distance data from the slider to a preset position at a preset fixed period.
[0137] Step S120: outputting an inclination adjustment instruction to adjust the placement inclination of the linear guide pair so that the slider slidably connected to the linear guide pair starts to slide along the linear guide pair.
[0138] Step S130: Waiting for and obtaining a trigger signal indicating that the slider starts to slide along the linear guide pair. The specific steps include:
[0139] Step S131: Determine whether the currently acquired spacing data is the same as the spacing data acquired a preset period ago.
[0140] Step S132: If not, the ranging signal corresponding to the currently acquired spacing data is used as a trigger signal.
[0141] Step S140: after the trigger signal is obtained, the output of the tilt angle adjustment instruction is stopped, and the first displacement data of the slider is simultaneously obtained.
[0142] The specific steps of obtaining the first displacement include:
[0143] Step S141: The spacing data S obtained at the start time of a preset fixed period i , and the spacing data S obtained at the start time of the next preset fixed period adjacent to the preset fixed period i+1 , perform difference calculation to obtain the displacement data L of the slider within the preset fixed period i =|S i -S i+1 |.
[0144] Step S150: Calculate the first displacement data according to a preset first friction coefficient algorithm to calculate the no-load friction coefficient M1.
[0145] Step S200: Obtain the friction coefficient M2 of the linear guide pair when it is loaded.
[0146] The specific steps of step S200 include:
[0147] Step S210: Obtaining the inclination information of the guide rail when the output of the angle adjustment instruction stops.
[0148] Step S220: obtaining second displacement data of the loaded slider during the sliding process at a preset fixed period.
[0149] Step S230: Calculate the second displacement data according to a preset second friction coefficient algorithm to obtain the loaded friction coefficient M1.
[0150] Step S300: According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair.
[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0152] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the 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-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0153] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for testing the friction coefficient of a linear guide pair, characterized in that: The method comprises: Get the friction coefficient M1 of the linear guide pair when it is unloaded; Obtain the friction coefficient M2 of the linear guide pair when it is loaded; According to the preset friction coefficient weight relationship, the weighted average of the friction coefficient M1 of the linear guide pair when it is unloaded and the friction coefficient M2 of the linear guide pair when it is loaded is calculated to obtain the friction coefficient M of the linear guide pair; The preset friction coefficient weight relationship is as follows: M=m1·M1+m2·M2 Among them, M is the friction coefficient obtained by weight relationship, m1 is the weight of no-load friction coefficient, m2 is the weight of loaded friction coefficient, and the relationship between m1 and m2 satisfies m1+m2=1, and 0.52 <m1<0.68。 2. The method according to claim 1, characterized in that The specific steps of obtaining the friction coefficient M1 of the linear guide pair when it is unloaded include: Acquire first spacing data from the slider to a preset position at a preset fixed period; Outputting an inclination adjustment instruction to adjust the placement inclination of the linear guide rail so that a sliding block slidably connected to the linear guide rail starts to slide along the linear guide rail; Waiting for and acquiring a trigger signal indicating that the slider starts to slide along the linear guide rail; After the trigger signal is obtained, the output of the tilt angle adjustment instruction is stopped, and the first displacement data of the slider is simultaneously obtained; The first displacement data is calculated according to a preset first friction coefficient algorithm to calculate the friction coefficient M1 of the linear guide pair when it is unloaded.
3. The method according to claim 2, characterized in that The specific steps of obtaining the first displacement data of the slider include: The first spacing data S obtained at the start time of a preset fixed period i , and the first spacing data S obtained at the start time of the next preset fixed period adjacent to the preset fixed period i+1 , perform difference calculation to obtain the first displacement data L of the slider within the preset fixed period i =|S i -S i+1 |.
4. The method according to claim 2, characterized in that: The specific steps of waiting for and obtaining a trigger signal indicating that the slider starts to slide along the linear guide rail include: Determine whether the first spacing data currently acquired is the same as the first spacing data acquired one of the preset fixed periods ago; If not, the ranging signal corresponding to the currently acquired first distance data is used as a trigger signal.
5. The method according to claim 4, characterized in that The specific steps of obtaining the friction coefficient M2 of the linear guide pair when loaded include: Get the inclination information of the guide rail when the output angle adjustment command stops; Acquiring second displacement data of the loaded slider during the sliding process at a preset fixed period; The second displacement data is calculated according to a preset second friction coefficient algorithm to calculate the friction coefficient M2 of the linear guide pair when it is loaded.
6. A linear guideway friction coefficient testing system for implementing the method of claim 5, characterized in that: The system comprises: An inclination adjustment module is used to obtain an angle adjustment instruction and adjust the inclination of the guide rail according to the angle adjustment instruction; A distance measuring module, used for measuring a first distance data between a slider slidably connected to the guide rail and the distance measuring module, so as to calculate the first displacement data and / or the second displacement data; A storage module, used to store data and a preset algorithm, wherein the data includes first displacement data, second displacement data, and first spacing data, and the preset algorithm includes a first friction coefficient algorithm and a second friction coefficient algorithm; The data calculation module is used to obtain result data according to a preset algorithm and a preset friction coefficient weight relationship, wherein the result data includes the friction coefficient M1 of the linear guide pair when it is unloaded, the friction coefficient M2 of the linear guide pair when it is loaded, and the friction coefficient M.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
A system and method for testing the friction coefficient of a rolling linear guide pair
CN109900632B
Friction coefficient measuring device and method
CN109085116A
Dynamic friction coefficient measuring device and measuring method
CN111812025A
Road surface friction coefficient estimating device
JP1999094661A
Method and apparatus for computing surface coefficients of friction
US4813266A
