Assembly line analogue simulation method and device and electronic equipment

Through human-computer interaction technology, the simulation pipeline line body, the simulation control point and the simulation assembly machine are set in the virtual scene, which solves the problem of high difficulty in pipeline simulation in the existing technology, and realizes efficient pipeline simulation.

CN119781415AActive Publication Date: 2025-04-08HANGZHOU HIKROBOT TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510279431.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-04-08
Estimated Expiration
2045-03-10

AI Technical Summary

Technical Problem

In the prior art, assembly line simulation is difficult and requires professional engineers with basic programming, resulting in inefficiency.

Method used

Provide a pipeline simulation simulation method. Through human-computer interaction technology, users can directly set simulation pipeline lines, simulation control points and simulation assembly machines in virtual scenes to realize pipeline simulation without complex logic programming.

Benefits of technology

It reduces the difficulty of pipeline simulation, improves the efficiency of pipeline simulation, and allows non-professional personnel to perform pipeline simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781415A_ABST
    Figure CN119781415A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an assembly line simulation method and device and electronic equipment, and relates to the technical field of assembly lines. The method comprises the following steps: in response to a first configuration operation of a user for a preset assembly line body element, setting a simulation assembly line body for simulating a real assembly line; in response to a second configuration operation of the user for a preset simulation control point element, setting each simulation control point on the simulation assembly line body; and in response to a control operation of a user for any generation component, setting a simulation assembly machine table of a simulation control point to which the generation component belongs at a position which is positioned outside the simulation assembly line body and is positioned at a specified side of the associated main body element indicated by the generation component. Therefore, according to the scheme provided by the embodiment of the invention, the difficulty of pipeline analogue simulation can be reduced, and the efficiency of pipeline analogue simulation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of pipeline technology, and in particular to a pipeline simulation method, device and electronic equipment. Background Art

[0002] The assembly line, also known as the assembly line or assembly line work line, is an industrial production method, which means that each production unit only focuses on processing a certain segment of work to improve work efficiency and output. According to the conveying form of the assembly line, the assembly line can be divided into belt assembly line, plate chain line, double speed chain, plug-in line, mesh belt line, suspension line and drum assembly line.

[0003] In order to ensure that the assembly line can operate normally after construction and to avoid various losses caused by design problems in the assembly line, it is usually possible to simulate the real assembly line in advance and establish a simulated assembly line, so as to obtain reasonable design parameters of the assembly line by running and debugging the simulated assembly line.

[0004] In the related technology, simulation software is often used to perform pipeline simulation, which generally uses complex logic programming to achieve the establishment of a simulation pipeline. Although it is flexible, it is technically difficult and requires professional engineers with a programming foundation to complete the simulation, thereby greatly reducing the efficiency of pipeline simulation. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a pipeline simulation method, device and electronic device to reduce the difficulty of pipeline simulation and improve the efficiency of pipeline simulation. The specific technical solution is as follows:

[0006] In a first aspect, an embodiment of the present application provides a pipeline simulation method, the method comprising:

[0007] In response to a first configuration operation of a user on a preset pipeline body element, a simulated pipeline body for simulating a real pipeline is set in a preset virtual scene;

[0008] In response to the second configuration operation of the user on the preset simulation control point element, each simulation control point is set on the simulation pipeline body; wherein the simulation control point includes: a main element and a generation component that are set in association;

[0009] In response to the user's control operation on any generation component, a simulation assembly machine of the simulation control point to which the generation component belongs is set at a position outside the simulation assembly line body and on a designated side of the associated main element indicated by the generation component; wherein each simulation assembly machine is used to simulate the assembly of the workpiece to be assembled when the workpiece to be assembled is simulated and transferred by the simulation assembly line body to the simulation control point to which the simulation assembly machine belongs.

[0010] In a second aspect, an embodiment of the present application provides a pipeline simulation device, the device comprising:

[0011] A line body setting module, for setting a simulated pipeline line body for simulating a real pipeline in a preset virtual scene in response to a first configuration operation of a user on a preset pipeline line body element;

[0012] A control point setting module, for setting various simulation control points on the simulation pipeline body in response to the second configuration operation of the user on the preset simulation control point element; wherein the simulation control point includes: a main element and a generation component that are associated and set;

[0013] An assembly machine setting module is used to respond to the user's control operation on any generation component and set a simulation assembly machine of the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on a specified side of the associated main element indicated by the generation component; wherein each simulation assembly machine is used to: simulate the assembly of the workpiece to be assembled when the workpiece to be assembled is simulated and transferred by the simulation assembly line body to the simulation control point to which the simulation assembly machine belongs.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0015] Memory, used to store computer programs;

[0016] The processor is used to implement any pipeline simulation method provided in the first aspect when executing the program stored in the memory.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any one of the pipeline simulation methods provided in the first aspect is implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the pipeline simulation methods provided in the first aspect above.

[0019] Beneficial effects of the embodiments of the present application:

[0020] As can be seen from the above, by applying the solution provided in the embodiment of the present application, the user sets a simulated assembly line body for simulating a real assembly line in a preset virtual scene through a first configuration operation on a preset assembly line body element, and sets each simulation control point on the simulated assembly line body through a second configuration operation on a preset simulation control point element. In this way, the user sets a simulation assembly machine for the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on a designated side of the associated main element indicated by the generation component, through a control operation on a generation component of any simulation control point. Thus, when the workpiece to be assembled is simulated and transmitted to the simulation control point to which each simulation assembly machine belongs by the simulated assembly line body, the simulation assembly machine can simulate the assembly of the workpiece to be assembled.

[0021] Based on this, by applying the solution provided in the embodiment of the present application, when performing assembly line simulation, with the help of human-computer interaction technology, the user can directly set up a simulated assembly line in a preset virtual scene to realize assembly line simulation by operating assembly line elements, simulation control point elements, generation components of simulated assembly machines, etc., without the need for complex logic programming, thereby greatly reducing the difficulty of assembly line simulation and improving the efficiency of assembly line simulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0023] Figure 1 A schematic diagram of a flow chart of a pipeline simulation method provided in an embodiment of the present application;

[0024] Figure 2 A schematic diagram of a simulation control point provided in an embodiment of the present application;

[0025] Figure 3 A schematic diagram of simulation control points set on a production line provided in an embodiment of the present application;

[0026] Figure 4 A schematic diagram of a simulated pipeline obtained by a pipeline simulation provided by an embodiment of the present application;

[0027] Figure 5 A schematic diagram of a flow chart of another pipeline simulation method provided in an embodiment of the present application;

[0028] Figure 6 A schematic diagram of a simulated assembly machine provided in an embodiment of the present application;

[0029] Figure 7 A schematic diagram of the modeling logic of a pipeline simulation method provided in an embodiment of the present application;

[0030] Figure 8 A schematic diagram of the execution logic of goods processing control on an assembly line provided in an embodiment of the present application;

[0031] Fig. 9 A schematic diagram of the structure of a pipeline simulation device provided in an embodiment of the present application;

[0032] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.

[0034] For ease of understanding, the professional terms involved in the embodiments of the present application are explained below:

[0035] Assembly line: Assembly line, also known as assembly line, is an industrial production method, which means that each production unit only focuses on processing a certain part of the work to improve work efficiency and output.

[0036] According to the conveying form of the assembly line: the assembly line conveying form can be roughly divided into belt assembly line, plate chain line, double speed chain, plug-in line, mesh belt line, suspension line and roller assembly line and other forms of assembly lines.

