Product switching method, control device and assembly line

By setting up control devices and switching devices on the assembly line, abnormal products are automatically identified and switched, the problem of abnormal products being accidentally placed on the good product line is solved, and the accuracy of product quality control and corporate competitiveness are improved.

CN120406339APending Publication Date: 2025-08-01GEER INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510488484.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the prior art, products are easily placed on the assembly line by mistake on the good product line, resulting in abnormal products not being able to switch back to the bad product line in time, affecting product quality and corporate competitiveness.

Method used

The assembly line is set up to control devices, collection devices, switching devices, good product lines and bad product lines. By collecting abnormal pallet numbers, determine their position, and use the lifting mechanism and adsorption conveying mechanism to switch the abnormal load tray from good product lines to bad product lines.

Benefits of technology

It realizes automatic switching of abnormal products, improves the accuracy of product quality control and the competitiveness of enterprises in the market, and ensures that the products on good products are truly qualified products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406339A_ABST
    Figure CN120406339A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of industrial control, and discloses a product switching method, a control device and an assembly line, the method is applied to the control device in the assembly line, the assembly line further comprises a collecting device, a switching device, a non-defective product line and a defective product line, and the non-defective product line and the defective product line are each provided with a plurality of carrying trays. Each loading tray is provided with a corresponding tray number; the method comprises the steps that when an abnormal tray number input by a user is received, the tray number of a carrying tray on a good product line is collected through a collection device, a first collection result is obtained, and the abnormal tray number is the tray number corresponding to the carrying tray carrying an abnormal product on the good product line; determining an abnormal tray position of an abnormal loading tray corresponding to the abnormal tray number according to the first acquisition result; and when the position of the abnormal tray is the preset switching position, the abnormal loading tray is switched from the non-defective product line to the defective product line through the switching device. According to the invention, switching of abnormal products can be completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial control technology, and in particular to a product switching method, a control device, and an assembly line. Background Art

[0002] Quality is an important criterion for whether a company can survive in such a fiercely competitive market. Good quality not only helps a company gain a competitive advantage in the market, but also wins the trust of customers and achieves sustainable development.

[0003] During the production test process, the assembly line is often divided into good product line and defective product line. However, since the products are usually placed on the assembly line manually, it is easy for operators to place abnormal products (i.e., defective products) on the good product line. Therefore, how to switch the abnormal products on the good product line back to the defective product line is a technical problem that needs to be solved urgently. Summary of the Invention

[0004] The main purpose of this application is to provide a product switching method, a control device and an assembly line, aiming to solve the existing technical problem of how to switch abnormal products on a good product line back to a defective product line.

[0005] To achieve the above-mentioned object, the present application provides a product switching method, which is applied to a control device in an assembly line. The assembly line also includes a collection device, a switching device, a good product line, and a defective product line. The good product line and the defective product line are both provided with a plurality of loading trays, each of which is provided with a corresponding tray number.

[0006] The method comprises:

[0007] Upon receiving the abnormal pallet number input by the user, the collection device collects the pallet number of the loading pallet on the qualified product line to obtain a first collection result, wherein the abnormal pallet number is the pallet number corresponding to the loading pallet carrying the abnormal product on the qualified product line;

[0008] determining an abnormal tray position of the abnormal loading tray corresponding to the abnormal tray number according to the first collection result;

[0009] When the abnormal tray position is the preset switching position, the abnormal carrier tray is switched from the good product line to the defective product line by the switching device.

[0010] In one embodiment, the good product line and the defective product line are spaced apart from each other, the good product line includes a first lifting mechanism, the defective product line includes a second lifting mechanism, and the switching device includes a conveying mechanism and an adsorption mechanism;

[0011] The step of switching the abnormal load tray from the good product line to the defective product line through the switching device includes:

[0012] Switch the abnormal load tray from the good product line to a preset feeding position through the first lifting mechanism;

[0013] Use the adsorption mechanism to adsorb the abnormal load tray to the conveying mechanism, and use the conveying mechanism to convey the abnormal load tray to the second lifting mechanism at a preset receiving position;

[0014] Switch the abnormal load tray from the preset receiving position to the defective product line through the second lifting mechanism.

[0015] In one embodiment, the step of switching the abnormal load tray from the preset receiving position to the defective product line through the second lifting mechanism includes:

[0016] Collect the tray number of the load tray on the defective product line through the collection device to obtain a second collection result;

[0017] Determine the reserved tray empty space on the defective product line according to the second collection result;

[0018] When the reserved tray empty space is at the position of the second lifting mechanism, switch the abnormal load tray from the preset receiving position to the reserved tray empty space through the second lifting mechanism.

[0019] In one embodiment, the assembly line further includes a counting circuit. The products in the load trays on the good product line are provided with good product labels, and the products in the load trays on the defective product line are provided with defective product labels;

[0020] After the step of switching the abnormal load tray from the good product line to the defective product line through the switching device, it further includes:

[0021] Receive the good product collection result and the defective product collection result output by the counting circuit. The good product collection result is generated by the counting circuit collecting the good product labels, and the defective product collection result is generated by the counting circuit collecting the defective product labels;

[0022] Determine the product quantity of normal products on the good product line according to the good product collection result, and determine the product quantity of abnormal products on the defective product line according to the defective product collection result.

[0023] In one embodiment, the counting circuit includes: a good product counting module and a defective product counting module;

[0024] The step of receiving the good product collection result and the defective product collection result output by the counting circuit includes:

[0025] Receiving the good product collection result output by the good product counting module, where the good product collection result is generated by the good product counting module collecting the good product label;

[0026] Receiving the defective product collection result output by the defective product counting module, where the defective product collection result is generated by the defective product counting module collecting the defective product label.

[0027] In an embodiment, the step of receiving the good product collection result output by the good product counting module further includes:

[0028] Receiving the adjusted good product collection result output by the good product counting module, where the adjusted good product collection result is generated by the good product counting module receiving the misplacement instruction and collecting the good product label;

[0029] The step of determining the quantity of normal products on the good product line according to the good product collection result includes:

[0030] Determining the quantity of normal products on the good product line according to the adjusted good product collection result.

[0031] In addition, to achieve the above object, the present application further provides a control device, and the device includes:

[0032] A result acquisition module, configured to collect the tray number of the load tray on the good product line through a collection device when receiving an abnormal tray number input by a user, and obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load tray carrying abnormal products on the good product line;

