Line body configuration method and device and electronic equipment

By first drawing a line sketch during the online configuration process and generating a configuration diagram based on the sketch, the problem of difficulty in the line configuration process is solved, and the rapid generation and efficient configuration of the configuration diagram are achieved.

CN119598944APending Publication Date: 2025-03-11SHANGHAI GOLYTEC AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411634714.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the field of industrial automation technology, the configuration graphics need to be reasonably arranged according to the size and relative position relationship of each stator during the linear configuration process, which makes the configuration process more difficult.

Method used

By first drawing a line body sketch of the line body, setting the layout direction and position using the schematic diagram of the stator, and then generating a configuration diagram based on the sketch, so that the position and direction of the configuration figure correspond to the corresponding positions and directions in the sketch.

Benefits of technology

It reduces the difficulty in the line configuration process, simplifies the generation process of configuration diagrams, and improves configuration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119598944A_ABST
    Figure CN119598944A_ABST
Patent Text Reader

Abstract

The invention provides a line body configuration method and device and electronic equipment, and is applied to the technical field of industrial automation. The method comprises the following steps: in a line body configuration process, firstly drawing a line body sketch of a line body, setting a layout direction and a layout position of a stator through a schematic diagram of the stator in the line body sketch, and then generating a configuration diagram of the line body based on the line body sketch, and enabling the position and direction of the configuration graph of the stator in the configuration graph to correspond to the layout direction and layout position of the sketch graph of the stator in the line sketch. According to the method provided by the invention, the line sketch capable of representing the layout direction and the layout position of the stator can be firstly drawn, then the configuration graph is constructed based on the line sketch, and the drawing process of the line sketch does not need to select a matched configuration graph for the stator and does not need to configure the position of each group of configuration graphs, so that the drawing process is relatively simple, and the efficiency is high. Therefore, the difficulty in the line body configuration process can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial automation technology, and more specifically, to a line configuration method, device and electronic equipment in the field of industrial automation technology. Background Art

[0002] Magnetic drive transmission lines (hereinafter referred to as lines) are widely used in various industries due to their flexible, high-speed and stable transmission advantages. During the use of the line, it is usually necessary to build a configuration diagram for the line, so that the running status of the line can be displayed in real time during the operation of the line, so that users can directly monitor the line through the configuration diagram.

[0003] The wire body is usually composed of multiple stators of different types. In the process of configuring the wire body, it is not only necessary to select matching configuration graphics for each stator according to the size of each stator, but also necessary to reasonably arrange the position and direction of each configuration graphics according to the size of the wire body and the relative position relationship between the stators, and splice the configuration graphics of each stator, which makes the configuration process more difficult. Summary of the invention

[0004] The present application provides a line configuration method, device and electronic device, which can reduce the difficulty in the line configuration process.

[0005] In a first aspect, a line configuration method is provided, the method comprising:

[0006] Draw a line body sketch of the line body; wherein the line body sketch includes a schematic diagram of each stator in the line body, and the schematic diagram of the stator is used to indicate the layout position and layout direction of the stator in the line body;

[0007] A configuration diagram of the line body is generated based on the line body sketch; wherein the configuration diagram includes a configuration graphic of each of the stators, the position of the configuration graphic of the stator in the configuration diagram corresponds to the layout position, and the direction of the configuration graphic of the stator in the configuration diagram corresponds to the layout direction.

[0008] In the embodiment of the present application, during the process of line body configuration, a line body sketch of the line body is first drawn, and the layout direction and layout position of the stator are set by the schematic diagram of the stator in the line body sketch, and then a configuration diagram of the line body is generated based on the line body sketch, so that the position and direction of the configuration diagram of the stator in the configuration diagram correspond to the layout direction and layout position of the schematic diagram of the stator in the line body sketch. In this way, a line body sketch that can represent the layout direction and layout position of the stator can be drawn first, and then a configuration diagram can be constructed based on the line body sketch. Since the drawing process of the line body sketch does not require the selection of matching configuration graphics for the stator, nor does it require the configuration of the positions of each configuration graphic, the drawing process is relatively simple, thereby reducing the difficulty in the process of line body configuration.

[0009] In combination with the first aspect, in some possible implementations, the line body sketch is drawn in a sketch interface, and generating the configuration diagram of the line body based on the line body sketch includes:

[0010] For each of the stators, based on the first position of the schematic graphic of the stator in the sketch interface, determining the second position of the configuration graphic of the stator in the layout interface;

[0011] The configuration diagram of the stator is arranged at the second position in the layout interface to obtain the configuration diagram.

[0012] In the example of the present application, for each stator, based on the first position of the schematic graphic of the stator in the sketch interface, the second position of the configuration graphic of the stator in the layout interface is determined, and the configuration graphic of the stator is arranged at the second position in the layout interface to obtain a configuration diagram, which can quickly convert the line sketch into a configuration diagram and improve the efficiency of line configuration.

[0013] In combination with the first aspect, in some possible implementations, arranging the configuration graphic of the stator at the second position in the layout interface to obtain the configuration diagram includes:

[0014] Acquire a configuration graph of the stator according to the stator model or stator length of the stator;

[0015] The acquired configuration graphic of the stator is arranged at the second position in the layout interface to obtain the configuration diagram.

[0016] In an embodiment of the present application, a corresponding configuration graphic is obtained according to the stator model or stator length of the stator, and the configuration graphic is placed at a corresponding position to generate a configuration diagram of the line body, which can improve the generation efficiency of the configuration diagram and further improve the configuration efficiency of the line body.

[0017] In combination with the first aspect, in some possible implementations, determining a second position of the configuration graphic of the stator in the layout interface based on the first position of the schematic graphic of the stator in the sketch interface includes:

[0018] Determining a starting position of the configuration graphic of the stator in the layout interface based on a first position of the schematic graphic of the stator in the sketch interface;

