Joint servo module and collision signal processing method

By designing the joint servo module of the motor, brake and acceleration sensor signal processing system at the joint of the robotic arm, highly sensitive detection and timely processing of external force collisions are achieved, solving the problems of high detection accuracy and high cost in the existing technology. The safety of the robotic arm is ensured.

CN115592660BActive Publication Date: 2024-10-22SHANGHAI SAGE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211248764.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-12
Publication Date
2024-10-22
Estimated Expiration
2042-10-12

AI Technical Summary

Technical Problem

In the existing technology, the detection accuracy and sensitivity of the robot arm when an external force collides are low, and the cost is high, making it difficult to stop the operation of the robot arm in time to avoid injury.

Method used

Design a joint servo module, including a motor, brake, acceleration sensor and sensor signal processing system. The acceleration sensor detects the collision signal, performs data processing in the sensor signal processing system, generates an alarm signal and outputs it to the robot controller to ensure that the mechanical The arm stops in time in the event of a collision.

Benefits of technology

It improves the detection sensitivity and accuracy of the robotic arm against external force collisions, reduces the cost, and ensures the timely handling and safety of the robotic arm in the event of a collision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115592660B_ABST
    Figure CN115592660B_ABST
Patent Text Reader

Abstract

The present application provides a joint servo module and a collision signal processing method, which are applied to the field of robots, and include a motor, a brake, an acceleration sensor, and a sensor signal processing system; the acceleration sensor is used to detect the collision signal at the joint; the sensor signal processing system is used to receive and process the collision signal, obtain an alarm signal and output it to the robot controller; the brake is used to receive a braking command and control the motor to stop. When the robot arm is hit or vibrated by an external force, the acceleration sensor is used to detect and output the collision signal, the sensor signal processing system performs data processing on the collision signal, and generates an alarm signal to the robot controller, so that the robot controller can give instructions in time to control the robot arm to stop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robots, and in particular to a joint servo module and a collision signal processing method. Background Art

[0002] Robotic arms generally have multiple degrees of freedom. During actual operation, they perform tasks such as grabbing, moving, and picking objects. Safety is extremely important during the operation of robotic arms, especially for collaborative robots, which need to operate in the same operating environment as humans. Whether the robotic arms are safe during operation is an issue that must be considered. The collision safety of the robotic arms is the most important consideration. Once the robotic arm collides with the human body, it must stop immediately to reduce damage. There are many ways to detect external force collisions in the existing technology.

[0003] The most direct way to detect external force collision is to install torque sensors at each joint. When the robot arm is hit by external force, it can be directly detected by the torque sensor, so that the movement of the robot arm can be stopped under the control of the control system. Its advantages are reliable and accurate detection, but its disadvantages are that the torque sensor is expensive, which greatly increases the overall cost of the robot arm. Another commonly used solution is to install a 6-degree-of-freedom force sensor at the end of the robot arm, which can sense the collision force in 6 directions. This technical solution is more accurate and sensitive in detecting the external force on the end of the robot arm, but when other parts of the robot arm are subjected to external force, the detection accuracy and reliability are reduced, and the cost is also high. There is also a method that uses the current of each joint servo motor to estimate the external force on the robot arm. This method is more economical and belongs to a sensorless method, but the disadvantage is that it is not sensitive to external force. If it collides with the human body, it is difficult to sense it in time, and it is difficult to stop the operation of the robot arm in time.

[0004] Therefore, it is necessary to provide a solution for handling collisions of the robotic arm, which can detect the collision information and perform processing and analysis when the robotic arm is hit by external force, and transmit the processing and analysis results to the robot controller in a timely manner. Summary of the invention

[0005] In view of this, the embodiments of this specification provide a joint servo module and a collision signal processing method, which can detect collision information and perform processing and analysis when an external force collision occurs in the robot arm, and transmit the processing and analysis results to the robot controller in a timely manner.