[0033] A position determination module, configured to determine the abnormal tray position of the abnormal load tray corresponding to the abnormal tray number according to the first collection result;

[0034] A product switching module, configured to switch the abnormal load tray from the good product line to the defective product line through a switching device when the abnormal tray position is a preset switching position.

[0035] In addition, to achieve the above object, the present application further provides an assembly line, and the assembly line includes: a control device, a collection device, a switching device, a good product line, and a defective product line. A plurality of load trays are provided on both the good product line and the defective product line, and corresponding tray numbers are provided on each load tray;

[0036] The control device is configured to, when receiving an abnormal tray number input by a user, collect the tray number of the load-carrying tray on the good product line through the collection device to obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load-carrying tray carrying abnormal products on the good product line; determine the abnormal tray position of the abnormal load-carrying tray corresponding to the abnormal tray number according to the first collection result; and when the abnormal tray position is a preset switching position, switch the abnormal load-carrying tray from the good product line to the defective product line through the switching device.

[0037] In one embodiment, the good product line and the defective product line are arranged at intervals. The good product line includes a first lifting mechanism, the defective product line includes a second lifting mechanism, and the switching device includes a conveying mechanism and an adsorption mechanism.

[0038] The control device is further configured to switch the abnormal load-carrying tray from the good product line to a preset feeding position through the first lifting mechanism; use the adsorption mechanism to adsorb the abnormal load-carrying tray to the conveying mechanism, and use the conveying mechanism to convey the abnormal load-carrying tray to the second lifting mechanism at a preset receiving position; and switch the abnormal load-carrying tray from the preset receiving position to the defective product line through the second lifting mechanism.

[0039] In one embodiment, the conveying mechanism includes: a base and a rotating table, and the adsorption mechanism includes: a telescopic member, a first magnet, and a second magnet.

[0040] The base is arranged between the good product line and the defective product line, and the rotating table is rotatably arranged on the base.

[0041] The telescopic member is telescopically arranged at the periphery of the rotating table. The first magnet is arranged at one end of the telescopic member away from the rotating table, the second magnet is arranged on one side of the load-carrying tray, and the first magnet is used for magnetically adsorbing the second magnet.

[0042] The present application provides a product switching method, a control device, and an assembly line. The method is applied to the control device in the assembly line. The assembly line further includes a collection device, a switching device, a good product line, and a defective product line. A plurality of load trays are provided on both the good product line and the defective product line, and corresponding tray numbers are set on each of the load trays. The method includes: when receiving an abnormal tray number input by a user, collecting the tray numbers of the load trays on the good product line through the collection device to obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load tray carrying an abnormal product on the good product line; determining the abnormal tray position of the abnormal load tray corresponding to the abnormal tray number according to the first collection result; and when the abnormal tray position is a preset switching position, switching the abnormal load tray from the good product line to the defective product line through the switching device.

[0043] Since the present application is provided with a control device, a collection device, a switching device, a good product line, and a defective product line in the assembly line, load trays are provided on both the good product line and the defective product line, and corresponding tray numbers are set on each of the load trays. Further, in actual use, if there is an abnormal product on the good product line that needs to be switched back to the defective product line, the user can first input the tray number corresponding to the load tray carrying the abnormal product as the above-mentioned abnormal tray number, then collect each tray number through the collection device, determine the position of the load tray corresponding to the abnormal tray number according to the obtained first collection result, and then when the position of the load tray is the preset switching position, switch the load tray corresponding to the abnormal tray number from the good product line to the defective product line through the switching device to complete the switching of the abnormal product. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0046] Figure 1 It is a schematic flowchart of the first embodiment of the product switching method of the present application;

[0047] Figure 2 It is a top view of the assembly line in the first embodiment of the product switching method of the present application;

[0048] Figure 3 It is a block diagram of the device connection in the first embodiment of the product switching method of the present application;

[0049] Figure 4 It is the front view of the assembly line in the first embodiment of the product switching method of the present application;

[0050] Figure 5 It is the schematic diagram of the first lifting mechanism lifting in the first embodiment of the product switching method of the present application;

[0051] Figure 6 It is the schematic diagram of the conveying mechanism conveying in the first embodiment of the product switching method of the present application;

[0052] Figure 7 It is the schematic diagram of the second lifting mechanism receiving materials in the first embodiment of the product switching method of the present application;

[0053] Figure 8 It is the schematic diagram of the second lifting mechanism contracting in the first embodiment of the product switching method of the present application;

[0054] Figure 9 It is the structural schematic diagram of the conveying mechanism and the adsorption mechanism in the first embodiment of the product switching method of the present application;

[0055] Figure 10 It is the flow schematic diagram of the second embodiment of the product switching method of the present application;

[0056] Figure 11 It is the device connection block diagram in the second embodiment of the product switching method of the present application;

[0057] Figure 12 It is the circuit schematic diagram of the good product counting module in the second embodiment of the product switching method of the present application;

[0058] Figure 13 It is the circuit schematic diagram of the defective product counting module in the second embodiment of the product switching method of the present application;

[0059] Figure 14 It is the structural schematic diagram of the first embodiment of the control device of the present application.

[0060] Explanation of the reference numerals in the drawings:

[0061]

[0062] The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0063] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0064] It should be noted that quality is an important criterion for whether a company can survive in such a fiercely competitive market. Good quality not only helps a company gain a competitive advantage in the market, but also wins the trust of customers and achieves sustainable development.

[0065] During the production test process, the assembly line is often divided into good product line and defective product line. However, since the products are usually placed on the assembly line manually, it is easy for operators to place abnormal products (i.e., defective products) on the good product line. Therefore, how to switch the abnormal products on the good product line back to the defective product line is a technical problem that needs to be solved urgently.

[0066] Therefore, in order to solve the above-mentioned defects, this embodiment provides a product switching method, which is applied to the control device in the assembly line. Since this embodiment is provided with a control device, a collection device, a switching device, a good product line and a defective product line in the assembly line, both the good product line and the defective product line are provided with a loading tray, and each loading tray is provided with a corresponding tray number. Furthermore, in actual use, if there is an abnormal product on the good product line that needs to be switched back to the defective product line, the user can first enter the tray number corresponding to the loading tray carrying the abnormal product as the above-mentioned abnormal tray number, and then use the collection device to collect each tray number. The position of the loading tray corresponding to the abnormal tray number is determined based on the first collection result obtained. Then, when the position of the loading tray is the preset switching position, the switching device switches the loading tray corresponding to the abnormal tray number from the good product line to the defective product line, completing the switching of the abnormal product.

