A servo drive control system and method based on artificial intelligence
Through the servo drive control system based on artificial intelligence, image processing and convolutional neural network technology are used to quickly adjust the control parameters of the servo drive, solving the problems of slow adjustment and poor accuracy of the servo drive, and improving the workpiece accuracy and precision of the industrial production line. efficiency.
Patent Information
- Application Number
- CN202410779929.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-17
AI Technical Summary
The existing servo driver's process of adjusting the servo motor in the industrial production line is slow and has poor accuracy, resulting in low workpiece production efficiency and high failure rate, which brings economic losses to the enterprise.
Using a servo drive control system based on artificial intelligence, by obtaining historical production data, calculating workpiece feature similarity, adjusting servo drive control parameters, using image processing and convolutional neural networks to extract feature vectors, quickly determine the control data range of the servo drive, and carry out Related test experiments to optimize the control parameters of the servo drive.
It improves the accuracy and processing efficiency of the servo drive, reduces the generation of unqualified workpieces, and realizes intelligent management of industrial equipment.
Smart Images

Figure CN118348942B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servo drive control, and in particular to a servo drive control system and method based on artificial intelligence. Background Art
[0002] A servo drive is an electronic device used to control a servo motor. It is also called a "servo amplifier". It is a controller used to control a motor. Its function is similar to that of a frequency converter on an ordinary motor. It is part of a servo system and mainly controls the servo motor in three ways: position, speed, and torque. Servo motors are widely used in many areas of life. Their high-precision position control and speed control capabilities enable them to be used in many scenarios, including the following: 1. Industrial automation. Servo motors are often used in industrial robots, automated production lines, CNC machine tools and other equipment to achieve precise position and motion control and improve production efficiency and workpiece quality. 2. Automobile manufacturing. In automobile manufacturing, servo motors are used in assembly robots, welding robots and other equipment on automobile production lines to improve automobile production efficiency and production quality. 3. Medical equipment. In medical equipment, servo motors are widely used in imaging equipment, surgical robots and other equipment to achieve precise control and motion.
[0003] In the industrial production process, the servo motor can be controlled by the servo driver, so that the servo motor has high-precision position control and speed control capabilities, and realizes precise motion control. However, the workpieces produced and processed in the industrial production line will usually change with the actual production needs. This requires the servo driver to be intelligently adjusted according to the actual workpieces in the industrial production process, so as to control the operation of the servo motor and make the workpieces produced in the industrial production line meet the requirements. However, in real life, most methods use servo drivers to control and adjust the servo motor. The process is not only slow, but also has poor accuracy, which not only affects the workpiece production efficiency, but also may result in a large number of unqualified workpieces, causing serious economic losses to the company. Summary of the invention
[0004] The object of the present invention is to provide a servo drive control system and method based on artificial intelligence to solve the problems existing in the above-mentioned background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a servo drive control method based on artificial intelligence, the method comprising:
[0006] Step S100: obtaining industrial equipment in the industrial production line, wherein the servo motor is installed in the industrial equipment, and the servo motor is controlled by a servo driver, obtaining historical production and processing data of the industrial production line, and selecting a marked workpiece from workpieces to be processed in the industrial production line in the current cycle based on the historical production and processing data;
[0007] Step S200: acquiring image information of the marked workpiece from the database, acquiring feature workpiece image information of historical workpieces in the industrial production line, and calculating feature similarity between the marked workpiece and the historical workpiece;
[0008] Step S300: based on feature similarity, select a marked reference workpiece from historical workpieces of the industrial production line, obtain marking control data of a servo driver in the industrial equipment when the industrial equipment in the industrial production line processes the marked reference workpiece, use the industrial equipment under different control data of the servo driver to process the marked workpiece, and analyze the influence of the servo driver under different control data on the workpiece quality of the marked workpiece processed by the industrial equipment, and obtain target control data of the servo driver when the industrial equipment in the industrial production line processes the marked workpiece;
[0009] Step S400: Based on the target control data of the servo driver, the servo driver control data in the industrial equipment in the current cycle is adjusted accordingly, and the marked workpiece is processed using the adjusted industrial equipment to intelligently manage the industrial production line.
[0010] Furthermore, step S100 includes:
[0011] Step S101: Acquire historical production and processing data of an industrial production line, where the historical production and processing data is the workpiece model of the workpiece processed by the industrial production line in a historical period;
[0012] Step S102: Obtain the workpiece model of each workpiece to be processed in the industrial production line in the current cycle. When the workpiece model of a workpiece among the workpieces to be processed is different from the workpiece models of each workpiece processed by the industrial production line in the historical cycle, record the workpiece as a marked workpiece.
[0013] Further, step S200 includes:
[0014] Step S201: acquiring marking image information of a marking workpiece from a database, the marking image information including a standard workpiece image after the marking workpiece is processed, and acquiring a marking workpiece image of the marking workpiece, the marking workpiece image being an image of the workpiece before the marking workpiece is processed;
[0015] Step S202: obtaining workpieces processed by the industrial production line within a historical period and recording them as historical workpieces of the industrial production line, obtaining characteristic workpiece image information of the historical workpieces, wherein the characteristic workpiece image information is a first historical workpiece image and a second historical workpiece image of the historical workpiece, wherein the first historical workpiece image and the second historical workpiece image are respectively workpiece images of the historical workpiece judged to be of qualified quality before and after processing on the industrial production line;
[0016] Step S203: using image processing software to perform image preprocessing on the images of the marked artifact and the historical artifact respectively, and performing grayscale conversion on the preprocessed images, and using a convolutional neural network to extract feature vectors from the marked artifact image and the first historical artifact image respectively, to obtain a vector array E and a vector array F;
[0017] Step S204: Calculate the similarity between the first feature image of the marked workpiece and each historical workpiece on the industrial production line, where the similarity between the first feature image of the marked workpiece and the ath historical workpiece is , Indicates the value corresponding to the i-th element in the vector array E corresponding to the marked workpiece, The value corresponding to the i-th element in the vector array F of the a-th historical artifact, where n is the total number of elements in the vector array E;
[0018] Step S205: Calculate the similarity between the second feature image of the marked workpiece and each historical workpiece on the industrial production line, where the similarity between the second feature image of the marked workpiece and the ath historical workpiece is , Represents the mean value of the grayscale value of the standard workpiece image of the marked workpiece, is the mean grayscale value of the second historical artifact image of the a-th historical artifact, represents the gray value covariance between the second historical artifact image and the standard artifact image of the a-th historical artifact, represents the gray value variance of the standard workpiece image, represents the gray value variance of the second historical artifact image of the a-th historical artifact, is a preset constant;
[0019] Step S206: Calculate the feature similarity between the marked workpiece and each historical workpiece on the industrial production line, where the feature similarity between the marked workpiece and the ath historical workpiece is ;
[0020] The above steps compare the marked workpiece with the historical workpieces processed by the industrial production line within the historical period, and the comparison directions are compared from two different directions, namely, the image analysis comparison before and after the workpiece processing. For the analysis and comparison of the image before the workpiece processing, it is first determined whether the workpiece to be processed is similar, so that the workpiece similar to the marked workpiece can be quickly determined, and through the analysis and comparison of the image after the workpiece processing, it is also possible to determine the marked workpiece and the historical workpiece processed by the industrial production line within the historical period. During the processing by the industrial equipment, the industrial equipment determines whether the processing content of the marked workpiece is consistent with the historical workpiece processed by the industrial production line within the historical period, thereby ensuring that the control data of the servo drive obtained is more accurate and reducing the number and amount of data in the final experimental analysis.
[0021] Furthermore, step S300 includes:
[0022] Step S301: obtaining feature similarities between the marked workpiece and each historical workpiece on the industrial production line, setting a feature similarity threshold, and when the feature similarity between the marked workpiece and a certain historical workpiece on the industrial production line is greater than the feature similarity threshold, marking a certain historical workpiece and recording it as a marked reference workpiece of the marked workpiece;
[0023] Step S302: obtaining the marking control data of the servo driver in the industrial equipment when the industrial equipment in the industrial production line processes each marking reference workpiece, wherein the marking control data includes corresponding data of various processing parameters of the servo driver;
[0024] Step S303: Obtain the maximum and minimum values of various processing parameters of the servo driver of the industrial equipment when the industrial equipment processes each marked control workpiece, and use them as the marked data range of various processing parameters of the servo driver of the industrial equipment when processing the marked workpiece experimental group, wherein the marked data range of the dth processing parameter of the servo driver is , , It indicates the maximum and minimum values of the dth processing parameter of the servo drive of the industrial equipment when the industrial equipment processes each marked reference workpiece;
[0025] Step S304: according to the preset experimental accuracy index, a number of marked workpieces are obtained, and the number of marked workpieces are divided into a number of marked test experimental groups, the experimental values of various processing parameters of the servo driver are determined based on the dichotomy method, and the marked workpieces in each batch of test experimental groups are processed in sequence using industrial equipment to obtain the workpiece qualification rate of each batch of test experimental groups under different values of the servo driver;
[0026] Step S305: During the experiment using the binary method, a certain processing parameter of the servo driver is under the same division times, and a certain batch marking test experimental group and another batch marking test experimental group processed by industrial equipment are obtained. When the workpiece qualification rate of a certain batch marking test experimental group is greater than the workpiece qualification rate threshold, and the workpiece qualification rate of the other batch marking test experimental group is less than the workpiece qualification rate threshold, the corresponding values of the various processing parameters of the servo driver inside the equipment are obtained when the industrial equipment is processing the certain batch marking test experimental group, and the values are collected to obtain the target control data of the servo driver inside the equipment when the industrial equipment in the industrial production line processes the marked workpieces.
[0027] Furthermore, step S400 includes:
[0028] Step S401: acquiring each industrial device that processes the marked workpiece in the industrial production line in the current cycle, and acquiring the servo driver inside each industrial device, and adjusting the control parameters of the servo driver in each workpiece device based on the target control data;
[0029] Step S402: using various industrial equipments in the current cycle to process various marked workpieces on the industrial production line, and inspecting the workpiece quality of each batch of workpieces after processing, so as to intelligently manage the industrial production line.
[0030] In order to better implement the above method, a servo drive control system is also proposed, which includes a workpiece marking module, a feature similarity module, a target control data module, and a control data adjustment module;
[0031] The workpiece marking module is used to obtain the historical production and processing data of the industrial production line, and select the marked workpiece from the workpieces to be processed in the industrial production line in the current cycle based on the historical production and processing data;
[0032] A feature similarity module is used to obtain image information of the marked workpiece from the database, obtain feature workpiece image information of historical workpieces in the industrial production line, and calculate feature similarity between the marked workpiece and the historical workpiece;
[0033] The target control data module is used to analyze the influence of the servo drive under different control data on the workpiece quality of the marked workpiece after processing by the industrial equipment, and obtain the target control data of the servo drive when the industrial equipment in the industrial production line processes the marked workpiece;
[0034] The control data adjustment module is used to adjust the servo drive control data in the industrial equipment in the current cycle accordingly based on the target control data of the servo drive, and use the adjusted industrial equipment to process the marked workpiece and intelligently manage the industrial production line.
[0035] Further, the marking workpiece module includes a marking workpiece unit;
[0036] The marking workpiece unit is used to obtain the workpiece model of each workpiece to be processed in the industrial production line in the current cycle. When the workpiece model of a workpiece among the workpieces to be processed is different from the workpiece models of each workpiece processed by the industrial production line in the historical cycle, the workpiece is recorded as a marked workpiece.
[0037] Further, the feature similarity module includes a first feature image similarity unit and a feature similarity unit;
[0038] A first feature image similarity unit is used to perform image preprocessing on the images of the marked workpiece and the historical workpiece respectively using image processing software, and perform grayscale conversion on the preprocessed images, and use a convolutional neural network to extract feature vectors from the marked workpiece image and the first historical workpiece image respectively, and calculate the first feature image similarity between the marked workpiece and each historical workpiece on the industrial production line;
[0039] The feature similarity unit is used to calculate the feature similarity between the marked workpiece and each historical workpiece on the industrial production line.
[0040] Further, the target control data module includes a marking control workpiece unit and a target control data unit;
[0041] The marking reference workpiece unit is used to obtain the feature similarity between the marked workpiece and each historical workpiece on the industrial production line, set the feature similarity threshold, and when the feature similarity between the marked workpiece and a certain historical workpiece of the industrial production line is greater than the feature similarity threshold, mark the certain historical workpiece and record it as the marked reference workpiece of the marked workpiece;
[0042] The target control data unit is used to obtain and collect the corresponding values of various processing parameters of the servo driver inside the equipment when the industrial equipment is processing a batch of marked test experimental groups, so as to obtain the target control data of the servo driver inside the equipment when the industrial equipment in the industrial production line processes the marked workpieces.
[0043] Further, the control data adjustment module includes a control data adjustment unit;
[0044] The control data adjustment unit is used to obtain various industrial equipment that processes the marked workpiece in the industrial production line in the current cycle, and obtain the servo driver inside each industrial equipment, and adjust the control parameters of the servo driver in each workpiece equipment based on the target control data.
[0045] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention realizes that by adjusting the control data of the servo driver, the industrial equipment can process the workpiece with higher precision and faster processing efficiency. The workpieces produced and processed in the industrial production line will usually change with the actual production needs. By comparing the historically processed workpieces of the industrial equipment in the industrial production line and the historical control data of the servo driver in the industrial equipment, and comparing the similarity between the workpieces to be processed in the industrial production line in the current cycle and the historically processed workpieces, the control data range of the servo driver is quickly determined, and relevant test experiments are carried out, so as to quickly obtain the relevant control data of the servo driver in the industrial equipment when the workpieces to be processed in the industrial production line in the current cycle are obtained. The process of adjusting the servo driver is not only fast but also highly accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings are used to provide a further understanding of the present invention and constitute part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0047] Figure 1 It is a method flow chart of a servo drive control system and method based on artificial intelligence of the present invention;
[0048] Figure 2 It is a module schematic diagram of a servo drive control system and method based on artificial intelligence of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] See also Figure 1-Figure 2 The present invention provides a technical solution: a servo drive control method based on artificial intelligence, the method comprising:
[0051] Step S100: obtaining industrial equipment in the industrial production line, wherein the servo motor is installed in the industrial equipment, and the servo motor is controlled by a servo driver, obtaining historical production and processing data of the industrial production line, and selecting a marked workpiece from workpieces to be processed in the industrial production line in the current cycle based on the historical production and processing data;
[0052] Wherein, step S100 includes:
[0053] Step S101: Acquire historical production and processing data of an industrial production line, where the historical production and processing data is the workpiece model of the workpiece processed by the industrial production line in a historical period;
[0054] Step S102: obtaining workpiece models of various workpieces to be processed in the industrial production line in the current cycle, and when the workpiece model of a workpiece among various workpieces to be processed is different from the workpiece models of various workpieces processed by the industrial production line in the historical cycle, recording the workpiece as a marked workpiece;
[0055] Step S200: acquiring image information of the marked workpiece from the database, acquiring feature workpiece image information of historical workpieces in the industrial production line, and calculating feature similarity between the marked workpiece and the historical workpiece;
[0056] Wherein, step S200 includes:
[0057] Step S201: acquiring marking image information of a marking workpiece from a database, the marking image information including a standard workpiece image after the marking workpiece is processed, and acquiring a marking workpiece image of the marking workpiece, the marking workpiece image being an image of the workpiece before the marking workpiece is processed;
[0058] Step S202: obtaining workpieces processed by the industrial production line within a historical period and recording them as historical workpieces of the industrial production line, obtaining characteristic workpiece image information of the historical workpieces, wherein the characteristic workpiece image information is a first historical workpiece image and a second historical workpiece image of the historical workpiece, wherein the first historical workpiece image and the second historical workpiece image are respectively workpiece images of the historical workpiece judged to be of qualified quality before and after processing on the industrial production line;
[0059] Step S203: using image processing software to perform image preprocessing on the images of the marked artifact and the historical artifact respectively, and performing grayscale conversion on the preprocessed images, and using a convolutional neural network to extract feature vectors from the marked artifact image and the first historical artifact image respectively, to obtain a vector array E and a vector array F;
[0060] Step S204: Calculate the similarity between the first feature image of the marked workpiece and each historical workpiece on the industrial production line, where the similarity between the first feature image of the marked workpiece and the ath historical workpiece is , Indicates the value corresponding to the i-th element in the vector array E corresponding to the marked workpiece, The value corresponding to the i-th element in the vector array F of the a-th historical artifact, where n is the total number of elements in the vector array E;
[0061] For example, the value corresponding to the first element in the vector array E corresponding to the marked workpiece 2. The value corresponding to the second element in the vector array E corresponding to the marked workpiece 3, the value corresponding to the first element in the vector array F of the first historical artifact =4, the value corresponding to the first element in the vector array F of the first historical artifact 1, the similarity between the first feature image of the marked artifact and the first historical artifact ;
[0062] Step S205: Calculate the similarity between the second feature image of the marked workpiece and each historical workpiece on the industrial production line, where the similarity between the second feature image of the marked workpiece and the ath historical workpiece is , Represents the mean value of the grayscale value of the standard workpiece image of the marked workpiece, is the mean grayscale value of the second historical artifact image of the a-th historical artifact, represents the gray value covariance between the second historical artifact image and the standard artifact image of the a-th historical artifact, represents the gray value variance of the standard workpiece image, represents the gray value variance of the second historical artifact image of the a-th historical artifact, is a preset constant;
[0063] Step S206: Calculate the feature similarity between the marked workpiece and each historical workpiece on the industrial production line, where the feature similarity between the marked workpiece and the ath historical workpiece is ;
[0064] Step S300: based on feature similarity, select a marked reference workpiece from historical workpieces of the industrial production line, obtain marking control data of a servo driver in the industrial equipment when the industrial equipment in the industrial production line processes the marked reference workpiece, use the industrial equipment under different control data of the servo driver to process the marked workpiece, and analyze the influence of the servo driver under different control data on the workpiece quality of the marked workpiece processed by the industrial equipment, and obtain target control data of the servo driver when the industrial equipment in the industrial production line processes the marked workpiece;
[0065] Wherein, step S300 includes:
[0066] Step S301: obtaining feature similarities between the marked workpiece and each historical workpiece on the industrial production line, setting a feature similarity threshold, and when the feature similarity between the marked workpiece and a certain historical workpiece on the industrial production line is greater than the feature similarity threshold, marking a certain historical workpiece and recording it as a marked reference workpiece of the marked workpiece;
[0067] Step S302: obtaining the marking control data of the servo driver in the industrial equipment when the industrial equipment in the industrial production line processes each marking reference workpiece, wherein the marking control data includes corresponding data of various processing parameters of the servo driver;
[0068] Step S303: Obtain the maximum and minimum values of various processing parameters of the servo driver of the industrial equipment when the industrial equipment processes each marked control workpiece, and use them as the marked data range of various processing parameters of the servo driver of the industrial equipment when processing the marked workpiece experimental group, wherein the marked data range of the dth processing parameter of the servo driver is , , It indicates the maximum and minimum values of the dth processing parameter of the servo drive of the industrial equipment when the industrial equipment processes each marked reference workpiece;
[0069] Step S304: according to the preset experimental accuracy index, a number of marked workpieces are obtained, and the number of marked workpieces are divided into a number of marked test experimental groups, the experimental values of various processing parameters of the servo driver are determined based on the dichotomy method, and the marked workpieces in each batch of test experimental groups are processed in sequence using industrial equipment to obtain the workpiece qualification rate of each batch of test experimental groups under different values of the servo driver;
[0070] Step S305: obtaining a certain processing parameter of the servo driver in the same division times during the experiment using the binary method, a certain batch marking test experimental group and another batch marking test experimental group processed by the industrial equipment, when the workpiece qualification rate of the certain batch marking test experimental group is greater than the workpiece qualification rate threshold, and the workpiece qualification rate of the other batch marking test experimental group is less than the workpiece qualification rate threshold, obtaining the corresponding values of various processing parameters of the servo driver inside the equipment when the industrial equipment is processing the certain batch marking test experimental group and collecting them, and obtaining the target control data of the servo driver inside the equipment when the industrial equipment in the industrial production line processes the marked workpieces;
[0071] Step S400: Based on the target control data of the servo driver, the servo driver control data in the industrial equipment in the current cycle is adjusted accordingly, and the marked workpiece is processed using the adjusted industrial equipment to perform intelligent management of the industrial production line;
[0072] Wherein, step S400 includes:
[0073] Step S401: acquiring each industrial device that processes the marked workpiece in the industrial production line in the current cycle, and acquiring the servo driver inside each industrial device, and adjusting the control parameters of the servo driver in each workpiece device based on the target control data;
[0074] Step S402: using various industrial equipment in the current cycle to process various marked workpieces on the industrial production line, and testing the workpiece quality of each batch of workpieces after processing, so as to intelligently manage the industrial production line;
[0075] In order to better implement the above method, a servo drive control system is also proposed, which includes a workpiece marking module, a feature similarity module, a target control data module, and a control data adjustment module;
[0076] The workpiece marking module is used to obtain the historical production and processing data of the industrial production line, and select the marked workpiece from the workpieces to be processed in the industrial production line in the current cycle based on the historical production and processing data;
[0077] A feature similarity module is used to obtain image information of the marked workpiece from the database, obtain feature workpiece image information of historical workpieces in the industrial production line, and calculate feature similarity between the marked workpiece and the historical workpiece;
[0078] The target control data module is used to analyze the influence of the servo drive under different control data on the workpiece quality of the marked workpiece after processing by the industrial equipment, and obtain the target control data of the servo drive when the industrial equipment in the industrial production line processes the marked workpiece;
[0079] A control data adjustment module is used to adjust the servo drive control data in the industrial equipment in the current cycle accordingly based on the target control data of the servo drive, and use the adjusted industrial equipment to process the marked workpiece, so as to intelligently manage the industrial production line;
[0080] Wherein, the workpiece marking module includes a workpiece marking unit;
[0081] The marking workpiece unit is used to obtain the workpiece model of each workpiece to be processed in the industrial production line in the current cycle. When the workpiece model of a workpiece among the workpieces to be processed is different from the workpiece models of each workpiece processed by the industrial production line in the historical cycle, the workpiece is recorded as a marked workpiece.
[0082] Wherein, the feature similarity module includes a first feature image similarity unit and a feature similarity unit;
[0083] A first feature image similarity unit is used to perform image preprocessing on the images of the marked workpiece and the historical workpiece respectively using image processing software, and perform grayscale conversion on the preprocessed images, and use a convolutional neural network to extract feature vectors from the marked workpiece image and the first historical workpiece image respectively, and calculate the first feature image similarity between the marked workpiece and each historical workpiece on the industrial production line;
[0084] A feature similarity unit is used to calculate the feature similarity between the marked workpiece and each historical workpiece on the industrial production line;
[0085] Wherein, the target control data module includes a marking control workpiece unit and a target control data unit;
[0086] The marking reference workpiece unit is used to obtain the feature similarity between the marked workpiece and each historical workpiece on the industrial production line, set the feature similarity threshold, and when the feature similarity between the marked workpiece and a certain historical workpiece of the industrial production line is greater than the feature similarity threshold, mark the certain historical workpiece and record it as the marked reference workpiece of the marked workpiece;
[0087] The target control data unit is used to obtain and collect the corresponding values of various processing parameters of the servo driver inside the equipment when the industrial equipment is processing a batch of marking test experimental groups, so as to obtain the target control data of the servo driver inside the equipment when the industrial equipment in the industrial production line processes the marking workpieces;
[0088] Wherein, the control data adjustment module includes a control data adjustment unit;
[0089] The control data adjustment unit is used to obtain various industrial equipment that processes the marked workpiece in the industrial production line in the current cycle, and obtain the servo driver inside each industrial equipment, and adjust the control parameters of the servo driver in each workpiece equipment based on the target control data.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device 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 device.
[0091] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A servo drive control method based on artificial intelligence, It is characterized in that The method comprises: Step S100: obtaining industrial equipment in an industrial production line, wherein a servo motor is installed in the industrial equipment, and the servo motor is controlled by a servo driver, obtaining historical production and processing data of the industrial production line, and selecting a marked workpiece from workpieces to be processed in the industrial production line in a current cycle based on the historical production and processing data; The step S100 includes: Step S101: Acquire historical production and processing data of an industrial production line, wherein the historical production and processing data is a workpiece model of a workpiece processed by the industrial production line in a historical period; Step S102: obtaining workpiece models of various workpieces to be processed in the industrial production line in the current cycle, and when the workpiece model of a certain workpiece among the various workpieces to be processed is different from the workpiece models of various workpieces processed by the industrial production line in the historical cycle, recording the certain workpiece as a marked workpiece; Step S200: acquiring image information of the marked workpiece from a database, acquiring feature workpiece image information of historical workpieces in an industrial production line, and calculating feature similarity between the marked workpiece and the historical workpiece; Step S300: based on the feature similarity, a marked reference workpiece is selected from the historical workpieces of the industrial production line, and the marking control data of the servo driver in the industrial equipment when the industrial equipment in the industrial production line processes the marked reference workpiece is obtained, the industrial equipment is used to process the marked workpiece under different control data of the servo driver, and the influence of the servo driver under different control data on the workpiece quality of the marked workpiece processed by the industrial equipment is analyzed, and the target control data of the servo driver when the industrial equipment in the industrial production line processes the marked workpiece is obtained; Step S400: Based on the target control data of the servo driver, the servo driver control data in the industrial equipment in the current cycle is adjusted accordingly, and the marked workpiece is processed using the adjusted industrial equipment to intelligently manage the industrial production line.
2. According to the servo drive control method based on artificial intelligence in claim 1, It is characterized in that The step S200 includes: Step S201: acquiring the marked image information of the marked workpiece from a database, wherein the marked image information includes a standard workpiece image after the marked workpiece is processed, and acquiring the marked workpiece image of the marked workpiece, wherein the marked workpiece image is the workpiece image of the marked workpiece before processing; Step S202: obtaining workpieces processed by an industrial production line within a historical period and recording them as historical workpieces of the industrial production line, and obtaining characteristic workpiece image information of the historical workpieces, wherein the characteristic workpiece image information is a first historical workpiece image and a second historical workpiece image of the historical workpiece, wherein the first historical workpiece image and the second historical workpiece image are respectively workpiece images of the historical workpiece judged to be of qualified quality before and after processing on the industrial production line; Step S203: using image processing software to perform image preprocessing on the images of the marked artifact and the historical artifact respectively, and performing grayscale conversion on the preprocessed images, and using a convolutional neural network to extract feature vectors from the marked artifact image and the first historical artifact image respectively, to obtain a vector array E and a vector array F; Step S204: Calculate the similarity between the first feature image of the marked workpiece and each historical workpiece on the industrial production line, wherein the similarity between the first feature image of the marked workpiece and the ath historical workpiece is E i represents the value corresponding to the i-th element in the vector array E corresponding to the marked workpiece, F a,i the value corresponding to the i-th element in the vector array F of the a-th historical artifact, and n is the total number of elements in the vector array E; Step S205: Calculate the similarity between the second feature image of the marked workpiece and each historical workpiece on the industrial production line, wherein the similarity between the second feature image of the marked workpiece and the ath historical workpiece is represents the mean value of the grayscale value of the standard workpiece image of the marked workpiece, is the mean value of the grayscale value of the second historical artifact image of the a-th historical artifact, δ x,a represents the grayscale value covariance between the second historical artifact image of the a-th historical artifact and the standard artifact image, δ x represents the gray value variance of the standard workpiece image, δ a represents the gray value variance of the second historical artifact image of the a-th historical artifact, C 1 is a preset constant; Step S206: Calculate the feature similarity between the marked workpiece and each historical workpiece on the industrial production line, wherein the feature similarity S between the marked workpiece and the ath historical workpiece is a =Q a ×W a .
3. The servo drive control method based on artificial intelligence according to claim 2, It is characterized in that The step S300 includes: Step S301: obtaining feature similarities between the marked workpiece and each historical workpiece on the industrial production line, setting a feature similarity threshold, and when the feature similarity between the marked workpiece and a certain historical workpiece on the industrial production line is greater than the feature similarity threshold, marking the certain historical workpiece and recording it as a marked reference workpiece of the marked workpiece; Step S302: obtaining marking control data of a servo driver in the industrial equipment in the industrial production line when the industrial equipment processes each marking reference workpiece, wherein the marking control data includes corresponding data of various processing parameters of the servo driver; Step S303: Acquire the maximum and minimum values of various processing parameters of the servo driver of the industrial equipment when the industrial equipment processes each marked control workpiece, and use them as the marked data range of various processing parameters of the servo driver of the industrial equipment when processing the marked workpiece experimental group, wherein the marked data range R of the dth processing parameter of the servo driver is d =[D min ,D max ], D max , D min Indicates the maximum and minimum values of the dth processing parameter of the servo driver of the industrial equipment when the industrial equipment processes each marked reference workpiece; Step S304: according to the preset experimental accuracy index, a number of marked workpieces are obtained, and the number of marked workpieces are divided into a number of marked test experimental groups, the experimental values of various processing parameters of the servo driver are determined based on the dichotomy method, and the marked workpieces in each batch of test experimental groups are processed in sequence using industrial equipment to obtain the workpiece qualification rate of each batch of test experimental groups under different values of the servo driver; Step S305: During the experiment using the binary method, a certain processing parameter of the servo driver is at the same division times, and a certain batch marking test experimental group and another batch marking test experimental group processed by industrial equipment are obtained. When the workpiece qualification rate of a certain batch marking test experimental group is greater than the workpiece qualification rate threshold, and the workpiece qualification rate of the other batch marking test experimental group is less than the workpiece qualification rate threshold, the corresponding values of the various processing parameters of the servo driver inside the equipment are obtained when the industrial equipment is processing the certain batch marking test experimental group, and the values are collected to obtain the target control data of the servo driver in the equipment when the industrial equipment in the industrial production line processes the marked workpieces.
4. The servo drive control method based on artificial intelligence according to claim 3, It is characterized in that The step S400 includes: Step S401: acquiring each industrial device that processes the marked workpiece in the industrial production line in the current cycle, and acquiring the servo driver inside each industrial device, and adjusting the control parameters of the servo driver inside each workpiece device based on the target control data; Step S402: using the various industrial devices in the current cycle to process the various marked workpieces on the industrial production line, and detecting the workpiece quality of each batch of workpieces after processing, so as to intelligently manage the industrial production line.
5. A servo drive control system applied to a servo drive control method based on artificial intelligence as claimed in any one of claims 1 to 4, It is characterized in that The servo drive control system includes a workpiece marking module, a feature similarity module, a target control data module, and a control data adjustment module; The workpiece marking module is used to obtain historical production and processing data of the industrial production line, and select the marked workpiece from the workpieces to be processed in the industrial production line in the current cycle based on the historical production and processing data; The feature similarity module is used to obtain the image information of the marked workpiece from the database, obtain the feature workpiece image information of the historical workpiece in the industrial production line, and calculate the feature similarity between the marked workpiece and the historical workpiece; The target control data module is used to analyze the influence of the servo driver under different control data on the workpiece quality of the marked workpiece processed by the industrial equipment, and obtain the target control data of the servo driver when the industrial equipment in the industrial production line processes the marked workpiece; The control data adjustment module is used to adjust the servo drive control data in the industrial equipment in the current cycle accordingly based on the target control data of the servo drive, and use the adjusted industrial equipment to process the marked workpiece and intelligently manage the industrial production line.
6. The servo drive control system according to claim 5, It is characterized in that The marking workpiece module includes a marking workpiece unit; The workpiece marking unit is used to obtain the workpiece model of each workpiece to be processed in the industrial production line in the current cycle. When the workpiece model of a workpiece among the workpieces to be processed is different from the workpiece model of each workpiece processed by the industrial production line in the historical cycle, the workpiece is recorded as a marked workpiece.
7. The servo drive control system according to claim 5, It is characterized in that The feature similarity module includes a first feature image similarity unit and a feature similarity unit; The first feature image similarity unit is used to perform image preprocessing on the images of the marked workpiece and the historical workpiece respectively using image processing software, and perform grayscale conversion on the preprocessed images, and use a convolutional neural network to extract feature vectors from the marked workpiece image and the first historical workpiece image respectively, and calculate the first feature image similarity between the marked workpiece and each historical workpiece on the industrial production line; The feature similarity unit is used to calculate the feature similarity between the marked workpiece and each historical workpiece on the industrial production line.
8. The servo drive control system according to claim 5, It is characterized in that The target control data module includes a marking control workpiece unit and a target control data unit; The marking reference workpiece unit is used to obtain the feature similarity between the marked workpiece and each historical workpiece on the industrial production line, set a feature similarity threshold, and when the feature similarity between the marked workpiece and a certain historical workpiece of the industrial production line is greater than the feature similarity threshold, mark the certain historical workpiece and record it as the marked reference workpiece of the marked workpiece; The target control data unit is used to obtain and collect the corresponding values of various processing parameters of the servo driver inside the equipment when the industrial equipment is processing a batch of marked test experimental groups, so as to obtain the target control data of the servo driver inside the equipment when the industrial equipment in the industrial production line processes the marked workpieces.
9. The servo drive control system according to claim 5, It is characterized in that The control data adjustment module includes a control data adjustment unit; The control data adjustment unit is used to obtain each industrial equipment that processes the marked workpiece in the industrial production line during the current cycle, and obtain the servo driver inside each industrial equipment, and adjust the control parameters of the servo driver in each workpiece equipment based on the target control data.
