Control method and device of master-slave control system, and storage medium

By determining the initial fixed delay value and adaptive strategy in the master-slave control system, adjusting the control program running cycle, and synchronizing to the Smith predictive control strategy, real-time adjustment of the delay link is achieved, and the delay in the existing technology is solved. Link errors and stability issues are eliminated, and the robustness and synchronous control performance of the system are improved.

CN114153174BActive Publication Date: 2024-08-27BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111547658.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-08-27
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

In the existing master-slave control system, when the network environment is complex and congested, the instruction transmission delay fluctuates greatly, causing the system's master-slave instruction transmission to be unstable, affecting the synchronization control performance and operating experience, and Smith's predictive control strategy has a negative impact on the delay link. It is error sensitive and difficult to adjust in real time.

Method used

After establishing a communication connection between the master and the slave, the initial fixed delay value is determined, and the control program operating cycle is adjusted according to the adaptive fixed strategy of the delay link to ensure that the instruction transmission delay is stable within the preset value and synchronized to Smith's predictive control Delay estimation is carried out in the strategy to realize real-time adjustment of the delay link.

Benefits of technology

It eliminates the error between the estimated delay link and the real delay link, enhances the robustness of the master-slave control system, reduces the impact of the delay link on system stability, and improves the stability and follow-up of the master-slave interaction. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114153174B
    Figure CN114153174B
Patent Text Reader

Abstract

The present invention provides a control method, device and storage medium of a master-slave control system, the method comprising: after the master and slave ends of the master-slave control system establish a communication connection, determining an initial fixed delay value; adjusting the operation cycle of a preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master and slave end instructions of the master-slave control system is stabilized within a preset fixed value, and obtaining a delay adaptive fixed strategy for the transmission of the instructions; according to the delay link adaptive fixed strategy, obtaining the current fixed delay value in the master-slave control system, and synchronizing it to the preset Smith predictive control strategy for delay estimation. The present invention can eliminate the error between the estimated delay link and the actual delay link, and enhance the robustness of the master-slave control system based on the Smith predictive control strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of control systems, and in particular to a control method and device, and a storage medium for a master-slave control system. Background Art

[0002] The master-slave control system consists of two parts: the master end mechanism and the slave end mechanism. The system master communicates with the system slave end with the help of a communication network to exchange instructions and data, control the movement of the system slave end, and perform related tasks.

[0003] The instructions of the master and slave ends of the system are transmitted through the network. The complexity and randomness of the network environment cause random fluctuations in the delay of instruction transmission. If the network environment is overloaded or even congested, the fluctuation of instruction transmission delay will be further aggravated.

[0004] In the related art, using the predicted delay to update the estimated delay link in the Smith control strategy cannot ideally eliminate the error between the delay estimation link and the actual delay.

[0005] If a completely fixed delay control algorithm is used to select the maximum value of the master-slave command transmission delay of the system, the overall command transmission delay can be stabilized at a fixed value. However, if the maximum delay value is set too small, too many commands with actual transmission delays greater than the fixed delay will not be read normally during the master-slave command transmission of the system, affecting the master-slave synchronization control performance of the system.

[0006] On the contrary, if the fixed delay value is set too large, the actual transmission delay of a large number of instructions will differ greatly from the fixed delay, causing the overall instruction transmission delay to be excessively increased. As a result, the instructions of the master and slave ends of the system cannot interact at a high speed, causing a large time lag in the position following of the master and slave ends, affecting the operator's operating experience of the system.

[0007] In addition, in some specific application scenarios, operators have high requirements for the real-time performance of the master-slave system. If the actuator of the slave end of the system does not respond to the master end of the system in a timely manner, there is a large time lag, and the operator cannot receive the corresponding feedback after each action instruction is executed in time, and thus cannot quickly perform subsequent actions, affecting the success rate of teleoperation operations. Summary of the invention

[0008] In view of this, an embodiment of the present invention provides a control method and device, and a storage medium for a master-slave control system to eliminate or improve one or more defects in the prior art.

[0009] One aspect of the present invention provides a control method for a master-slave control system, the method comprising the following steps:

[0010] After the master and slave ends of the master-slave control system establish a communication connection, determine an initial fixed delay value; adjust the operating cycle of a preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master and slave end instructions of the master-slave control system is stabilized within the preset fixed value, and obtain an adaptive fixed strategy for the delay of the instruction transmission; obtain the current fixed delay value in the master-slave control system according to the adaptive fixed strategy of the delay link, and synchronize it to the preset Smith predictive control strategy for delay estimation.

[0011] Another aspect of the present invention provides a control device for a master-slave control system, the device comprising: an initialization module, used to determine an initial fixed delay value after the master and slave ends of the master-slave control system establish a communication connection; an adjustment module, used to adjust the operating cycle of a preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master and slave end instructions of the master-slave control system is stabilized within the preset fixed value, and an adaptive fixed strategy for the delay of the instruction transmission is obtained; a delay control module, used to obtain the current fixed delay value in the master-slave control system according to the delay link adaptive fixed strategy, and synchronize it to the preset Smith predictive control strategy for delay estimation.

