Abnormality detection method, device and computer-readable storage medium for servo terminal machine
By obtaining the output torque information of the servo motor and performing threshold detection, it solves the problem of adding functional components when the servo terminal machine detects crimping abnormalities, realizes abnormal detection without affecting performance, and improves the operation of the servo terminal machine. stability.
Patent Information
- Application Number
- CN202110764756.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing servo terminal machines detect crimping abnormalities, they need to add functional components such as sensors and cameras, which increases production costs and complexity, thereby affecting operational stability.
By obtaining the output torque information of the servo motor and performing detection based on the preset threshold information, it is determined whether an abnormality has occurred in the servo terminal machine, and abnormal detection is achieved without adding additional functional components.
Without adding additional functional components, it can realize abnormal detection of servo terminal machines, reduce the impact on performance, and improve operational stability.
Smart Images

Figure CN113608118B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servo terminal machines, and in particular to an abnormality detection method, device and computer-readable storage medium for a servo terminal machine. Background Art
[0002] With the rapid development of science and technology, the application of servo terminal machines is becoming more and more extensive. Servo terminal machines are the core equipment for wire processing, which are used to press terminals onto wire ends. The crimping quality of the terminals directly affects the stability of the wire ends. Therefore, it is necessary to improve the crimping quality of the servo terminal machines so that the terminal wires meet production requirements. It should be noted that in order to improve the crimping quality of the servo terminal machines, it is often necessary to perform abnormal detection on the crimping process of the servo terminal machines.
[0003] At present, pressure sensors or industrial cameras are installed on servo terminal machines to detect crimping force or image processing methods to detect crimping abnormalities. However, by adding functional components such as sensors and cameras to the servo terminal machine to detect crimping abnormalities, on the one hand, the production and maintenance costs of the servo terminal machine are increased. On the other hand, the addition of these functional components makes the mechanical and electrical systems of the servo terminal machine complicated, which in turn makes the operation stability of the servo terminal machine worse.
[0004] In summary, how to realize abnormality detection of servo terminal machines without adding additional functional components is a problem that needs to be solved urgently. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, device and computer-readable storage medium for detecting anomalies of a servo terminal machine, aiming to realize abnormality detection of the servo terminal machine without adding additional functional components.
[0006] To achieve the above object, the present invention provides a method for detecting an abnormality of a servo terminal machine, which is applied to the servo terminal machine. The servo terminal machine includes a servo motor. The method for detecting an abnormality of the servo terminal machine includes the following steps:
[0007] When the servo terminal machine is in working mode, obtaining output torque information of the servo motor;
[0008] Based on the output torque information and the preset threshold information, it is detected whether the servo terminal machine is abnormal.
[0009] Optionally, the step of obtaining the output torque information of the servo motor includes:
[0010] Obtaining the operating current of the servo motor;
[0011] Based on the operating current, output torque information of the servo motor is determined.
[0012] Optionally, the step of determining the output torque information of the servo motor based on the operating current includes:
[0013] Based on the current information of the preset section in the operating current, the torque sum of the output torque of the servo motor is determined, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process.
[0014] Optionally, the output torque information includes a torque sum of the output torque, the preset threshold information includes an air pressure threshold and an overlap threshold, and the step of detecting whether the servo terminal machine is abnormal based on the output torque information and the preset threshold information includes:
[0015] Comparing the torque and the pressure threshold with the air pressure threshold and the overlap pressure threshold respectively;
[0016] If the sum of the torques is less than the air pressure threshold, it is determined that an air pressure terminal abnormality occurs in the servo terminal machine;
[0017] If the sum of the torques is greater than the overlap threshold, it is determined that an overlap terminal abnormality occurs in the servo terminal machine.
[0018] Optionally, before the step of detecting whether the servo terminal machine is abnormal based on the output torque information and the preset threshold information, the step further includes:
[0019] Obtaining the current crimping speed of the servo terminal machine;
[0020] Based on the current crimping speed, the corresponding preset threshold information is determined.
[0021] Optionally, before the step of obtaining the output torque information of the servo motor when the servo terminal machine is in working mode, the step further includes:
[0022] When the servo terminal machine is in a learning mode, obtaining the number of crimping times in the learning mode;
[0023] After the servo terminal machine completes the number of crimping times, obtaining output torque training information of the servo motor;
[0024] Based on the output torque training information, the preset threshold information is determined.
[0025] Optionally, the output torque training information includes torques and training data of a plurality of output torques, the number of the torques and training data is the same as the number of crimping times, and the step of determining the preset threshold information based on the output torque training information includes:
[0026] Determine the maximum and minimum values of a plurality of the moments and training data;
[0027] The maximum value is used as the overlap threshold, and the minimum value is used as the empty pressure threshold, so that the preset threshold information includes the empty pressure threshold and the overlap threshold.
[0028] Optionally, after the step of determining the preset threshold information based on the output torque training information, the method further includes:
[0029] Obtaining a training crimping speed of the learning mode;
[0030] The training crimping speed is mapped to the preset threshold information to determine the corresponding preset threshold information based on the current crimping speed of the servo terminal machine.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides an abnormality detection device for a servo terminal machine, and the abnormality detection device for the servo terminal machine includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the abnormality detection method for the servo terminal machine as described above are implemented.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the abnormality detection method of the servo terminal machine as described above are implemented.
[0033] The present invention provides an abnormality detection method, device and computer-readable storage medium for a servo terminal machine. The method is applied to a servo terminal machine, which includes a servo motor. When the servo terminal machine is in a working mode, the output torque information of the servo motor is obtained; based on the output torque information and the preset threshold information, whether the servo terminal machine is abnormal is detected. In the above manner, the servo terminal machine only needs to obtain the output torque information of the servo motor, and it can judge whether the servo motor is abnormal by the output torque information. Compared with adding additional functional components to the servo terminal machine to realize abnormality detection of the servo terminal machine, the present invention only needs to obtain the output torque information of the original servo motor of the servo terminal machine to realize abnormality detection of the servo terminal machine. Therefore, the present invention performs abnormality detection on the servo terminal machine without adding additional functional components, thereby reducing the impact of additional functional components on the performance of the servo terminal machine, thereby improving the operating stability of the servo terminal machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0035] Figure 2 It is a flow chart of a first embodiment of an abnormality detection method of a servo terminal machine of the present invention;
[0036] Figure 3 It is a flow chart of a third embodiment of the abnormality detection method of a servo terminal machine of the present invention;
[0037] Figure 4 FIG. 4 is a flow chart of a fourth embodiment of an abnormality detection method for a servo terminal machine according to the present invention.
[0038] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0039] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0040] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0041] The terminal of the embodiment of the present invention is an abnormality detection device of a servo terminal machine, which can be a terminal device with processing function such as a servo terminal machine, a PC (personal computer), a microcomputer, a notebook computer, a server, etc.
[0042] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0043] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0044] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.
[0045] exist Figure 1 In the terminal shown, it is applied to a servo terminal machine, the servo terminal machine includes a servo motor, and the processor 1001 can be used to call the computer program stored in the memory 1005 and perform the following operations:
[0046] When the servo terminal machine is in working mode, obtaining output torque information of the servo motor;
[0047] Based on the output torque information and the preset threshold information, it is detected whether the servo terminal machine is abnormal.
[0048] Further, the processor 1001 may be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0049] Obtaining the operating current of the servo motor;
[0050] Based on the operating current, output torque information of the servo motor is determined.
[0051] Further, the processor 1001 may be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0052] Based on the current information of the preset section in the operating current, the torque sum of the output torque of the servo motor is determined, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process.
[0053] Further, the output torque information includes the torque sum of the output torque, the preset threshold information includes the air pressure threshold and the overlap threshold, and the processor 1001 can be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0054] Comparing the torque and the pressure threshold with the air pressure threshold and the overlap pressure threshold respectively;
[0055] If the sum of the torques is less than the air pressure threshold, it is determined that an air pressure terminal abnormality occurs in the servo terminal machine;
[0056] If the sum of the torques is greater than the overlap threshold, it is determined that an overlap terminal abnormality occurs in the servo terminal machine.
[0057] Further, the processor 1001 may be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0058] Obtaining the current crimping speed of the servo terminal machine;
[0059] Based on the current crimping speed, the corresponding preset threshold information is determined.
[0060] Further, the processor 1001 may be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0061] When the servo terminal machine is in a learning mode, obtaining the number of crimping times in the learning mode;
[0062] After the servo terminal machine completes the number of crimping times, obtaining output torque training information of the servo motor;
[0063] Based on the output torque training information, the preset threshold information is determined.
[0064] Further, the output torque training information includes torques and training data of multiple output torques, the number of the torques and training data is the same as the number of crimping times, and the processor 1001 can be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0065] Determine the maximum and minimum values of a plurality of the moments and training data;
[0066] The maximum value is used as the overlap threshold, and the minimum value is used as the empty pressure threshold, so that the preset threshold information includes the empty pressure threshold and the overlap threshold.
[0067] Further, the processor 1001 may be used to call the computer program stored in the memory 1005, and further perform the following operations:
[0068] Obtaining a training crimping speed of the learning mode;
[0069] The training crimping speed is mapped to the preset threshold information to determine the corresponding preset threshold information based on the current crimping speed of the servo terminal machine.
[0070] Based on the above hardware structure, various embodiments of the abnormality detection method of the servo terminal machine of the present invention are proposed.
[0071] The invention provides an abnormality detection method for a servo terminal machine.
[0072] Reference Figure 2 , Figure 2 It is a flow chart of the first embodiment of the abnormality detection method of the servo terminal machine of the present invention.
[0073] In this embodiment, the abnormality detection method of the servo terminal machine is applied to the servo terminal machine, the servo terminal machine includes a servo motor, and the abnormality detection method of the servo terminal machine includes:
[0074] Step S10, when the servo terminal machine is in working mode, obtaining output torque information of the servo motor;
[0075] In this embodiment, when the servo terminal machine is in working mode, the output torque information of the servo motor is obtained. The servo terminal machine is used to crimp the terminal to the wire end; when the servo terminal machine is in working mode, it means that the servo terminal machine is crimping the terminal, that is, the servo terminal machine is in normal terminal crimping mode; the servo motor is the power source of the servo terminal machine, and the output torque of the servo motor can be used to characterize the crimping force of the servo terminal machine; the servo terminal machine transmits the output torque of the servo motor to the crimping punch mechanism through a transmission mechanism such as gears to perform crimping action.
[0076] It should be noted that the output torque information may include: the sum of the output torques of the servo motor during a crimping process of the servo terminal machine; of course, the output torque information may also include: several output torques of the servo motor during a crimping process of the servo terminal machine.
[0077] In addition, it should be noted that when the servo terminal machine is in working mode, the output torque information of the servo motor is obtained in real time. Specifically, when the servo terminal machine is in a crimping process, the output torque information of the servo motor is obtained in real time, wherein the output torque information is the output torque information during a crimping process.
[0078] In addition, it should be noted that the output torque of the servo motor is linearly proportional to the current of the servo motor. Based on this, the output torque of the servo motor can be determined based on the operating current of the servo motor. The specific execution process can refer to the second embodiment described below, which will not be described here one by one.
[0079] In one embodiment, the output torque information includes the torque sum of the output torque, and the above step S10 includes:
[0080] When the servo terminal machine is in working mode, the torque sum of the output torque of the servo motor is obtained, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process. Specifically, the maximum torque position where the output torque of the servo motor is the largest during the crimping process is found, and then the output torque within a preset range before and after the maximum torque position is summed to obtain the torque sum of the output torque.
[0081] In a specific embodiment, the step of obtaining the torque sum of the output torque of the servo motor includes:
[0082] Determine the maximum output torque of the servo motor; determine the corresponding maximum torque position based on the maximum output torque; determine multiple output torques of the servo motor based on the maximum torque position and the preset range; sum the multiple output torques to obtain the torque sum of the output torques. The preset range can be set according to actual needs, for example, according to the duration, that is, multiple output torques are output torques within a certain duration before and after the maximum output torque; or, according to the value of the output torque, that is, multiple output torques are output torques whose output torque is greater than a preset torque threshold within a crimping process time, wherein the preset torque threshold can be set according to actual conditions and is not specifically limited here.
[0083] In another embodiment, the output torque information includes a plurality of output torques, and the above step S10 includes:
[0084] When the servo terminal machine is in a working mode, a plurality of output torques of the servo motor are obtained, wherein the plurality of output torques are output torques of the servo terminal machine during a crimping process.
[0085] In a specific embodiment, the step of obtaining a plurality of output torques of the servo motor includes:
[0086] Obtain a preset range; based on the preset range, determine a number of output torques of the servo motor. The preset range can be set according to actual needs, for example, according to the duration, that is, the output torques are the output torques within a certain duration before and after a crimping process; or the output torques are all the output torques within a crimping process.
[0087] Step S20: detecting whether the servo terminal machine is abnormal based on the output torque information and the preset threshold information.
[0088] In this embodiment, based on the output torque information and the preset threshold information, it is detected whether the servo terminal machine is abnormal. Specifically, the output torque information is compared with the preset threshold information, and based on the comparison result, it is detected whether the servo terminal machine is abnormal.
[0089] In some embodiments, the preset threshold information includes a first preset threshold and a second preset threshold, the first preset threshold is greater than the second preset threshold, and the above step S20 includes:
[0090] The output torque information is compared with the first preset threshold and the second preset threshold respectively; if the output torque information is less than the second preset threshold, it is determined that the servo terminal machine has an air pressure terminal abnormality; if the output torque information is greater than the first preset threshold, it is determined that the servo terminal machine has an overlapping terminal abnormality.
[0091] In one embodiment, the output torque information includes the torque sum of the output torque, and the above step S20 includes:
[0092] The torque sum is compared with the first preset threshold and the second preset threshold respectively; if the torque sum is less than the second preset threshold, it is determined that the servo terminal machine has an air pressure terminal abnormality; if the torque sum is greater than the first preset threshold, it is determined that the servo terminal machine has an overlapped terminal abnormality. The specific execution process can refer to the third embodiment described below, which will not be repeated here.
[0093] In another embodiment, the output torque information includes a plurality of output torques, and the step S20 includes:
[0094] The sum of the several output torques is compared with the first preset threshold and the second preset threshold respectively; if at least one of the several output torques is smaller than the second preset threshold, it is determined that the servo terminal machine has an air pressure terminal abnormality; if at least one of the several output torques is larger than the first preset threshold, it is determined that the servo terminal machine has an overlapping terminal abnormality.
[0095] It should be noted that the preset threshold information corresponds to the output torque information one by one, and different forms of output torque information correspond to different preset threshold information. It can be understood that the torque of the output torque and the corresponding preset threshold are greater than the preset thresholds corresponding to the multiple output torques before superposition. Based on this, the preset threshold information can be determined based on the output torque information.
[0096] In addition, it should be noted that in addition to the working mode, the servo terminal machine also has a learning mode, which is used to enable the servo terminal machine to set the preset threshold information by itself, rather than manually setting the preset threshold information, thereby improving the setting accuracy of the preset threshold information, thereby improving the accuracy of the servo terminal machine's abnormality detection. The specific execution process can refer to the fourth embodiment described below, which will not be repeated here.
[0097] Furthermore, before the above step S20, the abnormality detection method of the servo terminal machine further includes:
[0098] Step A, obtaining the current crimping speed of the servo terminal machine;
[0099] Step B: determining the corresponding preset threshold information based on the current crimping speed.
[0100] In this embodiment, when the crimping speed of the servo terminal machine is different, the abnormality detection standard of the servo terminal machine is also different, that is, the corresponding preset threshold information is also different. Specifically, the current crimping speed of the servo terminal machine is obtained, and the corresponding preset threshold information is determined based on the current crimping speed.
[0101] In one embodiment, the step of determining the corresponding preset threshold information based on the current crimping speed includes:
[0102] Based on the current crimping speed and the preset mapping relationship, the corresponding preset threshold information is determined, wherein the preset mapping relationship is a mapping relationship between the crimping speed and the preset threshold information.
[0103] It can be understood that different preset threshold information is obtained for different crimping speeds of the servo terminal machine in the working mode, so that when detecting whether the servo terminal machine has an abnormality based on the output torque information and the preset threshold information, the accuracy of the servo terminal machine abnormality detection is improved.
[0104] An embodiment of the present invention provides an abnormality detection method for a servo terminal machine. The method is applied to a servo terminal machine, which includes a servo motor. When the servo terminal machine is in a working mode, the output torque information of the servo motor is obtained; based on the output torque information and the preset threshold information, whether the servo terminal machine is abnormal is detected. In the above manner, the servo terminal machine only needs to obtain the output torque information of the servo motor, and it can judge whether the servo motor is abnormal by the output torque information. Compared with adding additional functional components to the servo terminal machine to realize abnormality detection of the servo terminal machine, the embodiment of the present invention only needs to obtain the output torque information of the original servo motor of the servo terminal machine to realize abnormality detection of the servo terminal machine. Therefore, the embodiment of the present invention performs abnormality detection on the servo terminal machine without adding additional functional components, thereby reducing the impact of additional functional components on the performance of the servo terminal machine, and then improving the operating stability of the servo terminal machine.
[0105] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the abnormality detection method of the servo terminal machine of the present invention is proposed.
[0106] In this embodiment, in the above step S10, obtaining the output torque information of the servo motor includes:
[0107] Step a11, obtaining the operating current of the servo motor;
[0108] Step a12: determining the output torque information of the servo motor based on the operating current.
[0109] In this embodiment, first, the operating current of the servo motor is obtained, and then, based on the operating current of the servo motor, the output torque information of the servo motor is determined. Specifically, the operating current of the servo motor is obtained in real time, and then, based on the operating current and a preset mapping relationship, the output torque information of the servo motor is determined. The preset mapping relationship is a correspondence between the operating current and the output torque information.
[0110] It should be noted that the output torque information may include: the sum of the output torques of the servo motor during a crimping process of the servo terminal machine; of course, the output torque information may also include: several output torques of the servo motor during a crimping process of the servo terminal machine.
[0111] In one embodiment, the output torque information includes the torque sum of the output torque, and the above step a12 includes:
[0112] Based on the operating current, the torque sum of the output torque of the servo motor is determined, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process. Specifically, the maximum current position where the current of the servo motor is the largest during the crimping process is found, and then the output torque corresponding to the current within a preset range before and after the maximum current position is summed to obtain the torque sum of the output torque.
[0113] In a specific embodiment, the above step a12 includes:
[0114] Step a121, based on the current information of the preset section in the operating current, determine the torque sum of the output torque of the servo motor, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process.
[0115] Specifically, based on the current information of the preset section in the operating current, multiple output torques of the servo motor are determined; the multiple output torques are summed to obtain the torque sum of the output torques. The preset section can be set according to actual needs, for example, according to the duration, that is, the current information is the current within a certain time before and after the maximum current; or, according to the value of the current, that is, the current information is the current greater than the preset current threshold within a crimping process time, wherein the preset current threshold can be set according to actual conditions and is not specifically limited here.
[0116] In one embodiment, the step a121 includes:
[0117] Based on the operating current, determine the peak current; based on the peak current, determine the preset area; obtain current information of the preset area, and obtain multiple output torques corresponding to the current information; accumulate the multiple output torques to obtain the torque sum of the servo motor output torque, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process.
[0118] It should be noted that if multiple output torques are obtained by sampling, the multiple output torques can be directly accumulated and summed through aggregation algorithms such as addition operations and mean operations; if multiple output torques are represented in the form of curves, they can be accumulated and summed through integral operations.
[0119] In another embodiment, the output torque information includes a plurality of output torques, and the step a12 includes:
[0120] Based on the operating current, several output torques of the servo motor are determined, wherein the several output torques are the output torques of the servo terminal machine during a crimping process. Specifically, a preset range is obtained; based on the preset range, several output torques of the servo motor are determined. The preset range can be set according to actual needs, for example, according to the duration, that is, several output torques are output torques within a certain duration before and after a crimping process; or, several output torques are all output torques within a crimping process.
[0121] It can be understood that the specific implementation process of replacing the operating current of the servo motor with the operating voltage and other electrical information is basically the same as the implementation process of the above-mentioned operating current, and will not be repeated here.
[0122] In this embodiment, it is only necessary to obtain the operating current of the servo motor, and then determine the output torque information of the servo motor based on the operating current, that is, it is only necessary to obtain the operating current of the original servo motor of the servo terminal machine to realize the abnormal detection of the servo terminal machine. Therefore, the embodiment of the present invention can perform abnormal detection on the servo terminal machine without adding additional functional components, thereby reducing the impact of additional functional components on the performance of the servo terminal machine, and further improving the operating stability of the servo terminal machine.
[0123] Furthermore, based on the above-mentioned first embodiment, a third embodiment of the abnormality detection method of the servo terminal machine of the present invention is proposed.
[0124] Reference Figure 3 , Figure 3 It is a flow chart of a third embodiment of the abnormality detection method of a servo terminal machine of the present invention.
[0125] In this embodiment, the output torque information includes the torque sum of the output torque, the preset threshold information includes the air pressure threshold and the overlap threshold, and the above step S20 includes:
[0126] Step S21, comparing the torque sum with the air pressure threshold and the overlap pressure threshold respectively;
[0127] Step S22, if the torque sum is less than the air pressure threshold, it is determined that the servo terminal machine has an air pressure terminal abnormality;
[0128] Step S23: If the sum of the torques is greater than the overlap threshold, it is determined that an overlap terminal abnormality occurs in the servo terminal machine.
[0129] In this embodiment, the torque sum is compared with the air pressure threshold and the overlap threshold respectively; if the torque sum is less than the air pressure threshold, it is determined that the servo terminal machine has an air pressure terminal abnormality; if the torque sum is greater than the overlap threshold, it is determined that the servo terminal machine has an overlap terminal abnormality. The overlap threshold is greater than the air pressure threshold.
[0130] It should be noted that the sum of the output torque is the sum of the torques during a crimping process of the servo terminal machine.
[0131] In one embodiment, the method for obtaining the sum of the output torque is: when the servo terminal machine is in the working mode, the sum of the output torque of the servo motor is obtained. That is, the maximum torque position where the output torque of the servo motor is the largest during the terminal crimping process is found, and then the output torque within a preset range before and after the maximum torque position is summed to obtain the sum of the output torque.
[0132] Specifically, determine the maximum output torque of the servo motor; determine the corresponding maximum torque position based on the maximum output torque; determine multiple output torques of the servo motor based on the maximum torque position and the preset range; sum the multiple output torques to obtain the torque sum of the output torques. The preset range can be set according to actual needs, for example, according to the duration, that is, multiple output torques are output torques within a certain duration before and after the maximum output torque; or, according to the value of the output torque, that is, multiple output torques are output torques whose output torque is greater than a preset torque threshold within a crimping process time, wherein the preset torque threshold can be set according to actual conditions and is not specifically limited here.
[0133] In this embodiment, the torque sum of the servo motor output torque is compared with the air pressure threshold and the overlapping threshold respectively to perform abnormality detection on the servo terminal machine. Since the output torque of the servo terminal machine during the crimping process is comprehensively considered, the accuracy of abnormality detection of the servo terminal machine is further improved.
[0134] Furthermore, based on the above-mentioned first embodiment, a fourth embodiment of the abnormality detection method of the servo terminal machine of the present invention is proposed.
[0135] Reference Figure 4 , Figure 4 FIG. 4 is a flow chart of a fourth embodiment of an abnormality detection method for a servo terminal machine according to the present invention.
[0136] In this embodiment, before the above step S10, the abnormality detection method of the servo terminal machine further includes:
[0137] Step S30, when the servo terminal machine is in a learning mode, obtaining the number of crimping times in the learning mode;
[0138] In this embodiment, when the servo terminal machine is in the learning mode, the number of crimping times in the learning mode is obtained. The learning mode is the mode in which the servo terminal machine is trained, that is, the training obtains the preset threshold information; the number of crimping times is the training number, which can be set according to the actual situation and is not limited here.
[0139] Step S40, after the servo terminal machine completes the number of crimping times, obtaining output torque training information of the servo motor;
[0140] In this embodiment, after the servo terminal machine completes the number of crimpings, the output torque training information of the servo motor is obtained, wherein the number of the output torque training information is the same as the number of crimpings.
[0141] It should be noted that the output torque training information may include: the sum of the output torques of the servo motor during a crimping process of the servo terminal machine; of course, the output torque information may also include: several output torques of the servo motor during a crimping process of the servo terminal machine.
[0142] In one embodiment, the output torque training information includes the torque sum of the output torque, and the step of obtaining the output torque training information of the servo motor includes:
[0143] The torque sum of the output torque of the servo motor is obtained, wherein the torque sum is the torque sum of the output torque of the servo terminal machine during a crimping process. Specifically, the maximum torque position where the output torque of the servo motor is the largest during the crimping process is found, and then the output torque within a preset range before and after the maximum torque position is summed to obtain the torque sum of the output torque.
[0144] In a specific embodiment, the step of obtaining the torque sum of the output torque of the servo motor includes:
[0145] Determine the maximum output torque of the servo motor; determine the corresponding maximum torque position based on the maximum output torque; determine multiple output torques of the servo motor based on the maximum torque position and the preset range; sum the multiple output torques to obtain the torque sum of the output torques. The preset range can be set according to actual needs, for example, according to the duration, that is, multiple output torques are output torques within a certain duration before and after the maximum output torque; or, according to the value of the output torque, that is, multiple output torques are output torques whose output torque is greater than a preset torque threshold within a crimping process time, wherein the preset torque threshold can be set according to actual conditions and is not specifically limited here.
[0146] In another embodiment, the output torque training information includes a plurality of output torques, and the step of obtaining the output torque training information of the servo motor includes:
[0147] A plurality of output torques of the servo motor are obtained, wherein the plurality of output torques are output torques of the servo terminal machine during a crimping process.
[0148] In a specific embodiment, the step of obtaining a plurality of output torques of the servo motor includes:
[0149] Obtain a preset range; based on the preset range, determine a number of output torques of the servo motor. The preset range can be set according to actual needs, for example, according to the duration, that is, the output torques are the output torques within a certain duration before and after a crimping process; or the output torques are all the output torques within a crimping process.
[0150] Step S50: determining the preset threshold information based on the output torque training information.
[0151] In this embodiment, the preset threshold information is determined based on the output torque training information. Specifically, the maximum value of the output torque and the minimum value of the output torque in the output torque training information are determined, and then the maximum value is used as the overlap threshold, and the minimum value is used as the air pressure threshold, so that the preset threshold information includes the air pressure threshold and the overlap threshold.
[0152] In one embodiment, the output torque training information includes torques and training data of a plurality of output torques, the number of the torques and training data being the same as the number of crimping times, and the above step S50 includes:
[0153] Step a51, determining the maximum and minimum values of a plurality of the moments and training data;
[0154] Step a51, taking the maximum value as the overlap threshold, and taking the minimum value as the empty pressure threshold, so that the preset threshold information includes the empty pressure threshold and the overlap threshold.
[0155] In this embodiment, the maximum and minimum values of the torque and training data are determined, and then the maximum value is used as the overlap threshold, and the minimum value is used as the air pressure threshold, so that the preset threshold information includes the air pressure threshold and the overlap threshold. Specifically, before crimping the terminal, the learning mode is entered to find the position where the servo motor outputs the maximum torque during the crimping process through several crimping processes, and then the output torque in the range around the maximum torque position is accumulated in the program to calculate the torque sum, and the maximum value A1 and minimum value B1 of the torque sum in this position after several learnings are recorded, and A1 and B1 are used as references when setting the maximum value A and minimum value B of the judgment threshold of the terminal machine for air pressure and overlapped terminals, so that after completing the learning process, the motor torque sum T is calculated in the same position during the normal crimping process of the terminal, and if T is greater than A, it means that the servo terminal machine has an abnormality of overlapped terminals, and if T is less than B, it means that the servo terminal machine has an abnormality of air pressure terminals.
[0156] Furthermore, after the above step S50, the abnormality detection method of the servo terminal machine further includes:
[0157] Step C, obtaining the training crimping speed of the learning mode;
[0158] Step D: Mapping the training crimping speed with the preset threshold information to determine the corresponding preset threshold information based on the current crimping speed of the servo terminal machine.
[0159] In this embodiment, when the crimping speed of the servo terminal machine is different, the abnormality detection standard of the servo terminal machine is also different, that is, the corresponding preset threshold information is also different. Specifically, the training crimping speed of the current learning mode of the servo terminal machine is obtained, and the training crimping speed is mapped to the preset threshold information to determine the corresponding preset threshold information based on the current crimping speed of the servo terminal machine.
[0160] Specifically, the above step D includes:
[0161] The training crimping speed is mapped to the preset threshold information to obtain a mapping relationship, so as to determine the corresponding preset threshold information based on the current crimping speed of the servo terminal machine and the mapping relationship.
[0162] It can be understood that for the different crimping speeds of the servo terminal machine in the learning mode, preset threshold information corresponding to different crimping speeds is set, so that different preset threshold information can be obtained for the different crimping speeds of the servo terminal machine in the working mode. This makes it possible to detect whether the servo terminal machine has an abnormality based on the output torque information and the preset threshold information, thereby further improving the accuracy of abnormality detection of the servo terminal machine.
[0163] In this embodiment, the servo terminal machine also has a learning mode, which is used to train the servo terminal machine so that it can set preset threshold information by itself. Compared with manually setting the preset threshold information, the setting accuracy of the preset threshold information can be improved, thereby improving the accuracy of abnormal detection of the servo terminal machine.
[0164] The present invention also provides an abnormality detection system for a servo terminal machine, which comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the abnormality detection method for the servo terminal machine as described in any of the above embodiments.
[0165] The specific embodiments of the abnormality detection system of the servo terminal machine of the present invention are basically the same as the embodiments of the abnormality detection method of the servo terminal machine described above, and will not be described in detail here.
[0166] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the abnormality detection method for a servo terminal machine as described in any of the above embodiments are implemented.
[0167] The specific embodiments of the computer-readable storage medium of the present invention are substantially the same as the embodiments of the abnormality detection method of the servo terminal machine described above, and are not described in detail herein.
[0168] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0169] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a servo terminal machine, a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0171] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting abnormality of a servo terminal machine, characterized in that: Applied to a servo terminal machine, the servo terminal machine includes a servo motor, and the abnormality detection method of the servo terminal machine includes the following steps: When the servo terminal machine is in working mode, obtaining output torque information of the servo motor; Wherein, the step of obtaining the output torque information of the servo motor comprises: Obtaining the operating current of the servo motor; Based on the operating current, determining output torque information of the servo motor; Wherein, the step of determining the output torque information of the servo motor based on the operating current includes: Determining a peak current based on the operating current, and determining a preset area based on the peak current; Acquire current information of the preset area, and acquire multiple output torques corresponding to the current information; Acquire output torque information according to a plurality of output torques corresponding to the current information; Based on the output torque information and the preset threshold information, detecting whether the servo terminal machine is abnormal; Wherein, before the step of detecting whether the servo terminal machine is abnormal based on the output torque information and the preset threshold information, the method further includes: Obtaining the current crimping speed of the servo terminal machine; Based on the current crimping speed and the preset mapping relationship, determining the corresponding preset threshold information; The output torque information includes the torque sum of the output torque, the preset threshold information includes an air pressure threshold and an overlap threshold, and the step of detecting whether the servo terminal machine is abnormal based on the output torque information and the preset threshold information includes: Comparing the torque and the pressure threshold with the air pressure threshold and the overlap pressure threshold respectively; If the sum of the torques is less than the air pressure threshold, it is determined that an air pressure terminal abnormality occurs in the servo terminal machine; If the sum of the torques is greater than the overlap threshold, it is determined that an overlap terminal abnormality occurs in the servo terminal machine.
2. The abnormality detection method of the servo terminal machine according to claim 1, characterized in that: Before the step of obtaining the output torque information of the servo motor when the servo terminal machine is in the working mode, the step further includes: When the servo terminal machine is in a learning mode, obtaining the number of crimping times in the learning mode; After the servo terminal machine completes the number of crimping times, obtaining output torque training information of the servo motor; Based on the output torque training information, the preset threshold information is determined.
3. The abnormality detection method of the servo terminal machine according to claim 2, characterized in that: The output torque training information includes torques and training data of a plurality of output torques, the number of the torques and training data being the same as the number of crimping times, and the step of determining the preset threshold information based on the output torque training information includes: Determine the maximum and minimum values of a plurality of the moments and training data; The maximum value is used as the overlap threshold, and the minimum value is used as the empty pressure threshold, so that the preset threshold information includes the empty pressure threshold and the overlap threshold.
4. The abnormality detection method of the servo terminal machine according to claim 2, characterized in that: After the step of determining the preset threshold information based on the output torque training information, the method further includes: Obtaining a training crimping speed of the learning mode; The training crimping speed is mapped to the preset threshold information to determine the corresponding preset threshold information based on the current crimping speed of the servo terminal machine.
5. An abnormality detection device for a servo terminal machine, characterized in that: The abnormality detection device of the servo terminal machine includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the abnormality detection method of the servo terminal machine as described in any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the abnormality detection method for the servo terminal machine according to any one of claims 1 to 4 are implemented.