[0006] The embodiments of this specification provide the following technical solutions:

[0007] A joint servo module, comprising a motor, a brake, an acceleration sensor and a sensor signal processing system for being arranged at a joint of a mechanical arm;

[0008] an acceleration sensor, used for detecting a collision signal of the first arm or the second arm at the joint;

[0009] A sensor signal processing system is used to receive and process collision signals, obtain alarm signals and output them to the robot controller to generate braking instructions;

[0010] The brake is used to receive a braking command and control the motor to stop.

[0011] Through the above technical solution, when the robotic arm collides or vibrates, the acceleration sensor is used to detect and output the collision signal, so that the sensor signal processing system receives the collision signal and performs data processing on the collision signal. An alarm signal is generated based on the collision signal and output to the robot controller in a timely manner for the robot controller to make decisions.

[0012] Preferably, it also includes a reducer for being arranged at the joint;

[0013] a stator of a motor for coupling the first arm at the joint;

[0014] The rotor and reducer of the motor are output components, which are used to couple the second arm at the joint;

[0015] The acceleration sensor and sensor signal processing system are integrated into the encoder on the stator side;

[0016] The acceleration sensor is used to detect a collision signal of the first arm at the joint.

[0017] Through the above technical solution, the acceleration sensor and the sensor signal processing system are integrated on the circuit board of the motor encoder, reducing the impact on the original size and internal installation of the module due to the addition of the acceleration sensor and the sensor signal processing system;

[0018] At the same time, the acceleration sensor is integrated into the encoder on the stator side, so that the acceleration sensor can establish a coordinate system on the plane where the encoder circuit board is located. Based on the coordinate system established by itself, the acceleration sensor decomposes the acquired collision signal into components in three directions, so that the output collision signal is not affected by the state and direction of the joints of the robotic arm. Then, the acceleration signals of each joint can be processed independently, eliminating unnecessary interference factors, making the detection results more accurate.

[0019] Preferably, the encoder on the stator side is integrated with an acceleration sensor data exchange port for realizing data interaction with the outside.

[0020] Preferably, the sensor signal processing system is implemented based on an FPGA chip.

[0021] Through the above technical solution, high-speed data interaction can be achieved, the immediacy of data detection, processing and judgment can be improved, thereby improving the timeliness and sensitivity of detection.

[0022] The embodiment of this specification also provides a collision signal processing method, the steps are as follows:

[0023] S1, obtaining a collision signal output by an acceleration sensor, where the collision signal is an original acceleration signal obtained by the acceleration sensor on the first arm or the second arm at the joint of the mechanical arm;

[0024] S2, conditioning, amplifying and analog-to-digital conversion of the original acceleration signal to obtain the actual acceleration value;

[0025] S3, perform data processing on the actual acceleration value to obtain a return value;

[0026] S4, compare the returned value with the preset value. If the returned value is greater than the preset value, an alarm signal is output.

[0027] Through the above technical solution, the collision information is processed and analyzed, and the results of the processing and analysis are transmitted to the robot controller in a timely manner.

[0028] Preferably, the data processing in step S3 includes:

[0029] S311, obtaining the spatial movement acceleration value of the first arm or the second arm;

[0030] S312, calculating the difference between the actual acceleration value and the spatial movement acceleration value, and taking the absolute value of the difference to obtain the absolute value of the acceleration difference;

[0031] S313, integrating the absolute value of the acceleration difference based on the duration corresponding to the absolute value of the acceleration difference to obtain a collision energy value;

[0032] S314, taking the collision energy value as the return value.

[0033] From a microscopic perspective, no matter how small or mild the collision is, it is actually a continuous contact over a period of time. By integrating the absolute value of the acceleration difference with the corresponding duration, unnecessary interference can be filtered out and quantization errors can be detected to a certain extent, further improving the reliability of data processing and the sensitivity of external force collision detection.