[0012] Another aspect of the present invention provides a control device for a master-slave control system, comprising a processor and a memory, characterized in that computer instructions are stored in the memory, and the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the device implements the steps of the method.

[0013] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements the steps of the method when executed by a processor.

[0014] The control method and device of the master-slave control system of the present invention can make real-time adjustments to the estimated delay link of the Smith predictive control strategy following changes in the actual delay link, eliminate the error between the estimated delay link and the actual delay link, and enhance the robustness of the master-slave control system based on the Smith predictive control strategy.

[0015] The present invention applies the Smith predictive control strategy to reduce the influence of the transmission delay of the interactive instructions between the master and slave ends in the master-slave control system on the stability of the control system, and at the same time combines the adaptive fixing method of the instruction transmission delay designed by the present invention.

[0016] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.

[0017] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of this application, and do not constitute a limitation of the present invention. The components in the drawings are not drawn to scale, but are only for illustrating the principles of the present invention. In order to facilitate the illustration and description of some parts of the present invention, the corresponding parts in the drawings may be enlarged, that is, they may become larger relative to other components in the exemplary device actually manufactured according to the present invention. In the drawings:

[0019] Figure 1 Schematic diagram of the interaction of master-slave commands in a master-slave system of a control method of a master-slave control system in one embodiment of the present invention.

[0020] Figure 2 The figure is a flow chart of a control method of a master-slave control system in one embodiment of the present invention.

[0021] Figure 3 Schematic diagram of the control device structure of a master-slave control system in one embodiment of the present invention.

[0022] Figure 4 It is a schematic diagram of a master-slave system based on a complete double-delay link Smith predictive controller in a control method of a master-slave control system in one embodiment of the present invention.

[0023] Figure 5 It is a flow chart of a method for adaptively fixing instruction transmission delay in a master-slave control system in a control method of a master-slave control system in another embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0025] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.

[0026] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.

[0027] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0028] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0029] In view of the two time delay links existing in the master-slave closed-loop control system, the Smith predictive control strategy is applied to reduce the impact of the time delay link on the system stability. The control system based on the Smith predictive control strategy is more sensitive to the error between the estimated time delay link and the real time delay link, that is, the impact of the remote control command transmission delay and its fluctuation on the system stability. In the present invention, a method for adaptively fixing the command transmission delay in a master-slave control system is proposed to adaptively fix the command transmission delay. The fixed delay information is shared with the estimated delay link in the Smith predictive control strategy to eliminate the error between the estimated delay link and the real delay link, thereby reducing the impact of the delay link fluctuation on the system stability.

[0030] like Figure 1 As shown in the figure, the master-slave teleoperation system consists of two parts: the master end mechanism and the slave end mechanism. The system master end communicates with the system slave end through the communication network to exchange command data, control the movement of the system slave end, and perform related tasks. In industrial applications, the master-slave teleoperation system needs to have a high master-slave synchronization control performance. The action execution of the system slave end needs to be highly synchronized with the action instructions of the system master end, so that the operator can coordinate the operation with his hands and eyes. In order to ensure the success rate of the master-slave system with a master-slave design structure in teleoperation operations, the system master-slave synchronization control needs to have high stability and followability, so that the system can be stable in operation without oscillation, and the master and slave end movements of the system are highly synchronized to meet the operation requirements.

[0031] The master-slave command interaction model of the Internet-based master-slave control system is as follows: Figure 1When performing synchronous control, the control command is first issued by the system master and transmitted to the system slave via the Internet, with a transmission delay A. In addition, after the system slave executes the command, it returns a feedback command, which is transmitted to the system master via the Internet, with a transmission delay B.

[0032] In the master-slave system, the time delay link A and the time delay link B have a great impact on the stability and master-slave followability of the system. The application of the complete Smith predictive control strategy can reduce the impact of the time delay link on the control system.

[0033] Since there is a transmission delay in the interactive instructions between the master and slave ends of the system, there is a delay link in the master-slave closed-loop control system, which makes the controlled object of the system: the slave end has a pure lag characteristic. In the master-slave synchronous control of the system, the pure lag characteristic of the controlled object greatly affects the stability and master-slave following performance of the system. Feedback control systems with pure lag characteristics such as Figure 1 As shown, the closed-loop transfer function of the system is:

[0034]

[0035] According to the closed-loop transfer function of the system, the system characteristic equation can be obtained:

[0036] 1+D(s)W(s)e -τs =0

[0037] The system characteristic equation contains a pure lag link e -τs The phase-frequency characteristic of this link is:

[0038]

[0039] Therefore, the stability margin of the system will decrease as τ increases, causing the system to oscillate. If τ is too large, the system will enter an unstable state.

[0040] In response to the pure lag problem in control systems, American scholar Smith proposed a control strategy based on a control model to predict and compensate for information transmission delay. This control strategy significantly improves the stability of control systems with pure lag characteristics. The design idea of ​​Smith predictive control is to Figure 1 The pure lag link of the closed-loop feedback control system with a pure lag link is placed outside the closed loop of the system, so that the characteristic equation of the closed-loop control system eliminates e -τs Item, and then eliminate the influence of pure lag link on system stability. The specific method is as follows Figure 2 As shown in the figure, this method converts the y w (t) Avoid the system delay link and directly feed back to the system input.

