Process simulation method, electronic device and storage medium
The user input mobile configuration information is obtained through the mobile device setting interface, and the mobile device is controlled to run in the simulation line, solving the problem of complex traditional simulation operations and achieving efficient process simulation.
Patent Information
- Application Number
- CN202311429099.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2043-10-30
AI Technical Summary
The operation process simulation of the rotor in traditional magnetic drive lines requires basic programming, and the operation is complicated and it is difficult to simplify the process.
The user inputted mobile configuration information is obtained through the mobile device setting interface, including the target station, sequence and residence time, and the mobile device is controlled to run in the simulation line body to simulate the process flow.
The process flow simulation of the actuator device can be realized without writing a program, simplifying the simulation steps and improving efficiency.
Smart Images

Figure CN117762091B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of magnetic drive conveying technology, and in particular to a process simulation method, electronic equipment and storage medium. Background Art
[0002] Magnetic drive lines can be used in automated production lines for precision manufacturing. When in use, in order to ensure that the magnetic drive line meets the requirements of the application scenario during actual application, it is first necessary to simulate the operation process of the mover in the magnetic drive line, including the time, speed, sequence, spacing, etc. of the mover's stay at the work station.
[0003] In traditional solutions, a programmable logic controller (PLC) or other high-level languages are usually used to control the operation logic of the mover to complete the simulation of the operation process of the mover in the magnetic drive line. This process simulation method requires the staff to master a certain programming foundation and is complicated to operate. Summary of the invention
[0004] The embodiments of the present application provide a process simulation method, an electronic device, and a storage medium to simplify the process simulation process.
[0005] In a first aspect, an embodiment of the present application provides a process simulation method, the method comprising:
[0006] When it is detected that the user triggers the setting operation of the moving device, the setting interface of the moving device is displayed;
[0007] Based on the mover device setting interface, the mover configuration information input by the user is obtained, wherein the mover configuration information includes the target station identification, sequence, and dwell time of the target station passed by the mover device based on the position of each simulation station, and the position of the simulation station is the position of the simulation station in the simulation line body;
[0008] The mover device is controlled to run in the simulation line according to the mover configuration information, and the process flow of the mover device is simulated.
[0009] In a second aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the above method.
[0010] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method.
[0011] In the embodiment of the present application, the mover configuration information of the mover device is obtained based on the mover device setting interface, and the mover device is controlled to run in the simulation line body to simulate the process flow of the mover device. The process flow of the mover device can be simulated without writing a program to control the mover device, thereby simplifying the steps of simulating the process flow of the mover device and realizing efficient simulation of the process flow of the mover device. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] 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. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A schematic diagram of a process simulation method provided in an embodiment of the present application;
[0014] Figure 2 A system architecture diagram of another process simulation method provided in an embodiment of the present application;
[0015] Figure 3 A schematic diagram of a process simulation method provided in an embodiment of the present application;
[0016] Figure 4 A schematic diagram of a process flow diagram of a process simulation method provided in an embodiment of the present application;
[0017] Figure 5 An example schematic diagram of an interface provided in an embodiment of the present application;
[0018] Figure 6 An example schematic diagram of an interface provided in an embodiment of the present application;
[0019] Figure 7 An example schematic diagram of a line interval provided in an embodiment of the present application;
[0020] Figure 8 A schematic diagram of a process simulation method provided in an embodiment of the present application;
[0021] Fig. 9 A schematic diagram of the structure of a process simulation device provided in an embodiment of the present application;
[0022] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] 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 without creative work are within the scope of protection of this application.
[0024] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are an "or" relationship.
[0025] Reference Figure 1 , Figure 1 A schematic diagram of a scenario of the process simulation method of this application.
[0026] In this embodiment, the configuration of the simulated line body has been completed according to the configuration information of the simulated production line, as shown in the figure, optionally, in this embodiment, the simulated line body 1 is a ring line. After the simulated line body 1 is configured, a simulated workstation is set in the simulated line body 1.
[0027] It is understandable that the simulated production line of the present application is a magnetic drive line. During the production process, the magnetic drive line includes a mover (equivalent to the mover device running in the simulated line body in the present application) and a stator (equivalent to the stator device running in the simulated line body in the present application). The mover is magnetically coupled with the stator and moves under the drive of the stator. The mover in the magnetic drive line can be a moving coil mover or a moving iron mover. The driving principle and driving structure have been disclosed and will not be further described here.
[0028] It is understandable that in the production process, each station in the magnetic drive line has specific functions and tasks. The mover device transports the product to at least one station to complete specific processing, treatment or assembly. Therefore, in this embodiment, different graphic identifiers can be used to distinguish the simulated stations.
[0029] For example, if the simulated line is a simulated production line for processing medical products, its work station 2 includes a plastic injection molding station 21, a metal processing station 22, an assembly station 23, a cleaning and disinfection station 24, a packaging and labeling station 25, and a quality inspection station 26. Optionally, in this embodiment, different image shapes can be used to distinguish the work stations. Among them, in the plastic injection molding station 21, an injection molding machine is used to inject plastic materials into the mold to manufacture plastic parts of medical device products; in the metal processing station 22, a machine tool is used to perform cutting, milling, drilling and other processing operations on the metal materials of medical device products; in the assembly station 23, different parts of the medical device products are assembled together to form a complete medical device product; in the cleaning and disinfection station 24, the assembled medical device products are cleaned and disinfected to ensure the hygiene and safety of the medical device products; in the quality inspection station 25, various quality inspections and tests are carried out on the medical device products to ensure that they meet the relevant standards and requirements; in the packaging and labeling station 26, the medical device products that have passed the quality inspection are packaged and labeled for easy transportation, storage and sales.
[0030] When it is detected that the user triggers the setting operation of the moving device, the setting interface of the moving device is displayed in the display interface. Among them, it can be determined whether the user triggers the setting operation of the moving device by detecting in real time whether there is a user click operation on the "moving device setting" button in the display interface when the process simulation device is running. If it is detected that the user clicks the "moving device setting" button, it is determined that the user triggers the setting operation of the moving device, and the moving device setting interface is displayed in the display interface, and the moving device configuration information input by the user is obtained based on the moving device setting interface. Among them, the position of each simulation station in the simulation line and the station identification are displayed in the moving device setting interface. The user can determine the target station passed by the moving device during operation, the order of passing the target station, and the stay time at the target station according to the position of each simulation station and the process required to be completed by the medical device product carried by the moving device. Among them, after determining the target station, the user can select the target station by clicking the target station identification of the target station.
[0031] Optionally, the simulation line body including the simulation workstations may be displayed together with the setting interface of the mover device in the display interface, so that the user can determine the target workstations that the mover device needs to pass through and the order in which the target workstations are passed through.
[0032] After receiving the mover configuration information input by the user in the mover device setting interface, the mover device is controlled to run in the simulation line body according to the mover configuration information, and the process flow of the mover device is simulated.
[0033] For example, in this embodiment, for the mover device A, it transports metal components in the initial stage. The mover device A needs to transport the metal components to the metal processing station 22 to cut the metal parts to obtain the medical device product-the needle, and then pass through the cleaning and disinfection station 24, and then pass through the quality inspection station 25, and then transport the needles that pass the quality inspection to the packaging and labeling station 26. Therefore, the target stations are determined to be the metal processing station, the cleaning and disinfection station, the quality inspection station, and the packaging and labeling station. In the setting interface of the mover device, the target station identification of the target station can be selected as 22, 24, 25, and 26, but the mover device needs to pass through the assembly station 23, so the assembly station 23 is also set as the target station, but it does not stay at the assembly station 23. Therefore, the order of passing the target station is 22→23→24→25→26, and the stay time of the mover device at the target station is set in the configuration interface according to the time when each target station completes the processing task. For example, in the simulation station with the target station identification 22, the dwell time is set to 30 seconds because the metal parts need to be cut; in the simulation station with the target station identification 24, the needle tube is cleaned to remove the debris left in the needle tube during the cutting process, and the dwell time is set to 5 seconds; in the simulation station with the target station identification 25, the needle tube needs to be quality inspected, and the dwell time is set to 10 seconds; in the simulation station with the target station identification 26, the needle tube needs to be packaged, and the dwell time is set to 5 seconds. Based on this, the mover configuration information of the mover device A is obtained, and the mover device A is controlled to run in the simulation line according to the obtained mover configuration information, and the process flow of the mover device A is simulated.
[0034] In this embodiment, the mover configuration information of the mover device is obtained based on the mover device setting interface, and the mover device is controlled to run in the simulation line body to simulate the process flow of the mover device. The process flow of the mover device can be simulated without writing a program to control the mover device, thereby simplifying the steps of simulating the process flow of the mover device and realizing efficient simulation of the process flow of the mover device.
[0035] The following will be combined Figure 2 to Figure 8 , the process simulation method provided in the embodiments of the present application is introduced in detail.
[0036] Please refer to Figure 2 , which is a schematic diagram of a process simulation method provided in the embodiment of the present application. Figure 2 As shown, the process simulation method may include the following steps S101 to S103.
[0037] S101, when it is detected that a user triggers a setting operation of a moving device, a setting interface of the moving device is displayed;
[0038] The execution subject of the embodiment of the present application is a process simulation device.
[0039] The moving device is a device that simulates the transportation of the required processed products in the simulated line.
[0040] The actuator device setting operation is an operation of starting the actuator device setting interface, which may include a click operation, a preset gesture, and other operations.
[0041] For example, when the process simulation device detects that a user clicks on the "Motor Device Settings" button in the display interface, it is determined that the user has triggered the motor device settings operation, and the motor device settings interface is displayed in the display interface. Alternatively, when it is determined that the user has made a preset gesture, it is determined that the user has triggered the motor device settings operation, and the motor device settings interface is displayed in the display interface.
[0042] The mover device setting interface is an interface for receiving the mover configuration information input by the user. Figure 3 .exist Figure 3 In the mover device setting interface, the mover device identification, the mover device acceleration, deceleration, maximum operating speed, the mover device target station, the target station dwell time, and the order of passing the target station are displayed.
[0043] S102, based on the mover device setting interface, obtaining mover configuration information input by the user, wherein the mover configuration information includes the target station identifier of the target station passed by the mover device based on the position of each simulation station, the order of passing the target station, and the stay time at the target station, and the position of the simulation station is the position of the simulation station in the simulation line body;
[0044] The mover configuration information is information for controlling the operation of the mover device; the simulation station is a station in the simulation line; the target station is a station that the user determines the mover device needs to pass through in the simulation station; and the target station identifier is the identifier of the target station.
[0045] In this embodiment, the position of the simulation station can be displayed in the mover configuration information, so that the user determines the target station that the mover device needs to pass through based on the position of the simulation station, and then selects the target station identifier of the target station in the mover device setting interface, and selects the order in which the mover device passes through the target station according to the order in which the mover device completes the process flow. Finally, the target station identifiers are arranged according to the order of the target stations, so that the mover device can be controlled to pass through the target stations in the set order in the simulation line.
[0046] Please continue to refer to Figure 3 , in the display of the mover device setting interface, obtain the mover configuration information input by the user based on the mover device setting interface.
[0047] S103, controlling the mover device to run in the simulation line according to the mover configuration information, and simulating to obtain the process flow of the mover device.
[0048] After the mover configuration information is obtained, a mover device is generated in the simulation line body, and the mover device is controlled to run in the simulation line body according to the configuration information, so as to simulate the process flow of the mover device.
[0049] It can be understood that in this embodiment, multiple paths may be included in the simulation line, and the mover device can reach the target workstation through multiple paths. There may be multiple movers in the simulation line to simulate the process flow at the same time, wherein the types of movers are divided according to the different process flows to be executed or the weight of the transported objects. For example, a type A mover device is used to transport items less than or equal to 10 kg; a type B mover device is used to transport items greater than 10 kg and less than or equal to 20 kg. In this embodiment, other types of movers can be used for items greater than 20 kg, which are no longer enumerated here.
[0050] In an embodiment of the present application, when there are multiple mover devices in the simulation line body, a safety distance can be set in the mover device setting interface, thereby controlling the mover device to maintain a safe distance from other mover devices during operation to avoid collision.
[0051] Optionally, when the mover device is running in the simulation line body, the operation of the mover device can be controlled according to the mover configuration information or the global operation parameters.
[0052] The global operating parameters may be operating parameters of all mover devices in the simulated production line. The mover operating parameters may be operating parameters of a certain mover that is set separately. In the present application, the global operating parameters and the mover operating parameters may include parameters such as the speed, acceleration, and deceleration of the mover.
[0053] The embodiment of the present application can set the priority of motion parameters and global operation parameters to control the operation of the mover configuration in the simulation line body. It can be that when the mover operation parameters of the mover device exist in the mover configuration information, the mover device is controlled to operate in the simulation line body according to the mover operation parameters, and the process flow of the mover device is simulated. When the mover operation parameters of the mover device do not exist in the mover configuration information, the global operation parameters are obtained, and the mover device is controlled to operate in the simulation line body according to the global operation parameters, and the process flow of the mover device is simulated. It is realized that the mover device is controlled to operate in the simulation line body according to different operation parameters.
[0054] In this embodiment, the mover configuration information of the mover device is obtained based on the mover device setting interface, and the mover device is controlled to run in the simulation line body to simulate the process flow of the mover device. The process flow of the mover device can be simulated without writing a program to control the mover device, thereby simplifying the steps of simulating the process flow of the mover device and realizing efficient simulation of the process flow of the mover device.
[0055] Reference Figure 4 , Figure 4 This is a flow chart of an embodiment of the present application. When it is detected that a user triggers the setting operation of the moving device, before displaying the setting interface of the moving device, it also includes:
[0056] S001, obtaining the line configuration information of the simulated production line, and constructing the simulated line according to the line configuration information;
[0057] S002, determining the position of each simulation workstation in the simulation line.
[0058] The target production line may be the production line when the actuator device actually executes the process flow; the line configuration information is the configuration information for constructing a simulated line.
[0059] In this embodiment, the process simulation device can obtain the line configuration information of the target production line through the information input by the user in the line configuration interface, and then construct a simulated line according to the line configuration information, and determine the position of each simulated station in the simulated line. In the line configuration interface, the user can enter the simulated line configuration information to be constructed in the line configuration interface according to the characteristics of the target production line. For example, the user determines that a circular line with a length of 3500 mm needs to be constructed according to the target production line, and enters the length value in the line configuration interface. After the simulated line is constructed, the position of the simulation station is determined based on the constructed simulated line.
[0060] In this embodiment, a simulated line body can be constructed based on the line configuration information of the target production line, and the position of the simulated workstation can be determined in the simulated line body. The simulated line body is constructed in combination with the target production line, and the position of the simulated workstation is determined, thereby improving the accuracy of the determined simulated line body.
[0061] Reference Figure 5 , Figure 5 The schematic diagram of the line configuration interface of this application. The line configuration interface may include a judgment of whether the target production line is a continuous production line. When the target production line is determined to be a continuous line, a ring line is constructed according to the line configuration information. Figure 1 If the target production line is determined to be a non-continuous line, a connecting line is constructed according to the line configuration information.
[0062] It is understandable that in the actual use of the magnetic drive line, the mover device and the stator device need to cooperate with each other to control the operation of the mover device.
[0063] In this embodiment, when constructing a simulated wire body according to the wire body configuration information, different stator devices can be optionally combined to surround the simulated wire body, thereby simulating the type and quantity of stator devices required when actually constructing the magnetic drive line. Among them, the type of stator device can be determined according to its shape, and the type of stator device to be used is determined according to the wire body position of the surrounding simulated wire body. For example, a ring-shaped stator is used to surround the curved part of the ring line.
[0064] In this embodiment, the type of simulated line body to be constructed is determined according to whether the target production line is a continuous line body, thereby improving the accuracy of constructing the simulated line body.
[0065] After the simulation line is constructed, the position of each simulation station needs to be determined in the simulation line. There are three ways to determine the position of the simulation station in the simulation line.
[0066] Reference Figure 6 , Figure 6 This is a schematic diagram of a workstation configuration interface for this application.
[0067] In the station configuration interface, the user inputs the station parameters of the simulated station, and then the process device determines the position of the simulated station in the simulated line according to the station parameters.
[0068] The workstation parameters are parameter information of the simulated workstation in the simulated line, including information such as the identification and position of the simulated workstation in the simulated line.
[0069] In an embodiment of the present application, after the user enters the station parameters of the simulated station in the station configuration interface, the user can also click the Apply button in the station configuration interface. After receiving the trigger operation of the user clicking the Apply button, the process simulation device determines that the user needs to pre-display the position of the simulated station in the simulated line body, and then displays the simulated station in the simulated line body according to the station parameters. It can be understood that the simulated station has not yet been generated in the simulated production line at this time. The simulated station is pre-displayed in the simulated line body, and the user can check whether the input simulated station parameters are correct. If the user determines that the position of the simulated station in the simulated production line is correct, click the OK button. When the process simulation device receives the OK button based on the station configuration interface, it determines the position of the simulated station in the simulated production line according to the station parameters and generates the simulated station.
[0070] Optionally, in this embodiment, a moving operation of a moving sub-device in a moving simulation line body triggered by a user may also be received to determine the position of the simulation workstation.
[0071] The mover configuration information includes the order of the target stations that need to be passed, so the process simulation device can determine the position of the simulation station according to the mover configuration information. For example, referring to the above application scenario embodiment, the mover device A needs to pass through the target stations in the order of 22→23→24→25→26. When it is detected that the user moves the mover device A, the end position of the moving operation is determined to be the position of the simulation station 22.
[0072] Optionally, in this embodiment, the user can also directly click on the simulated line to determine the position of the simulated workstation.
[0073] In the embodiment of the present application, the position of the simulation station in the simulation line can be determined in a variety of ways, and a variety of ways are provided to determine the position of the simulation station.
[0074] In some embodiments, after determining the positions of each simulation station in the simulation line, the simulation line can be divided into a moving line section and a connecting line section. The moving line section can be translated in the connecting line according to a preset direction. The preset direction includes an up-down direction and a left-right direction.
[0075] It can be understood that if the connecting lines are arranged in parallel in the horizontal direction and there is no connection area, the moving line body section is used to move the moving sub-device from one end of the connecting line to the other end in the horizontal direction; if the connecting lines are arranged in parallel in the vertical direction and there is no connection area, the moving line body section is used to move the moving sub-device from one end of the connecting line to the other end in the vertical direction. In this way, the moving sub-device is controlled to complete the entire process flow.
[0076] Please refer to Figure 7 , a docking line section and a moving line section are set in the docking line, and the process simulation device obtains the position of the mover device in real time to determine whether the mover device moves to the docking line section. If the mover device moves to the docking line section, whether the moving line section is connected to the docking line section, if the docking line section and the moving line section are successfully connected, the mover device is controlled to continue to run until the mover device runs to the moving line section, after which the mover device stops running, and the moving line body is translated in a preset direction. When the moving line section is connected to the docking line section at the other end of the docking line, the mover device is controlled to start running and continue to complete the process flow at the other end of the docking line. If the docking line section and the moving line section are not successfully connected, the mover device is controlled to stop running in the docking line section to prevent the mover device from running to other line areas.
[0077] In an embodiment of the present application, the simulated line body is divided into a connecting line body section and a moving line body section, and then the operation of the moving device is controlled according to the line body section to which the current position of the moving device belongs and whether the moving line body section and the connecting line body section are connected, thereby realizing the connection problem that occurs in the actual application process of the simulation moving device.
[0078] Reference Figure 8 , Figure 8 This is a flow chart of Example 1 of the present application.
[0079] S003, receiving the quantity information of the mover device and the corresponding type information input by the user in the mover device quantity setting interface;
[0080] S004: Generate a corresponding moving device in the simulation line body according to the type information and the quantity information.
[0081] In this embodiment, the user can start the mover device quantity setting interface by clicking, and input the quantity information and type information of the mover devices to be generated in the simulation line in the mover device quantity setting interface. The process simulation device then generates the corresponding mover devices according to the quantity information and type information.
[0082] For example, based on the information of items transported by the mover in the target production line, you can choose to generate 5 type A movers to transport 10 kg of items and 2 type B movers to transport 20 kg of items in the mover setting interface.
[0083] It is understandable that after the corresponding mover device is generated in the simulation line body, the user can determine the process flow of the mover device by entering the mover device setting interface.
[0084] In the embodiment of the present application, batch generation of mover devices is simulated through a mover device quantity setting interface, thereby simplifying the user's operation of simulating generation of mover devices.
[0085] In one embodiment, the identification of each mover device can also be determined based on the time sequence of generating the mover devices, wherein, when it is detected that the user starts the operation of deleting the target mover device, the target ranking of the target mover device is obtained, and the identification of the mover device ranked after the target ranking is updated; when it is detected that the user adds the target mover device, the identification of the target mover is determined according to the generation order of the target mover device.
[0086] The target mover device may be a mover device that needs to be simulated deleted or added in the mover device, and the target ranking is the ranking of the target mover devices that are selected to be deleted.
[0087] For example, five target movers are generated in the order of the time when the movers are generated. Among them, mover 1 is identified as 1, mover 2 is identified as 2, mover 3 is identified as 3, mover 4 is identified as 4, and mover 5 is identified as 5. When it is determined to delete mover 4, its target ranking is 4, so it is necessary to update the identification of mover 5, which is ranked after it, to mover 4, and its identification is also changed to 4.
[0088] After five target mover devices are generated in sequence according to the time sequence of the mover devices, when it is detected that the user needs to add a target mover device, the identifier of the target mover is determined to be 6 according to the generation sequence of the target movers.
[0089] In an embodiment of the present application, the identification of the mover device is determined according to the time sequence of generating the mover device, and when it is detected that the target mover device is deleted, the identification of the mover device is updated. The user does not need to update it manually, which improves the convenience of updating the identification of the mover device.
[0090] Please refer to Fig. 9 , which is a schematic diagram of the structure of a process simulation device provided in the embodiment of the present application. Fig. 9 As shown, the process simulation device 1 of the embodiment of the present application may include:
[0091] A detection unit 11 is used to display a setting interface of the moving device when detecting that a user triggers a setting operation of the moving device;
[0092] An acquisition unit 12 is used to acquire the mover configuration information input by the user based on the mover device setting interface, wherein the mover configuration information includes the target station identification of the target station passed by the mover device based on the position of each simulation station, the order of passing the target station, and the stay time at the target station, and the position of the simulation station is the position of the simulation station in the simulation line body;
[0093] The control unit 13 is used to control the mover device to run in the simulation line according to the mover configuration information, and simulate the process flow of the mover device.
[0094] In the embodiment of the present application, the mover configuration information of the mover device is obtained based on the mover device setting interface, and the mover device is controlled to run in the simulation line body to simulate the process flow of the mover device. The process flow of the mover device can be simulated without writing a program to control the mover device, thereby simplifying the steps of simulating the process flow of the mover device and realizing efficient simulation of the process flow of the mover device.
[0095] The present application also provides a computer storage medium that can store multiple program instructions, which are suitable for being loaded and executed by a processor as described above. Figure 1-Figure 8 The method steps of the embodiment shown in the figure can be referred to in detail in the implementation process. Figure 1-Figure 8 The specific description of the illustrated embodiment will not be repeated here.
[0096] Please refer to Fig.10 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. Fig.10 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, an input / output interface module, and a process simulation program.
[0097] exist Fig.10 In the electronic device 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user.
[0098] In one embodiment, the processor 1001 may be used to call the process simulation program stored in the memory 1005, and specifically perform the following operations:
[0099] When it is detected that the user triggers the setting operation of the moving device, the setting interface of the moving device is displayed;
[0100] Based on the mover device setting interface, the mover configuration information input by the user is obtained, wherein the mover configuration information includes the target station identification of the target station passed by the mover device based on the position of each simulation station, the order of passing the target station, and the stay time at the target station, and the position of the simulation station is the position of the simulation station in the simulation line body;
[0101] The mover device is controlled to run in the simulation line according to the mover configuration information, and the process flow of the mover device is simulated.
[0102] In the embodiment of the present application, the mover configuration information of the mover device is obtained based on the mover device setting interface, and the mover device is controlled to run in the simulation line body to simulate the process flow of the mover device. The process flow of the mover device can be simulated without writing a program to control the mover device, thereby simplifying the steps of simulating the process flow of the mover device and realizing efficient simulation of the process flow of the mover device.
[0103] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0104] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A process simulation method, characterized in that: The method comprises: Acquire line configuration information of the target production line, and construct a simulated line according to the line configuration information, wherein the simulated line is constructed according to information input by the user; Determining the position of each simulation station in the simulation line; When it is detected that the user triggers the setting operation of the moving device, the setting interface of the moving device is displayed; Based on the mover device setting interface, the mover configuration information input by the user is obtained, wherein the mover configuration information includes the target station identification of the target station passed by the mover device based on the position of each simulation station, the order of passing the target station, and the stay time at the target station, and the position of the simulation station is the position of the simulation station in the simulation line body; When the mover operation parameters of the mover device are present in the mover configuration information, the mover device is controlled to operate in the simulation line body according to the mover operation parameters, so as to simulate and obtain the process flow of the mover device; When the mover operation parameters of the mover device do not exist in the mover configuration information, the global operation parameters are obtained, and the mover device is controlled to operate in the simulation line according to the global operation parameters, so as to simulate the process flow of the mover device.
2. The method according to claim 1, characterized in that: The simulated line body includes a connecting line and a ring line, and the acquiring of line body configuration information of the target production line and the construction of the simulated line body according to the line body configuration information include: When the target production line in the line configuration information is a continuous line, constructing a ring line according to the line configuration information; When the target production line in the line configuration information is a discontinuous line, a connecting line is constructed according to the line configuration information.
3. The method according to claim 1, characterized in that Determining the position of each simulation station in the simulation line body includes: Acquire the station parameters in the station configuration interface, and determine the position of each simulated station in the simulated line according to the station parameters; or, receiving a moving operation of a moving sub-device in a moving simulation line body triggered by a user, and determining the position of each simulation station according to the moving operation; or, A click operation triggered by a user in the simulated line is received, and a click position of the click operation is determined as a position of each simulated workstation.
4. The method according to claim 1, characterized in that After determining the position of each simulation station in the simulation line, the method further includes: Dividing the simulated line into a plurality of line sections, wherein the line sections include connecting line sections and moving line sections, and the moving line sections can be translated in a preset direction; When the moving device moves to the connecting line body section and it is determined that the moving line body section is not connected to the connecting line body section, controlling the moving device to stop running; When the moving line section is connected to the connecting line section, the mover device is controlled to run from the connecting line section to the moving line.
5. The method according to claim 1, characterized in that Based on the mover device setting interface, before obtaining the mover configuration information input by the user, the method further includes: Receive the quantity information of the mover device and the corresponding type information input by the user in the mover device quantity setting interface; A corresponding mover device is generated in the simulation line body according to the type information and the quantity information.
6. The method according to claim 1, characterized in that The method further comprises: When there are multiple mover devices, determining the identifiers of the mover devices according to the time sequence of generating the mover devices; Upon receiving an operation of deleting a target mover device from a user, obtaining a target ranking of the target mover device; updating the identifiers of the mover devices that are sorted after the target sorting; When receiving an operation of adding a target mover device from a user, the identifier of the target mover is determined according to the generation order of the target mover devices.
7. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method according to any one of claims 1 to 6.
8. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Interactive control method for long stator conveying system
CN112068755A
Transport device in the form of a long-stator linear motor
WO2022117524A2