[0034] Preferably, the collision energy value includes a first collision component value, a second collision component value, and a third collision component value;

[0035] Calculating the sum of squares of the first collision component value, the second collision component value, and the third collision component value, and taking the arithmetic square root of the sum of squares to obtain a total root mean square value;

[0036] The first collision component value, the second collision component value, the third collision component value and the total root mean square value are taken as return values.

[0037] Through the above technical solution, the first collision component value, the second collision component value, the third collision component value and the total root mean square value are set as return values, and the judgment path is increased through multiple return values, and multiple groups of judgment mechanisms are established to further improve the sensitivity and accuracy of external force collision detection.

[0038] Preferably, the integral time period and the set value are preset;

[0039] When the duration period corresponding to the absolute value of the acceleration difference is greater than the integration period and the absolute value of the acceleration difference is greater than the set value, the absolute value of the acceleration difference is integrated; otherwise, no integration is performed.

[0040] By reasonably presetting the integration time period and set value, the absolute value of the acceleration difference is integrated only when the duration period corresponding to the absolute value of the acceleration difference is greater than the integration time period and the absolute value of the acceleration difference is greater than the set value, and the next step is performed. This can effectively filter out some interference factors and improve the sensitivity and reliability of external force collision detection.

[0041] Preferably, the data processing in step S3 includes:

[0042] S321, discretizing the actual acceleration value to obtain a number of discrete acceleration values;

[0043] S322, performing differential calculation on a plurality of discrete acceleration values ​​to obtain a plurality of differential values;

[0044] S323, taking the absolute value of each differential value, and accumulating the absolute values ​​of all differential values ​​within a fixed time period to obtain an accumulated value;

[0045] S324, use the accumulated value as the return value.

[0046] Through the above technical solution, discrete processing, differential, and absolute value accumulation of differential values ​​are utilized to eliminate the data interaction and comparison links with the outside. The sensor signal processing system can be directly processed internally, and the output return value can be compared with the preset value to improve the detection processing efficiency, thereby improving the timeliness of the control of the robotic arm.

[0047] Preferably, the data processing in step S3 includes:

[0048] S331, using frequency domain analysis method to extract vibration frequency and vibration amplitude from actual acceleration value;

[0049] S332, when the vibration frequency is within the preset frequency range, the vibration amplitude is output as the return value.

[0050] Through the above technical scheme, the frequency domain analysis method is used to extract the vibration frequency and vibration amplitude from the actual acceleration value, and the vibration amplitude is used as the return value to analyze the vibration condition of the robotic arm. By analyzing the vibration condition of the robotic arm, it is determined whether the robotic arm has any vibration abnormality caused by external force collision or any vibration abnormality that occurs itself.

[0051] Compared with the prior art, the at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:

[0052] 1. When the robot arm collides with an external force, it can detect the collision signal at the joint, obtain the collision signal, input the collision signal into the sensor signal processing system for data processing, generate an alarm signal according to the collision signal, and output it to the robot controller in time for decision-making processing;

[0053] 2. By setting the overall structure at each joint, it can be ensured that each section of the robotic arm can be detected in time when an external force collision occurs, thereby improving the sensitivity and accuracy of detection when the robotic arm is subjected to an external force collision. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 is an exploded schematic diagram of the joint servo module in the first embodiment;

[0056] Figure 2 is a schematic diagram of the position of the acceleration sensor in the first embodiment;

[0057] Figure 3 is a hardware system block diagram of the collision signal processing method in the first embodiment;

[0058] Figure 4 is a flow chart of the collision signal processing method in the first embodiment;

[0059] Figure 5 is a schematic diagram of the process flow of conditioning, amplification and analog-to-digital conversion processing in Embodiment 1;

[0060] Figure 6 is a schematic diagram of the data processing flow in the first embodiment;

[0061] Figure 7 is a processing block diagram of the collision energy value and the total root mean square value in the first embodiment;