[0041] In actual control, a control system with a pure lag link cannot directly feed back the output of the controlled object to the system input. Therefore, it is necessary to feed back the output of the controlled object to the system input in an indirect way. In the control system, W(s) is the mathematical model of the controlled object. If a mathematical model W1(s) identical to W(s) is constructed, and the output control quantity u(t) of the controller is applied to the constructed model W1(s), its output Then the actual output y of the controlled object can be indirectly obtained. w (t). The initial Smith predictor controller's idea of ​​dealing with the delay link is as follows Figure 3 shown.

[0042] The analysis of the design scheme of the preliminary Smith predictor controller shows that if there is a deviation between the constructed equivalent model W1(s) of the controlled object and the actual model W(s) of the controlled object or a disturbance occurs in the system, the output of the equivalent controlled object will be The output y of the actual controlled object w (t) has deviation. The complete Smith predictor controller design proposed for this problem is as follows: Figure 4 shown. With y w The deviation between (t) is Equivalent time delay link The deviation between the output y1(t) and the actual output y(t) of the system is reflected. Feeding the error between y1(t) and y(t) back to the system input can reduce the sensitivity of the predictive control system to the model prediction error and system disturbance, thereby improving the stability of the control system.

[0043] In order to verify the effectiveness of this scheme in solving the stability problem of pure lag system, an equivalent Smith predictor controller design scheme is designed. Its transfer function is:

[0044]

[0045] The closed-loop transfer function of the Smith predictor control system is:

[0046]

[0047] Then, the characteristic equation of the system is:

[0048]

[0049] From the above formula, we can see that if the control system is estimated,

[0050] W1(s)=W(s)

[0051] And τ1 = τ, then the characteristic equation of the system is as follows:

[0052] 1+D(s)W(s)=0

[0053] Since the pure lag link in the characteristic equation is eliminated, the Smith predictive control strategy effectively reduces the impact of the time delay link on the stability of the pure lag system.

[0054] like Figure 2 As shown, the control method of the master-slave control system of the present invention comprises the following steps:

[0055] Step S201, after the master and slave ends of the master-slave control system establish a communication connection, determine an initial fixed delay value;

[0056] Step S202, adjusting the operation cycle of the preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master-slave end instruction of the master-slave control system is stabilized within the preset fixed value, and obtaining the delay adaptive fixed strategy of the instruction transmission;

[0057] Step S203, according to the delay link adaptive fixing strategy, the current fixed delay value in the master-slave control system is obtained, and synchronized to the preset Smith predictive control strategy for delay estimation.

[0058] From the above description, it can be seen that the present invention achieves the following technical effects:

[0059] The control method and device of the master-slave control system of the present invention can make real-time adjustments to the estimated delay link of the Smith predictive control strategy following changes in the actual delay link, eliminate the error between the estimated delay link and the actual delay link, and enhance the robustness of the master-slave control system based on the Smith predictive control strategy.

[0060] The present invention applies the Smith predictive control strategy to reduce the influence of the master-slave interactive instruction transmission delay on the stability of the control system in the master-slave control system, and combines the instruction transmission delay adaptive fixing method designed by the present invention.

[0061] In the above step S201, after the master and slave ends of the master-slave control system establish a communication connection, an initial fixed delay value is determined. Considering that the error between the estimated delay link and the real delay link of the Smith control strategy in the control system has a great impact on the system synchronization control performance. If the transmission delay of the master and slave end instructions of the system fluctuates, in order to maintain the followability of the master and slave ends in the system synchronization control, the estimated delay link of the Smith estimated control strategy needs to follow the changes in the real delay link to make real-time adjustments.

[0062] In a specific implementation, when the master and slave ends of the system establish a communication connection for instruction transmission, the transmission round-trip delay values ​​of the first 20 instructions can be read and the maximum value can be obtained. It should be noted that the number of instructions read is only an example and is not the scope of protection of the present invention.

[0063] In a preferred implementation, the maximum value is used as the size of the initial fixed delay value.

[0064] By real-time statistics of the transmission delay distribution of the interactive instructions between the master and slave ends of the master-slave system, the transmission delay of the interactive instructions is adaptively fixed, and the real-time adjustment of the delay link of the control system is realized. A feedback instruction receiving buffer is established at the master end of the master-slave system, and the system control program operation cycle is made to follow the fixed value of the current master-slave interactive instruction transmission delay, so as to fix the master-slave interactive instruction transmission delay. If the actual round-trip delay of the instruction transmission is less than the fixed delay, the instruction returns to the master end and enters the instruction receiving end buffer to wait for the system control program to read it.

[0065] In the above step S202, the operation cycle of the preset control program in the master-slave control system is adjusted according to the initial fixed delay value, so that the transmission delay of the master-slave end instruction of the master-slave control system is stabilized within the preset fixed value, and the delay adaptive fixed strategy of the instruction transmission is obtained. The program operation cycle of the control system will be adjusted according to the change of the fixed delay.

