Copper wire lamp manufacturing control method and equipment
By monitoring the distance between the LED and the copper wire winding table and the generated magnetic field, and combining the image information to determine the direction of the LED, the problem of high risk of misjudgment in traditional methods is solved, and the accuracy and quality of copper wire lamp manufacturing are improved.
Patent Information
- Application Number
- CN202411712038.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-01-21
AI Technical Summary
In the traditional copper wire lamp manufacturing process, the risk of misjudging the direction of LED light bulbs through visual judgment is high, resulting in an increase in the defect rate of copper wire lamp manufacturing.
By monitoring the distance between the LED and the copper wire winding platform, when the distance is constant and less than the preset threshold, obtain the image information of the LED and generates the magnetic field vertically on the LED luminous surface. Information, adjust the LED to determine the patch error.
The accuracy of judging the completion of the patch, reducing the risk of misjudgment, and significantly reduced the adverse rate of copper wire light manufacturing.
Smart Images

Figure CN119333758A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of copper wire lamp manufacturing, and in particular, relates to a copper wire lamp manufacturing control method and equipment. Background Art
[0002] Copper wire lamp is a simple and cheap light string that uses LED lamp beads as the light source, and copper wire as the connecting material and means of transmitting electricity.
[0003] In the traditional copper wire lamp manufacturing process, the patch process is often photographed by a camera, and then the image information is used to determine whether the patch process is wrong. This method has a high risk of misjudgment, which directly leads to an increase in the defective rate of copper wire lamp manufacturing. Summary of the invention
[0004] The embodiments of the present application provide a copper wire lamp manufacturing control method and device, which can solve the problem of high risk of misjudgment when verifying the correctness of the patch process using the traditional method.
[0005] In a first aspect, an embodiment of the present application provides a copper wire lamp manufacturing control method, which is applied to a copper wire lamp manufacturing control device, and the method includes:
[0006] Monitoring a first distance between the LED and the copper wire winding table during the patch process; wherein the LED comprises a positive terminal and a negative terminal, one of the positive terminal and the negative terminal of the LED is ferromagnetic, and the other is non-ferromagnetic;
[0007] When it is monitored that the first distance is constant within a first preset time and the first distance is less than a preset threshold, image information of the LED is acquired, and the electromagnet device is controlled to generate a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table; wherein the first magnetic field is located on one side of the patch position of the LED, and the first magnetic field wraps one end of the LED but does not wrap the other end of the LED;
[0008] After a second preset time, the electromagnet device is controlled to stop generating the first magnetic field, and the magnetization magnetic field strength of one end of the LED wrapped by the first magnetic field is obtained; wherein the first magnetic field can magnetize the LED within the second preset time;
[0009] According to the magnetizing magnetic field strength and the image information, the direction information of the LED is obtained; wherein the direction information is used to indicate the position behind the LED patch;
[0010] When it is determined based on the direction information that the LED patch is wrong, the adjusting device is controlled to adjust the LED.
[0011] The above technical solutions in the embodiments of the present application have at least the following technical effects:
[0012] The copper wire lamp manufacturing control method provided by the present application, first, by monitoring the first distance between the LED and the copper wire winding table, it is possible to quickly know whether the LED is patched, and one end of the LED has ferromagnetism and the other end does not. Secondly, by monitoring that the first distance is constant within the first preset time and the first distance is less than the preset threshold, this judgment condition can improve the accuracy of judging the completion of the patch. When this judgment condition is established, the image information of the LED is obtained and the first magnetic field is generated. These two operations are two branches for judging the direction of the LED. Combining the two methods is conducive to improving the accuracy of the obtained LED method information. Then, the first magnetic field is maintained for a second preset time, and the second preset time is sufficient for the first magnetic field to magnetize the ferromagnetic end of the LED. After the second preset time, the first magnetic field is turned off, and the magnetization magnetic field intensity of the end of the LED wrapped by the first magnetic field is obtained. Finally, because only one end of the LED has ferromagnetism, the direction information of the LED can be judged by the magnetization magnetic field intensity. At the same time, the other branch method judges the direction information of the LED by the image information of the LED. Combining the results of these two methods, the final LED direction information obtained by joint analysis has the advantage of being more accurate than the results obtained by the two methods alone, so it can solve the problem of high risk of misjudgment of the correctness of the patch process verified by the traditional method.
[0013] In a second aspect, an embodiment of the present application provides a copper wire lamp manufacturing control device, which is applied to a copper wire lamp manufacturing control device. The copper wire lamp manufacturing control device includes:
[0014] A distance monitoring module is used to monitor a first distance between the LED and the copper wire winding table during the patch process; wherein the LED comprises a positive terminal and a negative terminal, one of the positive terminal and the negative terminal of the LED is ferromagnetic, and the other is non-ferromagnetic;
[0015] A first processing module is used for acquiring image information of the LED and controlling the electromagnet device to generate a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table when it is monitored that the first distance is constant within a first preset time and the first distance is less than a preset threshold; wherein the first magnetic field is located on one side of the patch position of the LED, and the first magnetic field wraps one end of the LED but does not wrap the other end of the LED;
[0016] a second processing module, configured to control the electromagnet device to stop generating the first magnetic field after a second preset time, and obtain the magnetization magnetic field strength of one end of the LED wrapped by the first magnetic field; wherein the first magnetic field can magnetize the LED within the second preset time;
[0017] An analysis module, used to obtain the direction information of the LED according to the magnetizing magnetic field intensity and the image information; wherein the direction information is used to indicate the position behind the LED patch;
[0018] The adjustment module is used to control the adjustment device to adjust the LED when it is determined that the LED patch is wrong based on the direction information.
[0019] In a third aspect, an embodiment of the present application provides a copper wire lamp manufacturing control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described in the first aspect when executing the computer program.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects above is implemented.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a copper wire lamp manufacturing control device, the copper wire lamp manufacturing control device executes the copper wire lamp manufacturing control method described in any one of the first aspects above.
[0022] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 It is a flow chart of a copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0025] Figure 2 It is a flow chart of step S300 in the copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0026] Figure 3 It is a flow chart of step S400 in the copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0027] Figure 4 It is a flow chart of step S410 in the copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0028] Figure 5 It is a flow chart of step S420 in the copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0029] Figure 6 It is a flow chart of step S440 in the copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0030] Figure 7 It is a flowchart of a preferred extension step of step S442 in the copper wire lamp manufacturing control method provided in one embodiment of the present application;
[0031] Figure 8 is a schematic diagram of an LED provided in an embodiment of the present application being attached to a copper wire wound on a copper wire winding table;
[0032] Fig. 9 It is a schematic structural diagram of a ferromagnetic metal block whose upper surface area is larger than the lower surface area in a copper wire lamp manufacturing control method provided in an embodiment of the present application;
[0033] Fig.10 It is a front view of a ferromagnetic metal block having an upper surface area larger than a lower surface area after being magnetized in a copper wire lamp manufacturing control method provided in an embodiment of the present application;
[0034] Fig.11 It is a structural schematic diagram of a copper wire lamp manufacturing control device provided in one embodiment of the present application;
[0035] Fig.12 It is a structural schematic diagram of a copper wire lamp manufacturing control device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0036] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0037] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0038] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0039] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0040] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0041] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0042] In related technologies, failure to promptly detect the wrong direction of LED bulbs during the SMT process has always been an important reason for the high defective rate of products. In the traditional copper wire lamp manufacturing process, whether it is manual SMT or machine SMT, the direction of the LED bulb is judged visually. This method is not only severely affected by environmental factors, but also with the development of technology, LED bulbs are getting smaller and smaller, resulting in an increase in the misjudgment rate, which directly leads to an increase in the defective rate of copper wire lamp manufacturing.
[0043] To solve the above problems, the embodiments of the present application provide a copper wire lamp manufacturing control method and device. In this method, first, by monitoring the first distance between the LED and the copper wire winding table, it is possible to quickly know whether the LED patch is completed, and one end of the LED is ferromagnetic and the other end is not. Secondly, by monitoring that the first distance is constant within the first preset time and the first distance is less than the preset threshold, this judgment condition can improve the accuracy of judging that the patch is completed. When this judgment condition is met, the image information of the LED is obtained and the first magnetic field is generated. These two operations are two branches for judging the direction of the LED. Combining the two methods is conducive to improving the accuracy of the obtained LED method information. Then, the first magnetic field is maintained for a second preset time, and the second preset time is sufficient for the first magnetic field to magnetize the ferromagnetic end of the LED. After the second preset time, the first magnetic field is turned off, and the magnetization magnetic field strength of the end of the LED wrapped by the first magnetic field is obtained. Finally, because only one end of the LED is ferromagnetic, the direction information of the LED can be determined by the magnetization magnetic field strength. At the same time, the other branch method determines the direction information of the LED through the image information of the LED. Combining the results of these two methods, the final LED direction information obtained by joint analysis has the advantage of being more accurate than the results obtained by the two methods. Therefore, it can solve the problem of high risk of misjudgment in verifying the correctness of the patch process by traditional methods.
[0044] The copper wire lamp manufacturing control method provided in the embodiment of the present application can be applied to the copper wire lamp manufacturing control device. At this time, the copper wire lamp manufacturing control device is the executor of the copper wire lamp manufacturing control method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of the copper wire lamp manufacturing control device.
[0045] For example, the copper wire lamp manufacturing control equipment may include a monitoring device, a control device connected to the monitoring device in communication, and the monitoring device may include an electromagnet device, a magnetic force measuring device, a distance sensor, and an image acquisition module. The electromagnet device may include a controllable electromagnet and a communication module, the magnetic force measuring device may include a magnetometer and a communication module, and the image acquisition module may be a camera. The control device may control the electromagnet device to generate a first magnetic field, the control device may also control the magnetic force measuring device to detect the intensity of the magnetized magnetic field, the control device may also control the distance sensor to monitor the distance between the LED and the copper wire winding table, and the control device may also control the image acquisition module to capture the patch position image of the LED after the patch is completed. The control device may execute control in the following order: first, control the distance sensor to monitor the distance between the LED and the copper wire winding table, second, control the electromagnet device to generate a first magnetic field, and control the image acquisition module to capture the patch image of the LED, and finally, control the magnetic force measuring device to detect the intensity of the magnetized magnetic field.
[0046] The control device can be a single-chip microcomputer, a microprocessor, a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a desktop computer, a smart large screen, a smart TV, a handheld device with wireless communication function, etc.
[0047] In order to better understand the copper wire lamp manufacturing control method provided in the embodiment of the present application, the specific implementation process of the copper wire lamp manufacturing control method provided in the embodiment of the present application is exemplarily introduced below.
[0048] Figure 1 A schematic flow chart of a copper wire lamp manufacturing control method provided in an embodiment of the present application is shown, and the copper wire lamp manufacturing control method includes:
[0049] S100, monitoring the first distance between the LED and the copper wire winding table during the patch process; wherein the LED includes a positive terminal and a negative terminal, one of the positive terminal and the negative terminal of the LED is ferromagnetic, and the other end is not ferromagnetic.
[0050] It can be understood that the manufacturing of copper wire lamps includes winding, grinding, patching, welding and other steps, among which the carrier for winding copper wire is called winding table. The patch process refers to the process of attaching LEDs to the copper wire wound on the copper wire winding table.
[0051] Exemplarily, the first distance may be detected by a distance sensor, and the distance sensor may be disposed on a copper wire winding table, for example, between the LED and the copper wire winding table and located directly below the LED.
[0052] The LED includes a positive terminal and a negative terminal. Ferromagnetic material can be added to the positive terminal of the LED to make the positive terminal ferromagnetic while the negative terminal is not ferromagnetic; or ferromagnetic material can be added to the negative terminal of the LED to make the negative terminal ferromagnetic while the positive terminal is not ferromagnetic.
[0053] With such a setting, the progress of the patching step can be accurately controlled, which is conducive to the subsequent steps where the prerequisite is that the LED patching is completed.
[0054] S200, when it is monitored that the first distance is constant within the first preset time and the first distance is less than the preset threshold, the image information of the LED is obtained, and the electromagnet device is controlled to generate a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table; wherein the first magnetic field is located on one side of the patch position of the LED, and the first magnetic field wraps one end of the LED but not the other end of the LED.
[0055] It can be understood that when the first distance is constant, it can be determined that the LED is fixed, and when the first distance is fixed and less than the preset distance, it can be determined that the LED is fixed at the preset position, so as to enter the remaining operations. When it is determined that the LED is fixed at the preset position, the image information of the LED is obtained.
[0056] Exemplarily, an image acquisition module (such as a camera) can be set at the patch position of the LED. When it is determined that the LED is fixed at a preset position, the image acquisition module is started to shoot and obtain image information of the LED. When it is determined that the LED is fixed at a preset position, the electromagnet device is controlled to generate a first magnetic field. The first magnetic field is a uniform magnetic field and is perpendicular to the light-emitting surface of the LED. The direction of the magnetic flux lines of the first magnetic field can be the same direction as the light emitted by the LED, or it can be opposite to the direction of the light.
[0057] With such a setting, it can be determined that the LED has been stably mounted on the copper wire before performing related operations, which improves the accuracy of the judgment and is conducive to the subsequent detection of the direction information of the LED.
[0058] In a possible implementation, in step S200, controlling the electromagnet to generate a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table includes:
[0059] When it is monitored that the first distance is constant within the first preset time and is less than the preset threshold, a first signal is sent to the electromagnet device, and the first timer of the copper wire lamp manufacturing control device is started simultaneously; wherein the first signal is used to enable the electromagnet device to generate a first magnetic field.
[0060] It can be understood that the control device of the copper wire lamp manufacturing control device can be provided with a first timer and a signal sending unit. When the first distance is constant within the first preset time and the first distance is less than the preset threshold, the first timer of the control device is started, and the signal sending unit sends a first signal to the electromagnet device, and the electromagnet device is started when it receives the first signal. The first magnetic field needs to control the switch, so it needs to be generated by an electromagnet, and the first magnetic field is a uniform magnetic field, so the electromagnet device can be a U-shaped electromagnet to generate a uniform magnetic field, or a ring-shaped Halbach array to generate a uniform magnetic field, or a bar-shaped electromagnet to generate an approximate uniform magnetic field, etc., but is not limited to this.
[0061] With such an arrangement, the time delay can be reduced by starting the first timer and the electromagnet device through an electrical signal, and the first timer and the electromagnet device can be ensured to be started at the same time, which is beneficial to improving the accuracy of various parameters of the first magnetic field.
[0062] S300, after a second preset time, control the electromagnet device to stop generating the first magnetic field, and obtain the magnetization magnetic field strength of one end of the LED wrapped by the first magnetic field; wherein the first magnetic field can magnetize the LED within the second preset time.
[0063] It can be understood that the first magnetic field is used to magnetize the ferromagnetic metal block in the LED, so a time threshold is required to ensure that the first magnetic field is sufficient to complete its magnetization effect. The time threshold is the second preset time. The specific method for obtaining the second preset time can be seen in the next example. After stopping the first magnetic field, the magnetization magnetic field strength of the end of the LED affected by the first magnetic field is detected. The magnetization magnetic field strength can be detected by using a Hall element, and the magnetization magnetic force strength can also be detected by measuring the change in magnetic resistance of the magnetic material in the magnetic field, etc., but not limited to this.
[0064] For example, an experiment can be set up to obtain the second preset time. The experimental equipment includes an electromagnet device, a ferromagnetic LED and a timer. The specific steps include: first, magnetize the ferromagnetic LED (the time to change the magnetization direction of a magnetized ferromagnetic object is longer than the time to magnetize an unmagnetized ferromagnetic object), and then place the ferromagnetic LED in the magnetization area on the unactivated electromagnet device (the area refers to the maximum area allowed to be mounted during the LED mounting process), and ensure that the magnetization magnetic field direction of the ferromagnetic LED is opposite to the first magnetic field direction, then preset a first time, turn on the first magnetic field and turn it off after the first time, and finally detect whether the magnetization direction of the ferromagnetic LED is changed. If it is changed, reduce the first time and repeat the experiment, and if it is not changed, increase the first time and repeat the experiment. After the experiment is repeated many times, the second time can be obtained (the second time refers to the time when the first magnetic field can just change the magnetization direction of the ferromagnetic LED), and the ferromagnetic LED and the electromagnet device can be replaced, and the maximum experimental time is taken as the second time to reduce the system error. The second time can be directly used as the second preset time, or the second time can be appropriately expanded as the second preset time.
[0065] Such an arrangement can prevent the first magnetic field from interfering with other electronic devices to the greatest extent, improve the environmental applicability of the method, and improve the detection efficiency while ensuring the detection accuracy.
[0066] In one possible implementation, see Figure 2 In step S300, after a second preset time, the first magnetic field is stopped, and the magnetization magnetic field intensity of the end of the LED affected by the first magnetic field is detected, including:
[0067] S310, when the first timer reaches the second preset time, a second signal is sent to the electromagnet device, and a third signal is sent to the magnetic measuring device after the preset time; wherein the second signal is used to make the electromagnet device stop generating the first magnetic field, and the third signal is used to make the magnetic measuring device measure the strength of the magnetizing magnetic field.
[0068] It can be understood that the first timer and the first electromagnet are turned on at the same time, so this step is equal to turning on the electromagnet device for a second preset time, turning off the electromagnet device, waiting for a preset time, and then starting the magnetic force measurement device to measure the magnetizing magnetic field strength, in order to prevent the residual magnetic field generated by the inductive effect of the electromagnet from affecting the measurement of the magnetizing magnetic field strength.
[0069] Such an arrangement can improve the control accuracy of the first magnetic field, which is beneficial to improving the detection accuracy of the magnetizing magnetic field intensity.
[0070] S320, receiving the magnetization magnetic field strength measured by a magnetic force measuring device; wherein the magnetic force measuring device is located on one side of an end of the LED wrapped by the first magnetic field.
[0071] It can be understood that after sending the third signal to the magnetic measuring device, the magnetic measuring device will send the measured magnetization magnetic field strength to the copper wire lamp manufacturing control device. In order to make the magnetization magnetic field strength measured by the magnetic measuring device as faithful as possible, the magnetic measuring device can be placed in the up and down directions of the end of the LED affected by the first magnetic field, and the up and down directions refer to the light emitting direction and the backlight direction of the LED.
[0072] Such an arrangement can improve the accuracy of the obtained magnetizing magnetic field strength.
[0073] S400, obtaining direction information of the LED according to the magnetization magnetic field strength and the image information; wherein the direction information is used to indicate the position of the LED after being mounted.
[0074] It can be understood that the direction information of the LED can be obtained based on the magnetization magnetic field strength, and the direction information of the LED can also be obtained based on the image information, but both have advantages and disadvantages. By combining the two methods to obtain the direction information of the LED, the misjudgment of one of the two methods can be avoided. For example, when the image quality is very poor, the result of the magnetization magnetic field strength method shall be used as the basis, and so on.
[0075] With such a configuration, the final LED direction information obtained by combining the two methods has the advantage of being more precise, thereby improving the accuracy of the obtained LED direction information.
[0076] In one possible implementation, see Figure 3 In step S400, the direction information of the LED is obtained according to the magnetization magnetic field strength and the image information, including:
[0077] S410, determining first direction information according to the magnetizing magnetic field strength; wherein the first direction information is used to indicate the direction behind the LED patch obtained by the magnetizing magnetic field strength.
[0078] It can be understood that in the above-mentioned first magnetic field magnetization process, the first magnetic field is set to only affect one end of the LED, and only one end of the LED is ferromagnetic. Therefore, the magnetization magnetic field has a directional attribute. By analyzing the magnetization magnetic field intensity, the direction information of the LED can be obtained and set as the first direction information. For specific analysis steps, see the subordinate steps of S410.
[0079] In a possible implementation, in step S410, refer to Figure 4 , a ferromagnetic metal block is provided at the positive terminal of the LED so that the positive terminal of the LED has ferromagnetism; wherein the upper surface and the lower surface of the ferromagnetic metal block are parallel, and the shape of the upper surface is the same as the shape of the lower surface, and the longest axis of the ferromagnetic metal block vertically passes through the upper surface and the lower surface, and is perpendicular to the light-emitting surface of the LED; determining the first direction information according to the magnetization magnetic field intensity, including:
[0080] S411a, if the magnetizing magnetic field strength is greater than the preset error magnetic field strength, determine that the positive terminal of the LED is located at the position of the first magnetic field; the preset error magnetic field strength is used to reflect the error magnetic field strength generated by the first magnetic field magnetizing other ferromagnetic objects.
[0081] It can be understood that the preset error magnetic field strength refers to the estimated size of the error magnetic field strength generated when the first magnetic field is magnetized to other ferromagnetic materials in the environment. For example, there is an iron tool near the electromagnet device, and the first magnetic field magnetizes the iron tool. The magnetic field strength generated by the iron tool measured by the magnetic measuring device is the error magnetic field strength, and the preset error magnetic field strength is a set error magnetic field strength threshold. The size of this value is affected by the environment. The preset error magnetic field strength can be obtained by turning on the first magnetic field during the initialization stage of the copper wire lamp manufacturing equipment, and then measuring the error magnetic field strength through magnetic measurement.
[0082] The method of determining the first direction information of different types of ferromagnetic metal blocks is discussed in different situations, including two types of ferromagnetic metal block distributions, namely, the ferromagnetic metal block is at the positive end of the LED and the ferromagnetic metal block is at the negative end of the LED. The situation classification is shown in Table 1:
[0083] Table 1
[0084]
[0085] At this time, the first condition of Table 1 is satisfied, that is, the positive terminal of the LED is magnetized, so the positive terminal of the LED is located at the position of the first magnetic field.
[0086] S412a, if the magnetizing magnetic field strength is less than the preset error magnetic field strength, determine that the negative terminal of the LED is located at the position of the first magnetic field.
[0087] It can be understood that at this time, the third condition of Table 1 is satisfied, that is, the positive terminal of the LED is not magnetized, so the negative terminal of the LED is located at the position of the first magnetic field;
[0088] Optionally, in step S410, refer to Figure 4 , a ferromagnetic metal block is provided at the negative terminal of the LED, and the direction information of the LED is obtained according to the magnetization magnetic field intensity and the image information; wherein the upper surface and the lower surface of the ferromagnetic metal block are parallel, and the shape of the upper surface is the same as the shape of the lower surface, and the longest axis of the ferromagnetic metal block vertically passes through the upper surface and the lower surface, and is perpendicular to the light-emitting surface of the LED; comprising:
[0089] S411b: If the magnetizing magnetic field strength is greater than the preset error magnetic field strength, determine that the negative terminal of the LED is located at the position of the first magnetic field.
[0090] It can be understood that at this time, the second condition of Table 1 is satisfied, that is, the negative terminal of the LED is magnetized, so the negative terminal of the LED is located at the position of the first magnetic field.
[0091] S412b: If the magnetizing magnetic field strength is less than the preset error magnetic field strength, determine that the positive terminal of the LED is located at the position of the first magnetic field.
[0092] It can be understood that at this time, the fourth situation of Table 1 is satisfied, that is, the negative terminal of the LED is not magnetized, so the positive terminal of the LED is located at the position of the first magnetic field.
[0093] With such arrangement, the first direction information represented by the ferromagnetic metal block with the same upper and lower surface shapes under various magnetizing magnetic field conditions is analyzed in detail, thereby improving the credibility of the first direction information.
[0094] In a possible implementation, in step S410, refer to Figure 4 , a ferromagnetic metal block is disposed at the positive terminal of the LED; wherein the upper surface and the lower surface of the ferromagnetic metal block are parallel, and the area of the upper surface is smaller than the area of the lower surface, and the longest axis of the ferromagnetic metal block vertically passes through the upper surface and the lower surface, and is perpendicular to the light-emitting surface of the LED; determining the first direction information according to the magnetization magnetic field intensity, including:
[0095] S411c, if the magnetizing magnetic field strength is greater than the preset error magnetic field strength, determine that the positive terminal of the LED is located at the position of the first magnetic field, and judge whether the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength; the preset error magnetic field strength is used to reflect the error magnetic field strength generated by the first magnetic field magnetizing other ferromagnetic objects, and the preset intermediate magnetic field strength is used to distinguish the upper surface magnetic field strength and the lower surface magnetic field strength of the magnetized ferromagnetic metal block, and the preset intermediate magnetic field strength is greater than the lower surface magnetic field strength after magnetization, and less than the upper surface magnetic field strength after magnetization.
[0096] It can be understood that step S411c is different from step S411a, and is characterized in that after determining the directions of the two ends of the LED, S411c further adds a judgment step of judging whether the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength. The upper and lower surface shapes of the ferromagnetic metal block in S411c are no longer the same, but the upper surface area of the ferromagnetic metal block is smaller than the lower surface area. Therefore, due to the tip effect of the magnetic field, if the ferromagnetic metal block is magnetized, the magnetic field strength on the upper surface is higher than that on the lower surface, thereby inferring the upper and lower directions of the LED.
[0097] Such an arrangement improves the dimension of the first direction information, and indirectly improves the dimension and accuracy of the finally obtained direction information of the LED.
[0098] S412c, if the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength, the upper surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the lower surface.
[0099] It can be understood that the magnetization magnetic field strength is greater than the preset intermediate magnetic field strength, which means that the magnetic measurement device measures the magnetic field strength of the upper surface with a smaller area. From this, it can be concluded that the upper surface of the ferromagnetic metal block is closer to the magnetic measurement device than the lower surface.
[0100] S413c, if the magnetizing magnetic field strength is less than the preset intermediate magnetic field strength, the lower surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the upper surface.
[0101] It can be understood that the magnetization magnetic field strength is less than the preset intermediate magnetic field strength, which means that the magnetic measurement device measures the magnetic field strength of the lower surface with a larger area. From this, it can be concluded that the lower surface of the ferromagnetic metal block is closer to the magnetic measurement device than the upper surface.
[0102] S414c, if the magnetizing magnetic field strength is less than the preset error magnetic field strength, the control adjustment device is used to swap the directions of the two ends of the LED and perform the first operation; wherein the first operation includes: clearing the magnetizing magnetic field strength, re-obtaining the magnetizing magnetic field strength, and then re-determining the first direction information based on the magnetizing magnetic field strength.
[0103] It can be understood that the steps S411c to S413c require the magnetization magnetic field intensity > the preset error magnetic field intensity as a prerequisite before the step of determining the up and down direction information of the LED can be performed (the up and down direction information refers to the orientation of the light-emitting surface and the backlight surface of the LED). Therefore, when the prerequisite is not met, the directions of the two ends of the LED are swapped and the steps S411c to S413c are restarted. The magnetic measurement device and the electromagnet device can also be placed at the same end of the LED to ensure a lower operation complexity (if the magnetic measurement device and the electromagnet device are not at the same end, one swap and two magnetization operations are required, and if they are at the same end, only one magnetization operation is required when the LED patch is correct, and one swap and two magnetization operations are required when the patch is wrong).
[0104] With this arrangement, the ferromagnetic metal block with unequal upper and lower surfaces is equivalent to a functionally expanded version of the ferromagnetic metal block with equal upper and lower surfaces. The metal block with unequal upper and lower surfaces includes all the functions of the metal block with equal upper and lower surfaces, and can also determine the up and down direction of the LED, but has higher requirements for magnetic measurement devices and other equipment (the metal block with unequal upper and lower surfaces needs to divide the magnetization magnetic field intensity into 3 levels, while the metal block with equal upper and lower surfaces is only divided into 2 levels, and the system error of the metal block with unequal upper and lower surfaces is larger). Therefore, it is possible to decide which metal block to use according to needs, thereby improving the practicability of the method.
[0105] Optionally, in step S410, refer to Figure 4 , a ferromagnetic metal block is disposed at the negative electric end of the LED; wherein the upper surface and the lower surface of the ferromagnetic metal block are parallel, and the area of the upper surface is smaller than the area of the lower surface, and the longest axis of the ferromagnetic metal block vertically passes through the upper surface and the lower surface, and is perpendicular to the light-emitting surface of the LED; determining the first direction information according to the magnetization magnetic field intensity, including:
[0106] S411d, if the magnetizing magnetic field strength is greater than the preset error magnetic field strength, determine that the negative terminal of the LED is located at the position of the first magnetic field, and determine whether the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength.
[0107] It can be understood that, similar to step S411c, the feature is that the ferromagnetic metal block is disposed at the negative terminal of the LED.
[0108] S412d, if the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength, the upper surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the lower surface.
[0109] It can be understood that this is the same as step S412c and will not be repeated here.
[0110] S413d, if the magnetizing magnetic field strength is less than the preset intermediate magnetic field strength, the lower surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the upper surface.
[0111] It can be understood that this is the same as step S413c and will not be repeated here.
[0112] S414d, if the magnetizing magnetic field strength is less than the preset error magnetic field strength, control the adjustment device to swap the directions of the two ends of the LED and perform the first operation.
[0113] It can be understood that this is the same as step S414c and will not be repeated here.
[0114] S420, obtaining an image quality evaluation value and second direction information according to the image information; wherein the image quality evaluation value is used to reflect the quality of the image information, and the second direction information is used to indicate the orientation behind the LED patch obtained from the image information.
[0115] It is understandable that anisotropic graphics (such as a right-angled trapezoid) can be set on the LED, and different colors can be set in different directions of the LED, etc., but not limited to this, and then a special mark or color is found in the image information to obtain the second direction information. The similarity between the special mark in the image information and the predetermined mark image can be compared to obtain the image quality evaluation value, and a special comparison picture can be set on the winding table to analyze the clarity of the special picture in the image information to determine the image quality evaluation value.
[0116] Such an arrangement improves the accuracy of the image quality evaluation value and the second direction information.
[0117] In a possible implementation, in step S420, refer to Figure 5 , according to the image information, an image quality evaluation value and second direction information are obtained, including:
[0118] S421, determining a first appearance feature of the LED based on the image information; wherein the first appearance feature is used to reflect the appearance feature of the LED in the image information.
[0119] Exemplarily, the first appearance feature may be a color feature, a shape feature, or a color+shape feature.
[0120] It can be understood that a special mark can be set on the LED patch area on the winding table first, so as to locate the LED in the image information. The special mark can be that the background color of the LED patch area is different from that of other areas. After locating the LED, the first appearance feature can be obtained by statistically analyzing the color moments of the colors of each edge of the LED (the color moment is a method of expressing color features). The special shape mark of the LED can also be extracted through an edge detection algorithm to obtain the first appearance feature. The first appearance feature can also be obtained by combining statistical color moments and edge detection.
[0121] Such an arrangement can fully extract key information from the image information, which is beneficial to improving the accuracy of the image quality assessment value and the second direction information.
[0122] S422, calculating the similarity between the first appearance feature and the preset appearance feature to obtain an image quality evaluation value; wherein the preset appearance feature is used to reflect the appearance feature preset on the LED.
[0123] It can be understood that the first-order moment (mean) of the color moment of the first appearance feature and the preset appearance feature can be compared to obtain the image quality evaluation value; the shape feature of the first appearance feature and the preset appearance feature can be compared to obtain the image quality evaluation value; and the color feature and the shape feature can also be compared at the same time, and an adjustable weight value can be set to obtain the image quality evaluation value.
[0124] For example, the color first-order moment of a certain edge of the LED in the first appearance feature (the first appearance feature includes the color moments of multiple edges of the LED) is #00FFFF color (RGB color code), and the color first-order moment of the corresponding edge in the preset appearance feature is #33FFFF color, then the first appearance feature and the preset appearance feature are (RGB color codes are grouped in pairs, for a total of three groups. The total similarity is equal to the product of the similarities of the three groups. #FF is decimal 255, #33 is decimal 51, represents the similarity between #33 and #00), the image quality evaluation value is 80%.
[0125] Exemplarily, the shape of the first appearance feature obtained by the edge extraction algorithm is the first shape, and the shape of the preset appearance feature is the second shape. First, the geometric centers of the first shape and the second shape are aligned. Then, the second shape is fixed and the first shape is rotated 360°. At the same time, the size of the overlapping area of the two shapes is recorded. Finally, the maximum overlapping area S1 is obtained from the overlapping area size record. Then, the first appearance feature and the preset appearance feature are
[0126] With such a configuration, the image quality evaluation value is obtained by comparing the color features or the shape features, thereby improving the accuracy of the image quality evaluation value.
[0127] S423: Obtain second direction information according to the first appearance feature and the preset appearance feature.
[0128] Exemplarily, the second direction information can be left-right direction information, up-down direction information, or left-right direction information + up-down direction information. Left-right direction information refers to the orientation of the two ends of the LED, and up-down direction information refers to the orientation of the light-emitting surface and the light-receiving surface of the LED.
[0129] It can be understood that the color moment of an edge can be selected in the first appearance feature, and then another edge with the closest color moment can be found in the preset appearance feature, and simple spatial relationships can be analyzed to obtain the second direction information; the shape features of the first appearance feature can also be analyzed to obtain the angle of the anisotropic special shape, and compared with the special shape angle of the preset appearance feature to obtain the second direction information.
[0130] Exemplarily, the preset appearance feature is set as the positive terminal of the LED is black and the negative terminal is white, and the directions of black and white are determined in the first appearance feature to obtain the left and right direction information of the LED.
[0131] Exemplarily, in the preset appearance feature, one corner of the special shape points to the 12 o'clock direction, while in the first appearance feature, the corner points to the 6 o'clock direction. The second direction information is that the LED is offset by 180° in the left and right directions, thereby obtaining the left and right direction information of the LED.
[0132] Exemplarily, a special mark is set on the light-emitting surface of the LED in the preset appearance feature, and the special mark is retrieved in the first appearance feature. When the similarity between the special mark of the first appearance feature and the preset special mark is greater than a preset value, the second direction information is determined to be that the light-emitting surface of the LED is facing the image acquisition device.
[0133] Such an arrangement can ensure the accuracy of the second direction information without the need for complex calculations.
[0134] S430: When it is determined based on the first direction information and the second direction information that the direction of the LED indicated by the first direction information is the same as the direction of the LED indicated by the second direction information, determine the first direction information or the second direction information as the direction information of the LED.
[0135] It can be understood that when the results of the first direction information and the second direction information are the same, it is determined that the direction information of the LED = the first direction information = the second direction information.
[0136] With such configuration, various possible situations of the first direction information and the second direction information are listed, thereby improving the accuracy of the direction information of the LED.
[0137] S440, when it is determined based on the first direction information and the second direction information that the direction of the LED indicated by the first direction information is different from the direction of the LED indicated by the second direction information, determine the direction information of the LED according to the image quality evaluation value, the first direction information and the second direction information.
[0138] It can be understood that when the results of the first direction information and the second direction information are different, the credibility of the second direction information is determined according to the image quality evaluation value, and then the direction information of the LED is determined according to the credibility of the second direction information.
[0139] Such an arrangement refines various situations that may be encountered by the control method, thereby improving the practicality and feasibility of the method.
[0140] In a possible implementation, in step S440, refer to Figure 6 , obtaining direction information of the LED according to the image quality evaluation value, the first direction information and the second direction information, including:
[0141] S441, if the image quality evaluation value is less than a first threshold, determining that the first direction information is the direction information of the LED; wherein the first threshold is used to reflect the quality level of the image quality evaluation value.
[0142] It can be understood that when the image quality evaluation value is less than the first threshold, it is determined that the second direction information is not credible enough, so the first direction information is used as a reference to obtain the direction information of the LED. The first threshold can be measured by experiment or set by the user.
[0143] Such an arrangement lists the situations where the credibility of the second direction information is insufficient, thereby improving the accuracy of the direction information of the LED.
[0144] S442, if the image quality assessment value is greater than the first threshold and less than the second threshold, perform the second operation; wherein the second threshold is used to reflect the quality level of the image quality assessment value, the second threshold is greater than the first threshold, and the second operation includes: clearing the image quality assessment value, the first direction information and the second direction information, and re-detecting the image quality assessment value, the first direction information and the second direction information, and then re-determining the direction information of the LED based on the image quality assessment value, the first direction information and the second direction information.
[0145] It can be understood that when the image quality evaluation value is greater than the first threshold value and less than the second threshold value, it is determined that the credibility of the second direction information is not high enough and not low enough, and the first direction information also conflicts with the second direction information, so the direction information of the LED cannot be determined, then the image quality evaluation value, the first direction information and the second direction information are re-detected, and the direction information of the LED is re-determined based on the image quality evaluation value, the first direction information and the second direction information. The second threshold value can be measured by experiment or set by the user.
[0146] With such an arrangement, the situation where the credibility of the second direction information is neither high nor low is listed, thereby improving the accuracy of the direction information of the LED.
[0147] Optionally, see Figure 7 , the method further comprises:
[0148] S4421, if the second operation is executed continuously for a preset number of times, control the adjustment device to replace the LED and execute the second operation.
[0149] It can be understood that when the image quality evaluation value is not high enough or low enough, the second operation is performed. The second operation is equivalent to a loop, so it is necessary to add a condition to the loop. The condition is that the second operation is performed continuously for a preset number of times, and then the loop is ended. The method to end the loop is to control the adjustment device to replace an LED and start from the beginning.
[0150] Such an arrangement can prevent the repetition of the second operation from falling into an endless loop, thereby improving the practicality of the method.
[0151] S4422: If the second operation is performed again continuously for a preset number of times after the LED is replaced, a fourth signal is sent to the alarm device; wherein the fourth signal is used to cause the alarm device to generate an alarm.
[0152] It can be understood that if the second operation is still performed continuously after replacing the LED, it means that the problem is not with the LED, but with the copper wire lamp manufacturing control device itself. At this time, a fourth signal is sent to the alarm device, which is used to notify the management personnel that the equipment is faulty.
[0153] Such an arrangement enables the fault to be discovered automatically, thus improving the practicality of the method.
[0154] S443: If the image quality evaluation value is greater than a second threshold, determine that the second direction information is the direction information of the LED.
[0155] It can be understood that when the image quality evaluation value is greater than the second threshold, it is determined that the credibility of the second direction information is high enough, and thus the direction information of the LED is obtained based on the second direction information.
[0156] With such an arrangement, the situation where the credibility of the second direction information is sufficiently high is listed, thereby improving the accuracy of the direction information of the LED.
[0157] S500, when it is determined based on the direction information that the LED patch is wrong, controlling the adjustment device to adjust the LED.
[0158] It can be understood that under normal circumstances, the LED has only four orientations, namely, the positive end of the LED is closest to the magnetic measuring device, the positive end of the LED is closest to the magnetic measuring device, the negative end of the LED is closest to the magnetic measuring device, and the negative end of the LED is closest to the magnetic measuring device. The orientation of the LED can be obtained from the direction information, and then the adjustment device can be controlled to adjust the LED to the preset orientation.
[0159] This setting can automatically verify the correctness of the patch process without manual operation, and can also automatically adjust the LED to the correct position.
[0160] Figure 8A hardware diagram of the patch process in the copper wire lamp manufacturing control method is shown, wherein an LED 11 is attached to a copper wire 14 wound on a copper wire winding table 13, and an extended function device 12 is provided on the copper wire winding table 13. The extended function device 12 can be an electromagnet device or a magnetic measurement device.
[0161] Fig. 9 A ferromagnetic metal block with an upper surface area larger than a lower surface area is shown, which is only an example and should not be considered as limiting the shape of the ferromagnetic metal block.
[0162] Fig.10 yes Fig. 9 The front view of the magnetized ferromagnetic metal block shows the upper surface 21 and the lower surface 22 of the ferromagnetic metal block. It can be seen that the magnetic field intensity at the upper surface 21 is greater than the magnetic field intensity at the lower surface 22.
[0163] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0164] Corresponding to the copper wire lamp manufacturing control method described in the above embodiment, the embodiment of the present application further provides a copper wire lamp manufacturing control device, and each module of the device can implement each step of the copper wire lamp manufacturing control method. Fig.11 A structural block diagram of a copper wire lamp manufacturing control device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0165] Reference Fig.11 , the device comprises:
[0166] A distance monitoring module is used to monitor a first distance between the LED and the copper wire winding table during the patch process; wherein the LED comprises a positive terminal and a negative terminal, one of the positive terminal and the negative terminal of the LED is ferromagnetic, and the other is non-ferromagnetic;
[0167] A first processing module is used for acquiring image information of the LED and controlling the electromagnet device to generate a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table when it is monitored that the first distance is constant within a first preset time and the first distance is less than a preset threshold; wherein the first magnetic field is located on one side of the patch position of the LED, and the first magnetic field wraps one end of the LED but does not wrap the other end of the LED;
[0168] a second processing module, configured to control the electromagnet device to stop generating the first magnetic field after a second preset time, and obtain the magnetization magnetic field strength of one end of the LED wrapped by the first magnetic field; wherein the first magnetic field can magnetize the LED within the second preset time;
[0169] An analysis module, used to obtain the direction information of the LED according to the magnetizing magnetic field intensity and the image information; wherein the direction information is used to indicate the position behind the LED patch;
[0170] The adjustment module is used to control the adjustment device to adjust the LED when it is determined that the LED patch is wrong based on the direction information.
[0171] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0172] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0173] The embodiment of the present application also provides a copper wire lamp manufacturing control device, Fig.12 This is a schematic diagram of the structure of a copper wire lamp manufacturing control device provided in one embodiment of the present application. Fig.12 As shown, the copper wire lamp manufacturing control device 9 of this embodiment includes a monitoring device and a control device connected to the monitoring device in communication. The monitoring device includes an electromagnet device, a magnetic force measuring device, a distance sensor and an image acquisition module. The control device includes: at least one processor 90 ( Fig.12 Only one is shown), at least one memory 91 ( Fig.12Only one is shown) and a computer program 92 stored in the at least one memory 91 and executable on the at least one processor 90, when the processor 90 executes the computer program 92, the copper wire lamp manufacturing control device 9 implements the steps in any of the above-mentioned copper wire lamp manufacturing control method embodiments.
[0174] Exemplarily, the computer program 92 may be divided into one or more modules, which are stored in the memory 91 and executed by the processor 90 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 92 in the electronic device 9.
[0175] The control device 9 of the copper wire lamp manufacturing control device can be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The control device of the copper wire lamp manufacturing control device can include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art can understand that Fig.12 It is only an example of the copper wire lamp manufacturing control device 9 and does not constitute a limitation on the copper wire lamp manufacturing control device 9. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.
[0176] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0177] In some embodiments, the memory 91 may be an internal storage unit of the copper wire lamp manufacturing control device 9, such as a hard disk or memory of the copper wire lamp manufacturing control device 9. In other embodiments, the memory 91 may also be an external storage device of the copper wire lamp manufacturing control device 9, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the copper wire lamp manufacturing control device 9. Further, the memory 91 may also include both an internal storage unit and an external storage device of the copper wire lamp manufacturing control device 9. The memory 91 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 91 may also be used to temporarily store data that has been output or is to be output.
[0178] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0179] An embodiment of the present application provides a computer program product. When the computer program product is run on a copper wire lamp manufacturing control device, the copper wire lamp manufacturing control device implements the steps in any of the above method embodiments.
[0180] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the control device / copper wire lamp manufacturing control device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0181] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0182] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0183] In the embodiments provided in the present application, it should be understood that the disclosed copper wire lamp manufacturing control device and equipment can be implemented in other ways. For example, the copper wire lamp manufacturing control device embodiment described above is only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0184] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0185] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A copper wire lamp manufacturing control method, characterized in that: Applied to copper wire lamp manufacturing control equipment, the method comprises: Monitoring a first distance between the LED and the copper wire winding table during the patch process; wherein the LED comprises a positive terminal and a negative terminal, one of the positive terminal and the negative terminal of the LED is ferromagnetic, and the other is non-ferromagnetic; When it is monitored that the first distance is constant within a first preset time and the first distance is less than a preset threshold, image information of the LED is acquired, and the electromagnet device is controlled to generate a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table; wherein the first magnetic field is located on one side of the patch position of the LED, and the first magnetic field wraps one end of the LED but does not wrap the other end of the LED; After a second preset time, the electromagnet device is controlled to stop generating the first magnetic field, and the magnetization magnetic field strength of one end of the LED wrapped by the first magnetic field is obtained; wherein the first magnetic field can magnetize the LED within the second preset time; According to the magnetizing magnetic field strength and the image information, the direction information of the LED is obtained; wherein the direction information is used to indicate the position behind the LED patch; When it is determined based on the direction information that the LED patch is wrong, the adjusting device is controlled to adjust the LED.
2. The copper wire lamp manufacturing control method according to claim 1, characterized in that: The control electromagnet device generates a first magnetic field perpendicular to the light-emitting surface of the LED on the copper wire winding table, comprising: When it is monitored that the first distance is constant within a first preset time and is less than a preset threshold, a first signal is sent to the electromagnet device, and a first timer of the copper wire lamp manufacturing control device is started simultaneously; wherein the first signal is used to enable the electromagnet device to generate the first magnetic field.
3. The copper wire lamp manufacturing control method according to claim 2, characterized in that: After the second preset time, controlling the electromagnet device to stop generating the first magnetic field, and obtaining the magnetization magnetic field intensity of one end of the LED wrapped by the first magnetic field, comprises: When the first timer reaches the second preset time, a second signal is sent to the electromagnet device, and a third signal is sent to the magnetic measurement device after a preset time; wherein the second signal is used to make the electromagnet device stop generating the first magnetic field, and the third signal is used to make the magnetic measurement device measure the magnetization magnetic field strength; Receive the magnetization magnetic field strength measured by the magnetic force measuring device; wherein the magnetic force measuring device is located on one side of an end of the LED wrapped by the first magnetic field.
4. The copper wire lamp manufacturing control method according to claim 3, characterized in that: The step of obtaining the direction information of the LED according to the magnetizing magnetic field intensity and the image information includes: Determine first direction information according to the magnetizing magnetic field strength; wherein the first direction information is used to indicate the orientation behind the LED patch obtained by the magnetizing magnetic field strength; Obtain an image quality evaluation value and second direction information according to the image information; wherein the image quality evaluation value is used to reflect the quality of the image information, and the second direction information is used to indicate the position behind the LED patch obtained from the image information; When it is determined based on the first direction information and the second direction information that the direction of the LED indicated by the first direction information is the same as the direction of the LED indicated by the second direction information, determining the first direction information or the second direction information as the direction information of the LED; When it is determined based on the first direction information and the second direction information that the direction of the LED indicated by the first direction information is different from the direction of the LED indicated by the second direction information, the direction information of the LED is determined according to the image quality evaluation value, the first direction information and the second direction information.
5. The copper wire lamp manufacturing control method according to claim 4, characterized in that: A ferromagnetic metal block is disposed at the positive terminal of the LED so that the positive terminal of the LED has ferromagnetism; wherein the upper surface and the lower surface of the ferromagnetic metal block are parallel, and the shape of the upper surface is the same as the shape of the lower surface, and the longest axis of the ferromagnetic metal block vertically passes through the upper surface and the lower surface, and is perpendicular to the light-emitting surface of the LED; and determining the first direction information according to the magnetization magnetic field intensity includes: If the magnetizing magnetic field strength is greater than the preset error magnetic field strength, it is determined that the positive terminal of the LED is located at the position of the first magnetic field; the preset error magnetic field strength is used to reflect the error magnetic field strength generated by the first magnetic field magnetizing other ferromagnetic objects; If the magnetizing magnetic field strength is less than the preset error magnetic field strength, determining that the negative terminal of the LED is located at the position of the first magnetic field; Alternatively, the negative terminal of the LED is provided with the ferromagnetic metal block so that the negative terminal of the LED has ferromagnetism; and determining the first direction information according to the magnetizing magnetic field intensity includes: If the magnetizing magnetic field strength is greater than the preset error magnetic field strength, determining that the negative terminal of the LED is located at the position of the first magnetic field; If the magnetizing magnetic field strength is less than the preset error magnetic field strength, it is determined that the positive terminal of the LED is located at the position of the first magnetic field.
6. The copper wire lamp manufacturing control method according to claim 4, characterized in that: A ferromagnetic metal block is disposed at the positive terminal of the LED so that the positive terminal of the LED has ferromagnetism; wherein the upper surface and the lower surface of the ferromagnetic metal block are parallel, and the area of the upper surface is smaller than the area of the lower surface, and the longest axis of the ferromagnetic metal block vertically passes through the upper surface and the lower surface, and is perpendicular to the light-emitting surface of the LED; and determining the first direction information according to the magnetization magnetic field intensity includes: If the magnetization magnetic field strength is greater than the preset error magnetic field strength, it is determined that the positive terminal of the LED is located at the position of the first magnetic field, and it is determined whether the magnetization magnetic field strength is greater than the preset intermediate magnetic field strength; the preset error magnetic field strength is used to reflect the error magnetic field strength generated by the first magnetic field magnetizing other ferromagnetic objects, the preset intermediate magnetic field strength is used to distinguish the upper surface magnetic field strength and the lower surface magnetic field strength of the magnetized ferromagnetic metal block, and the preset intermediate magnetic field strength is greater than the lower surface magnetic field strength of the magnetized ferromagnetic metal block, and less than the upper surface magnetic field strength of the magnetized ferromagnetic metal block; If the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength, the upper surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the lower surface; If the magnetizing magnetic field strength is less than the preset intermediate magnetic field strength, the lower surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the upper surface; If the magnetizing magnetic field strength is less than the preset error magnetic field strength, the adjustment device is controlled to swap the directions of the two ends of the LED to perform a first operation; wherein the first operation includes: clearing the magnetizing magnetic field strength, re-obtaining the magnetizing magnetic field strength, and re-determining the first direction information according to the magnetizing magnetic field strength; Alternatively, the negative terminal of the LED is provided with the ferromagnetic metal block so that the negative terminal of the LED has ferromagnetism; and determining the first direction information according to the magnetizing magnetic field intensity includes: If the magnetizing magnetic field strength is greater than the preset error magnetic field strength, determining that the negative terminal of the LED is located at the position of the first magnetic field, and determining whether the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength; If the magnetizing magnetic field strength is greater than the preset intermediate magnetic field strength, the upper surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the lower surface; If the magnetizing magnetic field strength is less than the preset intermediate magnetic field strength, the lower surface of the ferromagnetic metal block is closer to the magnetic force measuring device than the upper surface; If the magnetizing magnetic field strength is less than the preset error magnetic field strength, the adjusting device is controlled to swap the directions of the two ends of the LED to perform the first operation.
7. The copper wire lamp manufacturing control method according to claim 5 or 6, characterized in that: The obtaining of the image quality evaluation value and the second direction information according to the image information comprises: Determine a first appearance feature of the LED based on the image information; wherein the first appearance feature is used to reflect the appearance feature of the LED in the image information; Calculating the similarity between the first appearance feature and a preset appearance feature to obtain the image quality evaluation value; wherein the preset appearance feature is used to reflect the appearance feature preset on the LED; The second direction information is obtained according to the first appearance feature and the preset appearance feature.
8. The copper wire lamp manufacturing control method according to claim 7, characterized in that: The determining the direction information of the LED according to the image quality evaluation value, the first direction information and the second direction information comprises: If the image quality evaluation value is less than a first threshold, determining that the first direction information is the direction information of the LED; wherein the first threshold is used to reflect the quality level of the image quality evaluation value; If the image quality evaluation value is greater than the first threshold and less than the second threshold, a second operation is performed; wherein the second threshold is used to reflect the quality level of the image quality evaluation value, the second threshold is greater than the first threshold, and the second operation includes: clearing the image quality evaluation value, the first direction information, and the second direction information, and re-detecting the image quality evaluation value, the first direction information, and the second direction information, and then re-determining the direction information of the LED according to the image quality evaluation value, the first direction information, and the second direction information; If the image quality evaluation value is greater than the second threshold, it is determined that the second direction information is the direction information of the LED.
9. The copper wire lamp manufacturing control method according to claim 8, characterized in that: The method further comprises: If the second operation is performed continuously for a preset number of times, controlling the adjustment device to replace the LED and performing the second operation; If the second operation is performed again continuously for the preset number of times after the LED is replaced, a fourth signal is sent to the alarm device; wherein the fourth signal is used to cause the alarm device to generate an alarm.
10. A copper wire lamp manufacturing control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.