[0019] In case that an offset distance is pre-configured for the stator, determining the second position according to the offset distance and the starting position;

[0020] Alternatively, when the offset distance is not configured in advance for the stator, the second position is determined according to the starting position.

[0021] In the embodiment of the present application, an offset distance can be configured for the stator. By adjusting the specific position of the configuration diagram of the stator in the configuration diagram by the offset distance, a certain offset can be made between the configuration diagram of the stator and the actual position of the stator, thereby improving the flexibility and applicability of the configuration diagram.

[0022] In combination with the first aspect, in some possible implementations, the sketch interface includes a plurality of mutually adjacent areas, and the line sketch of drawing a line body includes:

[0023] For each of the stators, determining a target area selected by a user for the stator from among the multiple areas;

[0024] A schematic shape of the stator is placed in the target area to obtain the line body sketch.

[0025] In an embodiment of the present application, the sketch interface includes multiple adjacent areas. During the drawing of the linear sketch, the user can directly complete the drawing of the schematic diagram of the stator within the area without considering the relative distance between the schematic diagrams, thereby improving the drawing efficiency of the linear sketch and thus improving the configuration efficiency of the linear body.

[0026] In conjunction with the first aspect, in some possible implementations, before generating the configuration diagram of the line body based on the line body sketch, the method further includes:

[0027] Obtaining a stator number and a stator model pre-configured for the stator;

[0028] According to the stator number and the stator model, the starting address and the tail address of the stator in the line body are configured.

[0029] In the embodiment of the present application, the starting address and the tail address of the stator in the line are configured according to the stator number and the stator model configured by the user for the stator, so that the configuration of the starting address and the tail address of the stator can be completed quickly, thereby improving the configuration efficiency of the line.

[0030] In combination with the first aspect, in some possible implementations, after generating the configuration diagram of the line body based on the line body sketch, the method further includes:

[0031] Obtaining address parameters set for the workstations on the line body;

[0032] Based on the address parameters, a configuration graphic of the workstation is added at a corresponding position on the configuration graphic.

[0033] In the embodiment of the present application, the configuration graphics of the workstation can be added to the target position of the configuration diagram by setting the address parameters for the workstation, which can facilitate the user to quickly configure the configuration graphics of the workstation for the configuration diagram of the line body, thereby improving the configuration efficiency of the line body.

[0034] In combination with the first aspect, in some possible implementations, generating the configuration diagram of the line body based on the line body sketch includes: obtaining a front gap pre-configured for a target stator; wherein the target stator is a stator other than the first stator in the line body, and the front gap is a gap between the target stator and an adjacent previous stator; according to the front gap, setting the interval between the configuration diagram of the target stator and the configuration diagram of the previous stator.

[0035] In an embodiment of the present application, during the wire body configuration process, corresponding front gaps are configured for other stators in the wire body except the first stator, and the spacing between the configuration diagram of the stator and the configuration diagram of the adjacent previous stator is set according to the front gap, which can improve the matching degree between the configuration diagram and the actual wire body.

[0036] In combination with the first aspect, in some possible implementations, after generating the configuration diagram of the line body based on the line body sketch, the method further includes:

[0037] Obtaining the actual position of the mover on the line body;

[0038] Based on the actual position, a configuration diagram of the mover is added at a corresponding position of the configuration diagram.

[0039] In an embodiment of the present application, during the line configuration process, the actual position of the mover on the line can be obtained, and then based on the actual position, the corresponding position of the configuration graphic of the mover on the configuration is determined, and then the configuration graphic of the mover is added to the corresponding position. The configuration graphic of the mover can be quickly added to the configuration diagram, thereby improving the line configuration efficiency.

[0040] In a second aspect, a line configuration device is provided, the device comprising:

[0041] A drawing module, used for drawing a line body sketch of a line body; wherein the line body sketch includes a schematic diagram of each stator in the line body, and the schematic diagram of the stator is used to indicate the layout position and layout direction of the stator in the line body;

[0042] A generation module is used to generate a configuration diagram of the line body based on the line body sketch; wherein the configuration diagram includes a configuration graphic of each of the stators, the position of the configuration graphic of the stator in the configuration diagram corresponds to the layout position, and the direction of the configuration graphic of the stator in the configuration diagram corresponds to the layout direction.

[0043] According to a third aspect, an electronic device is provided, the electronic device comprising:

[0044] A memory for storing executable program code;

[0045] A processor is used to call and run the executable program code from the memory, so that the electronic device executes the method in any possible implementation manner of the first aspect above.

[0046] In a fourth aspect, a readable storage medium is provided, which stores an executable program code. When the executable program code runs on a device, the device executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of the steps of a line configuration method provided in an embodiment of the present application;

[0048] Figure 2 is a schematic diagram of a sketch interface provided in an embodiment of the present application;

[0049] Figure 3 is a schematic diagram of a layout interface provided in an embodiment of the present application;

[0050] Figure 4 is a schematic diagram of another sketch interface provided in an embodiment of the present application;

[0051] Figure 5 It is a structural schematic diagram of a line configuration device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0053] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0054] The magnetically driven transmission line is a device used to transport materials. It is mainly composed of multiple stators and at least one mover. Multiple stators are spliced ​​into a line body in the shape of a straight line, arc, ellipse and ring. A permanent magnet is arranged in the mover, and a coil is arranged in the stator. When the coil is energized, the excitation generates a changing magnetic field. The changing magnetic field interacts with the mover to generate a driving force on the mover, driving the mover to move along the line body. The mover carries the material during the movement, thereby realizing the transportation of the material.