[0066] Preferably, the operation cycle of the preset program in the master-slave control system is adjusted according to the initial fixed delay so that the transmission delay of the master-slave end instructions of the master-slave control system is stabilized within a preset fixed value, including: if the actual round-trip delay value of the instruction transmission is less than the preset fixed delay value, then after the instruction is returned to the sending end, it enters the instruction receiving end buffer and waits for the preset control program of the master-slave control system to read it; if the actual round-trip delay value is greater than the preset fixed delay value, then when the preset control program reads the instruction from the instruction receiving end buffer during the operation of each program cycle, the previous instruction is executed as the current instruction according to the preset maximum delay instruction discarding mechanism.

[0067] In a preferred embodiment, if the actual round-trip delay of the instruction transmission is less than the fixed delay, after the instruction returns to the sending end, it enters the instruction receiving end buffer and waits for the system control program to read it. Since the program running cycle is consistent with the fixed delay size, the actual delay link in the control system is consistent with the estimated delay link size.

[0068] In a preferred embodiment, if the actual round-trip delay is greater than the fixed delay, the running program in each program cycle cannot read the instruction from the instruction receiving end buffer normally because the instruction has not arrived. At this time, a large delay instruction abandonment mechanism is set, and the program automatically executes the previous instruction as the current instruction to ensure the overall stability of the master-slave remote operation of the control system.

[0069] In a preferred embodiment, if the actual round-trip delay of instruction transmission is continuously greater than the current system fixed delay, and the number of instructions exceeds 20, the fixed delay adaptive increase mechanism is triggered. The adaptive fixed delay method adjusts the set value of the fixed delay to the maximum value of the 20 instruction transmission delays.

[0070] In a preferred implementation, after the adjustment is completed, the actual delay is continuously monitored, and if the fixed delay is still too small, the fixed delay value is continuously adjusted until the actual delay is no longer continuously larger than the fixed delay.

[0071] In the above step S203, according to the adaptive fixing strategy of the delay link, the current fixed delay value in the master-slave control system is obtained, and synchronized to the preset Smith predictive control strategy for delay estimation.

[0072] Preferably, the method also includes: if the actual round-trip delay value of instruction transmission is continuously greater than the preset fixed delay value, and the number of the instructions exceeds a first preset threshold number, then triggering a fixed delay adaptive upward adjustment mechanism to adjust the set value of the preset fixed delay value to the maximum instruction transmission delay value among the instructions corresponding to the preset threshold number; if the actual round-trip delay value of instruction transmission is continuously less than the preset fixed delay value, and the number of the instructions exceeds a second preset threshold number, then triggering a fixed delay adaptive downward adjustment mechanism to reduce the preset fixed delay value.

[0073] In a specific implementation, if the actual round-trip delay of instruction transmission is continuously smaller than the fixed delay, and the number of consecutive times reaches 500, the adaptive fixed delay method reduces its fixed delay value by N ms. And so on, until the actual delay size is not continuously smaller than the fixed delay size.

[0074] If the actual round-trip delay of the interactive instruction transmission between the master and slave ends of the system is greater than the fixed delay of the current system, the running program of each program cycle cannot read the instruction from the instruction receiving end buffer normally because the instruction has not arrived yet. At this time, a large delay instruction abandonment mechanism is set, and the program automatically executes the previous instruction as the current instruction to ensure the overall stability of the master-slave remote operation of the control system. If the actual round-trip delay of the instruction transmission is continuously greater than the fixed delay of the current system, and the number of its instructions exceeds the threshold N1, the fixed delay adaptive upward adjustment mechanism is triggered. If the actual round-trip delay of the instruction transmission is continuously less than the fixed delay, and the continuous number reaches the threshold N2, the fixed delay adaptive downward adjustment mechanism is triggered.

[0075] Based on the above method, the adaptive fixed delay method can stabilize the instruction transmission delay between the master and slave ends of the system within a fixed value, and its fixed value can be adaptively adjusted according to the current distribution of the actual instruction transmission delay between the master and slave ends.

[0076] As a preferred embodiment of the present invention, the current fixed delay value in the master-slave control system is obtained according to the delay link adaptive fixing strategy, and is synchronized to the preset Smith predictive control strategy for delay estimation, including: according to the delay link adaptive fixing strategy, the current adjustable fixed delay value in the master-slave control system is obtained; the current adjustable fixed delay value is shared to the preset Smith control strategy for delay estimation, so that real-time adjustment is performed according to the current fixed delay value during the delay estimation process, wherein the preset Smith predictive control strategy is performed using a complete dual-delay link Smith predictive controller.

[0077] In specific implementation, if the transmission delay of the master-slave end instructions of the master-slave control system fluctuates, in order to maintain the stability of the system, the estimated delay link of the Smith estimated control strategy needs to follow the changes in the real delay link to make real-time adjustments, reduce the error with the real delay link, and thus reduce the impact of the instruction transmission delay fluctuation on the stability of the master-slave control system. That is, the estimated delay link in the Smith control strategy of the system can sense the changes in the real delay link and make timely adjustments. In addition, it is also necessary to eliminate the pure lag link in the characteristic equation of the master-slave control system to better play the role of the Smith control strategy in the master-slave control system with a fluctuating delay link.

[0078] Therefore, based on the adaptive fixing method of command transmission delay in master-slave control system, the command transmission delay of the control system is adjustably fixed, and the current fixed delay value is shared to the delay estimation link in the Smith control strategy, so that the delay estimation link can be adjusted in real time according to the current fixed delay size, so as to achieve zero error between the estimated delay link and the actual delay link.