[0067] For ease of understanding, the following Figures 1 to 13 The product switching method provided in the embodiment of the present application is introduced in detail.

[0068] Reference Figure 1 , Figure 1 This is a flow chart of the first embodiment of the product switching method of this application, and the first embodiment of the product switching method of this application is proposed. Figure 1 As shown, in this embodiment, the specific method includes:

[0069] Step S10: When the abnormal pallet number input by the user is received, the pallet number of the carrier pallet on the good product line is collected by the collection device to obtain a first collection result, where the abnormal pallet number is the pallet number corresponding to the carrier pallet carrying the abnormal product on the good product line.

[0070] It is understandable that the method of this embodiment can be applied to a control device in an assembly line, and the assembly line can be an assembly line for producing any product, referring to Figure 2 , Figure 2 This is a top view of the pipeline in the first embodiment of the product switching method of this application.Figure 2 As shown in the figure, in this embodiment, the assembly line may include a good product line and a defective product line. Among them, the good product line can be used to transport qualified products along the transportation direction, and the defective product line can be used to transport unqualified products along the transportation direction. The transportation direction of the good product line can be the same as that of the defective product line.

[0071] The above control device can be any device with data processing, program running, and product switching methods, such as a computer, etc. This embodiment does not limit this.

[0072] It can also be understood that, as Figure 2 shown in the figure, in this embodiment, in order to facilitate the transportation of products, a number of load trays can also be set on the assembly line. Specifically, the number of load trays on the good product line and the defective product line can be set according to the actual situation respectively, and this embodiment does not limit this. And in order to determine the specific load tray, in this embodiment, a corresponding tray number is set on each load tray, which can be set on the load tray by printing. Of course, it can also be set by other methods, and this embodiment does not limit this.

[0073] Referring to Figure 3 , Figure 3 is the device connection block diagram in the first embodiment of the product switching method of this application. As Figure 3 shown in the figure, it should be understood that, in order to be able to collect the tray numbers of each load tray, the assembly line in this embodiment may further include a collection device, and this collection device can be electrically connected to the control device. This collection device can be any device for image collection, such as a camera, etc. This embodiment does not limit this.

[0074] At the same time, in order to be able to transport abnormal products (i.e., the above unqualified products) from the good product line to the defective product line, as Figure 2 and Figure 3 shown in the figure, the assembly line in this embodiment may further include a switching device, and the control device can be electrically connected to the switching device. This switching device can be any device that realizes the product transportation function, such as a robotic arm or a conveyor belt, etc. This embodiment does not limit this. And in order to facilitate the switching of abnormal products by the switching device, in this embodiment, the good product line and the defective product line can be arranged at intervals and in parallel, and the switching device is arranged between the good product line and the defective product line.

[0075] It should be noted that the above abnormal tray number can be the tray number of the load tray on the good product line that carries abnormal products. The above abnormal products can be the above unqualified products.

[0076] The above control device may also be provided with components such as a keyboard or a touch screen for inputting the tray number. In actual use, when a user finds that an abnormal product has been mistakenly placed in the load tray on the good product line, the user can input the tray number corresponding to the load tray carrying the abnormal product into the control device through the above keyboard or touch screen.

[0077] After receiving the abnormal tray number, the control device can take pictures of the tray numbers of each load tray on the good product line through the acquisition device, and use the obtained result as the above first acquisition result.

[0078] It should be emphasized that, for the convenience of the acquisition component to take pictures, in this embodiment, the position of the tray number on the load tray can be a position that is convenient for the acquisition component to capture, such as on the outer periphery of the load tray, etc. The specific position can be set according to the actual situation, and this embodiment does not limit this.

[0079] Step S20: Determine the abnormal tray position of the abnormal load tray corresponding to the abnormal tray number according to the first acquisition result.

[0080] It can be understood that the above abnormal load tray can be a load tray carrying an abnormal product. The above abnormal tray position can be the current position of the abnormal load tray on the good product line.

[0081] In actual use, when the control device obtains the first acquisition result, it can perform image recognition on the first acquisition result, recognize the tray numbers of each load tray therein, and then combine the position of the acquisition device and the position of the good product line, and according to the position of each load tray in the first acquisition result, thereby transform and obtain the actual position of each load tray on the good product line. Then, according to this actual position, the actual position of the abnormal load tray corresponding to the abnormal tray number on the good product line can be determined as the above abnormal tray position.

[0082] Step S30: When the abnormal tray position is a preset switching position, switch the abnormal load tray from the good product line to the defective product line through the switching device.

[0083] It should be understood that the above preset switching position can be a position where the switching device supports product switching, such as Figure 2 the position flush with the switching transposition, etc. This embodiment does not limit this.

[0084] During actual use, after the control device obtains the abnormal tray position of the abnormal load tray, it can monitor in real time whether the abnormal tray position is a preset switching position, that is, monitor in real time whether the abnormal load tray reaches the preset switching position; if it is not the preset switching position, it can indicate that the abnormal load tray has not been transported yet, and then the control device waits; if it is the preset switching position, it can indicate that the abnormal load tray reaches the position where it can be switched at this time, and then the control device can output a switching signal to the switching device, and the switching device can switch the abnormal load tray from the good product line to the defective product line, for example, directly clamp the abnormal load tray to the defective product line, or transport it to the defective product line through a conveyor belt, etc.

[0085] Further, in order to switch the abnormal load tray from the good product line to the defective product line, refer to Figure 4 , Figure 4 which is the front view of the assembly line in the first embodiment of the product switching method of the present application. As Figure 4 shown, in this embodiment, the good product line and the defective product line are arranged at intervals. The good product line includes a first lifting mechanism, and the defective product line includes a second lifting mechanism. The switching device includes a conveying mechanism and an adsorption mechanism.

[0086] It should be noted that both the above-mentioned first lifting mechanism and the second lifting mechanism can be mechanisms for lifting, such as air rods, etc., and this embodiment does not limit this. And in this embodiment, the good product line may further include a good product line conveyor belt. The first lifting mechanism can be arranged on both sides of the good product line conveyor belt and is aligned with the switching device; the defective product line may further include a defective product line conveyor belt. The second lifting mechanism can be arranged on both sides of the defective product line conveyor belt and is aligned with the switching device. Furthermore, in this embodiment, the load tray can be placed on the good product line conveyor belt and the defective product line conveyor belt for transportation.