[0062] Figure 8 is a processing block diagram of the alarm signal in the first embodiment;

[0063] Fig. 9 is a schematic diagram of the data processing flow in the second embodiment;

[0064] Fig.10 is a processing block diagram of the alarm signal in the second embodiment;

[0065] Fig.11 is a schematic diagram of the data processing flow in Embodiment 3;

[0066] Fig.12 It is a processing block diagram of the vibration frequency and vibration amplitude in the third embodiment.

[0067] Description of the drawings: 1. Motor; 2. Brake; 3. Reducer; 4. Acceleration sensor; 5. Encoder. DETAILED DESCRIPTION

[0068] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0069] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0070] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0071] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0072] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the examples can be practiced without these specific details.

[0073] The inventors have discovered that the solutions in the prior art that can timely detect an external force collision of a robotic arm and control the robotic arm to stop operating all have different defects, such as high cost and low sensitivity.

[0074] Based on this, the present specification embodiment proposes a joint servo module, referring to Figure 1 and Figure 2 The joint servo module includes a motor 1, a brake 2, a reducer 3, an acceleration sensor 4, a sensor signal processing system and an encoder 5 for setting at the joint of the robot arm; through each joint servo module, collision signal detection is performed on each arm of the robot arm, and the sensor signal processing system in each joint servo module processes the collision signal detected by each joint servo module. No matter which arm of the robot arm has an external force collision, an alarm signal can be generated in time and output to the robot controller for the robot controller to make a decision. The overall cost is lower than the processing solution that relies on the torque sensor to detect the abnormality of the robot arm, and the sensitivity is higher than the processing solution that relies on the 6-degree-of-freedom force sensor and the servo motor current change to detect the external force collision of the robot arm.

[0075] The technical solutions provided by various embodiments of the present application are described below in conjunction with the accompanying drawings.

[0076] Embodiment 1

[0077] The present invention provides a joint servo module. Figure 1 and Figure 2 As shown, it includes a motor 1, a brake 2, a reducer 3, an acceleration sensor 4, a sensor signal processing system and an encoder 5 for being arranged at a joint of the robot arm.

[0078] The stator of motor 1 is used to couple the first arm at the joint.

[0079] The rotor of the motor 1 and the reducer 3 serve as output components for coupling the second arm at the joint.

[0080] The encoder 5 is annular and is coaxially mounted on the axial end face of the stator side of the motor 1 .

[0081] The acceleration sensor 4 and the sensor signal processing system are both integrated on the circuit board of the encoder 5 , and the sensor signal processing system implements collision signal processing of the acceleration sensor 4 based on an FPGA chip.

[0082] The acceleration sensor 4 is arranged behind the circuit board of the encoder 5, and an XYZ coordinate system is established with the plane where the circuit board of the encoder 5 is located as a reference, wherein the plane where the circuit board of the encoder 5 is located is the XY plane in the XYZ coordinate system. The acceleration sensor 4 is used to detect the collision signal of the first arm at the joint, and based on the XYZ coordinate system, the collision signal obtained is decomposed into collision signals along the three directions of XYZ, and output to the sensor signal processing system.

[0083] The sensor signal processing system is used to receive and process the collision signal. In this embodiment, the collision signal is the original acceleration signal obtained by the acceleration sensor 4 on the first arm or the second arm at the joint of the robot arm. The actual acceleration value is obtained by conditioning, amplifying and analog-to-digital conversion of the collision signal, and then the actual acceleration value is processed to obtain a return value. By comparing the return value with the preset value, an alarm signal is obtained and output to the robot controller. The robot controller can be a host robot controller in the traditional sense.

[0084] The brake 2 is used to receive a stop command from the robot controller and control the motor 1 to stop.