[0055] Among them, the configuration diagram refers to a device or system displayed on a computer monitor in a graphical manner. The configuration diagram can show the user the operating status and related information of the device or system. Configuration is the process of building a configuration diagram of a device or system. For the line body, in the process of configuring the line body to form a configuration diagram, it is not only necessary to select matching configuration graphics for each stator according to the size of each stator, but also necessary to reasonably arrange the position and direction of each configuration graphic according to the size of the line body and the relative position relationship between each stator, and splice the configuration graphics of each stator, which makes the configuration process more difficult.

[0056] In order to solve the above technical problems, the embodiment of the present application provides a line body configuration method. In the process of line body configuration, a line body sketch of the line body is first drawn, and the layout direction and layout position of the stator are configured through the schematic diagram of the stator in the line body sketch. Then, a configuration diagram of the line body is generated based on the line body sketch, so that the position and direction of the configuration diagram of the stator correspond to the layout direction and layout position of the schematic diagram of the stator. In this way, a line body sketch that can represent the layout direction and layout position of the stator can be drawn first, and then a configuration diagram can be constructed based on the line body sketch. Since the drawing process of the line body sketch does not require the selection of a matching configuration diagram for the stator, the drawing process is relatively simple, thereby reducing the difficulty in the line body configuration process.

[0057] See also Figure 1 , Figure 1is a flowchart of the steps of a line configuration method provided by an embodiment of the present application. The execution subject of the method can be a computer, such as Figure 1 As shown, the method may include the following steps:

[0058] Step 101, draw a line sketch of the line body.

[0059] The line body sketch includes a schematic diagram of each stator in the line body, and the schematic diagram of the stator is used to indicate the layout position and layout direction of the stator in the line body. For example, the schematic diagram of the stator may be composed of arrows and line segments, etc., the direction of the arrow may indicate the layout direction of the stator, or the direction of the arrow represents the running direction of the mover on the stator, the shape of the arrow and the line segment may indicate the shape of the stator, and the position of the arrow and the line segment may indicate the layout position of the stator.

[0060] In one embodiment, the computer may display a sketch interface, and draw a line sketch in the sketch interface. Figure 2 As shown, Figure 2 It is a schematic diagram of a sketch interface provided in an embodiment of the present application. The sketch interface 1000 includes a drawing window 10 and a selection window 20, wherein the selection window 20 is used for the user to select the schematic diagram of each stator to be laid out in the line, and the drawing window 10 is used to draw the schematic diagram of each stator selected by the user to obtain a line sketch.

[0061] Exemplarily, the line body corresponding to the line body sketch 101 is a ring line body, the stator 102 in the line body is an arc stator, the stator 103 is a straight stator, the position of the stator 103 in the line body is located after the stator 102, the schematic diagram 201 is a schematic diagram of the stator 102, and the schematic diagram 202 is a schematic diagram of the stator 103. In the process of drawing the line body sketch, the user can select the schematic diagram 201 from the selection window 20 based on the line body structure required to be arranged, when the shape of the stator 102 is involved in the line body structure, and then drag the schematic diagram 201 into the drawing window 10, and select a position in the drawing window 10 to release. The computer can place the schematic diagram 201 at the position selected by the user in response to the user's dragging operation. Similarly, when the shape of the stator 103 is involved in the line body structure, select the schematic diagram 202 from the selection window 20, and then drag the schematic diagram 202 to the drawing window 10, and select another position in the drawing window 10 to release. The computer may place the schematic graphic 201 at a position selected by the user in response to the user's dragging operation.

[0062] And, when the layout direction of the stator in the line body is Figure 2When the schematic diagram 201 is placed in the clockwise direction, the arrow direction in the schematic diagram 201 can be adjusted to the clockwise direction, so that the layout direction of the schematic diagram 201 in the linear sketch corresponds to the layout direction of the stator 102 in the linear body. Similarly, when the schematic diagram 202 is placed, the arrow direction in the schematic diagram 202 can be adjusted to the clockwise direction, so that the layout direction of the schematic diagram 202 in the linear sketch corresponds to the layout direction of the stator 103 in the linear body. Similarly, for other stators in the linear body, a similar method can be used to select and arrange the schematic diagram of each stator to obtain a linear body sketch of the linear body.

[0063] Among them, when drawing a line sketch, you can first place a schematic diagram of a stator in the sketch interface, and for other stators, use the schematic diagram of the stator as a reference to determine the relative position relationship between other stators and the stator, and draw the schematic diagram of other stators in the sketch interface based on the relative position relationship between other stators and the stator.

[0064] It should be understood that the method of drawing a line sketch may include but is not limited to the above examples, and this embodiment does not limit the specific method of drawing a line sketch.

[0065] Step 102: Generate a line body configuration diagram based on the line body sketch.

[0066] The configuration diagram includes a configuration graphic of each stator, the position of the configuration graphic of the stator in the configuration diagram corresponds to the layout position, and the direction of the configuration graphic of the stator in the configuration diagram corresponds to the layout direction.

[0067] For example, after the line sketch is drawn, the computer can convert and generate a configuration diagram based on the line sketch after receiving a conversion instruction input by the user. Figure 2 As shown, the sketch interface 1000 includes a command input window 30, and the command input window 30 includes a conversion control 301. The conversion control 301 is, for example, a button. After the user determines that the line sketch is finished, the user can click the conversion control 301 to input a conversion instruction to the computer (i.e., a click operation). After receiving the user's click operation, the computer converts the line sketch into a configuration diagram in response to the user's click operation.

[0068] In one embodiment, after receiving the conversion instruction, the computer can close the sketch interface and then display the layout interface, in which the configuration diagram is generated based on the line sketch conversion. Figure 3 As shown, Figure 32 is a schematic diagram of a layout interface provided by an embodiment of the present application. The layout interface 2000 includes a layout window 50, and the layout window 50 is used to generate a configuration diagram 501. The configuration diagram 501 includes a configuration diagram of each stator, and the position of each configuration diagram of the stator in the layout interface 2000 corresponds to the position of the schematic diagram of the stator in the sketch interface 1000.