[0037] The key components of the assembly line: the assembly line body, the assembly station (i.e. the simulation control point in the embodiment of the present application), and the assembly worker (i.e. the operator in the embodiment of the present application).

[0038] In the related technology, simulation software is often used to perform pipeline simulation, which generally uses complex logic programming to achieve the establishment of a simulation pipeline. Although it is flexible, it is technically difficult and requires professional engineers with a programming foundation to complete the simulation, thereby greatly reducing the efficiency of pipeline simulation.

[0039] In order to solve the above technical problems, an embodiment of the present application provides a pipeline simulation method.

[0040] Among them, the method can be applicable to various application scenarios in which assembly lines are used for workpiece assembly. For example, robot production lines, food production lines, electronic product production lines, etc. In addition, the execution subject of the method can be various electronic devices, which are specifically used to set up simulation lines in response to user operations. In specific applications, the electronic device can be a server, a desktop computer, etc., and the electronic device can be a single electronic device or an electronic device cluster composed of multiple electronic devices. Based on this, the embodiment of the present application does not specifically limit the application scenario and execution subject of the method.

[0041] An embodiment of the present application provides a pipeline simulation method, which may include the following steps:

[0042] In response to a first configuration operation of a user on a preset pipeline body element, a simulated pipeline body for simulating a real pipeline is set in a preset virtual scene;

[0043] In response to the second configuration operation of the user on the preset simulation control point element, each simulation control point is set on the simulation pipeline body; wherein the simulation control point includes: a main element and a generation component that are set in association;

[0044] In response to the user's control operation on any generation component, a simulation assembly machine of the simulation control point to which the generation component belongs is set at a position outside the simulation assembly line body and on a designated side of the associated main element indicated by the generation component; wherein each simulation assembly machine is used to simulate the assembly of the workpiece to be assembled when the workpiece to be assembled is simulated and transferred by the simulation assembly line body to the simulation control point to which the simulation assembly machine belongs.

[0045] As can be seen from the above, by applying the solution provided in the embodiment of the present application, the user sets a simulated assembly line body for simulating a real assembly line in a preset virtual scene through a first configuration operation on a preset assembly line body element, and sets each simulation control point on the simulated assembly line body through a second configuration operation on a preset simulation control point element. In this way, the user sets a simulated assembly machine for the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on a designated side of the associated main element indicated by the generation component, through a control operation on a generation component of any simulation control point. In this way, when the workpiece to be assembled is simulated and transmitted to the simulation control point to which each simulation assembly machine belongs by the simulated assembly line body, the simulation assembly machine can simulate the assembly of the workpiece to be assembled.

[0046] Based on this, by applying the solution provided in the embodiment of the present application, when performing assembly line simulation, with the help of human-computer interaction technology, the user can directly set up a simulated assembly line in a preset virtual scene to realize assembly line simulation by operating assembly line elements, simulation control point elements, generation components of simulated assembly machines, etc., without the need for complex logic programming, thereby greatly reducing the difficulty of assembly line simulation and improving the efficiency of assembly line simulation.

[0047] Below, in conjunction with the accompanying drawings, a pipeline simulation method provided in an embodiment of the present application is specifically described.

[0048] Figure 1 The following is a flow chart of a pipeline simulation method provided in an embodiment of the present application. Figure 1 As shown, the method may include the following steps S101-S103.

[0049] S101: In response to a first configuration operation of a user on a preset pipeline body element, a simulated pipeline body for simulating a real pipeline is set in a preset virtual scene.

[0050] In an embodiment of the present application, pipeline body elements of various types of pipelines can be pre-set, so that when performing pipeline simulation, the user can choose to establish various types of simulation pipelines according to the needs of actual applications. Moreover, during multiple pipeline simulations, the user can also switch the type of established simulation pipeline by switching the style of the pipeline body elements during each pipeline simulation according to the needs of actual applications.

[0051] For example, the assembly line body can be a three-dimensional solid model, and its line body styles can include an assembly line belt, an assembly line roller, and an assembly line roller table.

[0052] Thus, when performing pipeline simulation, the user can select the required pipeline body element through the first configuration operation for the preset pipeline body element, and set the simulated pipeline body for simulating the real pipeline in the preset virtual scene. The above virtual scene can be a three-dimensional scene.

[0053] Exemplarily, the first configuration operation may include a drag operation, that is, after the user selects the desired assembly line body element, the user drags the selected assembly line body element to a preset virtual scene through a drag operation to complete the setting of the simulated assembly line body. Exemplarily, the first configuration operation may also include a click operation, in which the simulated assembly line body is set by clicking the assembly line body element. Of course, the first configuration operation is not limited to the drag operation and the click operation, and any configuration operation for the assembly line line element can be used as the first configuration operation.

[0054] Optionally, in a specific implementation, the above step S101, in response to the user's first configuration operation on the preset pipeline body element, setting a simulated pipeline body for simulating a real pipeline in a preset virtual scene, may include the following steps:

[0055] Step A: in response to a first configuration operation of a user on a preset pipeline body element of a specified type, setting a simulated pipeline body for simulating a real pipeline in a preset virtual scene;

[0056] The specified types include at least: a conveyor belt line, a conveyor roller line, or a conveyor roller line.

[0057] In this specific implementation, a specified type of pipeline body element can be preset, so that the user can select the required pipeline body element from the above specified type of pipeline body elements according to their own needs, and set the selected pipeline body element in the virtual scene through the first configuration operation. It can be understood that there can be multiple types of pipeline line elements preset in the virtual scene, and the type on which the first configuration operation is performed can be called a specified type.

[0058] For example, taking the assembly line belt as an example, usually, the assembly line body of a real belt assembly line can include a straight line part and an arc part. Therefore, when setting the simulated assembly line body, the user can select multiple assembly line body elements separately and splice them through a first configuration operation, so that the electronic device responds to the first configuration operation and is set to obtain a complete assembly line body including a straight line part and an arc part.

[0059] In this specific implementation, by presetting the specified type of the pipeline body element, when setting the simulation pipeline body, the simulation pipeline body can be directly set in the virtual scene through the first configuration operation to improve the setting efficiency of the simulation pipeline body.

[0060] S102: In response to a second configuration operation of the user on a preset simulation control point element, each simulation control point is set on the simulation pipeline body.

[0061] The simulation control points include: main elements of associated settings and generation components.

[0062] It is understandable that during the operation of the real assembly line, according to the assembly process of the workpieces transmitted by the real assembly line, an assembly machine will be set on the side of the real assembly line, and workers, robotic arms and other execution elements (also referred to as actuators) will be set at each assembly machine to perform assembly operations on the workpieces transmitted by the real assembly line and flowing through the assembly machine. Among them, the assembly position where the assembly machine is set to perform assembly operations on the workpieces can be called the control point of the real assembly line. Therefore, when performing assembly line simulation, it is also necessary to set simulation control points on the established simulation assembly line. Among them, the above-mentioned simulation control points may include: a main element and a generated component that are set in association. The main element is an interface element used to characterize the control point, and the generated component is a component used to generate the assembly machine.

[0063] In the embodiment of the present application, simulation control point elements may be pre-set for selection by relevant personnel, that is, the user issues a second configuration operation.