[0087] It should also be noted that the switching device in this embodiment includes a conveying mechanism and an adsorption mechanism. Among them, the conveying mechanism can be any mechanism with a transportation function, such as a conveyor belt or a turntable, etc., and this embodiment does not limit this. However, for the convenience of subsequent understanding, a turntable is used for illustration in this embodiment. The above-mentioned adsorption mechanism can be any mechanism with an adsorption function, such as a suction cup or a magnet, etc., and this embodiment does not limit this.

[0088] In this embodiment, the step of switching the abnormal load tray from the good product line to the defective product line by the switching device includes:

[0089] Step S31: Switch the abnormal load tray from the good product line to the preset feeding position through the first lifting mechanism.

[0090] It is understandable that the above-mentioned preset feeding position can be the position where the adsorption mechanism on the good product line can adsorb the carrier tray. During actual use, referring to Figure 5 , Figure 5 which is the schematic diagram of the first lifting mechanism lifting in the first embodiment of the product switching method of the present application. As shown in Figure 5 , when the control device determines that the abnormal carrier tray reaches the preset switching position, it can control the first lifting mechanism to lift, and then the abnormal carrier tray is lifted from the surface of the good product line conveyor belt to the preset feeding position.

[0091] Step S32: Use the adsorption mechanism to adsorb the abnormal carrier tray to the conveyor mechanism, and use the conveyor mechanism to convey the abnormal carrier tray to the second lifting mechanism at the preset receiving position.

[0092] It is also understandable that the above-mentioned preset receiving position can be the position where the adsorption mechanism on the defective product line can place the carrier tray.

[0093] Continuing as shown in Figure 5 , when the abnormal carrier tray is at the preset feeding position, the control device can control the adsorption mechanism to adsorb the abnormal carrier tray onto the conveyor mechanism. Referring to Figure 6 and Figure 7 , Figure 6 which is the schematic diagram of the conveyor mechanism conveying in the first embodiment of the product switching method of the present application, Figure 7 and Figure 6 which is the schematic diagram of the second lifting mechanism receiving materials in the first embodiment of the product switching method of the present application. As shown in

[0094] As shown in Figure 7 , when the conveyor mechanism is rotating, due to the action of the adsorption mechanism, the abnormal carrier tray can also be driven to rotate until the abnormal carrier tray rotates to the preset receiving position. At this time, the control device can pre-control the second lifting mechanism to lift to this preset receiving position, and then when the abnormal carrier tray rotates to the preset receiving position, it can be supported by the second lifting mechanism.

[0095] Step S32: Use the second lifting mechanism to switch the abnormal carrier tray from the preset receiving position to the defective product line.

[0096] Referring to Figure 8 , Figure 8 which is the schematic diagram of the second lifting mechanism contracting in the first embodiment of the product switching method of the present application. As shown in Figure 8As shown in the figure, in this embodiment, when the abnormal load tray is in the preset material receiving position, the control module can control the adsorption mechanism to stop adsorbing the abnormal load tray, and then control the second lifting mechanism to contract, so that the abnormal load tray can descend from the preset material receiving position to the surface of the defective product line conveyor belt, thereby completing the switching of the abnormal product from the good product line to the defective product line.

[0097] Furthermore, considering that when the conveying mechanism conveys the abnormal load tray to the preset material receiving position, a hole needs to be reserved on the defective product line to place the abnormal load tray. Therefore, in this embodiment, the step of switching the abnormal load tray from the preset material receiving position to the defective product line by the second lifting mechanism includes:

[0098] Step S321: Collect the tray number of the load tray on the defective product line through the collection device to obtain a second collection result.

[0099] It should be noted that in this embodiment, the control device can also photograph the tray number of the load tray on the defective product line through the collection device, and use the obtained photographing result as the above-mentioned second collection result.

[0100] Step S322: Determine the reserved tray empty space on the defective product line according to the second collection result;

[0101] It should also be noted that the above-mentioned reserved tray empty space can be an empty space reserved in advance on the defective product line for placing the load tray.

[0102] In actual use, when the control device obtains the second collection result, it can also perform image recognition on the second collection result, recognize the tray numbers of the load trays therein, and then combine the position of the collection device and the position of the defective product line. According to the position of each load tray in the second collection result, the actual position of each load tray on the defective product line can be obtained by transformation. Then, the empty space reserved by the user on the defective product line can be determined according to this actual position as the above-mentioned reserved tray empty space.

[0103] Step S323: When the reserved tray empty space is at the position of the second lifting mechanism, switch the abnormal load tray from the preset material receiving position to the reserved tray empty space through the second lifting mechanism.

[0104] After determining the reserved tray space, the control device can monitor in real time whether the reserved tray space reaches the position of the second lifting mechanism, that is, whether the position of the reserved tray space on the defective product line conveyor belt reaches the position aligned with the second lifting mechanism. If it does not reach the position of the second lifting mechanism, the control device continues to control the adsorption mechanism to adsorb the abnormal load tray; if it reaches the position of the second lifting mechanism, the control device controls the adsorption mechanism to stop adsorption, places the abnormal load tray on the second lifting mechanism, and then places it on the surface of the defective product line conveyor belt through the second lifting mechanism.

[0105] Further, in order to transfer the abnormal load tray to the conveyor mechanism, refer to Figure 9 , Figure 9 which is a schematic structural diagram of the conveyor mechanism and the adsorption mechanism in the first embodiment of the product switching method of the present application. As Figure 9 shown, in this embodiment, the conveyor mechanism includes: a base and a rotating table, and the adsorption mechanism includes: a telescopic member, a first magnet, and a second magnet;

[0106] The base is disposed between the good product line and the defective product line, and the rotating table is rotatably disposed on the base;

[0107] The telescopic member is telescopically disposed on the periphery of the rotating table, the first magnet is disposed at one end of the telescopic member away from the rotating table, the second magnet is disposed on one side of the load tray, and the first magnet is used for magnetically adsorbing the second magnet.

[0108] It should be noted that in this embodiment, the above base can be fixedly disposed between the good product line and the defective product line, and the rotating table can be rotatably disposed on the top of the base, and the height of the rotating table in this embodiment can be higher than the height of the load trays on the good product line and the defective product line.

