Magnesium-aluminum alloy production method and system
By automatically identifying and processing slag in the magnesium-aluminum alloy casting process using image analysis technology, the problem of manual elimination is solved, and a more efficient and safe production process is achieved.
Patent Information
- Application Number
- CN202510445784.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the casting process of magnesium-aluminum alloy, the working environment temperature is high and the efficiency of manual slag removal is low, resulting in poor production results.
By obtaining the melt surface image, analyzing the pixel chromaticity value, determining the standard chromaticity range and melt chromaticity range, the skimming device automatically controls the processing of the slag pixel points.
It realizes automated processing without manual removal, improves the efficiency and safety of magnesium-aluminum alloy production, and improves the overall production effect.
Smart Images

Figure CN119979949A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of alloy production technology, and in particular to a magnesium-aluminum alloy production method and system. Background Art
[0002] Magnesium-aluminum alloy is an alloy mainly composed of two metal elements, magnesium and aluminum, and may also contain other small amounts of alloying elements. It has low density, high strength, excellent corrosion resistance and welding properties, and is widely used in aviation, aerospace, shipbuilding and other fields.
[0003] In the related art, the common method for producing magnesium-aluminum alloy is the melting and casting method, which is mainly realized by the following steps: melting aluminum, adding magnesium, refining treatment, modification treatment and casting. Among them, the refining treatment is to add a refining agent after the magnesium is completely melted, and stir for 10-15 minutes to make the refining agent fully contact with the melt so that the refining agent reacts with impurities to form slag. At this time, the slag will float on the surface of the melt, and the staff can use tools to skim the slag to improve the purity of the alloy liquid.
[0004] In the above-mentioned related technologies, when performing melting and casting operations, the corresponding working environment temperature is relatively high, and the manual skimming of slag by workers not only makes the workers' work safety lower, but also has a slow efficiency in skimming slag, resulting in poor overall production effect of magnesium-aluminum alloy. There is still room for improvement. Summary of the invention
[0005] In order to improve the overall production effect of magnesium-aluminum alloy, the present application provides a magnesium-aluminum alloy production method and system.
[0006] In a first aspect, the present application provides a method for producing a magnesium-aluminum alloy, which adopts the following technical solution: A method for producing a magnesium-aluminum alloy, comprising: Obtain melt surface images after refining agent addition; Determine the pixel chromaticity value according to each pixel point on the melt surface image; Randomly select a pixel chromaticity value as a standard chromaticity value, and perform calculations based on the standard chromaticity value and preset similar chromaticity values to determine the standard chromaticity range; Pixels whose pixel chromaticity values are within the standard chromaticity range are defined as internal pixels, and the internal pixels determined according to each standard chromaticity range are counted to determine the number of internal pixels; The number of internal pixels with the largest value is determined according to a preset sorting rule, and the melt chromaticity range is determined by calculation according to the standard chromaticity value corresponding to the number of internal pixels and the preset allowable differential chromaticity; Pixels whose pixel chromaticity values are not within the melt chromaticity range are defined as slag pixels, and a preset skimming device is controlled to operate according to each slag pixel.
[0007] Optionally, after the melt chromaticity range is determined, the magnesium-aluminum alloy production method further includes: Obtaining the amount of reaction raw materials; Construct a historical interval on the preset time axis with the current time point as the end point and a width of the preset historical length; In the historical interval, the time point when the amount of the reaction raw material is consistent with the current amount of the reaction raw material is defined as a similar time point, and the melt chromaticity range corresponding to the similar time point is defined as a historical comparison range; Determine the chromaticity overlap range based on the current melt chromaticity range and the historical comparison range, and determine the overlap ratio based on the chromaticity overlap range and the current melt chromaticity range; Determine whether there is a situation where the overlap ratio is greater than the preset baseline demand ratio; If there is a situation where the overlap ratio is greater than the benchmark demand ratio, a normal operation signal is output; If there is no situation where the overlap ratio is greater than the baseline demand ratio, an abnormal operation signal is output.
[0008] Optionally, after the slag pixel points are determined, the magnesium-aluminum alloy production method further includes: Determine the distance between slags according to any two slag pixels; When the slag separation distance is less than a preset close separation distance, the two slag pixel points are summarized into a preset initially empty pixel summary set; Counting the slag pixels in each pixel summary set to determine the number of slag pixels; The definition of slag pixels is cancelled for slag pixels that are not in the pixel summary set and for slag pixels in the pixel summary set whose number of slag pixels is not greater than the preset reference required number.
[0009] Optionally, after the definition of some slag pixels is cancelled, the magnesium-aluminum alloy production method further includes: Connecting each slag pixel point in a single pixel summary set to determine a slag connection line segment; Randomly select any number of slag pixel points and randomly sort the slag pixel points in order to obtain a slag connection order; According to the slag connection sorting, corresponding slag connection line segments are enclosed to form a slag enclosed area; The slag enclosed area when there are no other slag connecting line segments outside the slag enclosed area is defined as a single slag area, and the single slag area is determined based on the single slag area; The overall slag area is determined by summing up the areas of all individual slags, and the material slag ratio is determined by calculating the overall slag area and the preset photographed melt area.
[0010] Optionally, after the slag ratio of the material is determined, the magnesium-aluminum alloy production method further includes: The slag proportion of the material determined at a similar time point in the historical interval is defined as the historical slag proportion; Construct a reasonable slag range based on the historical slag proportion with the largest value and the historical slag proportion with the smallest value; Determine whether the current material slag ratio is within a reasonable slag range; If the current material slag ratio is within the reasonable slag range, a normal slag signal is output; If the current material slag ratio is not within the reasonable slag range, an abnormal slag signal is output.
[0011] Optionally, the step of controlling a preset skimming device to operate according to each slag pixel point includes: A skimming direction and a skimming starting point are randomly generated in the area where the melt surface image is located, and a width direction perpendicular to the skimming direction is determined according to the skimming direction; Determine the width operation points at both side edges in the width direction according to the single slag area, and determine the width slag range in the width direction according to the two width operation points; A slag treatment range is constructed according to the skimming starting point and the width direction, and the skimming direction when the width slag range is within the width slag range is defined as a reasonable direction, and the corresponding skimming starting point is defined as a reasonable starting point; Determine the farthest skimming end point in a reasonable direction based on a reasonable starting point, and construct a single skimming path based on the reasonable starting point and the skimming end point; A single skimming path is randomly selected from all the single skimming paths in all the single slag areas to form a skimming path set, and the skimming path set is randomly sorted in order to determine an overall skimming plan; In the overall skimming scheme, a device transfer path is constructed according to the skimming end points and reasonable starting points that are adjacent to each other and are not on the same monomer skimming path, and an overall skimming path is determined according to all device transfer paths and all monomer skimming paths; The overall skimming distance is determined according to the overall skimming path, and the skimming device is controlled to operate according to the overall skimming path corresponding to the overall skimming distance with the smallest value.
[0012] Optionally, after the overall skimming distance is determined, the magnesium-aluminum alloy production method further includes: Determining a device adjustment angle in the overall skimming path according to adjacent monomer skimming paths and device transfer paths; Determine the single difficulty coefficient corresponding to the device adjustment angle according to the preset difficulty matching relationship; The average difficulty coefficient is determined by averaging all individual difficulty coefficients, and the overall elimination distance is updated based on the average difficulty coefficient.
[0013] In a second aspect, the present application provides a magnesium-aluminum alloy production system, which adopts the following technical solution: A magnesium-aluminum alloy production system, comprising: An acquisition module is used to acquire a melt surface image after the refining agent is added; A processing module, connected to the acquisition module, for storing and processing information; The processing module determines the pixel chromaticity value according to each pixel point on the melt surface image; The processing module randomly selects a pixel chromaticity value as a standard chromaticity value, and performs calculations based on the standard chromaticity value and a preset similar chromaticity value to determine a standard chromaticity range; The processing module defines the pixel points whose pixel chromaticity values are within the standard chromaticity range as internal pixel points, and counts the internal pixel points determined according to each standard chromaticity range to determine the number of internal pixels; The processing module determines the number of internal pixels with the largest value according to a preset sorting rule, and calculates the melt chromaticity range according to the standard chromaticity value corresponding to the number of internal pixels and the preset allowable difference chromaticity; The processing module defines the pixel points whose pixel chromaticity values are not within the melt chromaticity range as slag pixel points, and controls the preset skimming device to operate according to each slag pixel point.
[0014] In summary, the present application includes at least one of the following beneficial technical effects: In the process of magnesium-aluminum alloy production, after the refining agent is added, the slag can be identified and automatically skimmed by visual recognition, without the need for workers to manually handle the slag, which ensures the safety of workers and improves work efficiency, thereby improving the overall production effect of magnesium-aluminum alloy; After the image is acquired, the melt and slag conditions can be specifically analyzed to determine whether there are any abnormalities in the raw materials; The operation path of the skimming device can be reasonably planned according to the slag distribution, thereby improving the slag treatment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of the magnesium aluminum alloy production method.
[0016] Figure 2It is a module flow chart of the magnesium aluminum alloy production method. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 2 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0018] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0019] The present application embodiment discloses a method for producing a magnesium-aluminum alloy. Figure 1 The method flow of the magnesium aluminum alloy production method comprises the following steps: Step S100: obtaining a melt surface image after the refining agent is added.
[0020] The melt surface image is an image obtained by an instrument installed directly above the melt and facing downward to fully obtain the image of the melt. Since the melt environment is a high-temperature environment, the selected image shooting instrument also needs to be able to meet the high-temperature environment.
[0021] Step S101: determining a pixel chromaticity value according to each pixel point on the melt surface image.
[0022] The pixel chromaticity value is the chromaticity value of each pixel, which can be represented by three primary colors.
[0023] Step S102: randomly selecting a pixel chromaticity value as a standard chromaticity value, and performing calculations based on the standard chromaticity value and preset similar chromaticity values to determine a standard chromaticity range.
[0024] The similar chromaticity value is the maximum chromaticity difference allowed between the chromaticity value that is determined by the staff to be not much different from the standard chromaticity value and the standard chromaticity value. The standard chromaticity range is the range constructed with the values obtained by adding and subtracting the similar chromaticity value from the standard chromaticity value as endpoints.
[0025] Step S103: defining pixels whose pixel chromaticity values are within the standard chromaticity range as internal pixels, and counting the internal pixels determined according to each standard chromaticity range to determine the number of internal pixels.
[0026] Internal pixels are defined to facilitate distinguishing pixels with chromaticity values close to the standard chromaticity value. The number of internal pixels is the total number of determined internal pixels, which can be determined by counting the internal pixels one by one.
[0027] Step S104: determining the number of internal pixels with the largest value according to a preset sorting rule, and calculating the melt chromaticity range according to the standard chromaticity value corresponding to the number of internal pixels and the preset allowable differential chromaticity.
[0028] The sorting rule is a method set by the staff to sort the size of values, such as the bubbling method. The sorting rule can be used to determine the number of internal pixels with the largest value, which means that the number of corresponding pixels under the standard chromaticity value at this time is the largest. Therefore, it can be said that most areas of the current melt are of this color, that is, this color is the correct color of the melt itself; the allowable difference chromaticity is the minimum chromaticity difference between the chromaticity value corresponding to the pixel point identified as slag and the standard chromaticity value set by the staff, and the melt chromaticity range is the range formed by the values obtained by adding and subtracting the allowable difference chromaticity to the standard chromaticity value as endpoints. This range is also the chromaticity range that needs to be satisfied by the pixel points that are not identified as slag.
[0029] Step S105: defining the pixel points whose pixel chromaticity values are not within the melt chromaticity range as slag pixel points, and controlling the preset skimming device to operate according to each slag pixel point.
[0030] When the pixel chromaticity value is not within the melt chromaticity range, it indicates that the corresponding pixel is basically a slag pixel. Therefore, it is defined as a slag pixel and the skimming device is controlled to perform skimming operations, wherein the skimming device is a device similar to a dustpan and can be moved to collect and process the slag.
[0031] After the melt chromaticity range is determined, the magnesium-aluminum alloy production method further includes: Step S200: Obtaining the amount of reaction raw materials.
[0032] The amount of reaction raw materials refers to the amount of raw materials magnesium and aluminum for the production of magnesium-aluminum alloy.
[0033] Step S201: constructing a historical interval on a preset time axis with the current time point as the end point and a width of a preset historical duration.
[0034] The time axis is a coordinate axis formed by the combination of various time points, and the coordinate axis points from the time points that have passed to the time points that have not yet arrived, wherein the time points that have passed are on the left side of the time axis, and the left side is defined as the front end of the time axis; the historical duration is the duration set by the staff to obtain data on the production conditions of various magnesium-aluminum alloys under historical circumstances. By constructing historical intervals, it is convenient to obtain data within the historical duration.
[0035] Step S202: defining the time point at which the amount of the reaction raw material is consistent with the current amount of the reaction raw material in the historical interval as a similar time point, and defining the melt chromaticity range corresponding to the similar time point as a historical comparison range.
[0036] When the amount of reaction raw materials in the historical interval is consistent with the current amount of reaction raw materials, it means that the production operations performed at that time point in the historical interval are similar to the current ones. Therefore, two reaction comparisons can be performed and defined as similar time points to distinguish different time points for subsequent analysis. At the same time, a historical comparison range is defined to mark the melt chromaticity range for subsequent analysis.
[0037] Step S203: determining a chromaticity overlap range according to the current melt chromaticity range and the historical comparison range, and determining an overlap ratio according to the chromaticity overlap range and the current melt chromaticity range.
[0038] The chromaticity overlap range is the position where the current melt chromaticity range overlaps with a historical comparison range. The overlap ratio is the ratio of the chromaticity overlap range to the current melt chromaticity range, which can be obtained by comparing the widths of the two ranges.
[0039] Step S204: Determine whether there is a situation where the overlapping ratio is greater than the preset reference demand ratio.
[0040] The benchmark demand ratio is the minimum overlap ratio set by the staff to determine whether two production operations are similar. The purpose of the judgment is to find out whether there are problems such as raw material errors in the current production.
[0041] Step S2041: If the overlap ratio is greater than the reference requirement ratio, a normal operation signal is output.
[0042] When the overlap ratio is greater than the baseline demand ratio, it means that the melt obtained in the current production is similar to the melt obtained in the previous production in color. Therefore, it can be determined from the color alone that there is no raw material error, so a normal operation signal is output to identify the situation.
[0043] Step S2042: If there is no situation where the overlap ratio is greater than the reference demand ratio, an abnormal operation signal is output.
[0044] When there is no overlap ratio greater than the benchmark demand ratio, it means that the melt obtained in the current production is far different from the melt obtained in the previous production in terms of color. Therefore, it can be determined from the color alone that there are problems such as raw material errors. Therefore, an abnormal operation signal is output to identify the situation, so that the staff can be informed of the situation in time and intervene to deal with it.
[0045] After the slag pixel points are determined, the magnesium-aluminum alloy production method further includes: Step S300: determining the distance between slags according to any two slag pixels.
[0046] The slag separation distance is the straight-line distance between two slag pixels.
[0047] Step S301: when the slag separation distance is less than a preset close separation distance, grouping two slag pixel points into a preset initially empty pixel grouping set.
[0048] The close spacing distance is the maximum slag spacing distance set by the staff that needs to be met when two slag pixel points are in the same piece of slag. When the slag spacing distance is less than the close spacing distance, it means that the two corresponding slag pixel points are on the same piece of slag, so they are summarized in the same pixel summary set for subsequent analysis; the summarization method of the pixel summary set is as follows: for example, there are three slag pixel points A, B, and C, wherein the slag spacing distance between slag pixel point A and slag pixel point B is less than the close spacing distance, the slag spacing distance between slag pixel point B and slag pixel point C is less than the close spacing distance, and the slag spacing distance between slag pixel point A and slag pixel point C is not less than the close spacing distance. Since it can be determined that B is on the same piece of slag as A and C respectively, it can be determined that A, B, and C are all on the same piece of slag. At this time, A, B, and C can be summarized into one pixel summary set at the same time.
[0049] Step S302: Count the slag pixels in each pixel summary set to determine the number of slag pixels.
[0050] The number of slag pixels refers to the total number of slag pixels in the pixel summary set.
[0051] Step S303: cancel the definition of slag pixel points for slag pixel points that are not in the pixel summary set and for slag pixel points in the pixel summary set whose number of slag pixels is not greater than a preset reference required number.
[0052] The benchmark requirement number is the minimum number of slag pixels that the generated slag has. When the number of slag pixels in the pixel summary set is not greater than the benchmark requirement number, it means that the position corresponding to the slag pixel is not actually slag, and there is a chromaticity judgment deviation. Therefore, the slag pixel definition is cancelled to facilitate the subsequent skimming of the actual slag. Similarly, when the slag pixel is not in the pixel summary set, it means that the slag pixel is independent, and it can also be determined that it is caused by chromaticity detection deviation.
[0053] After the definition of some slag pixels is cancelled, the magnesium-aluminum alloy production method further includes: Step S400: Connecting each slag pixel point in a single pixel summary set to determine a slag connecting line segment.
[0054] The slag connecting line segment is a line segment generated by connecting two slag pixel points.
[0055] Step S401: randomly selecting any number of slag pixel points and randomly sorting the slag pixel points in order to obtain a slag connection order.
[0056] The slag connection order is the order obtained by randomly sorting the selected slag pixel points. For example, there are five slag pixel points V, W, X, Y, and Z in a single pixel summary set. At this time, the randomly selected slag pixel points are W, X, Y, and Z, and there are 24 slag connection orders that can be obtained.
[0057] Step S402: Enclosing corresponding slag connection line segments according to the slag connection sorting to form a slag enclosed area.
[0058] The slag enclosed area is the area obtained by enclosing each slag connection line segment according to the slag connection sorting. For example, if the slag connection sorting is WXYZ, the area contour lines of the slag enclosed area are the WX slag connection line segment, the XY slag connection line segment, the YZ slag connection line segment and the ZW slag connection line segment.
[0059] Step S403: defining the slag enclosed region when there are no other slag connecting line segments outside the slag enclosed region as a single slag region, and determining the single slag area according to the single slag region.
[0060] When there are no other slag connecting line segments outside the slag enclosed area, it means that the current slag enclosed area contains all slag pixel points in the pixel summary set, and the slag enclosed area can be defined as the coverage area of this piece of slag. Therefore, it is defined as a single slag area to realize the distinction between different slag enclosed areas; the single slag area is the area of the single slag area.
[0061] Step S404: summing up all the individual slag areas to determine the overall slag area, and calculating based on the overall slag area and a preset photographed melt area to determine the material slag ratio.
[0062] The overall slag area is the sum of the individual slag areas of all slags, the photographed melt area is the total area of the melt surface, and the material slag proportion is the ratio of the surface with slag to the entire surface of the melt, which is determined by dividing the overall slag area by the photographed melt area. This parameter can reflect the impurity situation inside the raw material, which is convenient for the staff to conduct data analysis and reaction adjustment based on this parameter later.
[0063] After the proportion of slag in the material is determined, the magnesium-aluminum alloy production method further includes: Step S500: defining the material slag proportion determined at a similar time point in a historical interval as a historical slag proportion.
[0064] Define historical slag proportions to identify the slag proportions of different materials for easy subsequent analysis.
[0065] Step S501: construct a reasonable slag range according to the historical slag ratio with the largest value and the historical slag ratio with the smallest value.
[0066] Reasonable slag range refers to the range within which the impurity content in the raw materials is relatively normal and does not affect the slag ratio of the material during the production of magnesium-aluminum alloy.
[0067] Step S502: Determine whether the current material slag ratio is within a reasonable slag range.
[0068] The purpose of the judgment is to find out whether the impurity content of the raw materials in this production process meets the requirements.
[0069] Step S5021: If the current material slag ratio is within a reasonable slag range, a normal slag signal is output.
[0070] When the current material slag ratio is within a reasonable slag range, it means that the impurity content meets the requirements. At this time, a normal slag signal can be output to identify the situation.
[0071] Step S5022: If the current material slag ratio is not within a reasonable slag range, an abnormal slag signal is output.
[0072] When the current material slag ratio is not within a reasonable slag range, it means that the impurities in the raw materials do not meet the requirements, that is, the production of magnesium-aluminum alloys may be affected by impurities. At this time, an abnormal slag signal is output to identify the situation so that the staff can detect the situation in time and deal with it.
[0073] The steps of controlling the preset skimming device to operate according to each slag pixel point include: Step S600: randomly generating a skimming direction and a skimming starting point in the area where the melt surface image is located, and determining a width direction perpendicular to the skimming direction according to the skimming direction.
[0074] By randomly determining the skimming direction and the skimming starting point, the operation of the skimming device can be simulated to facilitate subsequent analysis.
[0075] Step S601: Determine width operation points at both side edges in the width direction according to the single slag area, and determine the width slag range in the width direction according to the two width operation points.
[0076] The width operation point is the edge point on both sides of the monomer slag area in the width direction. The edge points on both sides can be determined by constructing a straight line in the width direction and projecting each point on the monomer slag area onto the straight line, wherein the points on the monomer slag area corresponding to the points on both sides of the straight line after projection are the width operation points; the width slag range is the distance value between the two width operation points on the constructed straight line in the width direction.
[0077] Step S602: construct a processing slag range according to the skimming starting point and the width direction, and define the skimming direction when the width slag range is within the width slag range as a reasonable direction, and define the corresponding skimming starting point as a reasonable starting point.
[0078] The slag processing range is the width range that can be skimmed along the skimming direction after the fixed point of the skimming device is aligned with the skimming starting point. When the width slag range is within the width slag range, it means that the current skimming device can effectively clean the slag corresponding to the monomer slag area when it moves along the skimming direction at the position where the fixed point coincides with the skimming starting point. At this time, define a reasonable direction and a reasonable starting point to mark different data for subsequent analysis.
[0079] Step S603: Determine the skimming end point with the farthest distance in a reasonable direction according to the reasonable starting point, and construct a monomer skimming path according to the reasonable starting point and the skimming end point.
[0080] The skimming end point is the point on the monomer slag area that is farthest from the reasonable starting point in the reasonable direction, that is, the last point where the skimming device performs skimming operations according to the reasonable starting point and the reasonable direction. At this time, with the reasonable starting point as the starting point and the skimming end point as the end point, a monomer skimming path can be constructed by the skimming device to clean the slag in the monomer slag area.
[0081] Step S604: randomly selecting a single body skimming path from all single body skimming paths in all single body slag regions to form a skimming path set, and randomly sorting the skimming path set to determine an overall skimming solution.
[0082] The skimming path set is formed by combining a single skimming path of each single slag area, and the overall skimming plan is a plan for sequentially executing each single skimming path in the skimming path set.
[0083] Step S605: construct a device transfer path according to the consecutive and adjacent skimming end points and reasonable starting points on the same monomer skimming path in the overall skimming scheme, and determine the overall skimming path according to all device transfer paths and all monomer skimming paths.
[0084] The device transfer path is the path that the skimming device needs to move to the next monomer skimming path after completing the operation of the previous monomer skimming path, that is, the moving path from the skimming completion point of the previous monomer skimming path to the reasonable starting point of the next monomer skimming path; the overall skimming path is the path obtained by the skimming device moving along all device transfer paths and all monomer skimming paths in sequence, that is, the moving path that can effectively clean all slag.
[0085] Step S606: Determine the overall skimming distance according to the overall skimming path, and control the skimming device to operate according to the overall skimming path corresponding to the overall skimming distance with the smallest value.
[0086] The overall skimming distance is the distance that the skimming device needs to move under the overall skimming path. At this time, controlling the skimming device to operate according to the overall skimming path corresponding to the overall skimming distance with the smallest value can reduce the overall moving distance of the skimming device, thereby improving the slag skimming operation efficiency, and then improving the production efficiency of magnesium-aluminum alloy.
[0087] After the overall skimming distance is determined, the magnesium-aluminum alloy production method further includes: Step S700: determining a device adjustment angle in the overall skimming path according to adjacent monomer skimming paths and a device transfer path.
[0088] The device adjustment angle is the angle required to adjust the skimming device from a single-cell skimming path to the next adjacent device transfer path or from a device transfer path to the next adjacent single-cell skimming path, that is, the angle formed by the moving directions on the two paths.
[0089] Step S701: determining a single unit difficulty coefficient corresponding to a device adjustment angle according to a preset difficulty matching relationship.
[0090] The single difficulty coefficient is the difficulty coefficient for scheduling and adjusting the skimming device. The larger the device adjustment angle, the larger the angle the skimming device needs to rotate, that is, the higher the difficulty of adjustment. At this time, the corresponding single difficulty coefficient is also greater. The difficulty matching relationship between the two is determined by the staff through multiple tests in advance.
[0091] Step S702: Calculate the average of all individual difficulty coefficients to determine the average difficulty coefficient, and update the overall excluded distance according to the average difficulty coefficient.
[0092] The mean difficulty coefficient is the average value of all determined individual difficulty coefficients. The overall skimming distance can be updated by multiplying a set fixed distance by the mean difficulty coefficient and then adding the overall skimming distance, so that the corresponding overall skimming distance under the path with greater moving difficulty will increase, thereby facilitating the subsequent selection of a suitable overall skimming path for operation control of the skimming device.
[0093] Reference Figure 2 Based on the same inventive concept, an embodiment of the present invention provides a magnesium-aluminum alloy production system, comprising: An acquisition module is used to acquire a melt surface image after the refining agent is added; A processing module, connected to the acquisition module, for storing and processing information; The processing module determines the pixel chromaticity value according to each pixel point on the melt surface image; The processing module randomly selects a pixel chromaticity value as a standard chromaticity value, and performs calculations based on the standard chromaticity value and a preset similar chromaticity value to determine a standard chromaticity range; The processing module defines the pixel points whose pixel chromaticity values are within the standard chromaticity range as internal pixel points, and counts the internal pixel points determined according to each standard chromaticity range to determine the number of internal pixels; The processing module determines the number of internal pixels with the largest value according to a preset sorting rule, and calculates the melt chromaticity range according to the standard chromaticity value corresponding to the number of internal pixels and the preset allowable difference chromaticity; The processing module defines the pixel points whose pixel chromaticity values are not within the melt chromaticity range as slag pixel points, and controls the preset skimming device to operate according to each slag pixel point; The raw material category analysis module is used to analyze whether the raw materials are used incorrectly; The slag pixel precision module is used to exclude the pixel points corresponding to some locations where there is no slag; A slag proportion determination module is used to determine the specific situation of slag in the melt; The raw material impurity analysis module is used to analyze whether the impurities in the raw materials are abnormal; The skimming path planning module is used to reasonably plan the operation path of the skimming device; The overall skimmed distance update module updates the overall skimmed distance according to the difficulty of the path.
[0094] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
Claims
1. A method for producing a magnesium-aluminum alloy, characterized in that: include: Obtain melt surface images after refining agent addition; Determine the pixel chromaticity value according to each pixel point on the melt surface image; Randomly select a pixel chromaticity value as a standard chromaticity value, and perform calculations based on the standard chromaticity value and preset similar chromaticity values to determine the standard chromaticity range; Pixels whose pixel chromaticity values are within the standard chromaticity range are defined as internal pixels, and the internal pixels determined according to each standard chromaticity range are counted to determine the number of internal pixels; The number of internal pixels with the largest value is determined according to a preset sorting rule, and the melt chromaticity range is determined by calculation according to the standard chromaticity value corresponding to the number of internal pixels and the preset allowable differential chromaticity; Pixels whose pixel chromaticity values are not within the melt chromaticity range are defined as slag pixels, and a preset skimming device is controlled to operate according to each slag pixel.
2. The method for producing a magnesium-aluminum alloy according to claim 1, characterized in that: After the melt chromaticity range is determined, the magnesium-aluminum alloy production method further includes: Obtaining the amount of reaction raw materials; Construct a historical interval on the preset time axis with the current time point as the end point and a width of the preset historical length; In the historical interval, the time point when the amount of the reaction raw material is consistent with the current amount of the reaction raw material is defined as a similar time point, and the melt chromaticity range corresponding to the similar time point is defined as a historical comparison range; Determine the chromaticity overlap range based on the current melt chromaticity range and the historical comparison range, and determine the overlap ratio based on the chromaticity overlap range and the current melt chromaticity range; Determine whether there is a situation where the overlap ratio is greater than the preset baseline demand ratio; If the overlap ratio is greater than the benchmark demand ratio, a normal operation signal is output; If there is no situation where the overlap ratio is greater than the baseline demand ratio, an abnormal operation signal is output.
3. The method for producing a magnesium-aluminum alloy according to claim 2, characterized in that: After the slag pixel points are determined, the magnesium-aluminum alloy production method further includes: Determine the distance between slags according to any two slag pixels; When the slag separation distance is less than a preset close separation distance, the two slag pixel points are summarized into a preset initially empty pixel summary set; Counting the slag pixels in each pixel summary set to determine the number of slag pixels; The definition of slag pixels is cancelled for slag pixels that are not in the pixel summary set and for slag pixels in the pixel summary set whose number of slag pixels is not greater than the preset reference required number.
4. The method for producing a magnesium-aluminum alloy according to claim 3, characterized in that: After the definition of some slag pixels is cancelled, the magnesium-aluminum alloy production method further includes: Connecting each slag pixel point in a single pixel summary set to determine a slag connection line segment; Randomly select any number of slag pixel points and randomly sort the slag pixel points in order to obtain a slag connection order; According to the slag connection sorting, corresponding slag connection line segments are enclosed to form a slag enclosed area; The slag enclosed area when there are no other slag connecting line segments outside the slag enclosed area is defined as a single slag area, and the single slag area is determined based on the single slag area; The overall slag area is determined by summing up the areas of all individual slags, and the material slag ratio is determined by calculating the overall slag area and the preset photographed melt area.
5. The method for producing a magnesium-aluminum alloy according to claim 4, characterized in that: After the proportion of slag in the material is determined, the magnesium-aluminum alloy production method further includes: The slag proportion of the material determined at a similar time point in the historical interval is defined as the historical slag proportion; Construct a reasonable slag range based on the historical slag proportion with the largest value and the historical slag proportion with the smallest value; Determine whether the current material slag ratio is within a reasonable slag range; If the current material slag ratio is within the reasonable slag range, a normal slag signal is output; If the current material slag ratio is not within the reasonable slag range, an abnormal slag signal is output.
6. The method for producing a magnesium-aluminum alloy according to claim 4, characterized in that: The steps of controlling the preset skimming device to operate according to each slag pixel point include: A skimming direction and a skimming starting point are randomly generated in the area where the melt surface image is located, and a width direction perpendicular to the skimming direction is determined according to the skimming direction; Determine the width operation points at both side edges in the width direction according to the single slag area, and determine the width slag range in the width direction according to the two width operation points; A slag treatment range is constructed according to the skimming starting point and the width direction, and the skimming direction when the width slag range is within the width slag range is defined as a reasonable direction, and the corresponding skimming starting point is defined as a reasonable starting point; Determine the farthest skimming end point in a reasonable direction based on a reasonable starting point, and construct a single skimming path based on the reasonable starting point and the skimming end point; A single skimming path is randomly selected from all the single skimming paths in all the single slag areas to form a skimming path set, and the skimming path set is randomly sorted in order to determine an overall skimming plan; In the overall skimming scheme, a device transfer path is constructed according to the skimming end points and reasonable starting points that are adjacent to each other and are not on the same monomer skimming path, and an overall skimming path is determined according to all device transfer paths and all monomer skimming paths; The overall skimming distance is determined according to the overall skimming path, and the skimming device is controlled to operate according to the overall skimming path corresponding to the overall skimming distance with the smallest value.
7. The method for producing a magnesium-aluminum alloy according to claim 6, characterized in that: At After the overall skimming distance is determined, the magnesium-aluminum alloy production method further includes: Determining a device adjustment angle in the overall skimming path according to adjacent monomer skimming paths and device transfer paths; Determine the single difficulty coefficient corresponding to the device adjustment angle according to the preset difficulty matching relationship; The average difficulty coefficient is determined by averaging all individual difficulty coefficients, and the overall elimination distance is updated based on the average difficulty coefficient.
8. A magnesium aluminum alloy production system, characterized in that: include: An acquisition module is used to acquire a melt surface image after the refining agent is added; A processing module, connected to the acquisition module, for storing and processing information; The processing module determines the pixel chromaticity value according to each pixel point on the melt surface image; The processing module randomly selects a pixel chromaticity value as a standard chromaticity value, and performs calculations based on the standard chromaticity value and a preset similar chromaticity value to determine a standard chromaticity range; The processing module defines the pixel points whose pixel chromaticity values are within the standard chromaticity range as internal pixel points, and counts the internal pixel points determined according to each standard chromaticity range to determine the number of internal pixels; The processing module determines the number of internal pixels with the largest value according to a preset sorting rule, and calculates the melt chromaticity range according to the standard chromaticity value corresponding to the number of internal pixels and the preset allowable difference chromaticity; The processing module defines the pixel points whose pixel chromaticity values are not within the melt chromaticity range as slag pixel points, and controls the preset skimming device to operate according to each slag pixel point.
Citation Information
Patent Citations
Method for evaluating volume of slag on surface of molten metal
CN110036257A
Method for detecting slag in molten steel flow
CN110268074A
Intelligent pipe network
CN115218988A
User behavior analysis method and device, electronic equipment and storage medium
CN116383812A
Method of image recognition of fused slag
JP2000304232A