[0064] For example, Figure 2 As shown in FIG. 1 , it is a schematic diagram of a simulation control point. Figure 2 The assembly line control point in is the simulation control point, and the "field-shaped" area is the control point body, that is, the main element associated with the simulation control point in the embodiment of the present application, and the triangles located above and below the "field-shaped" area are respectively the assembly machine generation control button 1 and the assembly machine generation control button 2, that is, the generation components associated with the simulation control point in the embodiment of the present application. Among them, the above-mentioned assembly machine generation control button 1 and the assembly machine generation control button 2 can also be located on the left and right sides of the "field-shaped" area, respectively, and this embodiment of the present application does not make specific limitations on this.

[0065] In this way, after setting up a simulated assembly line body for simulating a real assembly line in a pre-set virtual scene, the user can determine the various assembly positions on the assembly line body based on the assembly process of the real assembly line. Thus, the user can select the simulation control point element and set the selected simulation control point element at the above-mentioned assembly positions to obtain the various simulation control points on the above-mentioned assembly line body.

[0066] Exemplarily, the second configuration operation may be a drag operation, and when the user drags the selected simulation control point element, the simulation control point element may be automatically adsorbed onto the assembly line body when it approaches the assembly line body. Of course, the second configuration operation may also be other operations, such as selecting the simulation control point element and configuring the distribution mode or distribution position on the simulation assembly line. Any configuration operation that can realize the simulation control point element may be applicable to the present application.

[0067] For example, Figure 3 As shown in the figure, the user drags the processing station control point element (i.e., simulation control point element) to Figure 3 On the pipeline body in the virtual scene (i.e., the simulated pipeline body set in the virtual scene), complete the setting of a simulation control point. The set simulation control point is Figure 3 Control points of the processing station are shown.

[0068] It can be understood that, generally, a real assembly line may include multiple control points. In this specific implementation, the setting of multiple simulation control points can be completed by dragging the above simulation control point elements multiple times to different positions on the assembly line body. In addition, in the process of setting the above multiple simulation control points, the order of each assembly operation in the assembly process of the established simulation assembly line can be adjusted by setting the control parameters of different control points.

[0069] Based on this, the electronic device as the execution subject can set each simulation control point on the simulation assembly line body at each assembly position determined based on the assembly process of the real assembly line in response to the user's second configuration operation on the preset simulation control point element. At this point, the setting of each simulation control point on the simulation assembly line body is completed.

[0070] S103: In response to a user's control operation on any generation component, a simulation assembly machine of a simulation control point to which the generation component belongs is set at a position outside the simulation assembly line and at a designated side of the associated main element indicated by the generation component.

[0071] Each simulation assembly machine is used to simulate the assembly of the workpiece to be assembled when the workpiece to be assembled is simulated and transmitted to the simulation control point to which the simulation assembly machine belongs by the simulation assembly line.

[0072] As mentioned above, for each simulation control point, the user can determine to set up a simulation assembly machine on one side or both sides of the simulation control point according to the needs of the actual application, wherein, for the sake of convenience of explanation, the side of each simulation control point where the simulation assembly machine needs to be set up can be referred to as the designated side. In this way, for each simulation control point, the user can set up the simulation assembly machine of the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and at a designated side of the associated main element indicated by the generation component, through the control operation of any generation component of the simulation control point. In this way, when the workpiece to be assembled is simulated and transferred by the simulation assembly line to the simulation control point to which each simulation assembly machine belongs, the simulation assembly machine can simulate the assembly of the workpiece to be assembled.

[0073] Among them, the above-mentioned user control operation on any generation component can be a click operation triggered by the user, etc., and this embodiment of the present application does not make any specific limitation on this.

[0074] For example, by clicking an assembly machine generation control button, the user triggers a control operation on any generation component, thereby setting a simulation assembly machine of the simulation control point to which the generation component belongs at a position outside the simulation assembly line and on the specified side of the associated main element indicated by the generation component.

[0075] For example, Figure 3 As shown, the user clicks the mouse Figure 3 The assembly machine generation control button 1 above the processing station control point (i.e. the simulation control point) in the virtual scene is automatically generated on the outside of the assembly line body (i.e. the simulation assembly line body set in the virtual scene) and above the processing station control point (i.e. the simulation control point), and click Figure 3 The assembly machine generation control button 2 below the processing station control point (i.e., the simulation control point) in the virtual scene is automatically generated on the outside of the assembly line body (i.e., the simulation assembly line body set in the virtual scene) and below the processing station control point (i.e., the simulation control point). At this point, the setting of a simulation control point is completed. Among them, the above-mentioned assembly machine generation control button 1 and assembly machine generation control button 2 are the generation components associated with the simulation control point in the embodiment of the present application.

[0076] Furthermore, since a plurality of simulation control points are arranged on the simulation assembly line body arranged in the above virtual scene, the user can trigger the control operation of the generation component for each simulation control point to generate a simulation assembly machine of the simulation control point.

[0077] For example, Figure 4As shown, a plurality of simulation control points are arranged on the simulation assembly line body in the above virtual scene, and a simulation assembly machine is generated for each simulation control point.

[0078] Based on this, the electronic device serving as the execution subject can, in response to the user's control operation on any generation component, set a simulation assembly machine of the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on the designated side of the associated subject element indicated by the generation component. Thus, the setting of the simulation assembly machine for each simulation control point on the above-mentioned simulation assembly line body is completed.

[0079] As can be seen from the above, by applying the solution provided in the embodiment of the present application, the user sets a simulated assembly line body for simulating a real assembly line in a preset virtual scene through a first configuration operation on a preset assembly line body element, and sets each simulation control point on the simulated assembly line body through a second configuration operation on a preset simulation control point element. In this way, the user sets a simulated assembly machine for the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on a designated side of the associated main element indicated by the generation component, through a control operation on a generation component of any simulation control point. In this way, when the workpiece to be assembled is simulated and transmitted to the simulation control point to which each simulation assembly machine belongs by the simulated assembly line body, the simulation assembly machine can simulate the assembly of the workpiece to be assembled.

[0080] Based on this, by applying the solution provided in the embodiment of the present application, when performing assembly line simulation, with the help of human-computer interaction technology, the user can directly set up a simulated assembly line in a preset virtual scene to realize assembly line simulation by operating assembly line elements, simulation control point elements, generation components of simulated assembly machines, etc., without the need for complex logic programming, thereby greatly reducing the difficulty of assembly line simulation and improving the efficiency of assembly line simulation.

[0081] Optionally, in a specific implementation, such as Figure 5 As shown, a pipeline simulation method provided in an embodiment of the present application may also include the following steps S104-S106.

[0082] S104: Controlling the simulated assembly line body so that the simulated assembly line body simulates the transmission of the workpiece to be assembled at a preset running speed.

[0083] When controlling the above-mentioned simulation assembly line to simulate the operation of the real assembly line, the electronic device as the execution subject can control the above-mentioned simulation assembly line body to simulate the transmission of the workpiece to be assembled at the preset operation speed, thereby simulating the application scenario of the real assembly line, in which the assembly line body of the real assembly line transmits the workpiece to be assembled, and the workpiece to be assembled moves forward with the assembly line body. It should be emphasized that the above-mentioned preset operation speed can be the default initial operation speed set by the electronic device for the simulation assembly line. Of course, it can also be the operation speed set by the user for the simulation assembly line, which is reasonable.

[0084] S105: When the workpiece to be assembled moves to each simulation control point where a simulation assembly machine is set, the simulation assembly machine at the simulation control point is controlled so that the simulation assembly machine at the simulation control point simulates and performs a preset assembly operation on the workpiece to be assembled according to a preset processing speed and assembly materials.