[0109] It should also be noted that in this embodiment, a groove ( Figure 9 not shown in the figure) can be opened on the periphery of the rotating table, and the above telescopic member is disposed in the groove, so that the telescopic member can be telescopically disposed on the periphery of the rotating table. The above telescopic member can be any member with a telescopic function, such as a cylinder, etc., and this embodiment does not limit this.

[0110] It can be understood that the above first magnet can be fixedly disposed on the side of the telescopic member away from the rotating table, and a second magnet is disposed on the side of the load tray close to the rotating table, and the first magnet can adsorb the second magnet.

[0111] Furthermore, during actual use, when it is necessary to switch the abnormal load tray to the defective product line, after the first lifting mechanism lifts the abnormal load tray from the non-defective product line to the preset feeding position, the control device can control the rotating platform to rotate to the direction where the first magnet faces the second magnet, and then control the telescopic member to extend towards the second magnet. Then, the first magnet can be adsorbed to the second magnet (as shown in Figure 5 when extended). Then, control the telescopic member to contract and control the rotating platform to rotate (as shown in Figure 6 ). When the rotating platform rotates the abnormal load tray above the defective product line, first control the telescopic member to extend to the preset receiving position above the second lifting mechanism. When the reserved tray empty position moves to the position corresponding to the second lifting mechanism, control the first magnet and the second magnet to stop adsorbing. Then, control the telescopic member to drive the first magnet to contract (i.e., Figure 7 when contracting), thus completing the switching.

[0112] It should be emphasized that in order to enable the first magnet and the second magnet to adsorb and stop adsorbing according to actual situations, the above first magnet can be realized by electromagnetic induction. For example, the first magnet can be in the form of an electromagnetic chuck; the second magnet can be made of ordinary metal, such as an iron sheet. Then, when it is necessary to adsorb the first magnet and the second magnet, the control device can control the first magnet to be energized, and then the first magnet generates a magnetic field to adsorb the second magnet; when it is necessary to stop adsorbing the first magnet and the second magnet, the control device can control the first magnet to be de-energized, and then the first magnet stops generating the second magnet and stops adsorbing.

[0113] It should also be emphasized that considering that the adsorption of the first magnet and the second magnet only applies suction force to one side of the abnormal load tray, in order to ensure the adsorption performance, in this embodiment, the positions and quantities of the first magnet and the second magnet can be set according to actual situations, and this embodiment does not limit this.

[0114] In this embodiment, a control device, a collection device, a switching device, a non-defective product line, and a defective product line are arranged in the assembly line. Load trays are arranged on both the non-defective product line and the defective product line, and corresponding tray numbers are set on each load tray. Furthermore, during actual use, if there are abnormal products on the non-defective product line that need to be switched back to the defective product line, the user can first input the tray number corresponding to the load tray carrying the abnormal product as the above abnormal tray number, and then collect each tray number through the collection device. Determine the position of the load tray corresponding to the abnormal tray number according to the obtained first collection result. Then, when the position of the load tray is the preset switching position, switch the load tray corresponding to the abnormal tray number from the non-defective product line to the defective product line through the switching device to complete the switching of the abnormal product.

[0115] Refer to Figure 10 , Figure 10This is a schematic flowchart of the second embodiment of the product switching method of the present application. Based on the above first embodiment, the second embodiment of the product switching method of the present application is proposed.

[0116] In order to facilitate the counting of normal products on the good product line and abnormal products on the defective product line, as Figure 10 shown, in this embodiment, the production line further includes a counting circuit. The products in the carrier trays on the good product line are provided with good product labels, and the products in the carrier trays on the defective product line are provided with defective product labels.

[0117] It should be noted that the above counting circuit can be a circuit for counting normal products and abnormal products, and in this embodiment, the above counting circuit can be electrically connected to the control device. The above good product label can be an identity label for characterizing the product as a normal product, and the above defective product label can be an identity label for characterizing the product as an abnormal product. The above good product label and defective product label can both be barcodes, etc., and this embodiment does not limit this.

[0118] After the step of switching the abnormal carrier tray from the good product line to the defective product line through the switching device as described above, the following steps are further included:

[0119] Step S40: Receive the good product collection result and the defective product collection result output by the counting circuit. The good product collection result is generated by the counting circuit collecting the good product label, and the defective product collection result is generated by the counting circuit collecting the defective product label;

[0120] Step S50: Determine the number of normal products on the good product line according to the good product collection result, and determine the number of abnormal products on the defective product line according to the defective product collection result.

[0121] It can be understood that, for the convenience of statistics, in this embodiment, a good product label or a defective product label can be attached to the product. Then, when the product is transported on the good product line or the defective product line, the counting circuit can collect the good product label on the good product line to obtain the good product collection result, and collect the label on the defective product line to obtain the defective product collection result.

[0122] Then the counting circuit can transmit the good product collection result and the defective product collection result to the control device, and the control device can determine the number of normal products on the good product line according to the good product collection result, and determine the number of abnormal products on the defective product line according to the defective product collection result.

[0123] Furthermore, in order to obtain the good product collection result and the defective product collection result, in this embodiment, referring to Figure 11 , Figure 11This is the device connection block diagram in the second embodiment of the product switching method of this application. As Figure 11 shown, in this embodiment, the counting circuit includes: a good product counting module and a defective product counting module, and both the good product counting module and the defective product counting module are electrically connected to the control device.

[0124] The step of receiving the good product acquisition result and the defective product acquisition result output by the counting circuit includes:

[0125] Step S41: Receive the good product acquisition result output by the good product counting module, and the good product acquisition result is generated by the good product counting module collecting the good product label;

[0126] Step S42: Receive the defective product acquisition result output by the defective product counting module, and the defective product acquisition result is generated by the defective product counting module collecting the defective product label.

[0127] It should be emphasized that the above-mentioned good product counting module can be set on the good product line, and the above-mentioned defective product counting module can be set on the defective product line. The specific setting positions can be set according to the actual situation by oneself, and this embodiment does not limit this.

[0128] In actual use, the good product counting module can collect the good product labels of the products on the good product line and transmit the obtained good product acquisition result to the control device. The defective product counting module can collect the defective product labels of the products on the defective product line and transmit the obtained defective product acquisition result to the control device.

[0129] Further, referring to Figure 12 , Figure 12 This is the circuit schematic diagram of the good product counting module in the second embodiment of the product switching method of this application. As Figure 12 shown, in this embodiment, the good product counting module includes: a first identification unit, a first comparison unit, a first switch unit, and a first voltage source;

