Coiled material measuring method and device
By using a stepper motor-driven color sensor and grating displacement sensor in the production and processing of coil materials, combined with camera data, the problem of narrow measurement and installation positions of coil materials of different specifications is solved, and the accurate measurement of coil width and center deviation is achieved. , improve product quality.
Patent Information
- Application Number
- CN202411237357.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the production and processing of coil materials, the existing technology is difficult to meet the measurement requirements of coil materials of different specifications, and the installation position of the measuring device is small, so it is impossible to effectively monitor the width and center deviation of coil materials, affecting product quality.
The stepper motor drives the color sensor to move on the guide rail, obtain color identification information, and combines the grating displacement sensor and camera data to determine the size data of the coil material to achieve accurate measurement of the width and center deviation of the coil material.
Accurate measurement of the width and centering of the coil material is achieved, to prevent deviations during the rolling process and improve product quality.
Smart Images

Figure CN119103979A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present specification relate to the technical field of material measurement, and in particular to a coil material measurement method. Background Art
[0002] During the coil production and processing, in order to monitor and improve the quality of the coil, the material width of the coil when winding and the center deviation between the coil and the roller core are usually considered on the coil production and processing winding and unwinding platform to determine whether the current coil cutting width and center are abnormal. If abnormal, the cutting width and center of the coil need to be adjusted to ensure product quality.
[0003] Since there are different specifications of coils, the width of each specification of coils is different, and the measuring device needs to meet the measurement requirements of different specifications. In addition, a crane is usually used to lift the coils when they are unrolled. The measuring device cannot be installed in front of the coils, but can only be installed before the coiling roller is lifted. This position is relatively narrow and has high requirements for the installation of visual equipment. Therefore, a better solution is urgently needed. Summary of the invention
[0004] In view of this, the embodiments of this specification provide a coil measuring method. One or more embodiments of this specification also relate to a coil measuring device, a computing device, a computer readable storage medium and a computer program to solve the technical defects existing in the prior art.
[0005] According to a first aspect of an embodiment of this specification, a coil measuring method is provided, comprising: When the coil is on the winding roller, the color sensor is driven by the stepper motor to move on the guide rail, and the color sensor obtains color recognition information; In a case where the color recognition information matches the boundary color information, determining target position information corresponding to the color recognition information; The dimension data of the coil is determined based on the target position information.
[0006] In a possible implementation, before the coil is on the winding roller, the method further includes: The color sensor is moved to a boundary position, and the boundary color information is determined based on the boundary position; wherein the boundary position includes a first boundary position and a second boundary position of the winding roller, and a third boundary position and a fourth boundary position of the coil.
[0007] In a possible implementation manner, moving the color sensor to a boundary position and determining the boundary color information based on the boundary position includes: Moving the color sensor to a first boundary position of the winding roller to obtain first boundary color information; Moving the color sensor to a second boundary position of the winding roller to obtain second boundary color information; Moving the color sensor to a third boundary position of the web to obtain third boundary color information; The color sensor is moved to a fourth boundary position of the web to obtain fourth boundary color information.
[0008] In a possible implementation manner, determining the target position information corresponding to the color recognition information includes: The target position information corresponding to the color recognition information is determined by a grating displacement sensor.
[0009] In a possible implementation, the method further includes: When the color recognition information matches the boundary color information, sending an image acquisition signal to the camera; receiving image data sent by the camera, and determining boundary position information based on the image data; The dimension data of the coil is determined based on the target position information and the boundary position information.
[0010] In a possible implementation manner, the receiving the image data sent by the camera and determining the boundary position information based on the image data includes: Receiving image data sent by the camera, extracting the image data based on a preset edge extraction algorithm, and determining pixel boundary positions; Boundary position information is determined based on the pixel boundary position, field of view range and resolution parameters.
[0011] In a possible implementation, determining the size data of the coil based on the target position information and the boundary position information includes: Determine the size data of the coil based on the center deviation formula, the target position information and the boundary position information; Wherein, the center deviation formula is: C=((E1+(IM1-(F / 2)))+(E4+(IM2-(F / 2))) / 2-((E2+(IM3-(F / 2)))+(E3+(IM4-(F / 2)))) / 2; Among them, C represents the center of the material, E1, E2, E3 and E4 represent the four target position information respectively, IM1, IM2, IM3 and IM4 represent the four boundary position information respectively, F represents the field of view of the camera, and F / 2 represents the horizontal coordinate of the image center.
[0012] According to a second aspect of an embodiment of this specification, a coil measuring device is provided, comprising: A color recognition module is configured to drive a color sensor to move on a guide rail through a stepper motor when the coil is on the winding roller, and the color sensor obtains color recognition information; a position determination module, configured to determine target position information corresponding to the color recognition information when the color recognition information matches the boundary color information; The size calculation module is configured to determine the size data of the coil based on the target position information.
[0013] According to a third aspect of an embodiment of this specification, a computing device is provided, including: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned coil material measurement method are implemented.
[0014] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned coil measurement method are implemented.
[0015] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned coil material measurement method.
[0016] The embodiments of the present specification provide a coil measuring method and device, wherein the coil measuring method comprises: when the coil is on the winding roller, the color sensor is driven to move on the guide rail by a stepper motor, and the color sensor obtains color recognition information; when the color recognition information matches the boundary color information, the target position information corresponding to the color recognition information is determined; and the size data of the coil is determined based on the target position information. When the coil is on the winding roller, the color sensor is driven to move on the guide rail by a stepper motor, and the color sensor obtains color recognition information; when the color recognition information matches the boundary color information, the target position information corresponding to the color recognition information is determined; and the size data of the coil is determined based on the target position information, so that the width and centering of the coil can be accurately measured, thereby preventing deviations in the coil winding and unwinding process and improving product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a flow chart of a coil measuring method provided by an embodiment of this specification; Figure 2It is a schematic diagram of a guide rail of a coil material measurement method provided by an embodiment of this specification; Figure 3 It is a color registration schematic diagram of a coil material measurement method provided by an embodiment of this specification; Figure 4 It is a schematic diagram of position determination of a coil material measurement method provided by an embodiment of this specification; Figure 5 It is a structural schematic diagram of a coil measuring device provided by an embodiment of this specification; Figure 6 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0018] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0019] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0020] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0021] In this specification, a coil measuring method is provided. This specification also relates to a coil measuring device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0022] See also Figure 1 , Figure 1 A flow chart of a coil measuring method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.
[0023] Step 101: When the coil is on the winding roller, a color sensor is driven by a stepper motor to move on a guide rail, and the color sensor obtains color recognition information.
[0024] In a possible implementation, before the coil is on the winding roller, it also includes: moving the color sensor to a boundary position, and determining the boundary color information based on the boundary position; wherein the boundary position includes the first boundary position and the second boundary position of the winding roller, and the third boundary position and the fourth boundary position of the coil.
[0025] In practical applications, the entire scanning measurement solution includes linear guides, grating scales, color sensors, cameras, stepper motors, PLCs, industrial computers and other structures. Grating displacement sensors are used as the main metrological tools for one-dimensional distance measurement of planar targets. As a high-precision displacement measurement tool, the grating displacement sensor has a resolution of up to 0.1μm. When measuring a displacement distance of 1000 mm in length, its cumulative error can be controlled at the micron level. The grating displacement sensor consists of two parts: a grating target scale and a grating reading head. In this design, the grating reading head is bound to a slider sliding on a high-precision linear guide to ensure that the grating reading head can move stably in a straight line in a predetermined direction, reducing accidental errors caused by the unstable movement trajectory of the grating reading head. The sensor used to locate the target is fixed on the precision linear guide slider to judge the roller core boundary position and the material boundary position, such as Figure 2 shown.
[0026] Further, such as Figure 3 As shown, the measurement of the width and centering of the coil requires the positions of four boundaries, where E1: the left boundary position of the roll core, E2: the left boundary position of the material, E3: the right boundary position of the material, and E4: the right boundary position of the roll core. Assuming that the width of the material is W, the width of the roll core is Wg, the center of the material is C, the center of the roll core is Cg, and the center deviation is Ec, then W=E3-E2, Wg=E4-E1, C=(E3-E2) / 2, Cg=(E4-E1) / 2, and Ec=C-Cg.
[0027] In a possible implementation, moving the color sensor to a boundary position and determining the boundary color information based on the boundary position includes: moving the color sensor to a first boundary position of the winding roller to obtain first boundary color information; moving the color sensor to a second boundary position of the winding roller to obtain second boundary color information; moving the color sensor to a third boundary position of the coil to obtain third boundary color information; and moving the color sensor to a fourth boundary position of the coil to obtain fourth boundary color information.
[0028] In practical applications, the sensor is moved to the boundary position of the roller core and the boundary position of the material. Since it is necessary to find the boundary of the roller core and the boundary of the material, the center of the sensor's light spot needs to be aligned with the boundary of the material. The background and material colors each account for 50%. In other words, E1-E4 are registered in color in turn to obtain the color information of the four boundaries as the basis for recognition.
[0029] Step 102: When the color recognition information matches the boundary color information, determine the target position information corresponding to the color recognition information.
[0030] In a possible implementation manner, determining the target position information corresponding to the color recognition information includes: determining the target position information corresponding to the color recognition information by using a grating displacement sensor.
[0031] In actual applications, when the coil is rolled onto the winding roller, the stepper motor drives the sensor to move on the precision linear guide. When the sensor passes the boundary to be found, the sensor gives a signal. At this time, the current signal is given to the PLC, and the PLC controls the motor to pause briefly. At the same time, the industrial computer establishes communication with the grating ruler acquisition card through the serial port, obtains the current boundary position information, distinguishes the attributes of the boundary through signals from different channels, and then records it in the host computer.
[0032] Step 103: Determine the size data of the coil based on the target position information.
[0033] In practical applications, after the target position information is collected, the above-mentioned measurement of the width and centering of the coil can be performed.
[0034] In a possible implementation, the method further includes: sending an image acquisition signal to a camera when the color recognition information matches the boundary color information; receiving image data sent by the camera, and determining boundary position information based on the image data; and determining size data of the coil based on the target position information and the boundary position information.
[0035] In practical applications, if higher accuracy is required for the width and center deviation of the material, a camera can be added to the current measuring equipment to improve the measurement accuracy.
[0036] When the coil is rolled onto the winding roller, the stepper motor drives the sensor to move on the precise linear guide rail. When the sensor passes the boundary to be found, the sensor gives a signal. At this time, the current signal is given to the PLC. At the same time, the industrial computer establishes communication with the grating ruler acquisition card through the serial port to obtain the position information of the current boundary. The attributes of the boundary are distinguished by the signals of different channels, and then recorded in the host computer to obtain the grating ruler position information of the four boundaries (E1-E4).
[0037] The signal from the sensor is given to the camera as a trigger signal to trigger the camera to capture images. After the camera captures the image, it performs image processing and uses a sub-pixel edge extraction method to extract the sub-pixel boundary position P. According to the image's field of view F and resolution Res, the actual position of the boundary relative to the image is calculated IM = P*Res.
[0038] In a possible implementation, the receiving image data sent by the camera and determining the boundary position information based on the image data includes: receiving the image data sent by the camera, extracting the image data based on a preset edge extraction algorithm, and determining the pixel boundary position; and determining the boundary position information based on the pixel boundary position, field of view, and resolution parameters.
[0039] In a possible implementation, determining the size data of the coil based on the target position information and the boundary position information includes: determining the size data of the coil based on a center deviation formula, the target position information and the boundary position information; wherein the center deviation formula is: C=((E1+(IM1-(F / 2)))+(E4+(IM2-(F / 2))) / 2-((E2+(IM3-(F / 2)))+(E3+(IM4-(F / 2)))) / 2; Among them, C represents the center of the material, E1, E2, E3 and E4 represent the four target position information respectively, IM1, IM2, IM3 and IM4 represent the four boundary position information respectively, F represents the field of view of the camera, and F / 2 represents the horizontal coordinate of the image center.
[0040] See also Figure 4 , according to the position information of the boundary on the grating ruler and the image position information of the boundary, the accurate image boundary can be obtained.
[0041] The embodiments of the present specification provide a coil measuring method and device, wherein the coil measuring method comprises: when the coil is on the winding roller, the color sensor is driven to move on the guide rail by a stepper motor, and the color sensor obtains color recognition information; when the color recognition information matches the boundary color information, the target position information corresponding to the color recognition information is determined; and the size data of the coil is determined based on the target position information. When the coil is on the winding roller, the color sensor is driven to move on the guide rail by a stepper motor, and the color sensor obtains color recognition information; when the color recognition information matches the boundary color information, the target position information corresponding to the color recognition information is determined; and the size data of the coil is determined based on the target position information, so that the width and centering of the coil can be accurately measured, thereby preventing deviations in the coil winding and unwinding process and improving product quality.
[0042] Corresponding to the above method embodiment, this specification also provides a coil measuring device embodiment, Figure 5 FIG. 2 shows a schematic diagram of a coil measuring device provided by an embodiment of the present specification. Figure 5 As shown, the device comprises: The color recognition module 501 is configured to drive the color sensor to move on the guide rail through the stepper motor when the coil is on the winding roller, and the color sensor obtains color recognition information; A position determination module 502, configured to determine target position information corresponding to the color recognition information when the color recognition information matches the boundary color information; The size calculation module 503 is configured to determine the size data of the coil based on the target position information.
[0043] In a possible implementation, the color recognition module 501 is further configured to: The color sensor is moved to a boundary position, and the boundary color information is determined based on the boundary position; wherein the boundary position includes a first boundary position and a second boundary position of the winding roller, and a third boundary position and a fourth boundary position of the coil.
[0044] In a possible implementation, the color recognition module 501 is further configured to: Moving the color sensor to a first boundary position of the winding roller to obtain first boundary color information; Moving the color sensor to a second boundary position of the winding roller to obtain second boundary color information; Moving the color sensor to a third boundary position of the web to obtain third boundary color information; The color sensor is moved to a fourth boundary position of the web to obtain fourth boundary color information.
[0045] In a possible implementation, the location determination module 502 is further configured to: The target position information corresponding to the color recognition information is determined by a grating displacement sensor.
[0046] In a possible implementation, the location determination module 502 is further configured to: When the color recognition information matches the boundary color information, sending an image acquisition signal to the camera; receiving image data sent by the camera, and determining boundary position information based on the image data; The dimension data of the coil is determined based on the target position information and the boundary position information.
[0047] In a possible implementation, the location determination module 502 is further configured to: Receiving image data sent by the camera, extracting the image data based on a preset edge extraction algorithm, and determining pixel boundary positions; Boundary position information is determined based on the pixel boundary position, field of view range and resolution parameters.
[0048] In a possible implementation, the size calculation module 503 is further configured to: Determine the size data of the coil based on the center deviation formula, the target position information and the boundary position information; Wherein, the center deviation formula is: C=((E1+(IM1-(F / 2)))+(E4+(IM2-(F / 2))) / 2-((E2+(IM3-(F / 2)))+(E3+(IM4-(F / 2)))) / 2; Among them, C represents the center of the material, that is, the midpoint of the coil in the horizontal direction, E1, E2, E3 and E4 respectively represent the four target position information, IM1, IM2, IM3 and IM4 respectively represent the four boundary position information, F represents the field of view of the camera, and F / 2 represents the horizontal coordinate of the image center.
[0049] The embodiments of the present specification provide a coil measuring method and device, wherein the coil measuring device comprises: when the coil is on the winding roller, the color sensor is driven by a stepper motor to move on the guide rail, and the color sensor obtains color recognition information; when the color recognition information matches the boundary color information, the target position information corresponding to the color recognition information is determined; and the size data of the coil is determined based on the target position information. When the coil is on the winding roller, the color sensor is driven by a stepper motor to move on the guide rail, and the color sensor obtains color recognition information; when the color recognition information matches the boundary color information, the target position information corresponding to the color recognition information is determined; and the size data of the coil is determined based on the target position information, so that the width and centering of the coil can be accurately measured, thereby preventing deviations in the coil winding and unwinding process and improving product quality.
[0050] The above is a schematic scheme of a coil measuring device of this embodiment. It should be noted that the technical scheme of the coil measuring device and the technical scheme of the coil measuring method described above are of the same concept, and the details not described in detail in the technical scheme of the coil measuring device can be referred to the description of the technical scheme of the coil measuring method described above.
[0051] Figure 6 The block diagram of a computing device 600 according to an embodiment of the present specification is shown. The components of the computing device 600 include but are not limited to a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and the database 650 is used to store data.
[0052] The computing device 600 also includes an access device 640 that enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).
[0053] In one embodiment of the present specification, the above components of the computing device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0054] The computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 600 may also be a mobile or stationary server.
[0055] The processor 620 is used to execute the following computer executable instructions, which implement the steps of the above-mentioned coil material measurement method when executed by the processor. The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned coil material measurement method belong to the same concept, and the details of the technical scheme of the computing device that are not described in detail can all be referred to the description of the technical scheme of the above-mentioned coil material measurement method.
[0056] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which can implement the steps of the above-mentioned coil measuring method when executed by a processor.
[0057] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the coiled material measurement method described above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the coiled material measurement method described above.
[0058] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned coil measuring method.
[0059] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the coil measuring method described above are of the same concept, and the details not described in detail in the technical scheme of the computer program can be found in the description of the technical scheme of the coil measuring method described above.
[0060] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0061] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0062] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.
[0063] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0064] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.
Claims
1. A coil measuring method, characterized in that: include: When the coil is on the winding roller, the color sensor is driven by the stepper motor to move on the guide rail, and the color sensor obtains color recognition information; In a case where the color recognition information matches the boundary color information, determining target position information corresponding to the color recognition information; The dimension data of the coil is determined based on the target position information.
2. The method according to claim 1, characterized in that Before the coiled material is on the winding roller, the method further comprises: The color sensor is moved to a boundary position, and the boundary color information is determined based on the boundary position; wherein the boundary position includes a first boundary position and a second boundary position of the winding roller, and a third boundary position and a fourth boundary position of the coil.
3. The method according to claim 2, characterized in that The step of moving the color sensor to a boundary position and determining the boundary color information based on the boundary position includes: Moving the color sensor to a first boundary position of the winding roller to obtain first boundary color information; Moving the color sensor to a second boundary position of the winding roller to obtain second boundary color information; Moving the color sensor to a third boundary position of the web to obtain third boundary color information; The color sensor is moved to a fourth boundary position of the web to obtain fourth boundary color information.
4. The method according to claim 1, characterized in that: The determining the target position information corresponding to the color recognition information includes: The target position information corresponding to the color recognition information is determined by a grating displacement sensor.
5. The method according to claim 1, characterized in that Also includes: When the color recognition information matches the boundary color information, sending an image acquisition signal to the camera; receiving image data sent by the camera, and determining boundary position information based on the image data; The dimension data of the coil is determined based on the target position information and the boundary position information.
6. The method according to claim 5, characterized in that The receiving the image data sent by the camera and determining the boundary position information based on the image data includes: Receiving image data sent by the camera, extracting the image data based on a preset edge extraction algorithm, and determining pixel boundary positions; Boundary position information is determined based on the pixel boundary position, field of view range and resolution parameters.
7. The method according to claim 6, characterized in that The determining of the size data of the coil based on the target position information and the boundary position information comprises: Determine the size data of the coil based on the center deviation formula, the target position information and the boundary position information; Wherein, the center deviation formula is: C=((E1+(IM1-(F / 2)))+(E4+(IM2-(F / 2))) / 2-((E2+(IM3-(F / 2)))+(E3+(IM4-(F / 2)))) / 2; Among them, C represents the center of the material, E1, E2, E3 and E4 represent the four target position information respectively, IM1, IM2, IM3 and IM4 represent the four boundary position information respectively, F represents the field of view of the camera, and F / 2 represents the horizontal coordinate of the image center.
8. A coil measuring device, characterized in that: include: A color recognition module is configured to drive a color sensor to move on a guide rail through a stepper motor when the coil is on the winding roller, and the color sensor obtains color recognition information; a position determination module, configured to determine target position information corresponding to the color recognition information when the color recognition information matches the boundary color information; The size calculation module is configured to determine the size data of the coil based on the target position information.
9. A computing device, characterized in that include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the coil measuring method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the coil measuring method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Quality inspection device for printed matters
CN106770340A
Method and apparatus for aligning sheet material
CN111372737A
Scanning type measurement method for width measurement and center point deviation of coiled material
CN117760313A
Cloth breadth measuring device
CN216132401U