[0085] In the process of controlling the above-mentioned simulation assembly line body to simulate the transmission of the workpiece to be assembled according to the running speed, when the workpiece to be assembled on the simulation assembly line body moves to each simulation control point where a simulation assembly machine is set, the electronic device serving as the execution subject controls the simulation assembly machine at the simulation control point so that the simulation assembly machine at the simulation control point simulates the preset assembly operation on the workpiece to be assembled according to the preset processing speed and assembly materials.

[0086] Exemplarily, the preset processing speed and assembly materials may be the default settings of the electronic device, or may be set by the user. In addition, different types of workpieces to be assembled may require different assembly materials, and the same workpieces to be assembled may require different assembly materials for different control points. Exemplarily, when the workpiece to be assembled is a mobile phone body, the assembly materials required may be a mobile phone battery, a mobile phone keypad, a mobile phone back cover, etc.; when the workpiece to be assembled is a vehicle frame, the assembly materials required may be an operating lever, a vehicle door, a vehicle window, a tire, etc.

[0087] S106: After each simulated assembly operation is performed on each simulated assembly machine, the shape of the workpiece to be assembled is changed to the shape after the assembly operation is completed, and the available quantity of the assembly material in the current material data is deducted according to the quantity of the assembly material used.

[0088] For each simulation control point, when the simulation assembly machine that controls the simulation control point simulates the assembly operation on the workpiece to be assembled according to the processing speed and assembly materials, the above-mentioned assembly materials stored in the simulation assembly machine of the simulation control point will be consumed. As a result, the available quantity of the above-mentioned assembly materials in the material data of the simulation assembly machine will be reduced. Therefore, after each simulation assembly operation is performed by each simulation assembly machine, the electronic device that serves as the execution subject changes the shape of the workpiece to be assembled to the shape after the assembly operation is completed, and deducts the available quantity of the assembly materials in the current material data according to the quantity of assembly materials used for the assembly operation.

[0089] In this specific implementation, after controlling the simulation assembly line body to simulate the transmission of the workpiece to be assembled at a preset running speed, each time the workpiece to be assembled passes through a simulation control point, the simulation assembly machine at the simulation control point will simulate the preset assembly operation on the workpiece to be assembled according to the preset processing speed and assembly materials. In this way, as the number of simulation control points passed by the workpiece to be assembled increases, that is, as the workpiece to be assembled moves along the conveyor line of the simulation assembly line body, the workpiece to be assembled is closer to the target shape. For example, if the workpiece to be assembled is a vehicle frame, as the number of simulation control points passed by the vehicle frame increases, the shape of the workpiece to be assembled is closer to the shape of a complete vehicle. Accordingly, after each simulation assembly machine simulates the execution of an assembly operation each time, the available quantity of assembly materials in the current material data can be deducted according to the quantity of assembly materials used.

[0090] Optionally, in a specific implementation, each simulation assembly machine includes: a workbench and an execution element, wherein the execution element at least includes: a robot arm, or an operator;

[0091] In the above step S105, controlling the simulation assembly machine of the simulation control point so that the simulation assembly machine of the simulation control point simulates and performs the preset assembly operation on the workpiece to be assembled according to the preset processing speed and assembly materials may include the following step B:

[0092] Step B: Controlling the execution element of the simulated assembly machine of the simulation control point so that the execution element takes the preset assembly material from the workbench of the simulated assembly machine of the simulation control point and simulates the execution of the preset assembly operation on the assembly workpiece according to the preset processing speed.

[0093] In a specific application, the simulated assembly machine includes a workbench and an execution element, wherein the workbench is used to store assembly materials, and the execution element is used to perform assembly operations, and the execution element at least includes a robotic arm or an operator.

[0094] For example, Figure 6, which is a schematic diagram of a simulated assembly machine, wherein the simulated assembly machine includes an operator 601 as an execution element and a workbench 602 .

[0095] When setting up the simulation assembly machine, the execution elements of the simulation assembly machine can be set up simultaneously with the simulation assembly machine, that is, in response to the user's control operation on any generated component, the workbench and the execution elements are set up simultaneously.

[0096] In some cases, since different assembly machines of the same production line can be set with different execution elements, when setting the simulated assembly machine, the user can simultaneously select the execution element of the set simulated assembly machine. In this case, the execution element of the assembly machine is not set simultaneously with the simulated assembly machine, but needs to respond to the user's control operation on any generated component, after the icon of the simulated assembly machine is generated, and then respond again to the user's control operation, such as a click operation, to generate the execution element of the simulated assembly machine.

[0097] In this specific implementation, the execution element of the simulated assembly machine of the simulation control point is controlled so that the execution element takes the preset assembly material from the workbench of the simulated assembly machine of the simulation control point, and then simulates the preset assembly operation on the assembly workpiece according to the preset processing speed.

[0098] It is understandable that in different application scenarios, the workpiece to be assembled and the assembly materials stored on the workbench are different. For example, in the application scenario of mobile phone manufacturing, the workpiece to be assembled can be the mobile phone body, and the assembly materials stored on the workbench can be mobile phone batteries, mobile phone buttons, mobile phone back covers, etc.; in the application scenario of automobile manufacturing, the workpiece to be assembled can be a frame, and the assembly materials stored on the workbench can be operating levers, doors, windows, tires, etc. This is all reasonable.

[0099] In this specific implementation, when the workpiece to be assembled passes through each simulation control point, the required assembly materials are obtained from the workbench of the simulation assembly machine at the simulation control point by controlling the mechanical arm, or the operator, and the preset assembly operation is simulated and performed on the workpiece to be assembled according to the preset processing speed. In this way, as the number of simulation control points passed by the workpiece to be assembled increases, that is, as the workpiece to be assembled moves along the conveyor line of the simulation assembly line body, the workpiece to be assembled is closer to the target shape. For example, the workpiece to be assembled is a frame. As the number of simulation control points passed by the frame increases, the shape of the workpiece to be assembled is closer to the shape of a complete car. In addition, during the operation of the entire simulation assembly line, through the combination of different types of execution elements, it can be realized that when manpower cannot perform the assembly operation, it can be performed with the help of a mechanical arm; when the assembly operation cannot be completed by the mechanical arm, it can be completed manually by the operator to improve the operation efficiency of the entire simulation assembly line. In addition, the combination of different types of execution elements can more realistically simulate the operation state of the real assembly line.

[0100] Optionally, in a specific implementation, before controlling the simulation pipeline body, a pipeline simulation method provided by an embodiment of the present application may further include the following step C:

[0101] Step C: Set the line parameters of the simulated assembly line, the control parameters of each simulated control point, and the machine parameters and material data of each simulated assembly machine.

[0102] Among them, the line parameters include at least: the running speed; the control parameters of each simulation control point include at least: the assembly operations performed by the simulation assembly machine of the simulation control point on the simulated assembly of the workpiece to be assembled and the required assembly materials; the machine parameters of each simulation assembly machine include at least: the processing speed of the simulated assembly of the workpiece to be assembled, and the material data of each simulation assembly machine records the available quantity of the currently stored assembly materials.

[0103] In this specific implementation, considering that a real assembly line usually has a certain movement speed, before controlling the simulated assembly line body, a running speed can be set for the set simulated assembly line body as a body parameter of the simulated assembly line body.

[0104] Optionally, a real assembly line body usually also has a certain size, so the above-mentioned body parameters may also include width and length.

[0105] For example, the user can click on the selected assembly line element, and in the parameter setting page displayed in response to the above click operation, set the line parameters of the selected assembly line element by clicking, inputting, etc. Furthermore, the user can drag the above selected assembly line element with the line parameters set to the preset virtual scene.