[0079] As a preferred embodiment of the present invention, the current fixed delay value in the master-slave control system is obtained according to the adaptive fixing strategy of the delay link, and is synchronized to the preset Smith predictive control strategy for delay estimation. It also includes: when the current fixed delay value in the master-slave control system is obtained according to the adaptive fixing strategy of the delay link as a preset fixed value and is not adjusted, it is used to reduce small fluctuations in the instruction transmission delay.

[0080] In specific implementation, when the size of the instruction unidirectional transmission delay loop fluctuates within 0-ns, the delay estimation link of the Smith control strategy in the system is consistent with the sum of the two real delay links. Therefore, when the fixed delay of the adaptive fixed delay control method is a certain value and is not adjusted, it can also effectively reduce the impact of small fluctuations in the instruction transmission delay on the stability of the master-slave control system.

[0081] As a preferred embodiment of the present invention, the currently fixed delay value in the master-slave control system is obtained according to the delay link adaptive fixing strategy, and is synchronized to the preset Smith predictive control strategy for delay estimation, including: adaptively fixing the master-slave end instruction transmission delay value through the delay link adaptive fixing strategy, and sharing the fixed delay information to the preset Smith predictive controller, so that the estimated delay link in the preset Smith predictive controller is consistent with the actual delay link.

[0082] In specific implementation, the influence of two delay links in the master-slave control system on the stability of the control system is reduced by using a complete dual-delay Smith predictive controller. The designed method of adaptively fixing the master-slave command transmission delay can adaptively fix the command transmission delay and share the fixed delay information to the Smith predictive controller, so that the estimated delay link in the Smith predictive controller is consistent with the real delay link.

[0083] like Figure 3 As shown, an embodiment of the present invention provides a control device of a master-slave control system, characterized in that the device comprises:

[0084] An initialization module 301 is used to determine an initial fixed delay value after the master and slave ends of the master-slave control system establish a communication connection;

[0085] An adjustment module 302 is used to adjust the operation cycle of the preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master-slave end instruction of the master-slave control system is stabilized within the preset fixed value, and the delay adaptive fixed strategy of the instruction transmission is obtained;

[0086] The delay control module 303 is used to obtain the current fixed delay value in the master-slave control system according to the delay link adaptive fixing strategy, and synchronize it to the preset Smith prediction control strategy to perform delay estimation.

[0087] In the initialization module 301 of the present invention, after the master and slave ends of the master-slave control system establish a communication connection, an initial fixed delay value is determined. Considering that the error between the estimated delay link and the real delay link of the Smith control strategy in the control system has a great impact on the system synchronization control performance. If the transmission delay of the master and slave end instructions of the system fluctuates, in order to maintain the followability of the master and slave ends in the system synchronization control, the estimated delay link of the Smith estimated control strategy needs to follow the changes in the real delay link to make real-time adjustments.

[0088] In a specific implementation, when the master and slave ends of the system establish a communication connection for instruction transmission, the transmission round-trip delay values ​​of the first 20 instructions can be read and the maximum value can be obtained. It should be noted that the number of instructions read is only an example and is not the scope of protection of the present invention.

[0089] In a preferred implementation, the maximum value is used as the size of the initial fixed delay value.

[0090] The adjustment module 302 of the present invention adjusts the operation cycle of the preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master-slave end instruction of the master-slave control system is stabilized within the preset fixed value, and the delay adaptive fixed strategy of the instruction transmission is obtained. The program operation cycle of the control system will be adjusted according to the change of the fixed delay.

[0091] Preferably, the operation cycle of the preset program in the master-slave control system is adjusted according to the initial fixed delay so that the transmission delay of the master-slave end instructions of the master-slave control system is stabilized within a preset fixed value, including: if the actual round-trip delay value of the instruction transmission is less than the preset fixed delay value, then after the instruction is returned to the sending end, it enters the instruction receiving end buffer and waits for the preset control program of the master-slave control system to read it; if the actual round-trip delay value is greater than the preset fixed delay value, then when the preset control program reads the instruction from the instruction receiving end buffer during the operation of each program cycle, the previous instruction is executed as the current instruction according to the preset maximum delay instruction discarding mechanism.

[0092] In a preferred embodiment, if the actual round-trip delay of the instruction transmission is less than the fixed delay, after the instruction returns to the sending end, it enters the instruction receiving end buffer and waits for the system control program to read it. Since the program running cycle is consistent with the fixed delay size, the actual delay link in the control system is consistent with the estimated delay link size.

[0093] In a preferred embodiment, if the actual round-trip delay is greater than the fixed delay, the running program in each program cycle cannot read the instruction from the instruction receiving end buffer normally because the instruction has not arrived. At this time, a large delay instruction abandonment mechanism is set, and the program automatically executes the previous instruction as the current instruction to ensure the overall stability of the master-slave remote operation of the control system.

[0094] In a preferred embodiment, if the actual round-trip delay of instruction transmission is continuously greater than the current system fixed delay, and the number of instructions exceeds 20, the fixed delay adaptive increase mechanism is triggered. The adaptive fixed delay method adjusts the set value of the fixed delay to the maximum value of the 20 instruction transmission delays.