[0130] Wherein the first comparison unit is respectively connected to the first identification unit and the first switch unit, and the first switch unit is also connected to the first voltage source and the control device;

[0131] The first identification unit is used to identify the good product label and transmit the generated first identification signal to the first comparison unit;

[0132] The first comparison unit is used to output a first comparison signal to the first switch unit when the voltage value of the identification signal is lower than the preset voltage threshold;

[0133] The first switch unit is configured to output a first switch signal to the control device when receiving a first comparison signal, so that the control device determines the quantity of normal products on the good product line according to the first switch signal.

[0134] It should be noted that the above-mentioned first identification unit can be a unit for identifying the above-mentioned good product label, such as a barcode scanner, etc., and this embodiment does not limit this. However, it should be emphasized that in this embodiment, the voltage value of the first identification signal output by the first identification unit after identifying the good product label can be set to be lower than the preset voltage threshold. That is, if the voltage value of the first identification signal is denoted as V1 and the preset voltage threshold is denoted as Vref, then the voltage value V1 of the first identification signal output by the first identification unit is < Vref.

[0135] It can be understood that the above-mentioned first comparison unit can be a comparator, etc. The above-mentioned first switch unit can be a switching tube, etc. In actual use, the first identification unit can output a first identification signal lower than the preset voltage threshold Vref to the first comparison unit. Since the voltage value V1 of the first identification signal is lower than the preset voltage threshold Vref, the first comparison unit can output a first comparison signal to the first switch unit, and the first switch unit can output a first switch signal to the control device. This first switch signal can be the above-mentioned good product acquisition result, and the control device can complete the quantity statistics of the normal products on the good product line according to this first switch signal and obtain the quantity of normal products.

[0136] Further, continuing as Figure 12 shown, in this embodiment, the above-mentioned first comparison unit includes: a first comparator U1;

[0137] The positive input terminal of the first comparator U1 is connected to the first identification unit, the negative input terminal of the first comparator U1 is connected to the reference power supply (i.e., Figure 12 Vref in

[0138] ), and the output terminal of the first comparison unit is connected to the first switch unit. In actual use, when the first identification unit outputs a first identification signal, since the voltage value V1 of the first identification signal is < Vref, the output terminal of the first comparator U1 can output a first comparison signal with a low level to the first switch unit.

[0139] Further, the above-mentioned first switch unit includes: a first resistor R1, a second resistor R2, and a first switching tube Q1;

[0140] The first end of the first resistor R1 is connected to the first voltage source, and the second end of the first resistor R1 is respectively connected to the output end of the first comparator U1 and the gate of the first switching transistor Q1. The first end of the second resistor R2 is connected to the first voltage source, and the second end of the second resistor R2 is respectively connected to the control device and the drain of the first switching transistor Q1. The source of the first switching transistor Q1 is grounded.

[0141] It should be understood that the voltage of the above-mentioned first voltage source can be set by itself according to the actual situation. The above-mentioned first resistor R1 can be used as a pull-up resistor to pull up the first comparison signal output by the first comparator U1. The above-mentioned first switching transistor Q1 can be an N-channel MOS transistor.

[0142] During actual use, when the output end of the first comparator U1 outputs a low-level first comparison signal, the first switching transistor Q1 remains disconnected, and then the second end of the second resistor R2 can output a high-level first switching signal to the control device, and the control device can complete the counting of the number of normal products according to the high-level first switching signal.

[0143] Furthermore, referring to Figure 13 , Figure 13 is the circuit schematic diagram of the defective product counting module in the second embodiment of the product switching method of the present application. As Figure 13 shown, in this embodiment, the defective product counting module includes: a second identification unit, a second comparison unit, a second switching unit, and a second voltage source;

[0144] Among them, the second comparison unit is respectively connected to the second identification unit and the second switching unit, and the second switching unit is also connected to the second voltage source and the control device;

[0145] The second identification unit is used to identify the defective product label and transmit the generated second identification signal to the second comparison unit;

[0146] The second comparison unit is used to output a second comparison signal to the second switching unit when the voltage value of the identification signal is higher than the preset voltage threshold;

[0147] The second switching unit is used to output a second switching signal to the control device when receiving the second comparison signal, so that the control device can determine the number of abnormal products on the defective product line according to the second switching signal.

[0148] It should be noted that the above-mentioned second identification unit can be a unit for identifying the defective product label, such as a barcode scanner, etc., and this embodiment does not limit it. However, it should be emphasized that in this embodiment, the voltage value of the second identification signal output by the second identification unit after identifying the defective product label can be set to be higher than the preset voltage threshold. That is, if the voltage value of the second identification signal is denoted as V2 and the preset voltage threshold is denoted as Vref, then the voltage value V2 of the second identification signal output by the second identification unit is greater than Vref.

[0149] It can be understood that the above-mentioned second comparison unit can be a comparator, etc. The above-mentioned second switch unit can be a switching transistor, etc. In actual use, the second identification unit can output a second identification signal higher than the preset voltage threshold Vref to the second comparison unit. Since the voltage value V2 of the second identification signal is higher than the preset voltage threshold Vref, the second comparison unit can output a second comparison signal to the second switch unit, and the second switch unit can output a second switch signal to the control device. This second switch signal can be the above-mentioned defective product acquisition result, and the control device can complete the quantity statistics of the abnormal products on the defective product line according to this second switch signal and obtain the quantity of the abnormal products.

[0150] Further, continuing as Figure 13 shown, in this embodiment, the above-mentioned second comparison unit includes: a second comparator U2;

[0151] The non-inverting input terminal of the second comparator U2 is connected to the second identification unit, the inverting input terminal of the second comparator U2 is connected to the reference power supply (i.e., Figure 13 Vref in

[0152] ), and the output terminal of the second comparison unit is connected to the second switch unit.

[0153] Further, the above-mentioned second switch unit includes: a third resistor R3, a fourth resistor R4, and a second switching transistor Q2;

[0154] The first end of the third resistor R3 is connected to the second voltage source, the second end of the third resistor R3 is respectively connected to the output terminal of the second comparator U2 and the gate of the second switching transistor Q2, the first end of the fourth resistor R4 is connected to the second voltage source, the second end of the fourth resistor R4 is respectively connected to the control device and the drain of the second switching transistor Q2, and the source of the second switching transistor Q2 is grounded.