[0085] During actual use, a joint servo module can be installed at each joint of the robot arm. The acceleration sensor 4 in each joint servo module only detects the collision signal on the stator side of the motor 1 in the corresponding joint, and then through the joint servo modules at each joint, each arm of the robot arm can be detected and controlled in real time. When an arm of the robot arm is hit by an external force, the acceleration will change and a collision signal will be detected. After the corresponding acceleration sensor 4 detects the collision signal, it will transmit the collision signal to the sensor signal processing system for processing.

[0086] Since the collision signal detected by the acceleration sensor 4 in each joint servo module will use the XYZ coordinate system as a reference to generate collision signals in three directions, that is, the collision signals in the three directions are all based on the stator side of the corresponding joint. Therefore, they are not affected by the position and direction of each arm of the robot. Therefore, each arm of the robot can be processed independently to eliminate interference between each other, making the detection result more accurate.

[0087] Reference Figure 2 and Figure 3The circuit board of encoder 5 is also integrated with an acceleration sensor data exchange port, including a CanOpen / EtherCat communication interface based on FPGA and a two-way SPI interface. Among them, the CanOpen / EtherCat communication interface based on FPGA is used to achieve docking with the robot controller. The two-way SPI interface is used for high-speed data exchange with external devices. The circuit board of encoder 5 is also open with a data bus to achieve direct data interaction with external processing devices.

[0088] The embodiment of this specification also provides a collision signal processing method, referring to Figure 4 and Figure 5 , specifically including the following steps:

[0089] S1, obtain the collision signal output by the acceleration sensor 4. The collision signal is the original acceleration signal obtained by the acceleration sensor 4 on the first arm or the second arm at the joint of the mechanical arm. The collision signal has three components in three directions, namely, α x0 , α y0 , α z0 .

[0090] The components α of the collision signal in three directions are obtained by using the installation position of the acceleration sensor 4. x0 , α y0 , α z0 , the components α of the collision signal in three directions x0 , α y0 , α z0 The stator side of the joint is used as the reference, so it is not affected by the position and direction of each arm of the robot. Therefore, each arm of the robot can be processed independently to eliminate interference between each other, making the detection result more accurate.

[0091] S2, the collision signal α x0 , α y0 , α z0 Input low-pass filter circuit, after conditioning amplifier circuit and analog-to-digital conversion circuit, get the actual acceleration value α x , α y , α z .

[0092] Among them, the collision signal α x0 , α y0 , α z0 After being processed by the conditioning amplifier circuit, the collision signal α is improved x0 , α y0 , α z0 The signal-to-noise ratio is converted into a digital signal through analog-to-digital conversion, that is, the actual acceleration value α x , α y , αz , which is convenient for subsequent data processing.

[0093] S3, for the actual acceleration value α x , α y , α z Process the data and get the return value.

[0094] S4, compare the returned value with the preset value, if the returned value is greater than the preset value, output an alarm signal.

[0095] By comparing the return value with the preset value and applying the judgment mechanism, it is possible to quickly determine whether the robotic arm has an external force collision, thereby facilitating the robot controller to give corresponding processing in a timely manner.

[0096] Reference Figure 6 , the data processing in step S3 includes:

[0097] S311, obtaining the spatial movement acceleration value α′ of the first arm or the second arm from the robot controller x , α′ y , α′ z , spatial movement acceleration value α′ x , α′ y , α′ z It is the spatial movement acceleration of the first arm or the second arm calculated based on the dynamic model of the manipulator robot;

[0098] The spatial movement acceleration value is obtained from the robot controller through data transmission by the communication bus interface integrated on the encoder 5 circuit board.

[0099] S312, calculate the actual acceleration value α x , α y , α z and the spatial movement acceleration value α′ x , α′ y , α' z The difference between the acceleration difference and the absolute value of the difference is obtained. x ,δα y ,δα z ;

[0100] Absolute value of acceleration difference δα x ,δα y ,δα z The calculation formulas are formulas (1)-(3):

[0101] δα x =|α x -α′ x |; (1)