[0095] In a preferred implementation, after the adjustment is completed, the actual delay is continuously monitored, and if the fixed delay is still too small, the fixed delay value is continuously adjusted until the actual delay is no longer continuously larger than the fixed delay.

[0096] The delay control module 303 of the present invention obtains the current fixed delay value in the master-slave control system according to the delay link adaptive fixing strategy, and synchronizes it to the preset Smith predictive control strategy for delay estimation.

[0097] Preferably, the method also includes: if the actual round-trip delay value of instruction transmission is continuously greater than the preset fixed delay value, and the number of the instructions exceeds a first preset threshold number, then triggering a fixed delay adaptive upward adjustment mechanism to adjust the set value of the preset fixed delay value to the maximum instruction transmission delay value among the instructions corresponding to the preset threshold number; if the actual round-trip delay value of instruction transmission is continuously less than the preset fixed delay value, and the number of the instructions exceeds a second preset threshold number, then triggering a fixed delay adaptive downward adjustment mechanism to reduce the preset fixed delay value.

[0098] In a specific implementation, if the actual round-trip delay of instruction transmission is continuously smaller than the fixed delay, and the number of consecutive times reaches 500, the adaptive fixed delay method reduces its fixed delay value by N ms. And so on, until the actual delay size is not continuously smaller than the fixed delay size.

[0099] The adjustment module 302 is also used for, if the actual round-trip delay value of the instruction transmission is less than the preset fixed delay value, then after the instruction is returned to the sending end, entering the instruction receiving end buffer to wait for the preset control program of the master-slave control system to read it; if the actual round-trip delay value is greater than the preset fixed delay value, then when the preset control program reads the instruction from the instruction receiving end buffer in each program cycle, the previous instruction is executed as the current instruction according to the preset maximum delay instruction discarding mechanism.

[0100] The adjustment module is also used to trigger the fixed delay adaptive upward adjustment mechanism to adjust the set value of the preset fixed delay value to the maximum instruction transmission delay value among the instructions corresponding to the preset threshold number if the actual round-trip delay value of instruction transmission is continuously greater than the preset fixed delay value and the number of the instructions exceeds the first preset threshold number; if the actual round-trip delay value of instruction transmission is continuously less than the preset fixed delay value and the number of the instructions exceeds the second preset threshold number, trigger the fixed delay adaptive downward adjustment mechanism to reduce the preset fixed delay value.

[0101] Based on the above modules, the adaptive fixed delay method can stabilize the instruction transmission delay between the master and slave ends of the system within a fixed value, and its fixed value can be adaptively adjusted according to the current distribution of the actual instruction transmission delay between the master and slave ends.

[0102] In order to better understand the control method flow of the master-slave control system, the technical solution is explained below in conjunction with a preferred embodiment, but is not intended to limit the technical solution of the embodiment of the present invention.

[0103] In a preferred embodiment of the present invention, the influence of two delay links in a master-slave control system on the stability of the control system is reduced by using a complete dual-delay link Smith predictive controller. The designed method for adaptively fixing the master-slave command transmission delay can adaptively fix the command transmission delay, and share the fixed delay information with the Smith predictive controller, so that the estimated delay link in the Smith predictive controller is consistent with the real delay link.

[0104] It should be noted that the estimated delay link in the Smith estimated control strategy is the total time required for the command to be sent from the master end to receive the corresponding feedback information, that is, the round-trip delay of the master-slave command interaction of the control system. When each command is sent from the system master end, the current system time is used as the timestamp T to encapsulate the command.

[0105] After the slave end of the master-slave control system receives the instruction and completes the response, it also encapsulates the original timestamp T in the feedback instruction.

[0106] After receiving the feedback instruction, the master end of the master-slave control system unpacks it, reads the instruction timestamp information, and calculates the round-trip delay of the instruction in the interaction between the master and the slave ends by subtracting it from the current system time.

[0107] like Figure 5 As shown, the method for adaptively fixing the instruction transmission delay in the master-slave control system of the present invention has the following steps:

[0108] Step S501: When the master and slave ends of the system establish a communication connection to transmit instructions, the round-trip transmission delays of the first 20 instructions are read and the maximum value is obtained, and the maximum value is then used as the initial fixed delay size.

[0109] Step S502: The program running cycle of the control system will be adjusted according to the change of the fixed delay. If the actual round-trip delay of the instruction transmission is less than the fixed delay, the instruction will be returned to the sending end and enter the instruction receiving end buffer to wait for the system control program to read it. Since the program running cycle is consistent with the fixed delay, the actual delay link in the control system is consistent with the estimated delay link.

[0110] Step S503: Determine whether the actual round-trip delay of instruction transmission is less than the fixed delay.

[0111] Step S504: If the actual round-trip delay is greater than the fixed delay, the running program in each program cycle cannot read the instruction from the instruction receiving end buffer normally because the instruction has not arrived. At this time, a large delay instruction abandonment mechanism is set, and the program automatically executes the previous instruction as the current instruction to ensure the overall stability of the master-slave remote operation of the control system.