[0106] For another example, the user clicks on a pipeline body element in the set simulation pipeline body, and in the parameter setting page displayed in response to the above click operation, sets the line body parameters of the selected pipeline body element by clicking, entering, etc., to complete the setting of the line body parameters.

[0107] Taking into account that on a real assembly line, different assembly machines may have different assembly operations performed on the simulated assembly of the workpieces to be assembled and the required assembly materials, therefore, before controlling the simulated assembly line, the simulated assembly machine of each simulation control point can be directly set with the assembly operations performed by the simulated assembly machine and the required assembly materials for the simulated assembly of the workpieces to be assembled as the control parameters of the simulation control point.

[0108] For example, when setting each simulation control point, the user can click on the selected simulation control point element, and in the parameter setting page displayed in response to the above-mentioned click operation, set the control parameters of the currently set simulation control point by clicking, inputting, etc. Then, the user can drag the above-mentioned simulation control point with the control parameters set to the simulation assembly line body set in the virtual scene, where the assembly position of the simulation control point is located.

[0109] For another example, the user clicks on a pipeline body element in the set simulation pipeline body, and sets the control parameters of the currently set simulation control point by clicking, inputting, etc. in a parameter setting page displayed in response to the above-mentioned click operation.

[0110] Optionally, the control parameters of each simulation control point may also include: the assembly time for assembling the workpiece to be assembled transmitted by the simulated assembly line body at the simulation control point. The assembly time can be used to simulate the length of time that the workpiece to be assembled transmitted by the assembly line body stays at the simulation control point due to assembly when it reaches the simulation control point, that is, the total length of time required for the workpiece to be assembled to be taken to the simulation assembly machine at the simulation control point, assembled on the simulation assembly machine, and returned to the assembly line body after assembly. It can be set according to the application requirements in the actual scenario. Of course, in some cases, due to the process adjustment of the assembly line body and other reasons, the assembly time can also be 0.

[0111] In addition, the control parameters of each simulation control point mentioned above may also include other contents such as assembly process, which is not specifically limited in the embodiments of the present application.

[0112] Taking into account that on a real assembly line, each simulated assembly machine has a certain processing speed when simulating the assembly of the workpiece to be assembled, and consumes a certain amount of assembly materials, therefore, when setting each simulated assembly machine, the above-mentioned processing speed can be directly set as the machine parameter of the simulated assembly machine, and the available quantity of the currently stored assembly materials can be recorded.

[0113] For example, when the user sets up each simulated assembly machine, the parameter setting interface can be displayed while the icon of the simulated assembly machine is generated through control operations on any generated component. Thus, the user can set the machine parameters of the currently set simulated assembly machine by clicking, inputting, etc. in the above parameter setting page. Then, when the above machine parameter settings are completed, the setting of the simulated assembly machine is completed.

[0114] As mentioned above, the assembly line has a running speed. When the workpiece to be assembled is placed on the assembly line, it will move forward with the assembly line. When the workpiece to be assembled passes the assembly line control point, the assembly machine at the assembly line control point will assemble the workpiece and put the workpiece after the assembly operation back onto the assembly line.

[0115] Usually, in practical applications, the assembly materials stored in each assembly machine are transported by a mobile robot at a certain frequency, and the quantity of assembly materials transported each time is also certain. Therefore, in some cases, due to untimely delivery by the mobile robot, too fast processing speed of the execution element of the assembly machine, etc., the assembly materials stored in the assembly machine may be insufficient, thereby causing the assembly line to stop running, that is, causing the assembly line to stop. However, the assembly line simulation method of the above-mentioned related art lacks simulation of whether the materials of the assembly machine are sufficient.

[0116] Based on this, optionally, in a specific implementation, before controlling the simulation pipeline body, a pipeline simulation method provided by an embodiment of the present application may further include the following steps D1-D4:

[0117] Step D1: Controlling the virtual mobile robot in the virtual scene so that the virtual mobile robot simulates the transportation of assembly materials for each simulated assembly machine according to a preset feeding frequency and feeding quantity;

[0118] Step D2: after each simulation of the virtual mobile robot transporting assembly materials, the current material data is updated according to the delivery quantity;

[0119] Step D3: for each simulated assembly machine, based on the material data after the quantity deduction, determine whether the assembly materials stored in the simulated assembly machine are sufficient; if not, execute step D4;

[0120] Step D4: Control the simulated assembly line and the virtual mobile robot to stop running, and execute the preset material shortage processing operation.

[0121] In this specific implementation, after obtaining the above-mentioned simulated assembly line, the electronic device can control the simulated assembly line to simulate the operation of the real assembly line. Considering that in the application scenario of the real assembly line, the assembly materials stored in each assembly machine are usually transported by a mobile robot at a certain delivery frequency, and the quantity of assembly materials transported each time is also certain, therefore, in the virtual scene of setting the above-mentioned simulated assembly line, a virtual mobile robot for transporting assembly materials to each simulated assembly machine can be set, and the feeding frequency and feeding quantity of the virtual mobile robot can be set. Among them, the above-mentioned feeding frequency refers to: the number of times the virtual mobile robot transports assembly materials to each simulated assembly machine in a unit time, that is, it can reflect how often the virtual mobile robot transports assembly materials to each simulated assembly machine, and the above-mentioned feeding quantity refers to: the quantity of assembly materials transported by the virtual mobile robot to each simulated assembly machine each time.

[0122] In this way, the electronic device as the execution subject controls the virtual mobile robot in the virtual scene so that the virtual mobile robot can deliver assembly materials to each simulated assembly machine according to the preset feeding frequency and feeding quantity. As the virtual mobile robot delivers assembly materials each time, the quantity of available materials stored in each simulated assembly machine will change. Therefore, the electronic device can update the current material data according to the feeding quantity to simulate the application scenario of the real assembly line, in which the mobile robot delivers assembly materials to each assembly machine of the real assembly line.

[0123] Afterwards, for each simulated assembly machine, when simulating the assembly operation on the workpiece to be assembled according to the processing speed and assembly materials, the assembly materials stored in the simulated assembly machine will be consumed, and the available quantity of assembly materials in the material data of the simulated assembly machine will be reduced. Therefore, for each simulated assembly machine, based on the material data after the quantity deduction, it is determined whether the assembly materials stored in the simulated assembly machine are sufficient.

[0124] Among them, if the judgment result is insufficient, it can be explained that in the above-mentioned simulated assembly line, the available quantity of assembly materials stored in at least one simulated assembly machine is insufficient, and in the real assembly line, when there is an assembly machine with insufficient available quantity of assembly materials, the real assembly line will stop. Therefore, when the above-mentioned judgment result is insufficient, the electronic device as the execution subject can control the simulated assembly line body and the virtual mobile robot to stop running, and perform the predetermined material shortage processing operation.

[0125] In this specific implementation, a virtual mobile robot is used in conjunction with a simulated assembly line to assemble the workpieces to be assembled, so as to improve the processing efficiency of the assembly line on the workpieces.

[0126] Optionally, in a specific implementation, the above-mentioned execution of the preset material shortage processing operation may include the following step E:

[0127] Step E: outputting a material shortage alarm; and / or, updating at least one of the operating speed, processing speed, feeding frequency, feeding quantity and control parameters of each simulation control point, and returning to the step of controlling the simulation assembly line body.

[0128] In this specific implementation, when the above judgment result is insufficient, considering that in actual scenarios, the real assembly line will stop, therefore, in order to reduce the problem of assembly line stopping, the electronic device as the execution subject can control the simulated assembly line body and the virtual mobile robot to stop running, and output a material shortage alarm to remind the staff.