[0155] It should be understood that the voltage of the above-mentioned second voltage source can be set by itself according to the actual situation. The above-mentioned third resistor R3 can be used as a pull-up resistor to pull up the second comparison signal output by the second comparator U2. The above-mentioned second switching transistor Q2 can be an N-channel MOS transistor.

[0156] During actual use, when the second comparator U2 outputs a high-level second comparison signal at its output terminal, the second switching transistor Q2 conducts, and then the second terminal of the fourth resistor R4 can output a low-level second switching signal to the control device, and the control device can complete the counting of the number of abnormal products according to this low-level second switching signal.

[0157] Furthermore, considering that if an abnormal product appears on the good product line, the above-mentioned method will still count this abnormal product into the number of normal products by the control device, resulting in inaccurate quantity. Therefore, to solve this problem, in this embodiment, the step of receiving the good product acquisition result output by the good product counting module further includes:

[0158] Step S41: Receive the adjusted good product acquisition result output by the good product counting module, and the adjusted good product acquisition result is generated by the good product counting module docking the misplacement instruction received and collecting the good product label;

[0159] Correspondingly, the step of determining the number of normal products on the good product line according to the good product acquisition result includes:

[0160] Step S51: Determine the number of normal products on the good product line according to the adjusted good product acquisition result.

[0161] It should be noted that the above-mentioned misplacement instruction can be an instruction output by the user to the good product counting module when the user places an abnormal product on the good product line. For example, it can be output by means of a button or the above-mentioned touch screen.

[0162] During actual use, when the user misplaces an abnormal product on the good product line, a misplacement instruction can be output to the good product counting module by means of a button or a touch screen. When the good product counting module receives this misplacement instruction, it can generate an adjusted good product acquisition result in combination with the good product acquisition result of collecting the good product label, and then transmit this adjusted good product acquisition result to the control device. After receiving the adjusted good product acquisition result, the control device can know that there is an abnormal product on the good product line, and thus does not record this product as a normal product, that is, the number of normal products is not incremented by one.

[0163] Furthermore, continuing as Figure 12 shown, in this embodiment, the above-mentioned good product counting module further includes: a misplacement input unit and a logic unit;

[0164] The logic unit can be respectively connected to the first switch unit, the misplacement input unit, and the control device;

[0165] The misplacement input unit is configured to generate a misplacement signal to the logic unit when receiving a misplacement instruction input by the user;

[0166] The logic unit is configured to output a logic signal to the control device when receiving the misplacement signal and the first switch signal output by the first switch unit, so that the control device determines the quantity of normal products on the good product line according to the logic signal.

[0167] It can be understood that the above misplacement input unit can be a unit for interacting with the user, such as a button or a touch screen, etc. And it should be emphasized that the misplacement input unit in this embodiment can default to output a high level. The above logic unit can be an AND gate U3.

[0168] Further, the above logic unit includes: an AND gate U3;

[0169] The first input terminal of the AND gate U3 is connected to the misplacement input unit, the second input terminal of the AND gate U3 is connected to the second end of the second resistor R2, and the output terminal of the AND gate U3 is connected to the control device.

[0170] In actual use, when there are no abnormal products on the good product line, the user does not need to output a misplacement instruction through the misplacement input unit. Then the misplacement input unit defaults to output a high level. The first terminal of the AND gate U3 receives a high level. At the same time, since the second end of the second resistor R2 outputs a high-level first switch signal, the output terminal of the AND gate U3 can output a high level to the control device, and the control device can complete the quantity statistics of normal products according to this high level; when the user finds that there are abnormal products on the good product line, a misplacement instruction can be input through the misplacement input unit. After receiving the misplacement instruction, the misplacement input unit can change from default output of a high level to output of a low-level misplacement signal. At this time, after the logic unit receives the high-level first switch signal and the low-level misplacement signal, the output terminal of the AND gate U3 becomes low level, and the AND gate U3 can output the low-level logic signal to the control device. This low-level logic signal can be the above-adjusted acquisition result. Then the control device can determine the quantity of normal products on the good product line according to this low-level logic signal. That is, when the control device receives a low-level logic signal, it can skip counting this product.

[0171] In addition, to achieve the above object, an embodiment of the present application also proposes a control device. Refer to Figure 14 , Figure 14 is a schematic structural diagram of the first embodiment of the control device of the present application. As Figure 14 shown, in this embodiment, the device includes:

[0172] A result acquisition module 141, configured to collect the tray numbers of the load trays on the good product line through a collection device when receiving an abnormal tray number input by a user, so as to obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load tray carrying abnormal products on the good product line;

[0173] A position determination module 142, configured to determine the abnormal tray position of the abnormal load tray corresponding to the abnormal tray number according to the first collection result;

[0174] A product switching module 143, configured to switch the abnormal load tray from the good product line to the defective product line through a switching device when the abnormal tray position is a preset switching position.

[0175] It should be noted that for other embodiments or specific implementation manners of the control device in this application, reference may be made to the above method embodiments, and details are not described herein again.

[0176] In addition, to achieve the above object, an embodiment of this application further provides an assembly line, where the assembly line includes: a control device, a collection device, a switching device, a good product line, and a defective product line. A plurality of load trays are arranged on both the good product line and the defective product line, and corresponding tray numbers are set on each load tray;

[0177] The control device is configured to collect the tray numbers of the load trays on the good product line through the collection device when receiving an abnormal tray number input by a user, so as to obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load tray carrying abnormal products on the good product line; determine the abnormal tray position of the abnormal load tray corresponding to the abnormal tray number according to the first collection result; and switch the abnormal load tray from the good product line to the defective product line through the switching device when the abnormal tray position is a preset switching position.

[0178] In an embodiment, the good product line and the defective product line are arranged at intervals. The good product line includes a first lifting mechanism, the defective product line includes a second lifting mechanism, and the switching device includes a conveying mechanism and an adsorption mechanism;

[0179] The control device is further configured to switch the abnormal load tray from the good product line to a preset feeding position through the first lifting mechanism; adsorb the abnormal load tray to the conveying mechanism by using the adsorption mechanism, and convey the abnormal load tray to the second lifting mechanism at a preset receiving position by using the conveying mechanism; and switch the abnormal load tray from the preset receiving position to the defective product line through the second lifting mechanism.

[0180] In one embodiment, the conveying mechanism includes: a base and a rotating table, and the adsorption mechanism includes: a telescopic member, a first magnet, and a second magnet;