[0112] Step S505: If the actual round-trip delay of instruction transmission is continuously greater than the current system fixed delay, and the number of instructions exceeds 20, the fixed delay adaptive adjustment mechanism is triggered. The adaptive fixed delay method adjusts the set value of the fixed delay to the maximum value of the 20 instruction transmission delays.

[0113] Step S506: Determine whether the actual round-trip delay of instruction transmission is continuously greater than the current system fixed delay, and the number of instructions exceeds 20.

[0114] Step S507: If the actual round-trip delay of instruction transmission is continuously smaller than the fixed delay, and the number of consecutive times reaches 500, the adaptive fixed delay method reduces the fixed delay value by N ms. And so on, until the actual delay size is not continuously smaller than the fixed delay size.

[0115] Step S508: After the adjustment is completed, continue to monitor the actual delay, and if the fixed delay is still too small, continue to adjust the fixed delay value until the actual delay is no longer continuously greater than the fixed delay.

[0116] Step S509: if it is determined that the actual round-trip delay of instruction transmission is continuously less than the fixed delay, and the number of consecutive times reaches 500, the adaptive fixed delay method reduces the fixed delay value by N ms.

[0117] Step S510: If the actual round-trip delay of instruction transmission is continuously smaller than the fixed delay, and the number of consecutive times reaches 500, the adaptive fixed delay method reduces its fixed delay value by N ms.

[0118] From the above analysis of the method, it can be seen that the adaptive fixed delay method can stabilize the instruction transmission delay between the master and slave ends of the system within a fixed value, and its fixed value can be adaptively adjusted according to the current distribution of the actual instruction transmission delay between the master and slave ends.

[0119] like Figure 4 As shown, the master-slave system teleoperation control method based on adaptive fixed delay link is described in detail.

[0120] In the master-slave system, the delay link A and the delay link B have a great impact on the stability and master-slave followability of the system. The application of the complete Smith predictive control strategy can reduce the impact of the delay link on the control system. Figure 4 As shown, two different delay links are constructed. -αs and e -βs .

[0121] Figure 4 In the delay estimation phase, -τs It is the link for estimating the transmission delay of instructions from the system master to the system slave. -αs , and the instruction transmission delay estimation link from the system end to the system master end -βs The sum of -τs =e -αs e -βs =e -(α+β)s .

[0122] The forward transfer function and reverse transfer function of the closed-loop control system are:

[0123]

[0124]

[0125] Finally, the characteristic equation of the system is obtained:

[0126] 1+D(s)W(s)=0

[0127] Among them, the transfer function is D(s) and W(s) is the actual controlled object model.

[0128] It can be seen from the above formula that the pure lag link in the characteristic equation of the master-slave control system is effectively eliminated. Therefore, under the action of the complete double-delay Smith predictive control strategy, the system can effectively reduce the impact of the two double-delay links in the system on the control stability of the system. However, the transmission delay of the interactive instructions between the master and slave ends of the system will change with the congestion level of the communication network. If the estimated delay link e in the Smith predictive control strategy in the control system -τs Failure to calculate the actual delay -αs and e -βs , then e -(α+β)s -e -τs If it is not equal to 0, the pure lag link in the characteristic equation of the master-slave control system cannot be effectively eliminated, which will affect the stability of the control system.

[0129] Therefore, if the transmission delay of the master-slave command of the master-slave control system fluctuates, in order to maintain the stability of the system, the estimated delay link of the Smith predictive control strategy needs to make real-time adjustments according to the changes in the real delay link, reduce the error with the real delay link, and thus reduce the impact of the instruction transmission delay fluctuation on the stability of the master-slave control system. That is, the estimated delay link in the Smith control strategy of the system can sense the changes in the real delay link and make timely adjustments to maintain the stability of the system. -τs =e -(α+β)s , that is, e -(α+β)s -e -τs Equal to 0, eliminating the pure lag link in the characteristic equation of the master-slave control system, and better play the role of the Smith control strategy in the master-slave control system with fluctuating time delay links.

[0130] Therefore, the method for adaptively fixing the instruction transmission delay in the master-slave control system of Example 1 is adopted to adjustably fix the instruction transmission delay of the control system, and the current fixed delay value is shared to the delay estimation link in the Smith control strategy, so that the delay estimation link can be adjusted in real time according to the current fixed delay size, so as to achieve zero error between the estimated delay link and the actual delay link.

[0131] In particular, the delay link e of the master-slave control system is set at a certain time period. -αs and e -βs is the fixed delay link e -ns , then the estimated delay link e in the Smith control strategy of the system -τs for e -2ns. At this moment, the allowable range of the one-way transmission delay fluctuation of the master-slave interaction command of the system is: 0~ns. In other words, the size of the one-way transmission delay loop of the command fluctuates within 0~ns, and the delay estimation link of the Smith control strategy in the system is consistent with the sum of the two real delay links. Therefore, when the fixed delay of the adaptive fixed delay control method is a certain value and is not adjusted, it can also effectively reduce the impact of small fluctuations in the command transmission delay on the stability of the master-slave control system.

[0132] Corresponding to the above method, the present invention also provides a control device of a master-slave control system, which includes a computer device, the computer device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the device implements the steps of the method described above.