[0129] Taking into account the situation that the available quantity of assembly materials stored in the simulated assembly machines is insufficient, it may be caused by the mismatch between the running speed of the simulated assembly line, the processing speed of each simulated assembly machine, the feeding frequency of the virtual mobile robot, the feeding quantity of the virtual mobile robot, and the control parameters of each simulation control point set during the simulation operation of the above-mentioned simulation assembly line. That is, inappropriate data may exist in the above-mentioned data. Therefore, when the above-mentioned judgment result is insufficient, it is also possible to update the data in the operation process of the above-mentioned simulation assembly line by adjusting the above-mentioned running speed, processing speed, feeding frequency, feeding quantity, and at least one of the control parameters of each simulation control point, and perform the simulation operation of the above-mentioned simulation assembly line again according to the updated data, in the hope of finding the most suitable data above.

[0130] Among them, since the control parameters of each simulation control point include at least: the assembly operations performed by the simulation assembly machine of the simulation control point to simulate the assembly of the workpiece to be assembled and the required assembly materials, therefore, adjusting the control parameters of each simulation control point can be understood as adjusting the process of each simulation control point of the above-mentioned simulation assembly line in the assembly process of the created workpiece to be assembled.

[0131] Optionally, when the above judgment result is insufficient, a material shortage alarm is output. In this way, after receiving the alarm, the staff adjusts and updates the operating speed, processing speed, feeding frequency, feeding quantity and at least one of the control parameters of each simulation control point, and performs the simulation operation of the above simulation pipeline again according to the updated data.

[0132] Optionally, in a specific implementation, a pipeline simulation method provided in an embodiment of the present application may further include the following step F.

[0133] Step F: If the assembly materials stored in each simulated assembly machine are sufficient, then continue to control the operation of the simulated assembly line and the virtual mobile robot.

[0134] In this specific implementation, for each simulated assembly machine, if the result of judging whether the assembly materials stored in the simulated assembly machine are sufficient based on the material data after the quantity deduction is sufficient, it means that the above-mentioned simulated assembly line currently does not have a material shortage. The electronic device serving as the execution subject can continue to control the operation of the simulated assembly line body and the virtual mobile robot, that is, continue to execute the above-mentioned steps S104-S106 in a loop until it is judged that there is a simulated assembly machine with insufficient assembly materials, or until the user stops using the above-mentioned simulated assembly line to simulate the operation of the real assembly line.

[0135] In this specific implementation, the above-mentioned simulation assembly line can be used to simulate the operation of the real assembly line, and the virtual mobile robot can be controlled to transport assembly materials for each simulated assembly machine of the simulation assembly line in accordance with the application scenario of the real assembly line. Therefore, whether there is a shortage of materials alarm during the above-mentioned simulation process can be used to determine whether the parameters of the currently established simulation assembly line are appropriate, which makes up for the lack of simulation of whether the materials of the assembly machine are sufficient in the prior art. Furthermore, it is convenient for users to adjust the parameters of the simulation assembly line to obtain more appropriate parameters for creating a real assembly line, so as to avoid various losses caused by the inability of the real assembly line to operate normally after it is established due to design problems in the assembly line.

[0136] The following is an example of a pipeline simulation method provided in an embodiment of the present application, with reference to a specific embodiment.

[0137] After the setting of the simulated assembly line body for simulating the real assembly line, the setting of each simulation control point on the assembly line body, and the setting of the simulated assembly machine at each simulation control point are completed in the preset virtual scene, the simulation of the assembly line can be completed to obtain the simulated assembly line. Figure 4 shown.

[0138] That is, in the embodiment of the present application, the simulation of the assembly line mainly includes: the assembly line body, the assembly line control points (ie, the simulation control points) and the setting of the assembly machine (ie, the simulation assembly machine) generated by the assembly line control points.

[0139] For example, Figure 7 As shown, it is the modeling logic of the simulation of the pipeline, and the modeling logic may include the following steps S701-S705.

[0140] S701: Inserting a pipeline entity into the three-dimensional scene.

[0141] That is, if the preset virtual scene is a three-dimensional scene, in response to the user's dragging operation (first configuration operation) on a specified type of assembly line body element, a assembly line body (i.e., assembly line entity) for simulating a real assembly line is set in the above three-dimensional scene.

[0142] S702: Set the length and width of the assembly line and its running speed.

[0143] That is, after setting up the above-mentioned assembly line body (i.e., assembly line entity), the length, width and running speed of the assembly line body can be set accordingly.

[0144] S703: Place pipeline control points on the pipeline.

[0145] That is, in response to the user's dragging operation (second configuration operation) on the preset simulation control point element, each simulation control point (ie, assembly line control point) is set on the assembly line body at each assembly position determined based on the assembly process of the real assembly line.

[0146] S704: Automatically generate assembly machines on both sides of the assembly line through assembly line control points.

[0147] That is, after setting each simulation control point (i.e., assembly line control point), in response to the user's control operation on any generation component, a simulation assembly machine (i.e., assembly machines on both sides of the assembly line) of the simulation control point is set at a position outside the simulation assembly line body and on the specified side of the associated main element indicated by the generation component, and the machine parameters and material data of the simulation assembly machine are set.

[0148] S705: Configure the assembly time, processing operations, and material requirements at the assembly line control points.

[0149] That is, after setting each simulation control point (i.e., assembly line control point), you can continue to set the assembly time, processing operation (i.e., the assembly operation required to assemble the processed parts transported by the assembly line at this control point), and material requirements (i.e., the assembly materials required to assemble the processed parts transported by the assembly line at this control point) of each simulation control point as control parameters of the simulation control point.

[0150] In this way, after the physical object (the workpiece to be assembled) enters the assembly line body, it will flow forward with the assembly line body. When the physical object passes through the assembly line control point, it will stop for assembly and perform processing transformation at the assembly line control point. Figure 8 A schematic diagram of the execution logic of the goods processing control on the assembly line provided in the embodiment of the present application. Among them, the goods on the assembly line and the processed parts are the to-be-assembled processed parts in the embodiment of the present application; the control points and assembly line control points are the simulation control points in the embodiment of the present application.

[0151] S801: When the workpiece reaches the control point;

[0152] S802: Perform assembly operation;

[0153] S803: The workpiece is updated to the post-processing state;

[0154] S804: The reserve materials of the assembly machine are deducted according to the assembly demand, and step S805 is executed;

[0155] S805: Determine whether the material is sufficient; if so, execute step S807, if not, execute S806;

[0156] S806: The assembly line stops and a material shortage alarm is prompted;

[0157] S807: The workpiece continues to move forward along the conveyor line of the assembly line body and returns to step S801.

[0158] In this specific embodiment, a simulation assembly line is used to simulate the operation of a real assembly line, and the application scenario of the real assembly line is imitated. When the workpiece arrives at the control point, the assembly machine at the control point performs the assembly operation and updates the workpiece to the processed form. At the same time, in the process of transporting assembly materials to each simulated assembly machine of the simulation assembly line, the reserve materials of the assembly machine are deducted according to the quantity of assembly materials required for the assembly operation. After that, it is judged whether the materials are sufficient to determine whether there is a material shortage alarm during the simulation process. If so, the assembly line is controlled to stop and a material shortage alarm is prompted. If not, the workpiece can continue to move forward along the conveyor line of the assembly line body, and return to the above step S801, and the above steps S801-S807 are executed for the next workpiece that arrives at the control point.