[0069] For example, for the stator 102 in the above example, in the process of generating the configuration diagram, the computer can obtain the configuration diagram 502 of the stator 102 according to the schematic diagram 201, and place and display the configuration diagram 502 at the corresponding position in the layout window 50. Specifically, the vertex at the upper left corner of the drawing window 10 and the layout window 50 can be the coordinate zero point, the horizontal direction is the abscissa, and the vertical direction is the ordinate. In the process of generating the configuration diagram, the point at the lower left corner of the schematic diagram 201 can be used as the first reference point to determine the coordinates of the first reference point in the drawing window 10. The coordinates of the lower left corner of the configuration diagram 502 are used as the second reference point, and the coordinates of the first reference point are used as the coordinates of the second reference point, and the configuration diagram 502 is placed in the layout window 50. Similarly, for the above-mentioned stator 103, the configuration graphic 503 of the stator 103 can be obtained, the spacing distance between the schematic graphic 201 and the schematic graphic 202 in the drawing window 10 is determined, and then the configuration graphic 503 is placed in the layout window 50 according to the spacing distance. In the drawing window 10, the schematic graphic 202 is located on the right side of the schematic graphic 201, so the configuration graphic 503 is located on the right side of the configuration graphic 502, and the configuration graphic 503 is spaced from the configuration graphic 502 by the spacing distance. Similarly, the configuration graphic of each stator can be placed and displayed in the layout window 50 in turn to obtain the configuration diagram 501.

[0070] In one embodiment, after generating the configuration diagram of the stator, the user can manually add the configuration diagram of each mover in the line body to the configuration diagram, and add the configuration diagram of each workstation in the line body to the configuration diagram to obtain a complete configuration diagram of the line body.

[0071] It can be understood that for each stator, the layout direction of the schematic figure in the linear sketch corresponds to the layout direction of the configuration figure in the configuration diagram, and the layout direction of the configuration figure in the configuration diagram corresponds to the layout direction of the stator in the linear body. Similarly, the layout position of the schematic figure in the linear sketch corresponds to the layout position of the configuration figure in the configuration diagram, and the layout position of the configuration figure in the configuration diagram corresponds to the layout position of the stator in the linear body. Figure 2 and Figure 3As shown, schematic figure 201 is located at the upper left corner of line sketch 101, stator 102 is located at the upper left corner of the line body, and configuration figure 502 is located at the upper left corner of configuration figure 501. Schematic figure 202 is located on the right side of schematic figure 201 and is adjacent to schematic figure 201, stator 103 is located on the right side of stator 102 and is adjacent to stator 102, and configuration figure 503 is located on the right side of configuration figure 502 and is adjacent to configuration figure 502.

[0072] In the embodiment of the present application, during the process of line body configuration, a line body sketch of the line body is first drawn, and the layout direction and layout position of the stator are set by the schematic diagram of the stator in the line body sketch, and then a configuration diagram of the line body is generated based on the line body sketch, so that the position and direction of the configuration diagram of the stator in the configuration diagram correspond to the layout direction and layout position of the schematic diagram of the stator in the line body sketch. In this way, a line body sketch that can represent the layout direction and layout position of the stator can be drawn first, and then a configuration diagram can be constructed based on the line body sketch. Since the drawing process of the line body sketch does not require the selection of matching configuration graphics for the stator, nor does it require the configuration of the positions of each configuration graphic, the drawing process is relatively simple, thereby reducing the difficulty in the process of line body configuration.

[0073] Optionally, before generating a configuration diagram of the line body based on the line body sketch, the method may further include:

[0074] Obtain the stator number and stator model pre-configured for the stator;

[0075] According to the stator number and stator model of the stator, configure the starting address and tail address of the stator in the linear body.

[0076] In one embodiment, in the process of drawing the line body sketch, the stator number and stator model can also be configured for each stator in the line body, the stator number corresponds to the position of the stator in the line body, and the stator model is related to the hardware parameters of the stator. In addition, the starting address and tail address of the stator in the line body can be configured according to the stator number and stator model of each stator. Among them, the starting address of the stator refers to the position of the end of the stator in the line body, and the tail address of the stator refers to the position of the tail of the stator in the line body. For example, if the total length of the line body is 1000 units, the length of the first stator in the line body is 50, then the starting address of the first stator in the line body is 0, and the tail address is 50. If the length of the second stator is 100, the starting address of the second stator in the line body is 51, and the tail address is 150.

[0077] like Figure 2As shown, the configuration window 40 includes a first input control 401 and a second input control 402. After selecting a schematic diagram of a stator, the stator model of the stator can be input or selected to the computer through the first input control 401, and the stator number of the stator can be input or selected to the computer through the second input control 402. The computer can store the stator number and stator model of the stator. The first input control 401 and the second input control 402 can be input boxes or selection boxes, etc., but are not limited thereto.

[0078] When configuring the starting address and tail address of the stator, the computer can first obtain the stator model of the stator, determine the stator length of the stator according to the stator model, and then determine the position of the stator in the line length according to the stator number of the stator. For example, if the stator number of the stator is 1, it can be determined that the stator is the first stator in the line. If the stator length is L1, it can be determined that the starting address of the stator in the line is 0 and the tail address is L1. If the stator number is 2 and the stator length is L2, it can be determined that the stator is the second stator in the line. The starting address of the stator in the line is L1+1 and the tail address is L1+L2. By analogy, the corresponding starting address and tail address can be configured for each stator in the line.

[0079] Optionally, step 102 may include:

[0080] Obtaining a front gap pre-configured for a target stator; wherein the target stator is a stator other than the first stator in the line body, and the front gap is a gap between the target stator and an adjacent previous stator;