[0133] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned edge computing server deployment method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0134] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0135] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0136] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0137] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A control method for a master-slave control system, characterized in that: The method comprises the following steps: After the master and slave ends of the master-slave control system establish a communication connection, determining an initial fixed delay value; According to the initial fixed delay value, the operation cycle of the preset control program in the master-slave control system is adjusted so that the transmission delay of the master-slave end instruction of the master-slave control system is stabilized within the preset fixed delay value, and the delay link adaptive fixed strategy of the instruction transmission is obtained; According to the adaptive fixing strategy of the delay link, the current fixed delay value in the master-slave control system is obtained, and synchronized to the preset Smith estimation control strategy for delay estimation; The step of adjusting the operation cycle of a preset control program in the master-slave control system according to the initial fixed delay value so that the transmission delay of the master-slave end instructions of the master-slave control system is stabilized within the preset fixed delay value comprises: If the actual round-trip delay value of the instruction transmission is less than the preset fixed delay value, after the instruction is returned to the sending end, it enters the instruction receiving end buffer and waits for the preset control program of the master-slave control system to read it; If the actual round-trip delay value is greater than the preset fixed delay value, when the preset control program reads instructions from the instruction receiving end buffer during each program cycle, the previous instruction is executed as the current instruction according to the preset maximum delay instruction discarding mechanism.

2. The method according to claim 1, characterized in that Also includes: If the actual round-trip delay value of instruction transmission is continuously greater than the preset fixed delay value, and the number of the instructions exceeds a first preset threshold number, the fixed delay adaptive increase mechanism is triggered to adjust the set value of the preset fixed delay value to the maximum instruction transmission delay value among the instructions; If the actual round-trip delay value of instruction transmission is continuously smaller than the preset fixed delay value, and the number of instructions exceeds a second preset threshold number, the fixed delay adaptive down-adjustment mechanism is triggered to reduce the preset fixed delay value.

3. The method according to claim 1, characterized in that The method of obtaining the currently fixed delay value in the master-slave control system according to the delay link adaptive fixing strategy and synchronizing it to the preset Smith estimation control strategy for delay estimation includes: According to the delay link adaptive fixing strategy, a currently adjustable and fixed delay value in the master-slave control system is obtained; The currently adjustable fixed delay value is shared with a preset Smith prediction control strategy for delay prediction, so that real-time adjustment is performed according to the current fixed delay value during the delay estimation process, wherein the preset Smith prediction control strategy is performed using a complete dual-delay link Smith prediction controller.

4. The method according to claim 1, characterized in that: The method of obtaining the current fixed delay value in the master-slave control system according to the delay link adaptive fixing strategy and synchronizing it to the preset Smith estimation control strategy for delay estimation also includes: When the delay link adaptive fixing strategy is used to obtain a currently fixed delay value in the master-slave control system as a preset fixed value and no adjustment is performed, it is used to reduce small fluctuations in the instruction transmission delay.

5. The method according to claim 1, characterized in that The method of obtaining the currently fixed delay value in the master-slave control system according to the delay link adaptive fixing strategy and synchronizing it to the preset Smith estimation control strategy for delay estimation includes: Through the delay link adaptive fixing strategy, the master-slave end instruction transmission delay value is adaptively fixed, and the fixed delay information is shared to the preset Smith prediction controller, so that the estimated delay link in the preset Smith prediction controller is consistent with the actual delay link.

6. A control device for a master-slave control system, characterized in that: The device includes: An initialization module, used for determining an initial fixed delay value after the master and slave ends of the master-slave control system establish a communication connection; An adjustment module, used for adjusting the operation cycle of the preset control program in the master-slave control system according to the initial fixed delay value, so that the transmission delay of the master-slave end instruction of the master-slave control system is stabilized within the preset fixed delay value, and an adaptive fixed strategy for the delay link of the instruction transmission is obtained; and also used for, if the actual round-trip delay value of the instruction transmission is less than the preset fixed delay value, then after the instruction is returned to the sending end, entering the instruction receiving end buffer to wait for the preset control program of the master-slave control system to read it; if the actual round-trip delay value is greater than the preset fixed delay value, then when the preset control program in each program cycle reads the instruction from the instruction receiving end buffer, the previous instruction is executed as the current instruction according to the preset maximum delay instruction abandonment mechanism; The delay control module is used to obtain the current fixed delay value in the master-slave control system according to the delay link adaptive fixing strategy, and synchronize it to the preset Smith estimation control strategy for delay estimation.

7. The device according to claim 6, characterized in that The adjustment module It is also used to trigger the fixed delay adaptive increase mechanism to adjust the set value of the preset fixed delay value to the maximum instruction transmission delay value among the instructions corresponding to the preset threshold number if the actual round-trip delay value of instruction transmission is continuously greater than the preset fixed delay value and the number of instructions exceeds the first preset threshold number; If the actual round-trip delay value of instruction transmission is continuously smaller than the preset fixed delay value, and the number of instructions exceeds a second preset threshold number, the fixed delay adaptive down-adjustment mechanism is triggered to reduce the preset fixed delay value.

8. A control device of a master-slave control system, comprising a processor and a memory, characterized in that: The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the method as claimed in any one of claims 1 to 5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.