[0102] δαy =|α y -α′ y |; (2)

[0103] δα z =|α z -α′ z |; (3)

[0104] S313, based on the absolute value of the acceleration difference δα x ,δα y ,δα z The absolute value of the acceleration difference is integrated for each corresponding duration to obtain the collision energy value, which includes the first collision component value δ x , the second collision component value δ y and the third collision component value δ z ;

[0105] The first collision component value δ x , the second collision component value δ y and the third collision component value δ z The calculation formulas are formula (4)-formula (6):

[0106]

[0107]

[0108]

[0109] Among them, t 0 is the starting point of the duration, t 1 The end point of the duration.

[0110] Reference Figure 6 and Figure 7 , set the integral time period and set value In this embodiment, 500ms is used as the integration time period. In this embodiment, the absolute value of the acceleration difference δα x ,δα y ,δα z Any of the three values ​​meets the following conditions at the same time: greater than the set value And the corresponding duration is greater than 500ms, perform the integral operation, and output the calculation result of the first collision component value δ x , the second collision component value δ y and the third collision component value δ z To the accelerometer data exchange port and data bus.

[0111] When an actual collision occurs, from a microscopic point of view, even the smallest or slightest collision is a period of continuous contact. Setting 500ms as the integration time period and not calculating the absolute value of the acceleration difference with a duration of less than 500ms can filter out some interference factors to a certain extent and improve the reliability of collision detection.

[0112] According to the first collision component value δ x , the second collision component value δ y and the third collision component value δ z , and the total RMS value δ is obtained xyz , the total RMS value δ xyz The calculation formula is shown in formula (7):

[0113]

[0114] S314, the first collision component value δ x , the second collision component value δ y , the third collision component value δ z and the total RMS value δ xyz as the return value.

[0115] Reference Figure 8 In this embodiment, two preset values ​​are set, and the two preset values ​​are δ th1_stop and δ th2_stop .

[0116] When the first collision component value δ x , the second collision component value δ y , the third collision component value δ z Any one of them is greater than δ th1_stop Or the total RMS value δ xyz Greater than δ th2_stop When the alarm signal is output, it will be sent to the robot controller.

[0117] In the actual collision detection process, by setting the first collision component value δ x , the second collision component value δ y , the third collision component value δ z and the total RMS value δ xyz As the return value, multiple judgment paths are added, and as long as one path meets the judgment conditions, an alarm signal is output, which improves the accuracy and timeliness of collision detection.

[0118] Embodiment 2

[0119] The difference from the first embodiment is that, referring to Fig. 9 , the data processing in step S3 includes:

[0120] S321, the actual acceleration value α x , α y , α z After discretization, we get α x , α y , α z Several discrete acceleration values.

[0121] S322, respectively for α x , α y , α z The differential calculation is performed on several discrete acceleration values ​​to obtain several differential values ​​corresponding to each component.

[0122] S323, calculate the absolute value of several differential values ​​corresponding to each component to obtain the absolute value of the difference of the three components Δα x , Δα y , Δα z , accumulate all the absolute values ​​of the differences corresponding to each component in a fixed time period, and obtain the accumulated values ​​λ x , y , z .

[0123] Δα x , Δα y , Δα z The calculation process is shown in formulas (8)-(10):

[0124] Δα x =|α x (k)-α x (k-1)|; (8)

[0125] Δα y =|α y (k)-α y (k-1)|; (9)

[0126] Δα z =|α z (k)-α z (k-1)|; (10)

[0127] Among them, k represents the current moment, and (k-1) represents the previous moment.

[0128] Accumulated value λ x , y , z The calculation process is shown in formulas (11)-(13):

[0129]

[0130]

[0131]

[0132] Among them, N is the total number of time steps selected and the difference time length.

[0133] S324, the accumulated value λ x , y , z as return values ​​respectively.