[0081] According to the front gap, the interval between the configuration pattern of the target stator and the configuration pattern of the previous stator is set.

[0082] When the line body is installed and positioned on site, there may be a certain gap between the two stators due to installation errors, position deviations, etc.

[0083] In some embodiments, in the process of drawing the line body sketch, for the stators other than the first stator in the line body (i.e., the target stator), the front gap between the target stator and the adjacent previous stator can be configured. The front gap is the gap between the two adjacent stators caused by the installation error mentioned above. The setting of the front gap can make the negative conditions such as the installation error be used as one of the driving control conditions when driving the mover to move, thereby improving the stability and accuracy of the mover drive. For example, if the front gap of the Nth stator (the stator number is N, N is greater than 1) is F, then the end of the Nth stator and the tail of the (N-1)th stator are separated by F, the Nth stator is the target stator, and the (N-1)th stator is the previous stator adjacent to the Nth stator. In the process of generating the configuration diagram, the end of the configuration diagram of the Nth stator and the tail of the configuration diagram of the (N-1)th stator can be set to be separated by F.

[0084] like Figure 2 As shown, a fifth input control 405 is provided in the configuration window 40. After selecting a schematic diagram of a certain stator, the front gap of the stator can be input to the computer through the fifth input control 405, and the computer can store the front gap of the stator. Among them, the fifth input control 405 can be an input box and a selection box, etc., but is not limited thereto. Specifically, if the front gap of the stator 103 is F, the interval F between the stator 103 and the stator 102 in the line body can be determined. In the process of generating the configuration diagram, the interval F between the configuration diagram 503 of the stator 103 and the configuration diagram 502 of the stator 103 can be set.

[0085] In an embodiment of the present application, during the wire body configuration process, corresponding front gaps are configured for other stators in the wire body except the first stator, and the spacing between the configuration diagram of the stator and the configuration diagram of the adjacent previous stator is set according to the front gap, which can improve the matching degree between the configuration diagram and the actual wire body.

[0086] In another embodiment, when drawing a line body sketch, the user can manually configure the corresponding start address and end address for each stator in the line body. Figure 2 As shown, the sixth input control 406 and the seventh input control 407 can be set in the configuration window 40. When the starting address and the tail address need to be configured for a certain stator, after selecting the schematic diagram of the stator, the user can input the starting address of the stator through the sixth input control 406 and input the tail address of the stator through the seventh input control 407, and the computer can store the starting address and the tail address of the stator.

[0087] It should be understood that the above are merely illustrative examples, and the method for configuring the start address and the end address for the stator may include but is not limited to the above examples.

[0088] In the embodiment of the present application, the starting address and the tail address of the stator in the line are configured according to the stator number and the stator model configured by the user for the stator, so that the configuration of the starting address and the tail address of the stator can be completed quickly, thereby improving the configuration efficiency of the line.

[0089] Optionally, the sketch interface includes a plurality of mutually adjacent regions, and a line body sketch of a line body is drawn, including:

[0090] For each stator, determining a target region selected by a user for the stator from among the plurality of regions;

[0091] Place a schematic shape of the stator in the target area to obtain a line body sketch.

[0092] In one embodiment, a plurality of adjacent regions may be set in the sketch interface. When drawing a line sketch, the user may select a corresponding region for each schematic diagram of the stator and place the schematic diagram in the corresponding region to complete the drawing of the line sketch. Figure 4 As shown, Figure 4 It is a schematic diagram of another sketch interface provided by an embodiment of the present application. The drawing window 10 is divided into a plurality of adjacent areas. In the process of drawing a line sketch, for the stator 102, the user can drag the schematic graphic 201 in the selection window 20 to the area 104 and release it to place the schematic graphic 201 of the stator 102 in the area 104. For the stator 103 adjacent to the stator 102 and located on the right side of the stator 102, the schematic graphic 202 in the selection window 20 can be dragged to the area 105 adjacent to the area 104 and located on the right side of the area 104 and released to place the schematic graphic 202 in the area 105. Similarly, for other stators, corresponding schematic graphics can be selected and placed in corresponding areas to form a line sketch.

[0093] In actual applications, when drawing a line sketch, the user can first drag the schematic diagram of a stator in the line into one of the regions based on the relative position relationship of each stator in the line, and then use the stator as a reference stator to drag the schematic diagrams of other stators adjacent to the reference stator into the adjacent region. Then, use other stators as reference stators to drag the schematic diagrams of other stators adjacent to the reference stator into the adjacent region, and so on, until all the schematic diagrams of the stators are dragged into the corresponding regions to form a line sketch.

[0094] In an embodiment of the present application, the sketch interface includes multiple adjacent areas. During the drawing of the linear sketch, the user can directly complete the drawing of the schematic diagram of the stator within the area without considering the relative distance between the schematic diagrams, thereby improving the drawing efficiency of the linear sketch and thus improving the configuration efficiency of the linear body.

[0095] Optionally, a line body sketch is drawn in a sketch interface, and a configuration diagram of the line body is generated based on the line body sketch, including:

[0096] For each stator, based on the first position of the schematic graphic of the stator in the sketch interface, determine the second position of the configuration graphic of the stator in the layout interface;

[0097] The configuration graphic of the stator is arranged at the second position in the layout interface to obtain a configuration diagram.

[0098] In this embodiment, in the process of generating a configuration diagram based on a line sketch, the computer can first determine the position of the schematic diagram of each stator in the sketch interface, that is, the first position. For the first position corresponding to each stator, the second position corresponding to the first position can be determined from the layout interface, and then the configuration diagram of the stator is arranged at the second position.