[0181] The base is disposed between the good product line and the defective product line, and the rotating table is rotatably disposed on the base;

[0182] The telescopic member is telescopically disposed on the periphery of the rotating table, the first magnet is disposed at one end of the telescopic member away from the rotating table, the second magnet is disposed on one side of the load tray, and the first magnet is used for magnetically adsorbing the second magnet.

[0183] It should be noted that for other embodiments or specific implementation manners of the pipeline in this application, reference may be made to the above method embodiments, which will not be elaborated here.

[0184] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or system including the element.

[0185] The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.

[0186] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as a Read Only Memory image (ROM) / Random Access Memory (RAM), magnetic disk, optical disk), and includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

[0187] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A product switching method, characterized in that, The method is applied to a control device in a pipeline, and the pipeline further includes a collection device, a switching device, a good product line, and a defective product line. A plurality of load trays are provided on both the good product line and the defective product line, and corresponding tray numbers are set on each of the load trays; The method includes: When an abnormal tray number input by a user is received, the collection device is used to collect the tray numbers of the load trays on the good product line to obtain a first collection result. The abnormal tray number is the tray number corresponding to the load tray carrying abnormal products on the good product line; Determine the abnormal tray position of the abnormal load tray corresponding to the abnormal tray number according to the first collection result; When the abnormal tray position is a preset switching position, the switching device is used to switch the abnormal load tray from the good product line to the defective product line.

2. The product switching method according to claim 1, characterized in that, The good product line and the defective product line are arranged at intervals. The good product line includes a first lifting mechanism, and the defective product line includes a second lifting mechanism. The switching device includes a conveying mechanism and an adsorption mechanism; The step of switching the abnormal load tray from the good product line to the defective product line by the switching device includes: The first lifting mechanism is used to switch the abnormal load tray from the good product line to a preset feeding position; The adsorption mechanism is used to adsorb the abnormal load tray to the conveying mechanism, and the conveying mechanism is used to convey the abnormal load tray to the second lifting mechanism at a preset receiving position; The second lifting mechanism is used to switch the abnormal load tray from the preset receiving position to the defective product line.

3. The product switching method according to claim 2, characterized in that The step of switching the abnormal load tray from the preset receiving position to the defective product line by the second lifting mechanism includes: The collection device is used to collect the tray numbers of the load trays on the defective product line to obtain a second collection result; Determine the reserved tray vacancy on the defective product line according to the second collection result; When the reserved tray vacancy is at the position of the second lifting mechanism, the second lifting mechanism is used to switch the abnormal load tray from the preset receiving position to the reserved tray vacancy.

4. The product switching method according to claim 1, wherein The pipeline further includes a counting circuit. Good product labels are provided on the products in the load trays on the good product line, and defective product labels are provided on the products in the load trays on the defective product line; After the step of switching the abnormal load tray from the good product line to the defective product line by the switching device, it further includes: Receive the good product collection result and the defective product collection result output by the counting circuit. The good product collection result is generated by the counting circuit collecting the good product labels, and the defective product collection result is generated by the counting circuit collecting the defective product labels; Determine the number of normal products on the good product line according to the good product collection result, and determine the number of abnormal products on the defective product line according to the defective product collection result.

5. The product switching method according to claim 4, characterized in that, The counting circuit includes: a good product counting module and a defective product counting module; The step of receiving the good product collection result and the defective product collection result output by the counting circuit includes: Receiving the good product collection result output by the good product counting module, where the good product collection result is generated by the good product counting module collecting the good product label; Receiving the defective product collection result output by the defective product counting module, where the defective product collection result is generated by the defective product counting module collecting the defective product label.

6. The product switching method according to claim 5, wherein The step of receiving the good product collection result output by the good product counting module further includes: Receiving the adjusted good product collection result output by the good product counting module, where the adjusted good product collection result is generated by the good product counting module receiving the misplacement instruction and collecting the good product label; The step of determining the quantity of normal products on the good product line according to the good product collection result includes: Determining the quantity of normal products on the good product line according to the adjusted good product collection result.

7. A control device, characterized in that, The device includes: A result acquisition module, configured to, when receiving an abnormal tray number input by a user, collect the tray number of the load-carrying tray on the good product line through a collection device to obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load-carrying tray carrying abnormal products on the good product line; A position determination module, configured to determine the abnormal tray position of the abnormal load-carrying tray corresponding to the abnormal tray number according to the first collection result; A product switching module, configured to, when the abnormal tray position is a preset switching position, switch the abnormal load-carrying tray from the good product line to the defective product line through a switching device.

8. A pipeline, characterized in that, The production line includes: a control device, a collection device, a switching device, a good product line, and a defective product line. A plurality of load-carrying trays are provided on both the good product line and the defective product line, and corresponding tray numbers are provided on each load-carrying tray; The control device is configured to, when receiving an abnormal tray number input by a user, collect the tray number of the load-carrying tray on the good product line through the collection device to obtain a first collection result, where the abnormal tray number is the tray number corresponding to the load-carrying tray carrying abnormal products on the good product line; determine the abnormal tray position of the abnormal load-carrying tray corresponding to the abnormal tray number according to the first collection result; and when the abnormal tray position is a preset switching position, switch the abnormal load-carrying tray from the good product line to the defective product line through the switching device.

9. The pipeline according to claim 8, wherein The good product line and the defective product line are arranged at intervals. The good product line includes a first lifting mechanism, the defective product line includes a second lifting mechanism, and the switching device includes a transfer mechanism and an adsorption mechanism; The control device is further configured to switch the abnormal load tray from the good product line to a preset feeding position through the first lifting mechanism; adsorb the abnormal load tray to the conveying mechanism by using the adsorption mechanism, and convey the abnormal load tray to the second lifting mechanism at a preset receiving position by using the conveying mechanism; and switch the abnormal load tray from the preset receiving position to the defective product line through the second lifting mechanism.

10. The pipeline according to claim 9, characterized in that, The conveying mechanism includes: a base and a rotating table, and the adsorption mechanism includes: a telescopic member, a first magnet, and a second magnet; The base is disposed between the good product line and the defective product line, and the rotating table is rotatably disposed on the base; The telescopic member is telescopically disposed at the periphery of the rotating table, the first magnet is disposed at an end of the telescopic member away from the rotating table, the second magnet is disposed on one side of the load tray, and the first magnet is used for magnetically adsorbing the second magnet.