[0134] Reference Fig.10 In this embodiment, a preset value is set, specifically λ th_stop , when the accumulated value λ x , y , z Any value in is greater than λ th_stop When , an alarm signal is output to the robot controller, and the accumulated value λ is output at the same time x , y , z To the acceleration sensor data exchange port.

[0135] Embodiment 3

[0136] The difference from the first embodiment is that, referring to Fig.11 , the data processing in step S3 includes:

[0137] S331, using frequency domain analysis method, from the actual acceleration value α x , α y , α z Extract the vibration frequency f f_x 、f f_y 、f f_z and vibration amplitude λ f_x , f_y , f_z ;

[0138] S332, when the vibration frequency is within the preset frequency range f th2 -f th1 When the value is within the range, the corresponding vibration amplitude is output as the return value.

[0139] Reference Fig.12 , the preset value in this embodiment is λ th , when the vibration amplitude λ f_x , f_y , f_z Any value in is greater than the preset value λ thWhen the robot arm is in use, the vibration frequency and amplitude data are output to the acceleration sensor data exchange port or the alarm signal is output to the robot controller. When the robot arm is subjected to external force collision and causes abnormal vibration or the robot arm itself has abnormal vibration, the robot controller can obtain feedback in time and handle it.

[0140] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the product embodiment described later, since it corresponds to the method, the description is relatively simple, and the relevant parts can be referred to the partial description of the system embodiment.

[0141] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A collision signal processing method, characterized in that: Here are the steps: S1, obtaining a collision signal output by an acceleration sensor (4), wherein the collision signal is an original acceleration signal obtained by the acceleration sensor (4) on a first arm or a second arm at a joint of a mechanical arm; S2, conditioning, amplifying and analog-to-digital conversion of the collision signal to obtain the actual acceleration value; S3, perform data processing on the actual acceleration value to obtain a return value; S4, compare the returned value with the preset value, if the returned value is greater than the preset value, output an alarm signal; The data processing in step S3 includes: S311, obtaining the spatial movement acceleration value of the first arm or the second arm; S312, calculating the difference between the actual acceleration value and the spatial movement acceleration value, and taking the absolute value of the difference to obtain the absolute value of the acceleration difference; S313, integrating the absolute value of the acceleration difference based on the duration corresponding to the absolute value of the acceleration difference to obtain a collision energy value; S314, taking the collision energy value as a return value; The collision energy value includes a first collision component value, a second collision component value and a third collision component value; Calculating the sum of squares of the first collision component value, the second collision component value, and the third collision component value, and taking the arithmetic square root of the sum of squares to obtain a total root mean square value; The first collision component value, the second collision component value, the third collision component value and the total root mean square value are used as return values; When the first collision component value , the second collision component value , the third collision component value Any one of them is greater than the preset value or the total RMS value Greater than the preset value When the alarm signal is output, it will be sent to the robot controller.

2. The collision signal processing method according to claim 1, characterized in that: Preset integral time period and set value; When the duration period corresponding to the absolute value of the acceleration difference is greater than the integration period and the absolute value of the acceleration difference is greater than a set value, the absolute value of the acceleration difference is integrated; otherwise, no integration is performed.

3. The collision signal processing method according to claim 1, characterized in that: The data processing in step S3 includes: S321, performing discretization processing on the actual acceleration value to obtain a plurality of discrete acceleration values; S322, performing differential calculation on the plurality of discrete acceleration values ​​to obtain a plurality of differential values; S323, taking the absolute value of each of the differential values, and accumulating the absolute values ​​of all differential values ​​within a fixed time period to obtain an accumulated value; S324, taking the accumulated value as the return value.

4. The collision signal processing method according to claim 1, characterized in that: The data processing in step S3 includes: S331, extracting the vibration frequency and vibration amplitude from the actual acceleration value using a frequency domain analysis method; S332, when the vibration frequency is within the preset frequency range, the vibration amplitude is output as the return value.