[0099] like Figure 4 As shown, when the sketch interface includes multiple adjacent areas, the area where the schematic diagram is located is the first position of the schematic diagram in the sketch interface. In the process of determining the second position corresponding to each stator, starting from the first stator in the line body (the corresponding stator is numbered 1), a position can be determined from the layout interface as the second position corresponding to the first stator, and the configuration graphic of the first stator is placed at the second position. For the second stator after the first stator (the corresponding stator is numbered 2), if the second stator is located on the left side of the first stator, after placing the configuration graphic of the first stator, the position separated from the tail of the configuration graphic of the first stator by the front gap of the second stator can be determined as the second position corresponding to the second stator according to the front gap of the second stator, and the configuration graphic of the second stator is placed at the second position.

[0100] Similarly, if the third stator is located on the left side of the second stator, after placing the configuration pattern of the second stator, the position separated from the tail of the configuration pattern of the second stator by the front gap of the third stator can be determined as the second position corresponding to the third stator according to the front gap of the third stator, and the configuration pattern of the third stator is placed at the second position. By analogy, the second position corresponding to each stator can be determined in turn, and the corresponding configuration pattern can be placed at the second position, so that a configuration diagram including the configuration patterns of all stators in the line body can be obtained.

[0101] The above are only illustrative examples. The method for determining the second position of the configuration graphic in the layout interface based on the first position of the schematic graphic in the sketch interface can be specifically set according to needs, and this embodiment does not limit this.

[0102] In the example of the present application, for each stator, based on the first position of the schematic graphic of the stator in the sketch interface, the second position of the configuration graphic of the stator in the layout interface is determined, and the configuration graphic of the stator is arranged at the second position in the layout interface to obtain a configuration diagram, which can quickly convert the line sketch into a configuration diagram and improve the efficiency of line configuration.

[0103] Optionally, determining a second position of the configuration graphic of the stator in the layout interface based on a first position of the schematic graphic of the stator in the sketch interface includes:

[0104] Determine the starting position of the configuration graphic of the stator in the layout interface based on the first position of the schematic graphic of the stator in the sketch interface;

[0105] In the case where the stator is pre-configured with an offset distance, the second position is determined according to the offset distance and the starting position;

[0106] Alternatively, when no offset distance is configured for the stator in advance, the second position is determined according to the starting position.

[0107] Optionally, in the process of drawing a line sketch, a corresponding offset distance can be configured for the stator, and the offset distance includes a horizontal offset distance and a vertical offset distance. The horizontal offset distance refers to the horizontal offset of the configuration graphic of the stator at the second position corresponding to the first position, and the vertical offset distance refers to the vertical offset of the configuration graphic of the stator at the second position corresponding to the first position.

[0108] like Figure 2 As shown, the configuration window includes a third input control 403 and a fourth input control 404. When the horizontal offset distance needs to be configured for the configuration graphic of the stator, the schematic diagram of the stator can be selected first, and then the horizontal offset distance is input to the computer through the third input control 403. When the vertical offset distance needs to be configured for the configuration graphic of the stator, the schematic diagram of the stator can be selected first, and then the vertical offset distance is input to the computer through the fourth input control 404. The computer can store the horizontal offset distance and the vertical offset distance. The third input control 403 and the fourth input control 404 can be input boxes and selection boxes, etc., but are not limited thereto.

[0109] In the process of generating a configuration diagram based on a line sketch, for each stator, in the process of determining the second position based on the first position, first determine the position corresponding to the first position (i.e., the starting position) from the layout interface, and then determine whether the stator is configured with a horizontal offset distance and / or a vertical offset distance. If a horizontal offset distance is configured, the starting position is offset in the horizontal direction by the corresponding horizontal offset distance. If a vertical offset distance is configured, the starting position is offset in the vertical direction by the corresponding vertical offset distance. The offset position is the second position. As in the above example, for the second stator, in the process of determining the second position corresponding to the second stator, if the second stator is located on the left side of the first stator, after placing the configuration figure of the first stator, the position separated from the tail of the configuration figure of the first stator by the front gap of the second stator can be determined as the starting position according to the front gap of the second stator. Afterwards, if both the horizontal offset distance C1 and the vertical offset distance C2 are configured, the starting position is offset in the horizontal direction by the corresponding horizontal offset distance C1, and the starting position is offset in the vertical direction by the corresponding vertical offset distance C2. The position finally determined is the second position, and the configuration figure of the second stator is placed at the second position.

[0110] And, if only the horizontal offset distance C1 is configured, the starting position is offset in the horizontal direction by the corresponding horizontal offset distance C1, and the final position is the second position, and the configuration pattern of the second stator is placed in the second position. If only the vertical offset distance C2 is configured, the starting position is offset in the vertical direction by the corresponding vertical offset distance C2, and the final position is the second position, and the configuration pattern of the second stator is placed in the second position. And, if the horizontal offset distance is configured and the vertical offset distance is not configured, the starting position is directly used as the second position.

[0111] The horizontal offset distance can be positive or negative. When it is a positive value, it will be offset to the right, and when it is a negative value, it will be offset to the left. The vertical offset distance can be positive or negative. When it is a positive value, it will be offset upward, and when it is a negative value, it will be offset downward.

[0112] In the embodiment of the present application, an offset distance can be configured for the stator. By adjusting the specific position of the configuration diagram of the stator in the configuration diagram by the offset distance, a certain offset can be made between the configuration diagram of the stator and the actual position of the stator, thereby improving the flexibility and applicability of the configuration diagram.

[0113] Optionally, arranging the configuration graphic of the stator at the second position in the layout interface to obtain the configuration diagram includes:

[0114] According to the stator model or stator length of the stator, a configuration diagram of the stator is obtained;

[0115] The acquired configuration graphic of the stator is arranged at a second position in the layout interface to obtain a configuration diagram.

