Trimming machine selection and deployment method, device, equipment and storage medium
By analyzing the communication conflict between the edge cutting machine in the invisible remedy production line and the central controller, selecting the appropriate edge cutting machine model and deployment quantity, the problems of communication conflict and data loss are solved, ensuring product quality and stable operation of the production line.
Patent Information
- Application Number
- CN202211250244.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-08
- Filing Date
- 2022-10-12
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2042-10-12
AI Technical Summary
In the invisible retardation production line, as the number of edge cutters increases, communication conflicts, processing pauses and data loss may lead to product quality.
By receiving edge cutter parameters and communication parameters, the communication conflict analysis between the edge cutter and the central controller is performed, and the appropriate edge cutter model and deployment quantity are selected to avoid communication conflicts and data loss.
Effectively select the model and deployment quantity of edge cutting machines to avoid communication conflicts and data loss, and ensure product quality and stable operation of the production line.
Smart Images

Figure CN115582878B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of flexible production of invisible braces, and specifically relates to a method, device, equipment and storage medium for selecting and deploying a trimming machine, which are used for selecting and deploying a trimming machine in an invisible braces production line. Background Art
[0002] Trimming is a necessary process in the production of invisible braces. Its function is to cut off the excess edges of the invisible braces after the film is pressed and formed to form the final shape of the invisible braces. At present, in the automated invisible braces production line, trimming machines are used to trim the invisible braces. In view of the characteristics of orthodontics, the production of invisible braces is usually carried out in batches and large quantities. In order to ensure production efficiency, it is theoretically necessary to arrange as many trimming machines as possible on the invisible braces production line. In the production line, the trimming machine communicates with the central controller through the communication bus, and the central controller controls the trimming machine in real time. However, due to the limitations of the system communication capability and the properties of the trimming machine itself, if the number of trimming machines is increased without limit, communication conflicts may occur, which will cause processing pauses or even stops in the equipment production project, resulting in processing lines on the product surface. If the G code capacity of the communication trimming machine reaches the maximum capacity when the trimming machine receives the CNC, and the main station server is still transmitting the program, it will cause data loss and overflow, making the processing program incomplete. The above two situations in the flexible production line will lead to unqualified products. Therefore, when designing and deploying the production line, it is necessary to reasonably select the model and quantity of the trimming machine. Summary of the invention
[0003] In response to the problem of how to select and deploy trimming machines for an invisible braces production line, the present application provides a trimming machine selection and deployment method, device, equipment and storage medium that can effectively select the trimming machine model and deployment quantity.
[0004] In a first aspect, the present application provides a method for selecting and deploying a trimming machine, including selecting a model and a deployment quantity, the method comprising:
[0005] receiving trimming machine parameters, wherein the trimming machine parameters include at least an upper limit of a G-code capacity, a lower limit of a G-code capacity, and a G-code consumption rate;
[0006] receiving communication parameters, wherein the communication parameters at least include a bus communication rate between the central controller and the trimming machine;
[0007] Performing communication conflict analysis between the trimmer and the central controller according to the trimmer parameters and the communication parameters, wherein the communication conflict analysis at least includes analyzing the relationship between the trimmer parameters, the communication parameters and the number of trimmers;
[0008] According to the communication conflict analysis results, select the trimming machine model and the corresponding deployment quantity.
[0009] In one embodiment, the communication conflict analysis between the trimmer and the central controller includes constructing a communication conflict analysis model, wherein the conflict analysis model includes a first communication conflict model and a second communication conflict model; the first communication conflict model is an upper limit condition of the G code capacity, and the second communication conflict model is a lower limit condition of the G code capacity.
[0010] In one embodiment, the relationship between the trimmer parameters, communication parameters and the number of trimmers includes:
[0011] The relationship between the upper limit of G-code capacity, bus communication rate, G-code consumption rate and the number of trimmers;
[0012] The relationship between the lower limit of G-code capacity, bus communication rate, G-code consumption rate and the number of trimmers.
[0013] In one embodiment, the first communication conflict model is used to obtain the relationship between the upper limit of the G-code capacity, the bus communication rate, the G-code consumption rate and the number of trimmers.
[0014] In one embodiment, the relationship between the upper limit of the G-code capacity, the bus communication rate, the G-code consumption rate, and the number of trimmers includes at least one of the following:
[0015] When the bus communication rate and G code consumption rate are constant, the correlation between the upper limit of G code capacity and the number of trimmers;
[0016] The correlation between the bus communication rate and the upper limit of G-code capacity when the G-code consumption rate is constant;
[0017] When the bus communication rate is constant, the correlation between the G code consumption rate and the number of trimmers.
[0018] In one embodiment, the second communication conflict model is used to obtain the relationship between the lower limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers.
[0019] In one embodiment, the lower limit of the G code capacity is between the first value and the second value range; the relationship between the lower limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers includes at least one of the following:
[0020] When the bus communication rate is constant, the correlation between the first value and the number of trimmers;
[0021] When the bus communication rate is constant, the correlation between the second value and the number of trimmers;
[0022] The correlation between the bus communication rate and the lower limit of the G code capacity when the number of trimmers is constant.
[0023] When the number of trimmers is constant, the correlation between the G code consumption rate and the range of the lower limit of the G code capacity.
[0024] In a second aspect, the present application provides a trimming machine selection and deployment device, which is used to select the trimming machine model and the number of deployments, including:
[0025] An acquisition module is configured to receive trimmer parameters, the trimmer parameters at least including an upper limit of a G-code capacity, a lower limit of a G-code capacity, and a G-code consumption rate; and to receive communication parameters, the communication parameters at least including a bus communication rate for communication between a central controller and the trimmer;
[0026] An analysis module, which is configured to perform communication conflict analysis between the trimmer and the central controller according to the trimmer parameters and the communication parameters, wherein the communication conflict analysis at least includes analyzing the relationship between the trimmer parameters, the communication parameters and the number of trimmers;
[0027] The determination module is configured to select the trimming machine model and the corresponding deployment quantity according to the communication conflict analysis result.
[0028] In a third aspect, the present application provides a trimming machine selection and deployment device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any method provided in the present application are implemented.
[0029] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the methods described in the present application are implemented.
[0030] This application is based on the analysis of communication conflicts between the trimmer and the central controller. By analyzing the correlation between the trimmer parameters, communication parameters and the number of trimmers, the optimal trimmer parameters are obtained for selection and the optimal number of deployed trimmers are obtained while ensuring that the product is qualified and each trimmer can be produced continuously. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a schematic diagram of a central controller and a trimming machine system in one embodiment;
[0032] Figure 2 It is a flow chart of a method for selecting and deploying a trimming machine in one embodiment;
[0033] Figure 3 A curve diagram showing the effect of the CAN bus communication rate on the upper limit of the G code capacity and the number of trimmers in one embodiment;
[0034] Figure 4 A graph showing the effect of the CAN bus communication rate on the upper limit of the G code capacity and the number of trimmers in one embodiment (different parameters);
[0035] Figure 5 A curve diagram showing the influence of the G code consumption rate on the upper limit of the G code capacity and the number of trimmers in one embodiment;
[0036] Figure 6 A curve diagram showing the effect of the CAN bus communication rate on the lower limit of the G code capacity and the number of trimmers in one embodiment;
[0037] Figure 7 A curve diagram showing the influence of the G code consumption rate on the lower limit of the G code capacity and the number of trimmers in one embodiment;
[0038] Figure 8 A block diagram of a device for selecting and deploying a trimming machine in one embodiment;
[0039] Fig. 9 A block diagram of a trimming machine selection and deployment device in one embodiment. DETAILED DESCRIPTION
[0040] The bus communication system of the invisible braces production line is composed of a central controller, slave devices, and a communication bus between the master and the slave. The central controller is mainly responsible for the processing procedures, capacity scheduling, and the allocation of production tasks. Slave devices generally include trimmers, AGV carts, controller slave systems, etc., which obey the scheduling of the central controller and perform the tasks of the central controller. The communication bus between the master and the slave serves as a bridge for information exchange between the central controller and the slave devices, such as Modbus, Profinet, and CAN.
[0041] The trimming machine is the main slave equipment in the flexible production line of invisible braces, such as Figure 1 The figure shows the communication between the central controller of the invisible braces production line and the trimming machine in one embodiment of the present application. In this embodiment, the central controller adopts a supervisory control and data acquisition system (SCADA), and CAN communication 102 is adopted between the SCADA 101 and the trimming machine 103, for example, the CAN-RS232Z (CAN for short) protocol can be adopted.
[0042] In the present application, the discussion is focused on the system in which the SCADA and the trimmer communicate via the CAN bus, but it should be understood that those skilled in the art can replace the central controller and the communication method as required.
[0043] Figure 2The flowchart of the method for selecting and deploying trimming machines in one embodiment of the present application is shown. The method is applied to the selection and deployment of trimming machines in invisible correction production lines, so as to select trimming machine models that meet the requirements and the corresponding deployment quantity. Figure 2 In one embodiment, the trimming machine selection and deployment method includes the following steps:
[0044] Step S201: receiving trimmer parameters. The trimmer parameters determine the trimmer model. In other words, when a certain parameter is selected, the trimmer model is determined accordingly, or the trimmer model range that meets the requirements can be determined. The trimmer parameters of different models can be obtained when selecting the trimmer. The trimmer parameters may include the upper limit of the G code capacity, the lower limit of the G code capacity, the G code capacity, and the G code consumption rate, etc., and may also include other parameters, which will be specifically mentioned in the communication conflict analysis below.
[0045] Step S202: Receive communication parameters. Communication parameters are usually determined by the communication system and are affected by the adopted communication protocol, communication method, etc. Figure 1 In the embodiment shown, CAN communication is adopted between SCADA and the trimmer, and the communication parameters include CAN bus communication rate, transmission efficiency from SCADA to the trimmer, transmission switching time requested by SCADA processing program, time for G code to be sent from SCADA to the trimmer, etc.
[0046] Step S203: Perform communication conflict analysis between the trimmer and the central controller based on the trimmer parameters and communication parameters, wherein the communication conflict analysis at least includes analyzing the relationship between the trimmer parameters, the communication parameters and the number of trimmers, which may be a relationship between two of them or a relationship between three of them.
[0047] exist Figure 1 In the embodiment shown, the communication conflict between SCADA and trimmers in the production line is, on the one hand, the communication between SCADA and multiple trimmers. In the control of multiple trimmers, three situations may occur: when a batch of dental models just starts to be produced, the number of trimmers controlled by SCADA gradually increases; when all trimmers start to produce, the number of trimmers controlled by SCADA reaches the maximum; when a batch is produced to the last few, the number of trimmers controlled by SCADA gradually decreases. That is, when the trimmer performs flexible trimming, the number of trimmers participating in the communication on the CAN communication bus is not fixed.
[0048] The second situation is when a certain dental model is trimmed, there will be two situations: the first is that the G code of the trimming machine is less than the G code capacity of the trimming machine. At this time, all G codes can be downloaded into the trimming machine at one time, and the application program issued by the trimming machine is the first program; the second is that the G code of the trimming machine is greater than the G code capacity of the trimming machine. At this time, the G code needs to be divided into multiple segments and downloaded into the trimming machine. The application program issued by the trimming machine may be the first program or the intermediate program. Since the cutting process cannot be stopped, the application information priority of the intermediate program on the CAN communication bus is higher than the priority of the first program application. When the number of G codes in the trimming machine reaches the lower limit, the application program is issued. When it reaches the upper limit, the termination program is issued. SCADA needs to respond before the remaining G codes are executed.
[0049] In an embodiment of the present application, a communication conflict analysis model is constructed when performing communication conflict analysis between the trimming machine and the central controller. In one embodiment, during the communication between the SCADA and the trimming machine, the following symbolic variables are defined:
[0050] Q: G code capacity of trimming machine;
[0051] B u : Upper limit of G code capacity of trimming machine;
[0052] B d : Lower limit of G code capacity of trimming machine;
[0053] t s : Handler request transmission switching time, t s It is usually a constant, determined by the network hardware parameters;
[0054] V can : CAN communication transmission rate;
[0055] μ: G code consumption rate of the trimming machine;
[0056] B dj : The number of remaining G codes;
[0057] t dj : Remaining G code executable time;
[0058] t rj : The time when the G code is sent from SCADA to the trimming machine;
[0059] q j : The amount of G code sent by SCADA to the trimming machine;
[0060] u: transmission efficiency from SCADA to the trimmer, indicating the proportion of effective content in all transmitted content. Generally, u is a constant, ranging from 0 to 0.593% for short frames and 0-0.51% for extended frames;
[0061] t r : Waiting time for SCADA to respond after receiving the application;
[0062] t wj : The time from when the trimming machine sends the application to when it receives the G code;
[0063] t scant : SCADA scan time for application procedure;
[0064] η: G code consumption rate.
[0065] In one embodiment, the remaining G code executable time t of the trimming machine is defined as dj The remaining G code quantity B dj Ratio to G code consumption rate η:
[0066]
[0067] The time it takes for the G code to be sent from SCADA to the trimming machine is the ratio of the amount of G code sent from SCADA to the trimming machine to the CAN communication transmission rate and the transmission efficiency from SCADA to the trimming machine:
[0068]
[0069] In the production process of invisible braces, if a trimmer has not received the G code sent by SCADA after executing the remaining G code, or the received G code exceeds the G code capacity of this trimmer, a communication conflict will occur. If there is only one trimmer on the production line, there will be no communication conflict, but when multiple trimmers are connected, communication competition will occur, and bus communication scheduling is required.
[0070] In one embodiment, it is assumed that there are M trimming machines in the deployed production line. At a certain moment, Y (0<Y<M) trimming machines send application programs to the SCADA system, but SCADA can only respond to one application at a time, so it is necessary to respond to the application program with the highest priority. At this time, the waiting time of the trimming machine with the highest application program priority is:
[0071] t wj1 =t scant (3)
[0072] Then the trimmer with the second priority needs to wait until the response of the first priority is completed before SCADA responds to it. From equations (2) and (4), it can be seen that its waiting time is:
[0073]
[0074] Similarly, the time for all trimmers to wait for a response is:
[0075]
[0076] Since the waiting time of the trimming machine with the lowest priority must be less than the execution time of the remaining programs of this machine, we can get:
[0077]
[0078] If in a deployed production line, in a certain scheduling, the program quantity given by SCADA to each program that issues an application is q ji , the G code capacity is capped at B ui , let q ji =B ui , then at this time t wjM is the maximum value:
[0079]
[0080] From formula (6) and formula (7), we can get:
[0081]
[0082] In a scheduling cycle, the time T required for SCADA to complete a scheduling of all trimming machines is:
[0083]
[0084] From the time when the trimming machine with the highest application priority receives the G code this time to the time when it receives the G code next time, the execution time of the G code capacity of this trimming machine should be greater than the sum of the scheduling time of all other trimming machines in this round of SCADA, that is:
[0085]
[0086] The minimum execution time t of the G code received by each trimming machine in each scheduling proi1(min) It should be the ratio of the difference between the upper and lower limits of the G code capacity of this trimming machine and the G code consumption rate, that is:
[0087]
[0088] From formula (10) and formula (11), we can get:
[0089]
[0090] Capacity limit of trimming machine G code Bu and lower limit B d Formula (13), Formula (14) and Formula (15) need to be satisfied to ensure that there is no conflict in the bus communication system.
[0091]
[0092]
[0093]
[0094] Among them, in the embodiment of the present application, formula (13) is defined as the first communication conflict model, and formulas (14) and (15) are defined as the second communication conflict model, wherein the first communication conflict model is the upper limit condition of the G code capacity, and the second communication conflict model is the lower limit condition of the G code capacity.
[0095] In one embodiment, when SCADA transmits G code to a trimming machine, if the upper limit B of the G code capacity of the trimming machine is reached, uj , then this trimming machine will issue a termination transmission request. There will be a period of time between the termination transmission request and the actual termination of transmission by SCADA. During this period of time, the G code will be lost due to capacity overflow. Therefore, the trimming machine needs to issue a termination procedure to SCADA before the G code capacity overflows. The following conditions must be met:
[0096] Q ≥ u j V can t r +B uj (16)
[0097] According to the communication conflict model established above, the relationship between trimmer parameters, communication parameters and the number of trimmers can be analyzed, and the analysis results can be presented in a graphical visualization.
[0098] In one embodiment of the present application, the first communication conflict model is used to obtain the relationship between the upper limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers. The relationship includes at least one or more of the following: the correlation between the upper limit of the G code capacity and the number of trimmers when the bus communication rate and the G code consumption rate are constant; the correlation between the bus communication rate and the upper limit of the G code capacity when the G code consumption rate is constant; the correlation between the G code consumption rate and the number of trimmers when the bus communication rate is constant.
[0099] In one embodiment, the relationship between the upper limit of G code capacity, CAN bus communication rate, G code consumption rate, and the number of trimmers is analyzed. In this embodiment, η is set to 350 Byte / s, t s =0.005s, u=0.51s, according to the first communication conflict model, we get Figure 3 and Figure 4 From the analysis curve, we can see that V can When and η are constant, the upper limit of G code capacity is positively correlated with the number of trimmers. However, when the number of trimmers exceeds a certain value, the communication bus system will exceed the load limit, resulting in the inability to achieve flexible production on the production line.
[0100] It can also be seen that when the G code consumption rate η is constant, the CAN bus communication rate V can It is positively correlated with the number of trimmers, which means that when the G code capacity and G code consumption rate are determined, the CAN bus communication rate V can The larger it is, the more trimmers can be connected.
[0101] In one embodiment, the correlation between the CAN bus communication rate and the upper limit of the G code capacity is also included. Figure 3 and Figure 4 curve, in this embodiment, V can At 0-700kbps and 800kbps-1000kbps, G code capacity limit B u gradually increase, and the two are positively correlated in the corresponding interval; V can At 700kbps-800kps, B u The two are negatively correlated in this range.
[0102] In some embodiments, the correlation between the G code consumption rate and the number of trimmers is also analyzed when the CAN bus communication rate is constant. In the actual flexible production of invisible braces, the actual G code consumption rate of the trimmer also changes dynamically within 0-1200Byte / s. The operation modes of the trimmer are divided into low speed, medium speed and high speed, and its operation speed is proportional to the G code consumption rate. Figure 5 As shown, when the communication rate of the CAN communication bus is fixed, the faster the G code consumption speed is, the fewer the number of edge trimmers that can be deployed is.
[0103] In one embodiment, the second communication conflict model is used to obtain the relationship between the lower limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers.
[0104] In the corresponding embodiment, the lower limit of the G code capacity is within a numerical range, which can be expressed as [B d1 , B d2 ], that is, the first value is represented by B d1 , the second value is represented by B d2 , the first value is the lower limit value of the G code capacity lower limit, and the first value is the upper limit value of the G code capacity lower limit.
[0105] In one embodiment, the relationship between the lower limit of G code capacity, the bus communication rate, the G code consumption rate and the number of edge trimmers includes at least one of the following: when the bus communication rate is constant, the correlation between the first value and the number of edge trimmers; when the bus communication rate is constant, the correlation between the second value and the number of edge trimmers; when the number of edge trimmers is constant, the correlation between the bus communication rate and the range of the lower limit of G code capacity; when the number of edge trimmers is constant, the correlation between the G code consumption rate and the range of the lower limit of G code capacity.
[0106] In a corresponding embodiment, a first value B is defined as d1 and the second value B d2 They are:
[0107]
[0108]
[0109] In one embodiment, set t scant =0.01s, t s =0.005s, u=0.51, B u =9KB, η=350Byte / s, G code capacity lower limit B d In range B d1 -B d2 The analysis results are as follows: Figure 6 As shown, it can be seen that at the bus communication rate V can When B d1 It is positively correlated with the number of trimmers, B d2 It is negatively correlated with the number of trimmers. If the number of trimmers M connected to the communication bus increases, B will not be satisfied. d1 <B d <B d2 In this case, the communication bus system will not be able to schedule. can When the number of edge trimmers in the bus system is determined, the CAN bus communication rate V can With B d The range is also positively correlated.
[0110] In one embodiment, the relationship between the number of trimmers and the G code consumption rate η when the bus communication rate is constant, and the lower limit B of the G code capacity when the number of trimmers is determined. d The relationship between the value range of and the G code consumption rate N. Still using the above specific embodiment to illustrate, the analysis results are as follows Figure 7 As shown, when the CAN bus communication rate V canWhen the number of trimmers is determined, the number of trimmers is inversely proportional to the G code consumption rate N. When the number of trimmers is determined, the schedulable condition B d Inversely proportional to the G code consumption rate N.
[0111] According to the above analysis, we can conclude that:
[0112] (1) When designing a flexible production line for invisible braces, if the model of the trimmer is determined, that is, the consumption rate of the G code of the trimmer is determined, the number of trimmers needs to be limited to the upper limit of the dispatchable value;
[0113] (2) When designing a flexible production line for invisible braces, if the production capacity of the production line is taken into consideration, that is, the number of trimmers needs to be determined, then the G code capacity of the trimmer needs to be selected and the upper and lower limits of the G code capacity need to be set.
[0114] Step S204: Determine the model and deployment quantity of the trimming machines according to the communication conflict analysis result.
[0115] Through the analysis result of step S203, it is possible to know the relationship between the trimming machine parameters, communication parameters and the number of trimming machines when designing the production line, so that according to the relationship, the appropriate trimming machine model and quantity are selected for production line deployment.
[0116] For example, in one embodiment, the trimmer is actually deployed at a physical distance of 130m-1300m from the SCADA, the G code capacity is 16KB, long frame transmission, u is 0.51. The CAN bus communication rate is 50kbps when the bus length is 1300m, and 500kbps when the bus length is 130m. The average distance is 300m, and the CAN bus communication rate is 200kbps. According to the medium speed mode when all trimmers are running, the consumption rate of G code is 350Byte-600Byte.
[0117] According to the constraints given in formula (16), let t r = 0.005s, when V an =50kbps, B uj <16365Byte; when V can =500kbps, B uj <16365Byte, so the G code capacity limit B u It can be pre-selected as 14336Byte. When η = 350Byte / s, a maximum of 19 trimming machines can be deployed; when η is 600Byte / s, a maximum of 11 trimming machines can be deployed. Considering the system stability, 11 trimming machines are finally selected. Substituting the above parameters into formula (16) yields B dIt should be between 7560Byte and 8440Byte, for example, 8192Byte can be selected.
[0118] Based on the above analysis, the model of the trimmer can be selected accordingly, as well as the number of trimmers that can be deployed.
[0119] This application is based on the analysis of communication conflicts between the trimmer and the central controller. By analyzing the correlation between the trimmer parameters, communication parameters and the number of trimmers, the optimal trimmer parameters are obtained for selection and the optimal number of deployed trimmers are obtained while ensuring that the product is qualified and each trimmer can be produced continuously.
[0120] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0121] Based on the same inventive concept, in one embodiment of the present application, a device for selecting and deploying a trimming machine is also provided. Figure 8 A block diagram of a trimmer selection and deployment device in an embodiment is shown. Figure 8 The device includes an acquisition module 301, an analysis module 302 and a determination module 303.
[0122] The acquisition module 301 is configured to receive trimmer parameters, which include at least the upper limit of G code capacity, the lower limit of G code capacity and the G code consumption rate; and to receive communication parameters, which include at least the bus communication rate.
[0123] The analysis module 302 is configured to perform communication conflict analysis between the trimmer and the central controller according to the trimmer parameters and communication parameters, wherein the communication conflict analysis at least includes analyzing the relationship between the trimmer parameters, the communication parameters and the number of trimmers.
[0124] The determination module 303 is configured to select a trimming machine model and a corresponding deployment quantity according to the communication conflict analysis result.
[0125] In one embodiment, the analysis module 302 includes constructing a communication conflict analysis model when performing communication conflict analysis between the trimmer and the central controller, and the conflict analysis model includes a first communication conflict model and a second communication conflict model; wherein the first communication conflict model is an upper limit condition of the G code capacity, and the second communication conflict model is a lower limit condition of the G code capacity.
[0126] In one embodiment, the analysis module 302 uses the first communication conflict model to obtain the relationship between the G-code capacity upper limit, the bus communication rate, the G-code consumption rate and the number of trimmers.
[0127] In one embodiment, the relationship between trimmer parameters, communication parameters and the number of trimmers includes: the relationship between the upper limit of G code capacity, bus communication rate, G code consumption rate and the number of trimmers, and the relationship between the lower limit of G code capacity, bus communication rate, G code consumption rate and the number of trimmers.
[0128] Among them, in one embodiment, the relationship between the upper limit of G-code capacity, the bus communication rate, the G-code consumption rate and the number of edge trimmers includes at least one of the following: the correlation between the upper limit of G-code capacity and the number of edge trimmers when the bus communication rate and the G-code consumption rate are constant; the correlation between the bus communication rate and the upper limit of G-code capacity when the G-code consumption rate is constant; the correlation between the G-code consumption rate and the number of edge trimmers when the bus communication rate is constant.
[0129] In one implementation, the analysis module 302 uses the second communication conflict model to obtain the relationship between the lower limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers. In one embodiment, the lower limit of the G code capacity is between the first value and the second value range; the relationship between the lower limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers includes at least one of the following: when the bus communication rate is constant, the correlation between the first value and the number of trimmers; when the bus communication rate is constant, the correlation between the second value and the number of trimmers; when the number of trimmers is constant, the correlation between the bus communication rate and the range of the lower limit of the G code capacity. When the number of trimmers is constant, the correlation between the G code consumption rate and the range of the lower limit of the G code capacity.
[0130] As for how the analysis module 302 performs the analysis, detailed examples are provided in the previous text to illustrate, and will not be repeated here.
[0131] In one embodiment of the present application, a trimmer selection and deployment device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: receiving trimmer parameters; receiving communication parameters; performing communication conflict analysis between the trimmer and a central controller based on the trimmer parameters and communication parameters; and selecting a trimmer model and a corresponding deployment quantity based on the communication conflict analysis result.
[0132] In one embodiment of the present application, the trimming machine selection and deployment device may be a terminal, and its internal structure diagram may be as follows: Fig. 9 As shown. The selection and deployment device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the selection and deployment device is used to provide computing and control capabilities. The memory of the selection and deployment device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the selection and deployment device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a selection and deployment method is implemented.
[0133] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: receiving trimmer parameters; receiving communication parameters; performing communication conflict analysis between the trimmer and a central controller based on the trimmer parameters and communication parameters; and selecting a trimmer model and a corresponding deployment quantity based on the communication conflict analysis results.
[0134] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric random access memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0135] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A method for selecting and deploying a trimming machine, comprising selecting a model and a deployment quantity, characterized in that: The method includes: receiving trimmer parameters, the trimmer parameters at least including an upper limit of G-code capacity, a lower limit of G-code capacity and a G-code consumption rate; receiving communication parameters, the communication parameters at least including a bus communication rate for communication between a central controller and the trimmer; performing communication conflict analysis between the trimmer and the central controller according to the trimmer parameters and the communication parameters, the communication conflict analysis at least including analyzing the relationship between the trimmer parameters, the communication parameters and the number of trimmers; the relationship between the trimmer parameters, the communication parameters and the number of trimmers includes: the relationship between the upper limit of G-code capacity, the bus communication rate, the G-code consumption rate and the number of trimmers; the relationship between the lower limit of G-code capacity, the bus communication rate, the G-code consumption rate and the number of trimmers; the communication conflict analysis also includes constructing a communication conflict analysis model, the conflict analysis model includes a first communication conflict model and a second communication conflict model; the first communication conflict model is a G-code capacity upper limit condition, and the second communication conflict model is a G-code capacity lower limit condition; according to the communication conflict analysis result, selecting the trimmer model and the corresponding deployment quantity.
2. The method according to claim 1, characterized in that The first communication conflict model is used to obtain the relationship between the upper limit of G code capacity, bus communication rate, G code consumption rate and the number of trimmers.
3. The method according to claim 2, characterized in that The relationship between the upper limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of trimmers includes at least one of the following: the correlation between the upper limit of the G code capacity and the number of trimmers when the bus communication rate and the G code consumption rate are constant; the correlation between the bus communication rate and the upper limit of the G code capacity when the G code consumption rate is constant; When the bus communication rate is constant, the correlation between the G code consumption rate and the number of trimmers.
4. The method according to claim 1, characterized in that The second communication conflict model is used to obtain the relationship between the lower limit of G code capacity, bus communication rate, G code consumption rate and the number of trimmers.
5. The method according to claim 4, characterized in that The lower limit of the G code capacity is between the first value and the second value; the relationship between the lower limit of the G code capacity, the bus communication rate, the G code consumption rate and the number of edge trimmers includes at least one of the following: when the bus communication rate is constant, the correlation between the first value and the number of edge trimmers; when the bus communication rate is constant, the correlation between the second value and the number of edge trimmers; when the number of edge trimmers is constant, the correlation between the bus communication rate and the range of the lower limit of the G code capacity; when the number of edge trimmers is constant, the correlation between the G code consumption rate and the range of the lower limit of the G code capacity.
6. A device for selecting and deploying trimming machines, used for selecting trimming machine models and deployment quantities, characterized in that: include: An acquisition module is configured to receive trimmer parameters, the trimmer parameters at least including an upper limit of a G-code capacity, a lower limit of a G-code capacity, and a G-code consumption rate; and to receive communication parameters, the communication parameters at least including a bus communication rate for communication between a central controller and the trimmer; An analysis module, which is configured to perform communication conflict analysis between the trimmer and the central controller according to the trimmer parameters and the communication parameters, wherein the communication conflict analysis at least includes analyzing the relationship between the trimmer parameters, the communication parameters and the number of trimmers; The determination module is configured to select the trimming machine model and the corresponding deployment quantity according to the communication conflict analysis result.
7. A trimming machine selection and deployment device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Control method for multiple sets of servo motors based on CAN bus communication
CN108536105A
Model selection method, device and equipment, and computer readable storage medium
CN112380403A