Electromagnetic coil intelligent production control method and system
Through digital processing of electromagnetic coil design drawings and real-time image collection, intelligent manufacturing and tension feedback control are realized, which solves the tension control problem in traditional production methods and improves the production efficiency and performance stability of electromagnetic coils.
Patent Information
- Application Number
- CN202410887144.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Traditional electromagnetic coil production methods are difficult to achieve precise tension control, especially when winding wires of different wire diameters and materials, which can easily lead to loose coils, interlayer short circuits or breaks, affecting the performance and reliability of the coils.
Through geometric feature recognition and digital processing of electromagnetic coil design drawings, a three-dimensional digital model is generated, combined with voxel winding network analysis and real-time image collection, to achieve intelligent manufacturing and tension feedback control, and optimize the winding trajectory and wire diameter consistency.
It improves the production efficiency and product quality of the electromagnetic coil, ensures the uniformity of the magnetic field and performance stability of the coil, and reduces performance fluctuations caused by uneven wire diameters.
Smart Images

Figure CN118866548A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic manufacturing technology, and in particular to an intelligent production control method and system for electromagnetic coils. Background Art
[0002] As a basic electromagnetic component, electromagnetic coils are widely used in various fields such as motors, sensors, medical equipment, and communication equipment. In recent years, with the development trend of miniaturization, intelligence, and high performance of electronic equipment, electromagnetic coils, as the core components of these devices, have higher and higher performance requirements for electromagnetic coils, such as higher efficiency, smaller size, and more accurate magnetic field distribution. The intelligent production of electromagnetic coils can not only improve production efficiency, but also ensure the consistency and stability of product quality, reduce production costs, and enhance market competitiveness. However, traditional electromagnetic coil production methods often rely on manual operation or simple automated equipment, and it is difficult to achieve precise tension control, especially when winding wires of different wire diameters and different materials. Tension control is more difficult, which can easily lead to problems such as loose coils, short circuits between layers, or breakage. At the same time, for multi-layer electromagnetic coils, slight differences in wire diameters between different layers will cause deviations in the inductance and Q value of the coil, affecting the performance and reliability of the coil. Summary of the invention
[0003] Based on this, the present invention provides an electromagnetic coil intelligent production control method and system to solve at least one of the above technical problems.
[0004] To achieve the above object, an electromagnetic coil intelligent production control method comprises the following steps:
[0005] Step S1: performing coil geometric feature recognition on the electromagnetic coil design drawing to obtain coil topological structure data; performing key process parameter supplementation processing based on the coil topological structure data to obtain key coil process parameters; performing coil digitization processing on the coil topological structure data using the key coil process parameters to generate a three-dimensional coil digital model;
[0006] Step S2: performing coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; performing voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; performing adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data;
[0007] Step S3: Based on the optimized coil winding trajectory data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and real-time coil winding image acquisition is performed to generate real-time coil winding image data; the turn layer wire diameter change trend is predicted according to the real-time coil winding image data to generate wire diameter change trend data;
[0008] Step S4: Perform tension feedback control strategy processing according to the wire diameter change trend data to obtain tension feedback control data; perform wire diameter consistency compensation control according to the tension feedback control data, and collect wire diameter compensation control effect to obtain wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index;
[0009] Step S5: Performing electromagnetic coil quality scoring according to the multi-layer wire diameter consistency index to obtain electromagnetic coil quality scoring data.
[0010] The present invention identifies the geometric features of the coils on the electromagnetic coil design drawing, and can accurately obtain the geometric shape, size and wiring topology information of the coils. According to the coil topology data, the key process parameters are supplemented, and the necessary process parameters, such as wire diameter, winding tension, etc., can be supplemented according to the actual structural characteristics of the coils. The coil topology data is digitized by using the key coil process parameters, and the geometric and process information of the coils can be integrated to construct a high-precision three-dimensional digital coil model. By refining the three-dimensional model to the voxel level, the refined planning of the coil winding path is realized, the accuracy and executability of the winding are improved, and direct guidance is provided for intelligent manufacturing. According to the equipment capacity, material properties and process requirements, the path is dynamically optimized, the physical conflict and material waste in the winding process are reduced, and the production efficiency and the consistency of the coil are improved. The optimized winding trajectory is executed by the intelligent electromagnetic coil production device, and the automation and intelligence of the production process are realized, which significantly improves the production efficiency and product quality. Real-time coil winding image acquisition can not only monitor the production process, but also timely discover potential problems, and predict the change of wire diameter in advance by analyzing the collected images. Based on the wire diameter change trend data, the tension during winding is automatically adjusted to ensure the consistency of the wire diameter during the coil winding process, which is crucial to the stability of the electromagnetic coil performance. The wire diameter consistency compensation control and effect acquisition mechanism further optimizes the accuracy of wire diameter control, reduces the performance fluctuation caused by uneven wire diameter, evaluates the consistency of the wire diameter between each layer of the coil as a whole, and provides a quantitative indicator for the final quality of the product. Therefore, an electromagnetic coil intelligent production control method of the present invention constructs four-dimensional voxel winding topological network data, performs geometric topology and timing information analysis of the coil winding, and obtains optimized winding trajectory data; controls point calibration, classification and processing instruction encoding are performed according to the optimized winding trajectory data, and refined programming control of the winding process is realized; through high-speed visual monitoring, the wire diameter change trend data is obtained in real time, and the wire diameter change trend is accurately predicted, and the pre-winding trajectory deviation and real-time tension are comprehensively analyzed with the optimized winding trajectory data, and the control parameters of the winding system are adjusted in real time. The next turn layer of the coil is closed-loop compensated and controlled, which effectively solves the tension control problem and improves the consistency of the wire diameter of the multi-layer winding of the electromagnetic coil.
[0011] Preferably, step S1 comprises the following steps:
[0012] Step S11: performing image denoising preprocessing on the electromagnetic coil design drawing to generate a standard electromagnetic coil design drawing; extracting the original drawing annotations based on the standard electromagnetic coil design drawing to obtain the original drawing annotation data;
[0013] Step S12: performing multi-level drawing analysis based on the standard electromagnetic coil design drawing, and performing vector graphics analysis to generate coil vector structure data;
[0014] Step S13: performing coil geometric feature recognition on the coil vector structure data according to preset geometric constraint relationship rules to obtain coil topological structure data;
[0015] Step S14: performing graphic element annotation processing on the coil topology structure data through the original drawing annotation data, and establishing a mapping relationship between graphic elements and parameters to generate preliminary topology graphic element annotation data;
[0016] Step S15: performing key process parameter supplementation processing according to the preliminary topological element annotation data and the coil topological structure data to obtain key coil process parameters, wherein the key coil structure parameters include coil material attribute data, coil winding attribute data and coil electrical attribute data;
[0017] Step S16: using the coil topology data to perform coil digital processing on key coil structure parameters to generate a three-dimensional coil digital model.
[0018] The present invention eliminates noise points and unnecessary interference information in the electromagnetic coil design drawing through image denoising preprocessing, making the design drawing clearer and more accurate. The generated standard electromagnetic coil design drawing improves the standardization of drawing information, is conducive to unified processing and reducing recognition errors, and accelerates the conversion process from design to production. Multi-level drawing analysis and vector graphics parsing can not only analyze various complex elements in the design drawing in detail, but also improve the resolution and scaling invariance of the graphics through vectorization processing, making the representation of the coil structure more accurate and efficient. By processing the coil vector structure data according to the preset geometric constraint relationship rules, the various key geometric features of the coil, such as coil diameter, height, number of layers, etc., can be accurately identified, which improves the accuracy and efficiency of recognition. The primitive annotation processing and the establishment of mapping relationships associate abstract graphic elements with specific process parameters, which not only ensures the faithful transmission of design intent, but also facilitates the rapid adjustment of parameters according to different production needs, thereby improving the adaptability of the production system. The supplementary processing of key process parameters comprehensively considers the material properties, winding properties and electrical properties of the coil. By utilizing coil topology data and key process parameters, a high-precision three-dimensional coil digital model was generated through digital processing, providing direct processing guidance for subsequent intelligent manufacturing, ensuring full digitalization and precision from design to manufacturing, and greatly improving production efficiency and product consistency.
[0019] Preferably, step S15 comprises the following steps:
[0020] Step S151: Analyze the electrical performance of the target coil according to the preliminary topological element annotation data to generate coil electrical property data;
[0021] Step S152: extracting coil winding geometric parameters according to the coil topology data to generate coil winding geometric parameters, wherein the coil winding geometric parameters include coil wire diameter, coil outer diameter, coil inner diameter, and coil winding height or length;
[0022] Step S153: performing wire material property matching on the coil electrical property data and the coil winding geometric parameters through a preset material database to generate coil material property data;
[0023] Step S154: Calculate the number of coil layers according to the coil winding geometric parameters to generate coil layer data;
[0024] Step S155: using the coil material attribute data to estimate the number of coil turns for the coil winding geometric parameters, and generating coil turn estimation data; wherein the coil turn estimation is calculated by a coil turn estimation formula, and the coil turn estimation formula is as follows:
[0025]
[0026] Where N is the estimated number of coil turns, V is the volume of the coil winding area, and A w It is expressed as the cross-sectional area of a single wire diameter, π is the ratio of circumference to pi, D is the average winding diameter of the coil, d is the wire diameter, and α is the winding process coefficient;
[0027] Step S156: identifying the coil winding method of the coil topology data through the coil layer number data and the coil turn number estimation data, and generating coil winding method category data;
[0028] Step S157: integrating the coil winding method category data, the coil layer number data and the coil turn number estimation data into winding data to generate coil winding attribute data.
[0029] The electrical performance analysis of the present invention through preliminary topological element annotation data directly links the design intent with the actual electrical performance, ensuring that the key electrical characteristics of the electromagnetic coil, such as inductance and resistance, can be predicted and optimized in the early stage of design. The extraction of coil winding geometric parameters not only clarifies the physical form of the coil, such as coil wire diameter, inner and outer diameters, and height. Through the matching of the material database, the optimal material selection for the coil electrical properties and winding geometric parameters is achieved, ensuring that the selected material can meet both the electrical performance requirements and the specific geometric structure. The number of coil layers is calculated according to the winding geometric parameters to ensure the compactness and rationality of the coil structure. Through accurate coil turn estimation, not only the electromagnetic performance is optimized, but also the influence of the winding process coefficient on the actual number of turns is taken into account, ensuring that the performance of the coil in the actual manufacturing process is consistent with the design expectations, and improving the one-time success rate of the product. Identify the most suitable coil winding method, and customize the winding scheme according to the structural characteristics and number of turns requirements of the coil. The key parameters of the coil winding, including the winding method, number of layers, number of turns, etc., are integrated into unified winding attribute data.
[0030] Preferably, step S2 comprises the following steps:
[0031] Step S21: performing finite element meshing processing on the three-dimensional coil digital model to generate a finite element coil digital model;
[0032] Step S22: performing coil voxel winding network analysis according to the finite element coil digital model to generate voxel winding topological network data;
[0033] Step S23: performing a windability analysis on the voxel winding topology network data and performing voxel winding trajectory mapping to obtain preliminary coil winding trajectory data;
[0034] Step S24: Decomposing the winding path according to the preliminary coil winding trajectory data to generate a coil winding sub-path set;
[0035] Step S25: performing path conflict detection on the coil winding sub-path set to obtain winding conflict sub-path data;
[0036] Step S26: Based on the preset magnetic field uniformity distribution strategy, the finite element coil digital model is used to perform magnetic field constraint analysis on the preliminary coil winding trajectory data, and finite element magnetic field distribution simulation calculation is performed to generate coil magnetic field constraint simulation data;
[0037] Step S27: Identify the magnetic field inhomogeneity region according to the coil magnetic field constraint simulation data, and perform adaptive winding trajectory adjustment on the preliminary coil winding trajectory data through the winding conflict sub-path data to obtain optimized coil winding trajectory data.
[0038] The present invention discretizes the continuous three-dimensional coil digital model into a finite number of units, so that the coil model can perform accurate electromagnetic field distribution calculation and structural optimization in a finite element solution environment. The geometric structure of the coil is converted into a voxel-level topological network representation, so that the winding path can be accurately mapped to the voxel structure of the coil. Through the windability analysis, the winding feasibility of the coil structure is evaluated, the feasibility of the planned winding trajectory in actual production is ensured, and the physically infeasible path is avoided. The windable topological network is mapped into preliminary winding trajectory data, and the complex overall winding path is subdivided into multiple sub-path sets, which is convenient for independent analysis and optimization of each sub-path, and the flexibility and pertinence of path planning are enhanced. By identifying and marking the sub-paths that cause physical conflicts in the coil winding process, a clear goal is provided for eliminating potential production obstacles, which helps to reduce the failure rate and material waste in the production process and ensure smooth production. The magnetic field constraint analysis based on the magnetic field uniformity distribution strategy ensures that the winding trajectory not only meets the physical feasibility, but also can achieve ideal electromagnetic performance. By identifying areas of magnetic field inhomogeneity and combining winding conflict sub-path data to perform adaptive winding trajectory adjustments, the performance bottlenecks and physical obstacles encountered in production are specifically addressed. The optimized coil winding trajectory data not only ensures the conflict-free winding process, but also maximizes the magnetic field uniformity of the coil.
[0039] Preferably, step S22 comprises the following steps:
[0040] Step S221: constructing a four-dimensional voxel space for the finite element coil digital model to generate a coil four-dimensional voxel space, wherein three spatial dimensions in the coil four-dimensional voxel space correspond to the length, width and height of the collar, and the fourth dimension corresponds to the number of layers of the coil winding;
[0041] Step S222: performing tensor element initialization processing according to the coil four-dimensional voxel space to generate an initialized four-dimensional tensor value;
[0042] Step S223: marking the voxel occupancy of the coil four-dimensional voxel space by initializing the four-dimensional tensor value to generate coil occupied voxel data, wherein for each voxel, it is determined whether its center point is within the geometric range of the layer. If so, the tensor value of the voxel space is iteratively updated to 1, indicating that it is occupied, otherwise the tensor value of the voxel space remains unchanged;
[0043] Step S224: Based on the coil occupied voxel data, a breadth-first search algorithm is used to perform connected domain component analysis on the coil four-dimensional voxel space to generate coil voxel connected domain data;
[0044] Step S225: performing overlapping analysis of adjacent layers according to the coil voxel connected domain data to obtain a directed acyclic graph of the voxel connected layer;
[0045] Step S226: performing discrete time series calculation on the voxel connected layer directed acyclic graph at a preset winding speed, and assigning a timestamp step size to generate voxel winding topological network data.
[0046] The present invention discretizes the continuous three-dimensional coil digital model into a four-dimensional voxel representation, thereby improving the accuracy and resolution of the model. The fourth dimension introduces the number of layers information, and the initialization processing of the tensor elements establishes the basic numerical representation of the coil voxel space. Through the voxel occupancy mark, it is possible to accurately identify and record which voxels are occupied by the coil during each layer of winding, and to accurately mark the voxel units occupied by the coil in the four-dimensional voxel space, and generate occupied voxel data describing the geometric structure of the coil. Through an efficient breadth-first search algorithm, it is possible to extract the connected domain component information of the coil from the occupied voxel data, that is, which voxels are connected, and the generated connected domain data reflects the topological structural characteristics of the coil. By analyzing the voxel connectivity relationship between different layers, a directed acyclic graph describing the topological connection between layers is constructed, and the graph can accurately express the layer-by-layer connection relationship between different layers during the coil winding process. The geometric topological structure of the coil is combined with the winding timing information. According to the preset winding speed, a discrete timestamp step value is assigned to each node in the directed acyclic graph. The time dimension of the coil winding process is concretized, and the four-dimensional topological network data of the coil winding process is fully described.
[0047] Preferably, step S3 comprises the following steps:
[0048] Step S31: using the three-dimensional coil digital model to calibrate the control path points of the optimized coil winding trajectory data to generate winding path control point data;
[0049] Step S32: performing path point type identification on the winding path control point data to generate winding path point type data, wherein the winding path point type data includes a starting point, an end point, a turning point, an intersection point, and a smoothing point;
[0050] Step S33: encoding the optimized coil winding trajectory data with processing control instructions through the winding path point type data, and distributing the servo control instructions to obtain coil servo control instruction data;
[0051] Step S34: Based on the coil servo control instruction data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and a high-speed industrial camera is used to collect real-time coil winding images to generate real-time coil winding image data;
[0052] Step S35: predicting the change trend of the wire diameter of the turn layer according to the real-time coil winding image data, and generating wire diameter change trend data.
[0053] The present invention combines the optimized coil winding trajectory data with the three-dimensional coil digital model to calibrate the control path points, thereby ensuring the precise control of each key position in the actual production process and improving the execution accuracy of the winding path. The type of the winding path control point data is identified, and different types such as the starting point, the end point, the turning point, the intersection point and the smooth point are distinguished, so that the control instructions can adopt the most suitable processing strategy for different types of points, thereby improving the flexibility and efficiency of the processing. According to the path point type and the optimized trajectory, the corresponding processing control instructions, such as motion instructions, speed instructions, direction instructions, etc., are encoded and generated, and these instructions are distributed to the servo control system to generate directly executable coil servo control instruction data. According to the servo control instructions, the winding process of the coil is accurately controlled by the intelligent production device, and the image data of the winding process is collected in real time by a high-speed camera. These real-time image data can reflect the actual state of the coil winding. Based on the real-time collected winding images, the image processing and machine learning technologies are used to predict the change trend of the turn layer wire diameter during the coil winding process, which can not only reflect the coil quality status, but also provide an important basis for tension feedback control and wire diameter compensation.
[0054] Preferably, step S35 includes the following steps:
[0055] Step S351: using an edge detection operator to perform real-time winding layer edge detection on the real-time coil winding image data, and performing dynamic edge pixel focusing to generate winding layer edge mask data;
[0056] Step S352: performing pixel-level motion estimation of edges of adjacent frames according to the winding layer edge mask data, and performing continuous frame displacement vector superposition to obtain real-time winding layer edge trajectory data;
[0057] Step S353: performing sub-pixel edge positioning processing on the real-time winding coil edge trajectory data to generate a high-precision coil edge coordinate set;
[0058] Step S354: performing time-series multi-frame image fitting based on the high-precision circle edge coordinate set to obtain dynamic line diameter curve fitting data;
[0059] Step S355: performing spectrum analysis on the dynamic line diameter curve fitting data to generate line diameter fluctuation characteristic vector data;
[0060] Step S356: Based on the preset different wire winding fluctuation data and the corresponding future wire diameter change trend label data, a transfer learning process is performed using a long short-term memory network model to obtain a wire diameter prediction model;
[0061] Step S357: transmitting the wire diameter fluctuation characteristic vector data to the wire diameter prediction model to predict the wire diameter change trend of the next turn layer, and generating wire diameter change trend data.
[0062] The present invention processes real-time image data through an edge detection operator, realizes rapid identification and focusing of the edge of the winding layer, can accurately detect the edge contour of the current winding layer from the real-time winding image, and focus the edge pixels to generate mask data describing the edge of the layer. By estimating the motion of edge pixels in adjacent video frames and superimposing the displacement vectors of multiple consecutive frames, the complete edge trajectory of the current winding layer can be accurately reconstructed. Through the sub-pixel-level fine positioning algorithm, a high-precision coordinate set of the edge of the layer can be obtained, which greatly improves the resolution and accuracy of the wire diameter measurement. The dynamic wire diameter change curve of the current coil winding can be reconstructed by curve fitting the high-precision edge coordinates of multiple frames in the time sequence, and the dynamic wire diameter curve data can reflect the real-time change trend of the wire diameter. By performing spectrum analysis on the dynamic wire diameter curve, the key frequency characteristics of the wire diameter fluctuation can be extracted, and these frequency characteristics are quantified into feature vectors. The wire diameter fluctuation feature vector data can accurately describe the periodicity and regularity of the current wire diameter change. By using the existing wire fluctuation data and label data, a long short-term memory neural network model that can predict the future wire diameter change trend is trained through transfer learning. The model can learn from the time series wire diameter fluctuation data and predict the future change trend. The wire diameter fluctuation feature vector is input into the pre-trained wire diameter prediction model to achieve accurate prediction of the future one or more turns of wire diameter change trend.
[0063] Preferably, step S4 comprises the following steps:
[0064] Step S41: performing wire diameter trend quantification processing according to the wire diameter change trend data to generate quantified wire diameter change rate data;
[0065] Step S42: performing an eigenmode analysis on the quantized line diameter change rate data to obtain line diameter transformation characteristic data;
[0066] Step S43: performing trend Gaussian cumulative distribution calculation on the wire diameter transformation feature data through a preset wire diameter change threshold, and performing wire diameter change level judgment. When the wire diameter change level is lower than the wire diameter change threshold, the winding layer is marked as a stable winding layer; when the wire diameter change level is higher than or equal to the wire diameter change threshold, the winding layer is marked as an abnormal winding layer;
[0067] Step S44: Based on the abnormal winding layer, the wire diameter transformation characteristic data is processed by optimizing the coil winding trajectory data according to the tension feedback control strategy to obtain tension feedback control data;
[0068] Step S45: using the intelligent electromagnetic coil production device to perform real-time wire diameter consistency compensation control on the next turn layer of the coil through tension feedback control data, and collecting wire diameter compensation control effect to obtain wire diameter compensation effect data;
[0069] Step S46: performing multi-layer wire diameter consistency calculation according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index.
[0070] The present invention converts complex wire diameter change information into intuitive quantitative wire diameter change rate data through quantitative processing of wire diameter change trend data. Intrinsic mode analysis extracts the core features of wire diameter transformation from the quantitative wire diameter change rate data. These features reflect the essential mode of wire diameter change and help to deeply understand the inherent law of wire diameter change. By setting the wire diameter change threshold and performing Gaussian cumulative distribution calculation of the trend, the objective classification of wire diameter change level is achieved, the stable winding layer and the abnormal winding layer are distinguished, and the abnormal situation affecting product quality can be identified in time. Adjustments are made according to the causes of wire diameter change, such as controlling the wire diameter by changing the winding tension, which effectively suppresses the occurrence of wire diameter inconsistency and ensures the consistency and quality of the product. The intelligent electromagnetic coil production device is used to implement the tension feedback control strategy, and the real-time wire diameter consistency compensation control is implemented on the next turn layer of the coil, which significantly improves the self-adjustment ability of the production process and the efficiency of responding to abnormal situations. The multi-layer wire diameter consistency calculation based on the wire diameter compensation effect data provides a quantitative evaluation standard for the comprehensive quality of the entire electromagnetic coil, which can not only be used to instantly evaluate the control effect of the production process, but also promote the dual improvement of production efficiency and product quality.
[0071] Preferably, step S44 includes the following steps:
[0072] Step S441: performing preset trajectory deviation calculation on the wire diameter transformation characteristic data by optimizing the coil winding trajectory data to generate a winding trajectory deviation value;
[0073] Step S442: performing deviation time series analysis on the winding trajectory deviation value through a preset winding time window to obtain dynamic deviation time series characteristic data;
[0074] Step S443: Calculate the fuzzy membership based on the dynamic deviation time series feature data to obtain a deviation fuzzy feature matrix;
[0075] Step S444: using the tension sensor to obtain real-time tension monitoring data; performing fuzzy reasoning calculation on the real-time tension monitoring data through a preset tension fuzzy control rule library to generate fuzzy tension control data;
[0076] Step S445: Defuzzifying the deviation fuzzy feature matrix using the tension fuzzy control rule base based on the fuzzy tension control data to obtain precise tension adjustment amount sequence data;
[0077] Step S446: Adaptively adjust control parameters according to the precise tension adjustment amount sequence data to generate tension feedback control data.
[0078] The present invention reveals the difference between the actual winding process and the ideal trajectory by optimizing the combination of coil winding trajectory data and wire diameter transformation characteristic data, and enhances the pertinence of the control strategy. The introduction of the winding time window for time series analysis of the deviation value not only considers the immediate state of the deviation, but also considers the trend of the deviation over time, which helps to deeply understand the development pattern of the deviation. Complex nonlinear relationships can be simplified, and the application of fuzzy set theory improves the ability to process uncertain information and enhances the flexibility and robustness of control decisions. Through fuzzy reasoning calculation, real-time tension data is combined with a preset tension fuzzy control rule library to realize intelligent processing of tension control, which can respond to dynamic changes in the production process more quickly and accurately. The deviation fuzzy feature matrix is defuzzified and converted to obtain precise tension adjustment sequence data, and the decision results of fuzzy control are converted into actual executable control instructions, which improves the accuracy and execution efficiency of the control instructions and ensures accurate tension adjustment. The control parameters are adaptively adjusted according to the precise tension adjustment sequence data, directly guiding the production device to perform real-time tension control. The tension can be dynamically adjusted according to the real-time status of the coil winding, effectively controlling the wire diameter change, and ensuring the stability of the coil winding process and the consistency of product quality.
[0079] The present invention also provides an electromagnetic coil intelligent production control system, which executes the electromagnetic coil intelligent production control method as described above, and the electromagnetic coil intelligent production control system comprises:
[0080] The coil digitization module is used to identify the coil geometric features of the electromagnetic coil design drawing to obtain the coil topology data; perform key process parameter supplementation processing based on the coil topology data to obtain key coil process parameters; use the key coil process parameters to perform coil digitization processing on the coil topology data to generate a three-dimensional coil digital model;
[0081] The winding trajectory optimization module is used to perform coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; perform voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; perform adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data;
[0082] The intelligent manufacturing execution module is used to perform intelligent manufacturing execution using an intelligent electromagnetic coil production device based on optimized coil winding trajectory data, and to collect real-time coil winding images to generate real-time coil winding image data; predict the change trend of turn layer wire diameter according to the real-time coil winding image data to generate wire diameter change trend data;
[0083] The tension compensation control module is used to process the tension feedback control strategy according to the wire diameter change trend data to obtain the tension feedback control data; perform wire diameter consistency compensation control according to the tension feedback control data, and collect the wire diameter compensation control effect to obtain the wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index;
[0084] The coil quality evaluation module is used to score the electromagnetic coil quality according to the multi-layer wire diameter consistency index to obtain the electromagnetic coil quality score data. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Figure 1 A schematic diagram of the steps of an electromagnetic coil intelligent production control method and system of the present invention;
[0086] Figure 2 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0087] Figure 3 for Figure 1 Detailed implementation steps of step S4 in FIG.
[0088] 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
[0089] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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 technicians in this field without creative work are within the scope of protection of the present invention.
[0090] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0091] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0092] To achieve this, please refer to Figures 1 to 3 The present invention provides an electromagnetic coil intelligent production control method, comprising the following steps:
[0093] Step S1: performing coil geometric feature recognition on the electromagnetic coil design drawing to obtain coil topological structure data; performing key process parameter supplementation processing based on the coil topological structure data to obtain key coil process parameters; performing coil digitization processing on the coil topological structure data using the key coil process parameters to generate a three-dimensional coil digital model;
[0094] Step S2: performing coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; performing voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; performing adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data;
[0095] Step S3: Based on the optimized coil winding trajectory data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and real-time coil winding image acquisition is performed to generate real-time coil winding image data; the turn layer wire diameter change trend is predicted according to the real-time coil winding image data to generate wire diameter change trend data;
[0096] Step S4: Perform tension feedback control strategy processing according to the wire diameter change trend data to obtain tension feedback control data; perform wire diameter consistency compensation control according to the tension feedback control data, and collect wire diameter compensation control effect to obtain wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index;
[0097] Step S5: Performing electromagnetic coil quality scoring according to the multi-layer wire diameter consistency index to obtain electromagnetic coil quality scoring data.
[0098] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of an electromagnetic coil intelligent production control method of the present invention. In this embodiment, the electromagnetic coil intelligent production control method includes the following steps:
[0099] Step S1: performing coil geometric feature recognition on the electromagnetic coil design drawing to obtain coil topological structure data; performing key process parameter supplementation processing based on the coil topological structure data to obtain key coil process parameters; performing coil digitization processing on the coil topological structure data using the key coil process parameters to generate a three-dimensional coil digital model;
[0100] In an embodiment of the present invention, computer-aided design (CAD) software is used to identify geometric features of the electromagnetic coil design drawing. Through edge detection and shape analysis algorithms, geometric features such as the contour, cross-sectional shape, and number of turns of the coil are extracted to generate the topological structure data of the coil. Then, according to the design specifications and process requirements, key process parameters such as winding tension, wire diameter, and insulation grade are supplemented. Next, parametric modeling technology is used to integrate the topological structure data and process parameters to construct a three-dimensional digital model of the coil. For example, for a cylindrical coil, a three-dimensional solid model can be generated by rotation scanning, and information such as material properties and winding direction can be added.
[0101] Step S2: performing coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; performing voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; performing adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data;
[0102] In an embodiment of the present invention, a three-dimensional coil digital model is voxelized to discretize a continuous geometric body into a uniform cubic grid. Then, a graph theory algorithm is used to perform topological analysis on the voxelized model to generate a network structure that describes the coil winding path. Next, a shortest path algorithm is used to perform trajectory planning on the voxel network to obtain a preliminary coil winding trajectory. For example, for a multi-layer coil, the winding path of each layer can be planned first, and then the transition trajectory between layers can be determined. Subsequently, the preliminary trajectory is locally optimized and smoothed according to actual process constraints, such as minimum bending radius, obstacle avoidance, etc. The overall trajectory is globally optimized to obtain the optimal winding trajectory that meets various constraints.
[0103] Step S3: Based on the optimized coil winding trajectory data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and real-time coil winding image acquisition is performed to generate real-time coil winding image data; the turn layer wire diameter change trend is predicted according to the real-time coil winding image data to generate wire diameter change trend data;
[0104] In an embodiment of the present invention, the optimized coil winding trajectory data is input into an intelligent electromagnetic coil production device. The device is equipped with a high-precision servo motor and a tension control system, which can accurately execute complex three-dimensional winding trajectories. During the winding process, a high-speed camera is used to capture the coil forming image in real time to form an image sequence. Then, a computer vision algorithm is used to process the image sequence to extract the real-time change data of the wire diameter of each turn. Next, a time series analysis method, such as an autoregressive moving average (ARMA) model, is used to model and predict the wire diameter change data to obtain the wire diameter change trend for the next few turns. For example, it can be predicted that the coil wire diameter will increase slightly during the subsequent winding process.
[0105] Step S4: Perform tension feedback control strategy processing according to the wire diameter change trend data to obtain tension feedback control data; perform wire diameter consistency compensation control according to the tension feedback control data, and collect wire diameter compensation control effect to obtain wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index;
[0106] In an embodiment of the present invention, an adaptive tension feedback control strategy is designed based on the wire diameter change trend data. A fuzzy PID control algorithm is used to dynamically adjust the tension setting value based on the predicted wire diameter change trend. For example, when it is predicted that the wire diameter is about to increase, the tension is appropriately increased to suppress expansion. The tension adjustment instruction output by the controller is converted into a specific execution instruction through a digital signal processor (DSP), which drives the tension control device to adjust the winding tension in real time. For example, when it is detected that the diameter of a certain turn is too large, the system will immediately increase the tension to restore the wire diameter of the electromagnetic coil winding turn to normal.
[0107] Step S5: Performing electromagnetic coil quality scoring according to the multi-layer wire diameter consistency index to obtain electromagnetic coil quality scoring data.
[0108] In an embodiment of the present invention, a quality scoring strategy for electromagnetic coils is established based on the multi-layer wire diameter consistency index combined with other key quality parameters, such as insulation performance, resistance value, etc. The analytic hierarchy process (AHP) is used to determine the weights of various indicators and construct a comprehensive scoring function. For example, the wire diameter consistency index can be given a weight of 50%, the insulation performance can be given a weight of 30%, and the resistance value can be given a weight of 20%. The weighted sum is performed according to the weights to obtain the final quality score of the coil.
[0109] Preferably, step S1 comprises the following steps:
[0110] Step S11: performing image denoising preprocessing on the electromagnetic coil design drawing to generate a standard electromagnetic coil design drawing; extracting the original drawing annotations based on the standard electromagnetic coil design drawing to obtain the original drawing annotation data;
[0111] Step S12: performing multi-level drawing analysis based on the standard electromagnetic coil design drawing, and performing vector graphics analysis to generate coil vector structure data;
[0112] Step S13: performing coil geometric feature recognition on the coil vector structure data according to preset geometric constraint relationship rules to obtain coil topological structure data;
[0113] Step S14: performing graphic element annotation processing on the coil topology structure data through the original drawing annotation data, and establishing a mapping relationship between graphic elements and parameters to generate preliminary topology graphic element annotation data;
[0114] Step S15: performing key process parameter supplementation processing according to the preliminary topological element annotation data and the coil topological structure data to obtain key coil process parameters, wherein the key coil structure parameters include coil material attribute data, coil winding attribute data and coil electrical attribute data;
[0115] Step S16: using the coil topology data to perform coil digital processing on key coil structure parameters to generate a three-dimensional coil digital model.
[0116] In an embodiment of the present invention, an electromagnetic coil design image file is read using image processing software such as OpenCV. Then, a median filter algorithm is used to filter the image to remove noise points in the image. Next, an adaptive threshold segmentation algorithm is used to binarize the filtered image to generate a standard black and white binary image. The binary image is refined and smoothed by morphological operations such as opening and closing operations to obtain a standardized electromagnetic coil design drawing. On the basis of the standard electromagnetic coil design drawing, optical character recognition (OCR) technology is used to extract the text annotation information on the drawing to generate original drawing annotation data. An image segmentation algorithm such as the watershed algorithm is used to segment the image to separate the coil graphic from other elements. Then, the segmented coil graphic is vectorized, and a vector tracking algorithm such as the Potrace algorithm is used to convert the coil graphic into vector data, identify the various components of the coil, such as coil windings, leads, etc., and establish a topological relationship between them. According to pre-set geometric constraint rules, the coil vector structure data is analyzed. The geometric features of the coil windings, such as the coil diameter and the number of winding layers, are extracted. Then, according to the geometric features of the coil winding, combined with the preset constraint rules, such as the coil layer spacing, the curvature radius of the coil end, etc., the topological structure of the coil winding is identified. Next, the geometric features of the coil lead are analyzed, including the lead length, bending angle, etc., and the topological connection relationship between the lead and the coil winding is determined according to the positional relationship between the lead and the coil winding. The text information in the original drawing annotation data is preprocessed, such as removing irrelevant characters and standardizing the annotation format. Then, according to the pre-established annotation rules, the processed annotation information is matched and mapped with the corresponding primitives in the coil topological structure data. For example, the annotation "coil diameter: 10mm" is mapped to the corresponding coil winding primitive, and the mapping relationship between the primitive and the parameter is established to generate preliminary topological primitive annotation data. For example, according to the geometric dimensions of the coil winding, the coil process specification library is queried to supplement the winding method (manual winding or machine winding), winding tension and other parameters of the coil winding. At the same time, according to the length and bending angle of the coil lead, the parameters such as the forming method (stamping or bending) of the lead are supplemented. For some parameters that cannot be directly obtained from the drawings, such as the electrical properties of the coil, it is necessary to calculate based on the existing parameters or consult the database to obtain them. Perform three-dimensional digital modeling of the coil. First, based on the coil topology data, build the basic framework of the coil, including the three-dimensional geometry of the coil winding, the three-dimensional path of the lead, etc. Then, apply the coil material property data to the model, and assign corresponding material properties to different parts of the coil, such as conductor material, insulation material, etc. Next, based on the coil winding property data, simulate the coil winding process to generate an accurate winding model.
[0117] Preferably, step S15 comprises the following steps:
[0118] Step S151: Analyze the electrical performance of the target coil according to the preliminary topological element annotation data to generate coil electrical property data;
[0119] Step S152: extracting coil winding geometric parameters according to the coil topology data to generate coil winding geometric parameters, wherein the coil winding geometric parameters include coil wire diameter, coil outer diameter, coil inner diameter, and coil winding height or length;
[0120] Step S153: performing wire material property matching on the coil electrical property data and the coil winding geometric parameters through a preset material database to generate coil material property data;
[0121] Step S154: Calculate the number of coil layers according to the coil winding geometric parameters to generate coil layer data;
[0122] Step S155: using the coil material attribute data to estimate the number of coil turns for the coil winding geometric parameters, and generating coil turn estimation data; wherein the coil turn estimation is calculated by a coil turn estimation formula, and the coil turn estimation formula is as follows:
[0123]
[0124] Where N is the estimated number of coil turns, V is the volume of the coil winding area, and A w It is expressed as the cross-sectional area of a single wire diameter, π is the ratio of circumference to pi, D is the average winding diameter of the coil, d is the wire diameter, and α is the winding process coefficient;
[0125] Step S156: identifying the coil winding method of the coil topology data through the coil layer number data and the coil turn number estimation data, and generating coil winding method category data;
[0126] Step S157: integrating the coil winding method category data, the coil layer number data and the coil turn number estimation data into winding data to generate coil winding attribute data.
[0127] In an embodiment of the present invention, the preliminary topological element annotation data includes information such as coil voltage, current, and resistance extracted from the design drawings, indicating electrical performance indicators such as the inductance value and AC resistance of the coil at different operating frequencies. Determine the outer contour boundary of the coil winding and calculate the outer diameter of the coil. Then, identify the boundary of the center hole from the inside of the winding and calculate the inner diameter of the coil. Then, measure the height or length of the winding according to the three-dimensional shape of the winding. For the wire diameter parameter, it is necessary to obtain it from the original drawing annotation data or the material database. Match the appropriate wire material properties by querying the pre-established material database. The material database contains electrical, physical and mechanical performance parameters of various wire materials (such as copper, aluminum, etc.) under different specifications. First, according to the electrical requirements of the coil (such as operating frequency, current load, etc.), select the type of material that meets the electrical performance from the database. According to the outer diameter and inner diameter of the coil, calculate the average diameter of the coil winding. Then, divide the average diameter by the wire diameter (wire diameter) to obtain the theoretical number of coil turns. Then, divide the coil winding height or length by the wire diameter to obtain the theoretical number of layers. Extract the value of the wire diameter d from the coil material attribute data. Then, according to the coil winding geometric parameters, the value of the coil average winding diameter D is calculated. Next, the volume V of the coil winding area and the cross-sectional area A of a single wire are calculated. w Substitute into the formula. For the winding process coefficient α, an empirical value can be given according to the actual process level. In the estimation process, some special cases need to be considered. For example, when the coil is rectangular or other non-circular, the formula needs to be modified accordingly. According to the estimated data of the number of coil layers and turns, combined with the preset coil winding method rule library, the winding method of the coil can be identified. For example: if the number of layers is 1, the winding method is single-layer winding; if the number of layers is greater than 1 and the number of turns of each layer is equal, the winding method is multi-layer dense winding; if the number of layers is greater than 1 and the number of turns of each layer is not equal, the winding method is multi-layer random winding. The identified winding method category data is stored in the database, such as "single-layer winding", "multi-layer dense winding", "multi-layer random winding", etc. The coil layer data, coil turn estimation data and coil winding method category data are integrated to form complete coil winding attribute data.
[0128] Preferably, step S2 comprises the following steps:
[0129] Step S21: performing finite element meshing processing on the three-dimensional coil digital model to generate a finite element coil digital model;
[0130] Step S22: performing coil voxel winding network analysis according to the finite element coil digital model to generate voxel winding topological network data;
[0131] Step S23: performing a windability analysis on the voxel winding topology network data and performing voxel winding trajectory mapping to obtain preliminary coil winding trajectory data;
[0132] Step S24: Decomposing the winding path according to the preliminary coil winding trajectory data to generate a coil winding sub-path set;
[0133] Step S25: performing path conflict detection on the coil winding sub-path set to obtain winding conflict sub-path data;
[0134] Step S26: Based on the preset magnetic field uniformity distribution strategy, the finite element coil digital model is used to perform magnetic field constraint analysis on the preliminary coil winding trajectory data, and finite element magnetic field distribution simulation calculation is performed to generate coil magnetic field constraint simulation data;
[0135] Step S27: Identify the magnetic field inhomogeneity region according to the coil magnetic field constraint simulation data, and perform adaptive winding trajectory adjustment on the preliminary coil winding trajectory data through the winding conflict sub-path data to obtain optimized coil winding trajectory data.
[0136] In an embodiment of the present invention, according to the complexity of the coil structure and the simulation accuracy requirements, a suitable grid size and type are set to mesh the coil model. For example, for a coil area with a regular shape, a regular hexahedral grid can be used; for a coil area with a complex shape, a more adaptable tetrahedral grid can be used. In the meshing process, it is necessary to pay attention to appropriate mesh encryption of some key areas (such as coil windings, lead bends, etc.) to ensure the calculation accuracy. Determine the boundary of the coil winding area and divide it into small voxels (three-dimensional pixels). Each voxel represents a tiny spatial unit of the coil winding, and can store attribute information related to it, such as whether it can be wound, the winding layer it belongs to, etc. Then, according to the topological structure of the coil, analyze the connectivity relationship between each voxel and other voxels, and establish a topological network between voxels. For example, a graph data structure in graph theory can be used to represent a voxel winding topological network, in which voxels are used as nodes and the connection relationship between adjacent voxels is used as edges. According to preset winding rules, such as the minimum radius of curvature, the minimum interlayer spacing, etc., mark the voxels that cannot be wound in the topological network. Then, based on the windable voxels, a preliminary winding path is constructed, that is, the starting point, end point and path of the winding in the voxel network are determined. In the process of path construction, the topological constraints of the coil need to be considered, such as avoiding the non-windable area and meeting the layer spacing requirements. For example, voxels with too narrow space or too small bending radius. According to the preset winding strategy, such as the shortest path, uniform distribution, etc., the winding path that meets the requirements is searched in the windable voxel network, and the winding path is mapped to the actual three-dimensional space coordinate system to generate preliminary coil winding trajectory data. According to the coil winding process requirements, such as winding machine reversing, broken wire connection and other operations, the preliminary coil winding trajectory data is decomposed into multiple continuous executable sub-paths. For example, the winding path can be divided according to the change point of the winding direction or the change point of the number of winding layers, and each sub-path represents an independent winding action. All coil winding sub-paths are compared pairwise to detect whether there are conflicts such as path intersection and collision. For example, the minimum distance between two sub-paths can be calculated to determine whether it is less than the preset safety distance threshold. The conflicting sub-path pairs are recorded to form winding conflict sub-path data. For example, the maximum deviation and gradient of the magnetic field strength in the target area can be set. The preliminary coil winding trajectory data is imported into the finite element analysis software, and the magnetic field distribution simulation calculation is performed in combination with the finite element coil digital model. For example, the finite element method can be used to solve the Maxwell equations to obtain parameters such as the magnetic field intensity and magnetic induction intensity in the space around the coil. According to the preset magnetic field uniformity distribution strategy, the coil magnetic field constraint simulation data is analyzed to identify areas of magnetic field inhomogeneity, such as areas where the magnetic field intensity deviation is too large or the gradient is too high. Combined with the winding conflict sub-path data, the preliminary coil winding trajectory data is adjusted to improve the magnetic field uniformity.For example, the order, direction, shape and other parameters of the winding conflict sub-paths can be adjusted to avoid magnetic field sensitive areas, or the winding density can be increased to enhance the local magnetic field strength. Finally, the optimized coil winding trajectory data is obtained. For example, the winding order of one of the sub-paths is advanced so that it is wound before the other sub-path to avoid the coil winding density in this area being too low; the winding direction of one of the sub-paths is reversed to use the opposite magnetic field generated by the current to enhance the magnetic field strength in this area; the shape of one of the sub-paths is fine-tuned, such as increasing the number of winding turns or changing the curvature of the winding path to increase the winding density in this area.
[0137] Preferably, step S22 includes the following steps:
[0138] Step S221: constructing a four-dimensional voxel space for the finite element coil digital model to generate a coil four-dimensional voxel space, wherein three spatial dimensions in the coil four-dimensional voxel space correspond to the length, width and height of the collar, and the fourth dimension corresponds to the number of layers of the coil winding;
[0139] Step S222: performing tensor element initialization processing according to the coil four-dimensional voxel space to generate an initialized four-dimensional tensor value;
[0140] Step S223: marking the voxel occupancy of the coil four-dimensional voxel space by initializing the four-dimensional tensor value to generate coil occupied voxel data, wherein for each voxel, it is determined whether its center point is within the geometric range of the layer. If so, the tensor value of the voxel space is iteratively updated to 1, indicating that it is occupied, otherwise the tensor value of the voxel space remains unchanged;
[0141] Step S224: Based on the coil occupied voxel data, a breadth-first search algorithm is used to perform connected domain component analysis on the coil four-dimensional voxel space to generate coil voxel connected domain data;
[0142] Step S225: performing overlapping analysis of adjacent layers according to the coil voxel connected domain data to obtain a directed acyclic graph of the voxel connected layer;
[0143] Step S226: performing discrete time series calculation on the voxel connected layer directed acyclic graph at a preset winding speed, and assigning a timestamp step size to generate voxel winding topological network data.
[0144] In an embodiment of the present invention, a four-dimensional voxel space is constructed. The first three dimensions correspond to the length, width and height of the coil, and the three-dimensional geometric space of the coil is divided into a large number of small cubes, namely three-dimensional voxels. The fourth dimension corresponds to the number of winding layers of the coil, that is, each layer of winding is further subdivided into multiple two-dimensional layers along the height direction. Through this four-dimensional voxel discretization, the topological structure of the coil winding can be accurately described. Create a four-dimensional tensor with the same size as the four-dimensional voxel space of the coil to store the occupancy status information of each voxel. In the initial state, the values of all tensor elements are set to 0, indicating that all voxels are not occupied. Traverse each voxel in the four-dimensional voxel space of the coil. For each voxel, determine whether its center point is within the geometric range of the coil of the layer (l) according to its four-dimensional coordinates (x, y, z, l). The judgment method can be selected according to the shape of the coil, for example: for a circular coil, calculate the distance from the center point of the voxel to the center of the coil to determine whether it is less than or equal to the radius of the coil. For a rectangular coil, determine whether the x and y coordinates of the center point of the voxel are within the boundary range of the coil. If the center point of the voxel is within the geometric range of the coil of this layer, the value of the tensor element corresponding to the voxel is updated to 1, indicating that the voxel is occupied by the coil; otherwise, the value of the tensor element is kept as 0. The coil occupied voxel data is used as input, and the breadth-first search algorithm (BFS) is used to perform a connected domain analysis on the four-dimensional voxel space. Starting from any occupied voxel, search its six adjacent voxels (up, down, left, right, front, and back). If the adjacent voxel is also occupied, add it to the current connected domain and continue to search its adjacent voxels until all adjacent voxels are searched. Mark all the searched voxels as the same connected domain, and record the number of the connected domain, the number of voxels contained, and other information. Repeat the above steps until all occupied voxels are marked in the corresponding connected domain. Traverse all the connected domains of coil voxels and analyze the overlapping relationship between adjacent layers. If there are overlapping voxels between two connected domains belonging to different layers, a directed edge is established between the two connected domains, with the direction from the connected domain with a lower layer to the connected domain with a higher layer. Finally, a voxel connected layer directed acyclic graph (DAG) is obtained, in which nodes represent connected domains of different layers, and directed edges represent the winding order relationship between layers. The graph is discretely calculated at the preset winding speed, and a reasonable timestamp step value is assigned to each node (connected domain). First, the starting connected domain of the coil winding is determined, and its timestamp is set to the initial value (such as 0). Then, according to the preset winding speed, the time increment required to wind from the starting connected domain to the adjacent connected domain is calculated. This increment value is assigned to the directed edge between the starting point and the adjacent connected domain. By traversing all edges and gradually accumulating the time increment, the theoretical timestamp value of each connected domain can be obtained. The calculated timestamp step value is assigned to the corresponding connected domain, and together with the spatial position information of the connected domain, it constitutes a complete voxel winding topological network data.
[0145] Preferably, step S3 comprises the following steps:
[0146] Step S31: using the three-dimensional coil digital model to calibrate the control path points of the optimized coil winding trajectory data to generate winding path control point data;
[0147] Step S32: performing path point type identification on the winding path control point data to generate winding path point type data, wherein the winding path point type data includes a starting point, an end point, a turning point, an intersection point, and a smoothing point;
[0148] Step S33: encoding the optimized coil winding trajectory data with processing control instructions through the winding path point type data, and distributing the servo control instructions to obtain coil servo control instruction data;
[0149] Step S34: Based on the coil servo control instruction data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and a high-speed industrial camera is used to collect real-time coil winding images to generate real-time coil winding image data;
[0150] Step S35: predicting the change trend of the wire diameter of the turn layer according to the real-time coil winding image data, and generating wire diameter change trend data.
[0151] As an example of the present invention, refer to Figure 2 As shown, Figure 1 Detailed implementation steps of step S3 in the flowchart, in this example, step S3 includes:
[0152] Step S31: using the three-dimensional coil digital model to calibrate the control path points of the optimized coil winding trajectory data to generate winding path control point data;
[0153] In the embodiment of the present invention, in the three-dimensional coil digital model, the optimized coil winding trajectory data is sampled according to the preset control accuracy and the winding machine motion characteristics, and a series of key control path points are extracted. For example, different sampling intervals can be set according to the curvature change of the trajectory, the change in the number of winding layers, the change in speed, and other characteristics. In areas with large curvature, changes in the number of layers, or changes in speed, a denser sampling interval is used to ensure winding accuracy. Each control path point contains information such as three-dimensional coordinates, winding speed, winding direction, etc., forming winding path control point data.
[0154] Step S32: performing path point type identification on the winding path control point data to generate winding path point type data, wherein the winding path point type data includes a starting point, an end point, a turning point, an intersection point, and a smoothing point;
[0155] In an embodiment of the present invention, the control point data of the winding path is analyzed according to the geometric features and motion features of the control path points in the winding trajectory, and different types of path points are identified. For example, the starting point: the starting point of the winding trajectory, corresponding to the first control point where the winding machine starts winding; the ending point: the end point of the winding trajectory, corresponding to the last control point where the winding machine completes winding; the turning point: the point where the direction of the winding trajectory changes, such as from horizontal winding to vertical winding; the intersection point: the point where different layers of winding trajectories intersect, which requires avoidance or crossing processing; the smooth point: the point on the winding trajectory where the curvature changes less, and continuous motion control can be used. For each control path point, according to its position on the trajectory, the distribution of adjacent points, etc., the pre-set recognition rules are applied to perform type judgment and marking, such as adjacent points are too close, the trajectory has self-intersection, etc., to ensure the accuracy of recognition.
[0156] Step S33: encoding the optimized coil winding trajectory data with processing control instructions through the winding path point type data, and distributing the servo control instructions to obtain coil servo control instruction data;
[0157] In an embodiment of the present invention, corresponding motion control instructions are determined according to different types of control path points, such as linear interpolation, circular interpolation, precise positioning, etc. Then, these control instructions are encoded in the order of trajectory points to generate a series of machining program codes. Starting point: Use the G00 rapid positioning instruction to move the winding head to the starting point position; End point: Use the M30 program end instruction to stop the winding machine; Turning point: Use the G01 linear interpolation instruction to control the winding head to change direction; Intersection point: According to the specific situation of the intersection, use the G01 instruction to avoid, or use the G04 pause instruction to cross over; Smoothing point: Use the G01 instruction to control the winding head for continuous winding. The generated machining control instruction codes are sorted in chronological order, and corresponding servo control parameters are added, such as acceleration and deceleration control, position feedback control, etc., to form complete coil servo control instruction data.
[0158] Step S34: Based on the coil servo control instruction data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and a high-speed industrial camera is used to collect real-time coil winding images to generate real-time coil winding image data;
[0159] In an embodiment of the present invention, the intelligent electromagnetic coil production device receives coil servo control instruction data and drives the winding machine to perform winding operations according to the instructions. At the same time, a high-speed industrial camera shoots the winding process in real time at a preset frame rate, and transmits the collected image data to an image processing system to form real-time coil winding image data. For example, four 20-megapixel linear array CCD industrial cameras are used, which are installed at four angles of the top, bottom, left, and right of the coil winding machine to ensure that clear images of the coil winding area can be captured. The camera acquisition rate needs to be high enough to capture the dynamic process of coil winding.
[0160] Step S35: predicting the change trend of the wire diameter of the turn layer according to the real-time coil winding image data, and generating wire diameter change trend data.
[0161] In an embodiment of the present invention, the image is preprocessed, such as denoising, enhancement, etc., to improve the image quality. Then, edge detection, image segmentation and other algorithms are applied to accurately extract the coil winding area from the image. Next, pattern recognition technology is used to identify and measure the size of the wire diameter in the extracted winding area. By tracking and analyzing the changing trend of the wire diameter size in continuous image frames, the change of the wire diameter in the future period of time can be predicted. For example, algorithms such as image edge detection and circular fitting can be used to identify the outline of the coil and calculate the diameter of the coil. Based on multiple frames of image data, the changing trend of the coil diameter over time or the number of winding layers is analyzed, such as linear growth, exponential growth, etc., and the diameter change trend of the next few turns of the coil is predicted to generate wire diameter change trend data.
[0162] Preferably, step S35 includes the following steps:
[0163] Step S351: using an edge detection operator to perform real-time winding layer edge detection on the real-time coil winding image data, and performing dynamic edge pixel focusing to generate winding layer edge mask data;
[0164] Step S352: performing pixel-level motion estimation of edges of adjacent frames according to the winding layer edge mask data, and performing continuous frame displacement vector superposition to obtain real-time winding layer edge trajectory data;
[0165] Step S353: performing sub-pixel edge positioning processing on the real-time winding coil edge trajectory data to generate a high-precision coil edge coordinate set;
[0166] Step S354: performing time-series multi-frame image fitting based on the high-precision circle edge coordinate set to obtain dynamic line diameter curve fitting data;
[0167] Step S355: performing spectrum analysis on the dynamic line diameter curve fitting data to generate line diameter fluctuation characteristic vector data;
[0168] Step S356: Based on the preset different wire winding fluctuation data and the corresponding future wire diameter change trend label data, a transfer learning process is performed using a long short-term memory network model to obtain a wire diameter prediction model;
[0169] Step S357: transmitting the wire diameter fluctuation characteristic vector data to the wire diameter prediction model to predict the wire diameter change trend of the next turn layer, and generating wire diameter change trend data.
[0170] In the embodiment of the present invention, the original image is subjected to Gaussian filtering for denoising, and then the amplitude and direction of the image gradient are calculated, the gradient amplitude is subjected to non-maximum suppression, and finally the final edge pixel set is obtained by double threshold detection and edge connection. In the detection process, it is necessary to adjust the parameters of the operator, such as Gaussian kernel size, threshold, etc., according to the characteristics of the coil winding image to obtain the best effect. For example, the Lucas-Kanade optical flow method can be used, combined with the pyramid multi-scale strategy and Gaussian filtering, to achieve accurate estimation of the small movement of the coil edge. The displacement vectors of consecutive frames are superimposed to obtain the motion trajectory of each edge pixel in the time series, forming real-time winding coil edge trajectory data. For example, a sub-pixel edge positioning method based on grayscale moment can be used to achieve sub-pixel accurate positioning of the edge position by calculating the grayscale moment information in the neighborhood of the edge pixel. Finally, the sub-pixel coordinates of the coil edge at each moment are obtained to form a high-precision coil edge coordinate set. For example, the least squares method or spline interpolation method can be used to fit the edge coordinate points to obtain a function expression of the coil edge. Through this function, the geometric parameters such as the diameter and circumference of the coil at any time can be calculated to form dynamic wire diameter curve fitting data. For example, the wire diameter data sequence can be decomposed into a superposition of sine waves of different frequencies, and the amplitude and phase of each frequency component can be analyzed. The extracted frequency domain feature parameters are combined into a vector form to form wire diameter fluctuation feature vector data. The preset different wire winding fluctuation data are collected, including the wire diameter fluctuation in the actual winding process under various process parameters. Then, these fluctuation data are paired with the corresponding future wire diameter change trend label data as the training data set of the model. For example, the wire diameter change trend can be divided into stable, thickening, thinning and other categories, and the corresponding category label is annotated for each data sample. Next, the long short-term memory network (LSTM) is selected as the model architecture, and the LSTM model is pre-trained on a large amount of wire diameter fluctuation training data using the transfer learning method to obtain the initial wire diameter prediction model. The model will output the prediction result of the wire diameter change trend of the next turn layer based on the input feature vector, for example, predicting that the wire diameter will become thicker, thinner or remain stable, and give the confidence of each prediction result. Integrate the prediction results and confidence information to generate wire diameter change trend data.
[0171] Preferably, step S4 comprises the following steps:
[0172] Step S41: performing a quantitative process on the wire diameter trend according to the wire diameter change trend data to generate quantitative wire diameter change rate data;
[0173] Step S42: performing an eigenmode analysis on the quantized line diameter change rate data to obtain line diameter transformation characteristic data;
[0174] Step S43: performing trend Gaussian cumulative distribution calculation on the wire diameter transformation feature data through a preset wire diameter change threshold, and performing wire diameter change level judgment. When the wire diameter change level is lower than the wire diameter change threshold, the winding layer is marked as a stable winding layer; when the wire diameter change level is higher than or equal to the wire diameter change threshold, the winding layer is marked as an abnormal winding layer;
[0175] Step S44: Based on the abnormal winding layer, the wire diameter transformation characteristic data is processed by optimizing the coil winding trajectory data according to the tension feedback control strategy to obtain tension feedback control data;
[0176] Step S45: using the intelligent electromagnetic coil production device to perform real-time wire diameter consistency compensation control on the next turn layer of the coil through tension feedback control data, and collecting wire diameter compensation control effect to obtain wire diameter compensation effect data;
[0177] Step S46: performing multi-layer wire diameter consistency calculation according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index.
[0178] As an example of the present invention, refer to Figure 3 As shown, Figure 1 Detailed implementation steps of step S4 in the embodiment are shown in the flowchart. In this embodiment, step S4 includes:
[0179] Step S41: performing wire diameter trend quantification processing according to the wire diameter change trend data to generate quantified wire diameter change rate data;
[0180] Step S42: performing an eigenmode analysis on the quantized line diameter change rate data to obtain line diameter transformation characteristic data;
[0181] Step S43: performing trend Gaussian cumulative distribution calculation on the wire diameter transformation feature data through a preset wire diameter change threshold, and performing wire diameter change level judgment. When the wire diameter change level is lower than the wire diameter change threshold, the winding layer is marked as a stable winding layer; when the wire diameter change level is higher than or equal to the wire diameter change threshold, the winding layer is marked as an abnormal winding layer;
[0182] Step S44: Based on the abnormal winding layer, the wire diameter transformation characteristic data is processed by optimizing the coil winding trajectory data according to the tension feedback control strategy to obtain tension feedback control data;
[0183] Step S45: using the intelligent electromagnetic coil production device to perform real-time wire diameter consistency compensation control on the next turn layer of the coil through tension feedback control data, and collecting wire diameter compensation control effect to obtain wire diameter compensation effect data;
[0184] Step S46: performing multi-layer wire diameter consistency calculation according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index.
[0185] As an example of the present invention, refer to Figure 2 As shown, Figure 1 Detailed implementation steps of step S4 in the embodiment are shown in the flowchart. In this embodiment, step S4 includes:
[0186] Step S41: performing wire diameter trend quantification processing according to the wire diameter change trend data to generate quantified wire diameter change rate data;
[0187] In an embodiment of the present invention, first, a quantization level of the wire diameter change rate is set, such as 5% as a quantization level. Then, the wire diameter change trend data is segmented to calculate the wire diameter change rate in each time period. The calculated change rate value is mapped to the preset quantization level to obtain the quantized wire diameter change rate of the time period. For example, the predicted diameter value of the coil for the next few turns is compared with the current coil diameter to calculate the wire diameter change rate. The wire diameter change rate can be quantized, for example, it is divided into several levels, such as: rapid thickening: the wire diameter change rate is greater than the preset threshold A; slow thickening: the wire diameter change rate is between the preset threshold B and A; basically stable: the wire diameter change rate is between the preset threshold C and B; slow thinning: the wire diameter change rate is between the preset threshold D and C; rapid thinning: the wire diameter change rate is less than the preset threshold D.
[0188] Step S42: performing an eigenmode analysis on the quantized line diameter change rate data to obtain line diameter transformation characteristic data;
[0189] In an embodiment of the present invention, for example, the quantized wire diameter change rate data of a multi-turn coil can be constructed into a data matrix, and the covariance matrix of the quantized wire diameter change rate data can be constructed. Then, the covariance matrix is subjected to eigenvalue decomposition to obtain a series of eigenvalues and corresponding eigenvectors. These eigenvalues reflect the importance of each mode in the data, while the eigenvectors describe the specific form of each mode. For example, the quantized wire diameter change rate data of a multi-turn coil can be constructed into a data matrix, and then the matrix is subjected to singular value decomposition to obtain eigenvalues and eigenvectors. The first few eigenvectors with a larger contribution rate are selected as wire diameter transformation feature data, which are used to characterize the main trends and patterns of wire diameter changes.
[0190] Step S43: performing trend Gaussian cumulative distribution calculation on the wire diameter transformation feature data through a preset wire diameter change threshold, and performing wire diameter change level judgment. When the wire diameter change level is lower than the wire diameter change threshold, the winding layer is marked as a stable winding layer; when the wire diameter change level is higher than or equal to the wire diameter change threshold, the winding layer is marked as an abnormal winding layer;
[0191] In an embodiment of the present invention, the wire diameter change level of the current winding coil layer is judged. First, according to the wire diameter transformation characteristic data, the Gaussian cumulative distribution function value of the wire diameter change of the coil layer is calculated. The function value reflects the degree of deviation of the wire diameter change amplitude relative to the normal distribution. Then, the function value is compared with the preset wire diameter change threshold. If the function value is lower than the threshold, the current winding coil layer is marked as a stable winding coil layer, indicating that its wire diameter change is within a controllable range. On the contrary, if the function value is higher than or equal to the threshold, the current coil layer is marked as an abnormal winding coil layer, and the winding parameters need to be compensated and adjusted. For example, the wire diameter change level can be divided into three levels: slight, medium, and severe according to factors such as the amplitude, speed, and duration of the wire diameter change. If the calculated wire diameter change level is lower than the preset threshold, it is considered that the wire diameter change of the winding coil layer is within a controllable range, and it is marked as a stable winding coil layer; on the contrary, it is considered that the wire diameter change of the winding coil layer affects the coil performance, and it is marked as an abnormal winding coil layer.
[0192] Step S44: Based on the abnormal winding layer, the wire diameter transformation characteristic data is processed by optimizing the coil winding trajectory data according to the tension feedback control strategy to obtain tension feedback control data;
[0193] In an embodiment of the present invention, the selected control strategy is applied to the optimized coil winding trajectory data, the trajectory of the abnormal winding layer is compensated and adjusted, and the tension feedback control data is generated. For example, if the abnormal cause is excessive wire feeding tension, a buffer section can be added to the trajectory of the abnormal layer to reduce the local feed speed, thereby reducing the tension; if the abnormal cause is temperature change, the winding sequence around the abnormal layer can be adjusted to avoid temperature accumulation. The coil winding trajectory data is optimized for adjustment, and tension feedback control data is generated. For example: if the wire diameter change trend is getting thicker, the winding tension can be reduced, or the winding speed can be increased. If the wire diameter change trend is getting thinner, the winding tension can be increased, or the winding speed can be reduced. The tension feedback control strategy can be adjusted according to the specific wire diameter change and control objectives, such as PID control, fuzzy control, etc. The tension feedback control data contains information such as the adjusted winding tension and winding speed.
[0194] Step S45: using the intelligent electromagnetic coil production device to perform real-time wire diameter consistency compensation control on the next turn layer of the coil through tension feedback control data, and collecting wire diameter compensation control effect to obtain wire diameter compensation effect data;
[0195] In the embodiment of the present invention, after receiving the tension feedback control data, the intelligent electromagnetic coil production device adjusts the tension control system and speed control system of the winding machine in real time to wind the next turn layer of the coil. At the same time, the high-speed industrial camera continues to collect image data of the winding process and transmits it to the image processing system. The image processing system calculates the change in wire diameter after wire diameter compensation based on the real-time image data, such as the wire diameter change rate, wire diameter deviation, etc., to form wire diameter compensation effect data.
[0196] Step S46: performing multi-layer wire diameter consistency calculation according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index.
[0197] In an embodiment of the present invention, the wire diameter difference between different layers of the same coil is calculated to obtain the inter-layer wire diameter deviation value. Taking into account the presence of certain noise in the wire diameter measurement, the deviation value can be statistically filtered, such as median filtering, to eliminate the influence of wild values. Further calculate the mean, variance, range and other statistics of the wire diameter deviation values of all layers to construct an evaluation index that comprehensively describes the wire diameter consistency. The wire diameter consistency index is converted into a multi-layer wire diameter consistency index between 0 and 1, and the higher the index, the better the wire diameter consistency. For example, the multi-layer wire diameter consistency index can be calculated using the following formula: consistency index = 1-(wire diameter standard deviation / average wire diameter).
[0198] Preferably, step S44 includes the following steps:
[0199] Step S441: performing preset trajectory deviation calculation on the wire diameter transformation characteristic data by optimizing the coil winding trajectory data to generate a winding trajectory deviation value;
[0200] Step S442: performing deviation time series analysis on the winding trajectory deviation value through a preset winding time window to obtain dynamic deviation time series characteristic data;
[0201] Step S443: Calculate the fuzzy membership based on the dynamic deviation time series feature data to obtain a deviation fuzzy feature matrix;
[0202] Step S444: using the tension sensor to obtain real-time tension monitoring data; performing fuzzy reasoning calculation on the real-time tension monitoring data through a preset tension fuzzy control rule library to generate fuzzy tension control data;
[0203] Step S445: Defuzzifying the deviation fuzzy feature matrix using the tension fuzzy control rule library based on the fuzzy tension control data to obtain precise tension adjustment amount sequence data;
[0204] Step S446: Adaptively adjust control parameters according to the precise tension adjustment amount sequence data to generate tension feedback control data.
[0205] In an embodiment of the present invention, the deviation value between the actual winding trajectory and the expected trajectory is calculated according to a pre-set wire diameter-trajectory mapping relationship. For example, the wire diameter change can be mapped to the adjustment amount of the winding radius, and the thicker the wire diameter, the larger the winding radius, and the thinner the wire diameter, the smaller the winding radius. According to the size of the wire diameter change, the corresponding winding radius adjustment amount is calculated, which is the winding trajectory deviation value. A winding time window is set, for example, including the trajectory deviation values of the past 5 winding cycles. The trajectory deviation value of the current winding cycle is combined with the historical deviation value in the time window to form dynamic deviation time series feature data. For example, a sliding window method can be used to form a 5-dimensional vector with the trajectory deviation value of each time point and the deviation values of the previous 4 time points as the dynamic deviation time series feature data of the time point. According to the pre-set fuzzy rules, the dynamic deviation time series feature data is fuzzified, and the membership of each feature value to different fuzzy sets is calculated. For example, the trajectory deviation value can be divided into five fuzzy sets of "negative large", "negative small", "zero", "positive small", and "positive large", and the membership of each eigenvalue to each fuzzy set can be calculated using a triangular membership function or a Gaussian membership function. The membership of all eigenvalues is combined into a matrix form to obtain a deviation fuzzy feature matrix. The tension sensor installed on the winding machine is used to monitor the tension changes in the winding process in real time, and the data is transmitted to the control system. A tension fuzzy control rule base is established in advance, and the membership of the tension value to each fuzzy set is calculated based on the real-time tension monitoring data and the preset tension fuzzy sets, such as "too small", "moderate", and "too large". Then, the tension fuzzy control rule base is inferred and calculated using a fuzzy reasoning mechanism, such as Mamdani reasoning or Sugeno reasoning, to obtain fuzzy tension control data, such as "reduce tension", "keep tension unchanged", "increase tension", etc. For example, the rules in the fuzzy tension control rule base can be weighted averaged according to the membership of each fuzzy set in the deviation fuzzy feature matrix to obtain the final tension adjustment amount. In order to achieve more precise control, the tension adjustment can be set as a sequence, for example, including the tension adjustment values for the next five winding cycles, to achieve dynamic compensation for changes in wire diameter. For example, the tension adjustment sequence data can be input into the PID controller, and the parameters of the PID controller, such as the proportional coefficient, integral time, differential time, etc., can be automatically adjusted according to the error signal to achieve fast and accurate compensation for changes in wire diameter. Finally, tension feedback control data containing information such as the adjusted winding tension and winding speed is generated to guide the winding machine to perform the next stage of winding operations.
[0206] The present invention also provides an electromagnetic coil intelligent production control system, which executes the electromagnetic coil intelligent production control method as described above, and the electromagnetic coil intelligent production control system comprises:
[0207] The coil digitization module is used to identify the coil geometric features of the electromagnetic coil design drawing to obtain the coil topology data; perform key process parameter supplementation processing based on the coil topology data to obtain key coil process parameters; use the key coil process parameters to perform coil digitization processing on the coil topology data to generate a three-dimensional coil digital model;
[0208] The winding trajectory optimization module is used to perform coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; perform voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; perform adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data;
[0209] The intelligent manufacturing execution module is used to perform intelligent manufacturing execution using an intelligent electromagnetic coil production device based on optimized coil winding trajectory data, and to collect real-time coil winding images to generate real-time coil winding image data; predict the change trend of turn layer wire diameter according to the real-time coil winding image data to generate wire diameter change trend data;
[0210] The tension compensation control module is used to process the tension feedback control strategy according to the wire diameter change trend data to obtain the tension feedback control data; perform wire diameter consistency compensation control according to the tension feedback control data, and collect the wire diameter compensation control effect to obtain the wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index;
[0211] The coil quality evaluation module is used to score the electromagnetic coil quality according to the multi-layer wire diameter consistency index to obtain the electromagnetic coil quality score data.
[0212] The beneficial effect of this application is that it is crucial to accurately identify and control the geometric features, dimensions and wiring topology of the electromagnetic coil through digital processing and three-dimensional modeling. According to the actual structural characteristics of the coil, key process parameters such as wire diameter and winding tension are supplemented, and the coil topology data is digitally processed, which optimizes the winding path planning, improves the accuracy and feasibility of winding, and effectively solves the performance fluctuation problem caused by uneven wire diameter. By real-time monitoring and automatic adjustment of winding tension, the consistency of wire diameter is ensured, which significantly improves the stability and performance consistency of electromagnetic coil production.
[0213] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0214] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. An intelligent production control method for electromagnetic coils, characterized in that: The following steps are involved: Step S1: performing coil geometric feature recognition on the electromagnetic coil design drawing to obtain coil topological structure data; Perform key process parameter supplementation processing based on coil topology data to obtain key coil process parameters; perform coil digitization processing on coil topology data using key coil process parameters to generate a three-dimensional coil digital model; Step S2: performing coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; performing voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; performing adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data; Step S3: Based on the optimized coil winding trajectory data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and real-time coil winding image acquisition is performed to generate real-time coil winding image data; the turn layer wire diameter change trend is predicted according to the real-time coil winding image data to generate wire diameter change trend data; Step S4: Perform tension feedback control strategy processing according to the wire diameter change trend data to obtain tension feedback control data; Perform wire diameter consistency compensation control based on tension feedback control data, collect wire diameter compensation control effects, and obtain wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis based on wire diameter compensation effect data, and generate a multi-layer wire diameter consistency index; Step S5: Performing electromagnetic coil quality scoring according to the multi-layer wire diameter consistency index to obtain electromagnetic coil quality scoring data.
2. The electromagnetic coil intelligent production control method according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: performing image denoising preprocessing on the electromagnetic coil design drawing to generate a standard electromagnetic coil design drawing; extracting the original drawing annotations based on the standard electromagnetic coil design drawing to obtain the original drawing annotation data; Step S12: performing multi-level drawing analysis based on the standard electromagnetic coil design drawing, and performing vector graphics analysis to generate coil vector structure data; Step S13: performing coil geometric feature recognition on the coil vector structure data according to preset geometric constraint relationship rules to obtain coil topological structure data; Step S14: performing graphic element annotation processing on the coil topology structure data through the original drawing annotation data, and establishing a mapping relationship between graphic elements and parameters to generate preliminary topology graphic element annotation data; Step S15: performing key process parameter supplementation processing according to the preliminary topological element annotation data and the coil topological structure data to obtain key coil process parameters, wherein the key coil structure parameters include coil material attribute data, coil winding attribute data and coil electrical attribute data; Step S16: using the coil topology data to perform coil digital processing on key coil structure parameters to generate a three-dimensional coil digital model.
3. The electromagnetic coil intelligent production control method according to claim 2 is characterized in that: Step S15 includes the following steps: Step S151: Analyze the electrical performance of the target coil according to the preliminary topological element annotation data to generate coil electrical property data; Step S152: extracting coil winding geometric parameters according to the coil topology data to generate coil winding geometric parameters, wherein the coil winding geometric parameters include coil wire diameter, coil outer diameter, coil inner diameter, and coil winding height or length; Step S153: performing wire material property matching on the coil electrical property data and the coil winding geometric parameters through a preset material database to generate coil material property data; Step S154: Calculate the number of coil layers according to the coil winding geometric parameters to generate coil layer data; Step S155: using the coil material attribute data to estimate the number of coil turns for the coil winding geometric parameters, and generating coil turn estimation data; wherein the coil turn estimation is calculated by a coil turn estimation formula, and the coil turn estimation formula is as follows: Where N is the estimated number of coil turns, V is the volume of the coil winding area, and A w It is expressed as the cross-sectional area of a single wire diameter, π is the ratio of circumference to pi, D is the average winding diameter of the coil, d is the wire diameter, and α is the winding process coefficient; Step S156: identifying the coil winding method of the coil topology data through the coil layer number data and the coil turn number estimation data, and generating coil winding method category data; Step S157: integrating the coil winding method category data, the coil layer number data and the coil turn number estimation data into winding data to generate coil winding attribute data.
4. The electromagnetic coil intelligent production control method according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: performing finite element meshing processing on the three-dimensional coil digital model to generate a finite element coil digital model; Step S22: performing coil voxel winding network analysis according to the finite element coil digital model to generate voxel winding topological network data; Step S23: performing a windability analysis on the voxel winding topology network data and performing voxel winding trajectory mapping to obtain preliminary coil winding trajectory data; Step S24: Decomposing the winding path according to the preliminary coil winding trajectory data to generate a coil winding sub-path set; Step S25: performing path conflict detection on the coil winding sub-path set to obtain winding conflict sub-path data; Step S26: Based on the preset magnetic field uniformity distribution strategy, the finite element coil digital model is used to perform magnetic field constraint analysis on the preliminary coil winding trajectory data, and finite element magnetic field distribution simulation calculation is performed to generate coil magnetic field constraint simulation data; Step S27: Identify the magnetic field inhomogeneity region according to the coil magnetic field constraint simulation data, and perform adaptive winding trajectory adjustment on the preliminary coil winding trajectory data through the winding conflict sub-path data to obtain optimized coil winding trajectory data.
5. The electromagnetic coil intelligent production control method according to claim 4 is characterized in that: Step S22 includes the following steps: Step S221: constructing a four-dimensional voxel space for the finite element coil digital model to generate a coil four-dimensional voxel space, wherein three spatial dimensions in the coil four-dimensional voxel space correspond to the length, width and height of the collar, and the fourth dimension corresponds to the number of layers of the coil winding; Step S222: performing tensor element initialization processing according to the coil four-dimensional voxel space to generate an initialized four-dimensional tensor value; Step S223: marking the voxel occupancy of the coil four-dimensional voxel space by initializing the four-dimensional tensor value to generate coil occupied voxel data, wherein for each voxel, it is determined whether its center point is within the geometric range of the layer. If so, the tensor value of the voxel space is iteratively updated to 1, indicating that it is occupied, otherwise the tensor value of the voxel space remains unchanged; Step S224: Based on the coil occupied voxel data, a breadth-first search algorithm is used to perform connected domain component analysis on the coil four-dimensional voxel space to generate coil voxel connected domain data; Step S225: performing overlapping analysis of adjacent layers according to the coil voxel connected domain data to obtain a directed acyclic graph of the voxel connected layer; Step S226: performing discrete time series calculation on the voxel connected layer directed acyclic graph at a preset winding speed, and assigning a timestamp step size to generate voxel winding topological network data.
6. The electromagnetic coil intelligent production control method according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: using the three-dimensional coil digital model to calibrate the control path points of the optimized coil winding trajectory data to generate winding path control point data; Step S32: performing path point type identification on the winding path control point data to generate winding path point type data, wherein the winding path point type data includes a starting point, an end point, a turning point, an intersection point, and a smoothing point; Step S33: encoding the optimized coil winding trajectory data with processing control instructions through the winding path point type data, and distributing the servo control instructions to obtain coil servo control instruction data; Step S34: Based on the coil servo control instruction data, the intelligent electromagnetic coil production device is used to perform intelligent manufacturing, and a high-speed industrial camera is used to collect real-time coil winding images to generate real-time coil winding image data; Step S35: predicting the change trend of the wire diameter of the turn layer according to the real-time coil winding image data, and generating wire diameter change trend data.
7. The electromagnetic coil intelligent production control method according to claim 6, characterized in that: Step S35 includes the following steps: Step S351: using an edge detection operator to perform real-time winding layer edge detection on the real-time coil winding image data, and performing dynamic edge pixel focusing to generate winding layer edge mask data; Step S352: performing pixel-level motion estimation of edges of adjacent frames according to the winding layer edge mask data, and performing continuous frame displacement vector superposition to obtain real-time winding layer edge trajectory data; Step S353: performing sub-pixel edge positioning processing on the real-time winding coil edge trajectory data to generate a high-precision coil edge coordinate set; Step S354: performing time-series multi-frame image fitting based on the high-precision circle edge coordinate set to obtain dynamic line diameter curve fitting data; Step S355: performing spectrum analysis on the dynamic line diameter curve fitting data to generate line diameter fluctuation characteristic vector data; Step S356: Based on the preset different wire winding fluctuation data and the corresponding future wire diameter change trend label data, a transfer learning process is performed using a long short-term memory network model to obtain a wire diameter prediction model; Step S357: transmitting the wire diameter fluctuation characteristic vector data to the wire diameter prediction model to predict the wire diameter change trend of the next turn layer, and generating wire diameter change trend data.
8. The electromagnetic coil intelligent production control method according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: performing wire diameter trend quantification processing according to the wire diameter change trend data to generate quantified wire diameter change rate data; Step S42: performing an eigenmode analysis on the quantized line diameter change rate data to obtain line diameter transformation characteristic data; Step S43: performing trend Gaussian cumulative distribution calculation on the wire diameter transformation feature data through a preset wire diameter change threshold, and performing wire diameter change level judgment. When the wire diameter change level is lower than the wire diameter change threshold, the winding layer is marked as a stable winding layer; when the wire diameter change level is higher than or equal to the wire diameter change threshold, the winding layer is marked as an abnormal winding layer; Step S44: Based on the abnormal winding layer, the wire diameter transformation characteristic data is processed by optimizing the coil winding trajectory data according to the tension feedback control strategy to obtain tension feedback control data; Step S45: using the intelligent electromagnetic coil production device to perform real-time wire diameter consistency compensation control on the next turn layer of the coil through tension feedback control data, and collecting wire diameter compensation control effect to obtain wire diameter compensation effect data; Step S46: performing multi-layer wire diameter consistency calculation according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index.
9. The electromagnetic coil intelligent production control method according to claim 8, characterized in that: Step S44 includes the following steps: Step S441: performing preset trajectory deviation calculation on the wire diameter transformation characteristic data by optimizing the coil winding trajectory data to generate a winding trajectory deviation value; Step S442: performing deviation time series analysis on the winding trajectory deviation value through a preset winding time window to obtain dynamic deviation time series characteristic data; Step S443: Calculate the fuzzy membership based on the dynamic deviation time series feature data to obtain a deviation fuzzy feature matrix; Step S444: using the tension sensor to obtain real-time tension monitoring data; performing fuzzy reasoning calculation on the real-time tension monitoring data through a preset tension fuzzy control rule library to generate fuzzy tension control data; Step S445: Defuzzifying the deviation fuzzy feature matrix using the tension fuzzy control rule library based on the fuzzy tension control data to obtain precise tension adjustment amount sequence data; Step S446: Adaptively adjust control parameters according to the precise tension adjustment amount sequence data to generate tension feedback control data.
10. An intelligent production control system for electromagnetic coils, characterized in that: Used to execute the electromagnetic coil intelligent production control method as claimed in claim 1, the electromagnetic coil intelligent production control system comprises: The coil digitization module is used to identify the coil geometric features of the electromagnetic coil design drawing to obtain the coil topology data; perform key process parameter supplementation processing based on the coil topology data to obtain key coil process parameters; use the key coil process parameters to perform coil digitization processing on the coil topology data to generate a three-dimensional coil digital model; The winding trajectory optimization module is used to perform coil voxel winding network analysis on the three-dimensional coil digital model to generate voxel winding topological network data; perform voxel winding trajectory mapping according to the voxel winding topological network data to obtain preliminary coil winding trajectory data; perform adaptive winding trajectory adjustment on the preliminary coil winding trajectory data to obtain optimized coil winding trajectory data; The intelligent manufacturing execution module is used to perform intelligent manufacturing execution using an intelligent electromagnetic coil production device based on optimized coil winding trajectory data, and to collect real-time coil winding images to generate real-time coil winding image data; predict the change trend of turn layer wire diameter according to the real-time coil winding image data to generate wire diameter change trend data; The tension compensation control module is used to process the tension feedback control strategy according to the wire diameter change trend data to obtain the tension feedback control data; perform wire diameter consistency compensation control according to the tension feedback control data, and collect the wire diameter compensation control effect to obtain the wire diameter compensation effect data; perform multi-layer wire diameter consistency analysis according to the wire diameter compensation effect data to generate a multi-layer wire diameter consistency index; The coil quality evaluation module is used to score the electromagnetic coil quality according to the multi-layer wire diameter consistency index to obtain the electromagnetic coil quality score data.
Citation Information
Patent Citations
Design method of high flatness medium-strong magnetic field measuring coil
CN107607893A
Winding method of logic programming control-based five-petal flower-type electromagnetic coil
CN107658129A
Transformer winding tension intelligent control system and control method thereof
CN114864269A
Method for improving efficiency of asymmetric magnetic coupling resonant wireless power transmission system
CN117458737A
Coil three-dimensional model generation method, system and device and storage medium
CN117788748A
Cited By
Intelligent winding and detecting method and system for three-phase integrated coil of soft start device
CN119742176A
Three-dimensional non-planar superconducting coil automatic winding system and control method
CN120299897A
A three-dimensional non-planar superconducting coil automated winding system and control method
CN120299897B
Plug-in inductor winding process control method based on production parameter dynamic compensation
CN120453052A
A plug-in inductance winding process control method based on production parameter dynamic compensation
CN120453052B