[0116] In one embodiment, the configuration graphics corresponding to each stator model may be pre-stored in the computer. In the process of generating the configuration graphics, for each stator in the line body, the computer may first obtain the stator model configured by the user for the stator, and then obtain the configuration graphics corresponding to the stator model according to the stator model, and then place the configuration graphics of the stator at the determined second position.

[0117] In another embodiment, for different stator lengths, corresponding configuration graphics can be stored in the computer in advance. In the process of generating the configuration diagram, for each stator in the line body, the computer can first obtain the starting address and the tail address configured by the user for the stator, and then determine the stator length of the stator according to the starting address and the tail address, and the stator length is the deviation between the starting address and the tail address. Then, according to the stator length of the stator, the configuration graphic corresponding to the stator length is obtained, and the configuration graphic of the stator is placed at the determined second position.

[0118] In an embodiment of the present application, a corresponding configuration graphic is obtained according to the stator model or stator length of the stator, and the configuration graphic is placed at a corresponding position to generate a configuration diagram of the line body, which can improve the generation efficiency of the configuration diagram and further improve the configuration efficiency of the line body.

[0119] Optionally, after generating a configuration diagram of the line body based on the line body sketch, the method may further include:

[0120] Get the address parameters set for the workstation on the line body;

[0121] Based on the address parameters, add the configuration graphics of the workstation at the corresponding position on the configuration diagram.

[0122] In one embodiment, for a workstation on the line, the user can input corresponding address data, where the address data is the address of the workstation on the line, and the computer can add the workstation to the configuration diagram according to the address data input by the user. Figure 3 As described above, when the user wants to add a configuration diagram of a workstation on the configuration diagram, the user can click on the configuration diagram, and the computer can respond to the user's click operation and display an address input control 506, which is used to input the address data of the workstation. The user can input the address data of the workstation to the computer through the address input control 506.

[0123] After receiving the address data input by the user, the computer can determine the target position 507 corresponding to the address data from the configuration diagram, and add the configuration diagram 505 of the workstation at the target position 507. The address data is the actual address of the workstation in the linear body, and the target position corresponds to the address. Similarly, the workstation configuration diagrams of other workstations can be added at other positions of the configuration diagram.

[0124] In the embodiment of the present application, the configuration graphics of the workstation can be added to the target position of the configuration diagram by setting the address parameters for the workstation, which can facilitate the user to quickly configure the configuration graphics of the workstation for the configuration diagram of the line body, thereby improving the configuration efficiency of the line body.

[0125] Optionally, after generating a configuration diagram of the line body based on the line body sketch, the method may further include:

[0126] Get the actual position of the mover on the line body;

[0127] Based on the actual position, add the configuration graphics of the mover at the corresponding position of the configuration diagram.

[0128] In one embodiment, after the configuration diagram is generated, a computer can be connected to a controller of the line body, and the controller can monitor the actual position of each mover on the line body. At this time, the computer can communicate with the controller to obtain the actual position of each mover installed on the stator on the line body. After obtaining the actual position of the mover on the line body, the configuration diagram of the mover can be added to the corresponding position of the configuration diagram according to the actual position. Figure 3 As shown, if a mover on the line body is located on the ninth stator (stator numbered 9) on the line body at the current moment, after obtaining the actual position of the stator, the configuration graphic 508 of the stator can be added to the corresponding position on the ninth stator.

[0129] In another embodiment, after the configuration diagram is generated, the user can manually input the actual position of the mover on the line. After receiving the actual position input by the user, the computer can add the configuration diagram of the mover at the corresponding position of the configuration diagram according to the actual position. The method of inputting the actual position of the mover is similar to the method of inputting the address parameters of the workstation, and this embodiment will not be repeated here.

[0130] In an embodiment of the present application, during the line configuration process, the actual position of the mover on the line can be obtained, and then based on the actual position, the corresponding position of the configuration graphic of the mover on the configuration is determined, and then the configuration graphic of the mover is added to the corresponding position. The configuration graphic of the mover can be quickly added to the configuration diagram, thereby improving the line configuration efficiency.

[0131] See also Figure 5 , Figure 5It is a structural schematic diagram of a line configuration device provided in an embodiment of the present application.

[0132] like Figure 5 As shown, the line configuration device 500 may include:

[0133] A drawing module 501 is used to draw a line body sketch of a line body; wherein the line body sketch includes a schematic diagram of each stator in the line body, and the schematic diagram of the stator is used to indicate the layout position and layout direction of the stator in the line body;

[0134] A generation module 502 is used to generate a configuration diagram of the line body based on the line body sketch; wherein the configuration diagram includes a configuration graphic of each of the stators, the position of the configuration graphic of the stator in the configuration diagram corresponds to the layout position, and the direction of the configuration graphic of the stator in the configuration diagram corresponds to the layout direction.

[0135] Optionally, the line sketch is drawn in a sketch interface, and the generation module 502 is specifically used to determine, for each stator, a second position of the configuration graphics of the stator in the layout interface based on the first position of the schematic graphic of the stator in the sketch interface; and arrange the configuration graphics of the stator at the second position in the layout interface to obtain the configuration diagram.

[0136] Optionally, the generating module 502 is specifically configured to obtain a configuration diagram of the stator according to a stator model or a stator length of the stator; and arrange the obtained configuration diagram of the stator at the second position in the layout interface to obtain the configuration diagram.

[0137] Optionally, the generation module 502 is specifically used to determine the starting position of the configuration graphics of the stator in the layout interface based on the first position of the schematic graphic of the stator in the sketch interface; when an offset distance is pre-configured for the stator, the second position is determined according to the offset distance and the starting position; or, when the offset distance is not pre-configured for the stator, the second position is determined according to the starting position.

[0138] Optionally, the sketch interface includes multiple adjacent areas, and the drawing module 501 is specifically used to determine, for each stator, a target area selected by the user for the stator from the multiple areas; and place a schematic diagram of the stator in the target area to obtain the line sketch.