[0159] In this way, by judging whether the materials are sufficient and determining whether there is a shortage of materials alarm during the simulation process, it is determined whether the parameters of the currently established simulation line are appropriate, which makes up for the lack of simulation of whether the materials of the assembly machine are sufficient in the prior art. Furthermore, it is convenient for users to adjust the parameters of the simulation line to obtain more appropriate parameters for creating a real line, so as to avoid various losses caused by the inability of the real line to operate normally after it is established due to design problems in the line.

[0160] Corresponding to the pipeline simulation method provided in the above-mentioned embodiment of the present application, the embodiment of the present application also provides a pipeline simulation device.

[0161] Fig. 9 A schematic diagram of the structure of a pipeline simulation device provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the device may include the following modules:

[0162] A line body setting module 910 is used to set a simulated pipeline line body for simulating a real pipeline in a preset virtual scene in response to a first configuration operation of a user on a preset pipeline line body element;

[0163] The control point setting module 920 is used to set various simulation control points on the simulation pipeline body in response to the second configuration operation of the user on the preset simulation control point element; wherein the simulation control point includes: the main element and the generation component that are associated and set;

[0164] The assembly machine setting module 930 is used to respond to the user's control operation on any generated component and set a simulation assembly machine of the simulation control point to which the generated component belongs, at a position outside the simulation assembly line body and on a specified side of the associated main element indicated by the generated component; wherein each simulation assembly machine is used to: simulate the assembly of the workpiece to be assembled when the workpiece to be assembled is simulated and transferred by the simulation assembly line body to the simulation control point to which the simulation assembly machine belongs.

[0165] As can be seen from the above, by applying the solution provided in the embodiment of the present application, the user sets a simulated assembly line body for simulating a real assembly line in a preset virtual scene through a first configuration operation on a preset assembly line body element, and sets each simulation control point on the simulated assembly line body through a second configuration operation on a preset simulation control point element. In this way, the user sets a simulated assembly machine for the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on a designated side of the associated main element indicated by the generation component, through a control operation on a generation component of any simulation control point. In this way, when the workpiece to be assembled is simulated and transmitted to the simulation control point to which each simulation assembly machine belongs by the simulated assembly line body, the simulation assembly machine can simulate the assembly of the workpiece to be assembled.

[0166] Based on this, by applying the solution provided in the embodiment of the present application, when performing assembly line simulation, with the help of human-computer interaction technology, the user can directly set up a simulated assembly line in a preset virtual scene to realize assembly line simulation by operating assembly line elements, simulation control point elements, generation components of simulated assembly machines, etc., without the need for complex logic programming, thereby greatly reducing the difficulty of assembly line simulation and improving the efficiency of assembly line simulation.

[0167] Optionally, in a specific implementation, the device further includes:

[0168] A control module, used for controlling the simulation assembly line body so that the simulation assembly line body simulates the transmission of the workpiece to be assembled at a preset running speed;

[0169] An assembly simulation module, used for controlling the simulation assembly machine at each simulation control point when the workpiece to be assembled moves to a simulation assembly machine, so that the simulation assembly machine at the simulation control point simulates and performs a preset assembly operation on the workpiece to be assembled according to a preset processing speed and assembly materials;

[0170] The material judgment module is used to change the shape of the workpiece to be assembled to the shape after the assembly operation is completed after each simulated assembly machine simulates the execution of the assembly operation, and deduct the available quantity of the assembly material in the current material data according to the quantity of the assembly material used.

[0171] Optionally, in a specific implementation, the device further includes:

[0172] A setting module, used for setting the line parameters of the simulated assembly line, the control parameters of each simulation control point, and the machine parameters and material data of each simulated assembly machine before controlling the simulated assembly line;

[0173] Among them, the line parameters at least include: the running speed; the control parameters of each simulation control point at least include: the assembly operations performed by the simulation assembly machine of the simulation control point for simulating the assembly of the workpiece to be assembled and the required assembly materials; the machine parameters of each simulation assembly machine at least include: the processing speed for simulating the assembly of the workpiece to be assembled, and the material data of each simulation assembly machine records the available quantity of the currently stored assembly materials.

[0174] Optionally, in a specific implementation, the device further includes:

[0175] A robot control module, used to control the virtual mobile robot in the virtual scene, so that the virtual mobile robot simulates the transportation of the assembly materials for each simulated assembly machine according to a preset feeding frequency and feeding quantity;

[0176] A data updating module, used for updating the current material data according to the delivery quantity after the virtual mobile robot simulates delivering the assembly material each time;

[0177] A material determination module is used to determine, for each simulated assembly machine, whether the assembly materials stored in the simulated assembly machine are sufficient based on the material data after the quantity deduction; if not, trigger the operation execution module;

[0178] The operation execution module is used to control the simulated assembly line body and the virtual mobile robot to stop running and execute a preset material shortage processing operation.

[0179] Optionally, in a specific implementation, the operation execution module is specifically used to:

[0180] Outputting a material shortage alarm; and / or updating at least one of the operating speed, the processing speed, the feeding frequency, the feeding quantity and the control parameters of each simulation control point, and triggering the control module.

[0181] Optionally, in a specific implementation, each simulation assembly machine includes: a workbench and an execution element, wherein the execution element at least includes: a robot arm, or an operator;

[0182] The assembly simulation module is specifically used for:

[0183] The execution element of the simulated assembly machine of the simulation control point is controlled so that the execution element takes the preset assembly material from the workbench of the simulated assembly machine of the simulation control point, and simulates the preset assembly operation on the workpiece to be assembled at a preset processing speed.

[0184] Optionally, in a specific implementation, the line body setting module 910 is specifically used to:

[0185] In response to a user's first configuration operation for a preset assembly line element of a specified type, a simulated assembly line element for simulating a real assembly line is set in a preset virtual scene; wherein the specified type includes at least: an assembly belt line, an assembly roller line, or an assembly roller line.

[0186] The present application also provides an electronic device, such as Fig.10 As shown, including:

[0187] Memory 1001, used for storing computer programs;

[0188] The processor 1002 is used to implement the steps of any pipeline simulation method provided in the above-mentioned embodiments of the present application when executing the program stored in the memory 1001.

[0189] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 1002, the communication interface, and the memory 1001 communicate with each other via the communication bus.

[0190] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0191] The communication interface is used for communication between the above electronic device and other devices.

[0192] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0193] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0194] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any pipeline simulation method provided in the above-mentioned embodiments of the present application are implemented.

[0195] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the steps of any pipeline simulation method provided in the above-mentioned embodiments of the present application.

[0196] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.

[0197] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0198] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, electronic device embodiment, computer-readable storage medium embodiment, and computer program product embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0199] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A pipeline simulation method, characterized in that: The method comprises: In response to a first configuration operation of a user on a preset pipeline body element, a simulated pipeline body for simulating a real pipeline is set in a preset virtual scene; In response to the second configuration operation of the user on the preset simulation control point element, each simulation control point is set on the simulation pipeline body; wherein the simulation control point includes: a main element and a generation component that are set in association; In response to the user's control operation on any generation component, a simulation assembly machine of the simulation control point to which the generation component belongs is set at a position outside the simulation assembly line body and at a designated side of the associated main element indicated by the generation component; Wherein, each simulation assembly machine is used for: when the workpiece to be assembled is simulated and transmitted to the simulation control point to which the simulation assembly machine belongs by the simulation assembly line body, simulating the assembly of the workpiece to be assembled.