[0139] Optionally, the device also includes: a configuration module, used to obtain a stator number and a stator model pre-configured for the stator before generating a configuration diagram of the line body based on the line body sketch; and configure the starting address and the tail address of the stator in the line body according to the stator number and the stator model.

[0140] Optionally, the generation module 502 is also used to obtain address parameters set for the workstations on the line body after generating the configuration diagram of the line body based on the line body sketch; and add the configuration diagram of the workstation at a corresponding position on the configuration diagram based on the address parameters.

[0141] Optionally, the generation module 502 is also used to obtain a front gap pre-configured for a target stator; wherein the target stator is a stator other than the first stator in the line body, and the front gap is a gap between the target stator and an adjacent previous stator; according to the front gap, the interval between the configuration figure of the target stator and the configuration figure of the previous stator is set.

[0142] Optionally, the generating module 502 is further used to obtain the actual position of the mover on the line body after generating the configuration diagram of the line body based on the line body sketch; based on the actual position, add the configuration diagram of the mover at the corresponding position of the configuration diagram.

[0143] It should be understood that the device provided in this embodiment is used to execute the above-mentioned line configuration method, and thus can achieve the same effect as the above-mentioned implementation method.

[0144] In addition, the embodiment of the present application also protects an electronic device, which may include a memory and a processor, and the memory and the processor may be arranged in a device. The memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a line body configuration method provided in the embodiment of the present application.

[0145] This embodiment also provides a readable storage medium, in which an executable program code is stored. When the executable program code is run on a device, the device executes the above-mentioned related method steps to implement a line configuration method provided by the above embodiment.

[0146] This embodiment also provides a computer program product. When the computer program product is run on a device, the device executes the above-mentioned related steps to implement a line configuration method provided by the above embodiment.

[0147] Among them, the device, readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0148] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0149] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0150] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A line configuration method, characterized in that: The method comprises: Draw a line body sketch of the line body; wherein the line body sketch includes a schematic diagram of each stator in the line body, and the schematic diagram of the stator is used to indicate the layout position and layout direction of the stator in the line body; A configuration diagram of the line body is generated based on the line body sketch; wherein the configuration diagram includes a configuration graphic of each of the stators, the position of the configuration graphic of the stator in the configuration diagram corresponds to the layout position, and the direction of the configuration graphic of the stator in the configuration diagram corresponds to the layout direction.

2. The method according to claim 1, characterized in that The line body sketch is drawn in a sketch interface, and the configuration diagram of the line body is generated based on the line body sketch, including: For each of the stators, based on the first position of the schematic graphic of the stator in the sketch interface, determining the second position of the configuration graphic of the stator in the layout interface; The configuration diagram of the stator is arranged at the second position in the layout interface to obtain the configuration diagram.

3. The method according to claim 2, characterized in that The step of arranging the configuration graph of the stator at the second position in the layout interface to obtain the configuration graph includes: Acquire a configuration graph of the stator according to the stator model or stator length of the stator; The acquired configuration graphic of the stator is arranged at the second position in the layout interface to obtain the configuration diagram.

4. The method according to claim 2, characterized in that The determining, based on the first position of the schematic graphic of the stator in the sketch interface, a second position of the configuration graphic of the stator in the layout interface comprises: Determining a starting position of the configuration graphic of the stator in the layout interface based on a first position of the schematic graphic of the stator in the sketch interface; In case that an offset distance is pre-configured for the stator, determining the second position according to the offset distance and the starting position; Alternatively, when the offset distance is not configured in advance for the stator, the second position is determined according to the starting position.

5. The method according to claim 2, characterized in that The sketch interface includes a plurality of mutually adjacent areas, and the line body sketch for drawing a line body includes: For each of the stators, determining a target area selected by a user for the stator from among the multiple areas; A schematic shape of the stator is placed in the target area to obtain the line body sketch.

6. The method according to claim 1, characterized in that Before generating the configuration diagram of the line body based on the line body sketch, the method further includes: Obtaining a stator number and a stator model pre-configured for the stator; According to the stator number and the stator model, the starting address and the tail address of the stator in the line body are configured.

7. The method according to claim 1, characterized in that After generating the configuration diagram of the line body based on the line body sketch, the method further includes: Obtaining address parameters set for the workstations on the line body; Based on the address parameters, a configuration graphic of the workstation is added at a corresponding position on the configuration graphic.

8. The method according to claim 1, characterized in that The step of generating the configuration diagram of the line body based on the line body sketch comprises: Obtaining a front gap pre-configured for a target stator; wherein the target stator is a stator other than the first stator in the line body, and the front gap is a gap between the target stator and an adjacent previous stator; According to the front gap, the interval between the configuration pattern of the target stator and the configuration pattern of the previous stator is set.

9. The method according to any one of claims 1 to 8, characterized in that After generating the configuration diagram of the line body based on the line body sketch, the method further includes: Obtaining the actual position of the mover on the line body; Based on the actual position, a configuration diagram of the mover is added at a corresponding position of the configuration diagram.

10. A line configuration device, characterized in that: The device comprises: A drawing module, used for drawing a line body sketch of a line body; wherein the line body sketch includes a schematic diagram of each stator in the line body, and the schematic diagram of the stator is used to indicate the layout position and layout direction of the stator in the line body; A generation module is used to generate a configuration diagram of the line body based on the line body sketch; wherein the configuration diagram includes a configuration graphic of each of the stators, the position of the configuration graphic of the stator in the configuration diagram corresponds to the layout position, and the direction of the configuration graphic of the stator in the configuration diagram corresponds to the layout direction.

11. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program code; A processor, configured to call and run the executable program code from the memory, so that the electronic device executes the method according to any one of claims 1 to 9.