2. The method according to claim 1, characterized in that: The method further comprises: Controlling the simulated assembly line body so that the simulated assembly line body simulates the transmission of the workpiece to be assembled at a preset running speed; When the workpiece to be assembled moves to each simulation control point where a simulation assembly machine is provided, the simulation assembly machine at the simulation control point is controlled so that the simulation assembly machine at the simulation control point simulates and performs a preset assembly operation on the workpiece to be assembled according to a preset processing speed and assembly materials; After each simulated assembly machine simulates the execution of the assembly operation each time, the shape of the workpiece to be assembled is changed to the shape after the assembly operation is completed, and the available quantity of the assembly material in the current material data is deducted according to the quantity of the assembly material used.

3. The method according to claim 2, characterized in that Before controlling the simulation pipeline body, the method further includes: Setting the line parameters of the simulated assembly line, the control parameters of each simulated control point, and the machine parameters and material data of each simulated assembly machine; Wherein, the line body parameters at least include: the running speed; The control parameters of each simulation control point include at least: the assembly operation and the assembly materials required for the simulated assembly machine at the simulation control point to simulate the assembly of the workpiece to be assembled; The machine parameters of each simulated assembly machine at least include: a processing speed for simulating the assembly of the workpiece to be assembled, and the material data of each simulated assembly machine records the available quantity of the currently stored assembly material.

4. The method according to claim 2, characterized in that: The method further comprises: Controlling the virtual mobile robot in the virtual scene so that the virtual mobile robot simulates the transportation of the assembly materials for each simulated assembly machine according to a preset feeding frequency and feeding quantity; After the virtual mobile robot simulates transporting the assembly material each time, updating the current material data according to the delivery quantity; For each simulated assembly machine, based on the material data after quantity deduction, determine whether the assembly material stored in the simulated assembly machine is sufficient; If it is insufficient, the simulated assembly line and the virtual mobile robot are controlled to stop running, and the preset material shortage processing operation is performed.

5. The method according to claim 4, characterized in that The execution of the preset material shortage processing operation includes: Output material shortage alarm; and / or, Update at least one of the operating speed, the processing speed, the feeding frequency, the feeding quantity and the control parameters of each simulation control point, and return to the step of controlling the simulation assembly line body.

6. The method according to any one of claims 2 to 5, characterized in that: Each simulation assembly machine includes: a workbench and an execution element, wherein the execution element at least includes: a robot arm, or an operator; The controlling of the simulation assembly machine of the simulation control point so that the simulation assembly machine of the simulation control point simulates and performs a preset assembly operation on the workpiece to be assembled according to a preset processing speed and assembly materials includes: The execution element of the simulated assembly machine of the simulation control point is controlled so that the execution element takes the preset assembly material from the workbench of the simulated assembly machine of the simulation control point, and simulates the preset assembly operation on the workpiece to be assembled at a preset processing speed.

7. The method according to any one of claims 1 to 5, characterized in that: In response to a first configuration operation of a user on a preset pipeline body element, setting a simulated pipeline body for simulating a real pipeline in a preset virtual scene includes: In response to a first configuration operation of a user on a preset pipeline body element of a specified type, setting a simulated pipeline body for simulating a real pipeline in a preset virtual scene; The specified types include at least: a conveyor belt line, a conveyor roller line, or a conveyor roller line.

8. A pipeline simulation device, characterized in that: The device comprises: A line body setting module, used for setting a simulated pipeline line body for simulating a real pipeline in a preset virtual scene in response to a first configuration operation of a user on a preset pipeline line body element; A control point setting module, for setting various simulation control points on the simulation pipeline body in response to the second configuration operation of the user on the preset simulation control point element; wherein the simulation control point includes: a main element and a generation component that are associated and set; An assembly machine setting module is used to respond to the user's control operation on any generation component and set a simulation assembly machine of the simulation control point to which the generation component belongs, at a position outside the simulation assembly line body and on a specified side of the associated main element indicated by the generation component; wherein each simulation assembly machine is used to: simulate the assembly of the workpiece to be assembled when the workpiece to be assembled is simulated and transferred by the simulation assembly line body to the simulation control point to which the simulation assembly machine belongs.

9. The device according to claim 8, characterized in that The device also includes: A control module, used for controlling the simulation assembly line body so that the simulation assembly line body simulates the transmission of the workpiece to be assembled at a preset running speed; An assembly simulation module, used for controlling the simulation assembly machine at each simulation control point when the workpiece to be assembled moves to a simulation assembly machine, so that the simulation assembly machine at the simulation control point simulates and performs a preset assembly operation on the workpiece to be assembled according to a preset processing speed and assembly materials; The material judgment module is used to change the shape of the workpiece to be assembled to the shape after the assembly operation is completed after each simulated assembly machine simulates the execution of the assembly operation, and deduct the available quantity of the assembly material in the current material data according to the quantity of the assembly material used.

10. The device according to claim 9, characterized in that The device also includes: A setting module, used for setting the line parameters of the simulated assembly line, the control parameters of each simulation control point, and the machine parameters and material data of each simulated assembly machine before controlling the simulated assembly line; Wherein, the line body parameters at least include: the running speed; The control parameters of each simulation control point include at least: the assembly operation and the assembly materials required for the simulated assembly machine at the simulation control point to simulate the assembly of the workpiece to be assembled; The machine parameters of each simulated assembly machine include at least: the processing speed of simulating the assembly of the workpiece to be assembled, and the material data of each simulated assembly machine records the available quantity of the currently stored assembly material; And / or, the device further comprises: A robot control module, used to control the virtual mobile robot in the virtual scene, so that the virtual mobile robot simulates the transportation of the assembly materials for each simulated assembly machine according to a preset feeding frequency and feeding quantity; A data updating module, used for updating the current material data according to the delivery quantity after the virtual mobile robot simulates delivering the assembly material each time; A material determination module is used to determine, for each simulated assembly machine, whether the assembly materials stored in the simulated assembly machine are sufficient based on the material data after the quantity deduction; if not, trigger the operation execution module; The operation execution module is used to control the simulated assembly line body and the virtual mobile robot to stop running and execute a preset material shortage processing operation; And / or, the operation execution module is specifically used to: Outputting a material shortage alarm; and / or updating at least one of the operating speed, the processing speed, the feeding frequency, the feeding quantity and the control parameters of each simulation control point, and triggering the control module; And / or, each simulated assembly machine includes: a workbench and an execution element, wherein the execution element at least includes: a robotic arm, or an operator; the assembly simulation module is specifically used for: The execution element of the simulated assembly machine of the simulation control point is controlled so that the execution element takes the preset assembly material from the workbench of the simulated assembly machine of the simulation control point, and simulates the preset assembly operation on the workpiece to be assembled at a preset processing speed.

11. The device according to any one of claims 8 to 10, characterized in that: The line body setting module is specifically used for: In response to a user's first configuration operation for a preset assembly line element of a specified type, a simulated assembly line element for simulating a real assembly line is set in a preset virtual scene; wherein the specified type includes at least: an assembly belt line, an assembly roller line, or an assembly roller line.

12. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-7 when executing a program stored in a memory.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Flexible production line

    CN104281105A

  • Method and system for performing virtual simulation on circuit breaker assembly production line

    CN108549747A

  • Method, system and medium for generating pipeline

    CN113127368A

  • AS5643 network dynamic simulation test method and device

    CN113645082A

  • Automatic virtual automobile simulation method and device based on assembly line

    CN115455564A