Automatic setting method, system and equipment for given device and readable storage medium
Through the automatic adjustment method, the angle and position deviation problems caused by mechanical loosening during use of a given device are solved, and the safe and stable operation and precise control of the equipment are achieved, which reduces the operation complexity and failure risk and improves production efficiency .
Patent Information
- Application Number
- CN202410806259.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-11-08
AI Technical Summary
During use, existing given devices are prone to angle and position deviation due to mechanical loosening or replacement, resulting in non-zero output when starting the device, which poses safety risks and is difficult to achieve precise control. The existing solutions are cumbersome and difficult to prevent. Equipment failure.
Provide an automatic tuning method, including determining the first output value of a given device when the controlled device is not started and calibrating it as a target zero value, determining the second output value and the target output threshold when the device is started, through the target zero The bit value and the target output threshold scale the second output value to the target given value and use it as the target input value of the controlled device for automatic adjustment.
Reduces user operation complexity, ensures that the equipment operates safely and stably when starting up, avoids sudden failures during the use of the equipment, reduces downtime and troubleshooting time, and improves production efficiency.
Smart Images

Figure CN118915633A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of given devices, and in particular to an automatic tuning method, system, device and computer-readable storage medium for a given device. Background Art
[0002] The given device includes components such as potentiometers, angle sensors, and absolute encoders, which are widely used in industrial control to adjust parameters such as speed, temperature, humidity, position, pressure, and torque. The working state of the corresponding equipment (controlled equipment) is controlled by adjusting the output of the given device to achieve the control requirements.
[0003] For equipment that needs to be given a zero value when starting, the given device may easily cause angle or position deviation due to mechanical looseness or replacement of a new given device during use, resulting in the output of the given device not being zero (positive or negative) before the equipment is started. If the equipment starts running immediately according to the given value input by the given device when it is started, it will cause great risks to the operation of the equipment and production safety, and it will not be able to be accurately and effectively controlled during the operation of the equipment.
[0004] The existing solutions include regular manual inspections, close operator attention during use, and manual adjustment of angles and positions during replacement of given devices. These solutions are not only cumbersome to operate, but also difficult to prevent sudden failures of the controlled equipment during use.
[0005] In view of this, a new technical solution is urgently needed to solve the above technical problems. Summary of the invention
[0006] The main purpose of the present application is to provide an automatic tuning method, system, device and computer-readable storage medium for a given device, aiming to solve the technical problems that the existing tuning schemes for a given device are cumbersome to operate and difficult to prevent sudden failures during the use of the controlled device.
[0007] To achieve the above object, the present application provides an automatic tuning method for a given device, the automatic tuning method comprising the following steps:
[0008] When the controlled device is not started, determining the first output value of the given device and calibrating it as the target zero value;
[0009] determining a second output value and a target output threshold value of a given device when the controlled device is activated;
[0010] Using the target zero value and the target output threshold, converting the second output value ratio into a target given value;
[0011] The target given value is used as the target input value of the controlled device to control the operation of the controlled device.
[0012] Optionally, before the step of determining the first output value of the given device and calibrating it as the target zero value, the method further includes:
[0013] Detect whether there is a startup instruction for the controlled device;
[0014] If not, the step of determining the first output value of the given device and calibrating it as the target zero value is performed;
[0015] If yes, cancel the start instruction and execute the step of determining the first output value of the given device and calibrating it as the target zero value.
[0016] Optionally, the step of determining a target output threshold comprises:
[0017] Reading a preset output difference value of a given device, and taking the sum of the target zero value and the preset output difference value as a first output threshold value;
[0018] A maximum value between the first output threshold value and the second output value is determined as a target output threshold value.
[0019] Optionally, before the step of reading the preset output difference of the given device, the step of determining the preset output difference of the given device comprises:
[0020] Initializes a given device and obtains an initial zero value;
[0021] determining a measurement threshold when the given device is adjusted to a maximum mechanical position;
[0022] The difference between the measurement threshold and the initial zero value is determined as a preset output difference value for a given device.
[0023] Optionally, after the step of determining the second output value and the target output threshold of the given device, the method further comprises:
[0024] determining a zero deviation between a target zero value and an initial zero value;
[0025] In the case where the zero position deviation is less than or equal to the preset deviation threshold, the step of using the target zero position value and the target output threshold to proportionally convert the second output value into a target given value is performed.
[0026] Optionally, after the step of determining a zero position deviation between a target zero position value and an initial zero position value, the method further comprises:
[0027] When the zero position deviation is greater than a preset deviation threshold, the second output value is proportionally converted into a target given value using the target zero position value and a preset output difference value.
[0028] Optionally, after the step of determining a zero position deviation between a target zero position value and an initial zero position value, the method further comprises:
[0029] When the zero position deviation is greater than a preset deviation threshold, a warning message is output to prompt the user to perform maintenance.
[0030] In addition, to achieve the above-mentioned purpose, the present application also provides an automatic tuning system for a given device, the automatic tuning system comprising:
[0031] A shutdown detection module, used to determine the first output value of a given device and calibrate it as a target zero value when the controlled device is not started;
[0032] a power-on detection module, for determining a second output value and a target output threshold of a given device when the controlled device has been started;
[0033] The conversion output module is used to convert the second output value ratio into a target given value by using the target zero value and the target output threshold; and use the target given value as the target input value of the controlled device to control the operation of the controlled device.
[0034] The present application also provides an automatic tuning device for a given device, comprising a processor, a memory, and an automatic tuning program for the given device stored in the memory and executable by the processor, wherein when the automatic tuning program for the given device is executed by the processor, the steps of the automatic tuning method for the given device as described above are implemented.
[0035] The present application also provides a computer-readable storage medium, on which an automatic tuning program for a given device is stored, wherein when the automatic tuning program for the given device is executed by a processor, the steps of the automatic tuning method for the given device as described above are implemented.
[0036] The automatic adjustment method of a given device in the technical solution of the present application is as follows: when the controlled device is not started, the first output value of the given device is determined and calibrated as the target zero value; when the controlled device is started, the second output value and the target output threshold of the given device are determined; using the target zero value and the target output threshold, the second output value is proportionally converted into a target given value; and the target given value is used as the target input value of the controlled device to control the operation of the controlled device. The present application achieves the following: 1. Users do not need to frequently manually adjust the equipment and the given device when using the controlled equipment, especially when the equipment is restarted after being shut down, the equipment can automatically calibrate the zero position value, reducing the complexity of user operations; 2. By automatically adjusting the value of the given device, whether the controlled equipment is powered on for the first time or restarted after being shut down, the zero position adjustment and the given value adjustment can be adaptively performed according to the real-time status, ensuring the accuracy of the given value output by the given device and the safe and stable operation of the equipment at all times, avoiding sudden failures during the use of the controlled equipment; 3. Through automatic detection and adjustment, users can understand the equipment status in a timely manner and perform necessary maintenance, avoiding unexpected shutdowns and repair costs caused by equipment failures; 4. The technical solution of the present application also reduces downtime and troubleshooting time, and improves production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the structure of the hardware operating environment of the automatic tuning device of a given device involved in the embodiment of the present application;
[0038] Figure 2 A schematic flow chart of a first embodiment of an automatic tuning method for a given device of the present application;
[0039] Figure 3 This is a detailed flow chart of step S20 of an embodiment of an automatic tuning method for a given device of this application;
[0040] Figure 4 This is a flow chart before step S21 of an embodiment of an automatic tuning method for a given device of the present application;
[0041] Figure 5 This is a schematic diagram of the framework structure of the automatic tuning system of the given device in this application.
[0042] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The embodiment of the present application proposes an automatic adjustment device for a given device. The automatic adjustment device can be used as a part of the given device or the controlled device (that is, integrated together), and can also be connected to the given device and the controlled device respectively for supporting use. Its main function is to automatically calibrate and update the zero-position value of the given device and convert and output the real-time given value.
[0045] like Figure 1 As shown, Figure 1 It is a structural diagram of the hardware operating environment of the automatic tuning device of a given device involved in the embodiment of the present application.
[0046] like Figure 1 As shown, the automatic tuning device of the given device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display (Display), an input unit such as a control panel, and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WIFI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001. The memory 1005 as a computer storage medium may include an automatic tuning program for a given device.
[0047] Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0048] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer-readable storage medium may include an operating device, a user interface module, a network communication module, and an automatic tuning program for a given device.
[0049] exist Figure 1 In the embodiment, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the automatic tuning program of the given device stored in the memory 1005 and perform the following operations:
[0050] When the controlled device is not started, determining the first output value of the given device and calibrating it as the target zero value;
[0051] determining a second output value and a target output threshold value of a given device when the controlled device is activated;
[0052] Using the target zero value and the target output threshold, converting the second output value ratio into a target given value;
[0053] The target given value is used as the target input value of the controlled device to control the operation of the controlled device.
[0054] Further, the processor 1001 may call an automatic tuning program for a given device stored in the memory 1005, and further perform the following operations:
[0055] Detect whether there is a startup instruction for the controlled device;
[0056] If not, the step of determining the first output value of the given device and calibrating it as a zero value is performed;
[0057] If yes, cancel the start instruction and execute the step of determining the first output value of the given device and calibrating it as the zero value.
[0058] Further, the processor 1001 may call an automatic tuning program for a given device stored in the memory 1005, and further perform the following operations:
[0059] Reading a preset output difference value of a given device, and taking the sum of the target zero value and the preset output difference value as a first output threshold value;
[0060] A maximum value between the first output threshold value and the second output value is determined as a target output threshold value.
[0061] Further, the processor 1001 may call an automatic tuning program for a given device stored in the memory 1005, and further perform the following operations:
[0062] Initializes a given device and obtains an initial zero value;
[0063] determining a measurement threshold when the given device is adjusted to a maximum mechanical position;
[0064] The difference between the measurement threshold and the initial zero value is determined as a preset output difference value for a given device.
[0065] Further, the processor 1001 may call an automatic tuning program for a given device stored in the memory 1005, and further perform the following operations:
[0066] determining a zero deviation between a target zero value and an initial zero value;
[0067] In the case where the zero position deviation is less than or equal to the preset deviation threshold, the step of using the target zero position value and the target output threshold to proportionally convert the second output value into a target given value is performed.
[0068] Further, the processor 1001 may call an automatic tuning program for a given device stored in the memory 1005, and further perform the following operations:
[0069] When the zero position deviation is greater than a preset deviation threshold, the second output value is proportionally converted into a target given value using the target zero position value and a preset output difference value.
[0070] Further, the processor 1001 may call an automatic tuning program for a given device stored in the memory 1005, and further perform the following operations:
[0071] When the zero position deviation is greater than a preset deviation threshold, a warning message is output to prompt the user to perform maintenance.
[0072] Utilizing the hardware structure of the automatic tuning device of the given device described above, various embodiments of the automatic tuning method of the given device of the present application are proposed.
[0073] An embodiment of the present application provides an automatic tuning method for a given device.
[0074] Please refer to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the automatic tuning method of the given device of the present application; in the first embodiment of the present application, the automatic tuning method includes the following steps:
[0075] Step S10, when the controlled device is not started, determining the first output value of the given device and calibrating it as the target zero value;
[0076] The given device in this embodiment includes but is not limited to components such as potentiometers, angle sensors, and absolute encoders. The function of the given device is mainly to provide (output) system input (given value) so that the working state of the controlled device and the system output can reach the expected state.
[0077] Before the automatic control system composed of controlled equipment and given devices is delivered to the user, it is generally initialized, including the initial zero value calibration. After being delivered to the user for formal use, the controlled equipment is not started, including the stage before the first start and before each start. The boundary between the start and non-start of the controlled equipment here mainly depends on whether the start command (such as: power on, forward, backward command, etc.) is executed. If the start command is not executed, it is in the non-start state, otherwise it is in the start state.
[0078] When the user uses the controlled device, each time it stops (here, the stop can refer to the controlled device pausing or shutting down) or before starting, the program will obtain the current output value (Aref) of the given device, which is defined as the first output value, and automatically adjust and store it as a new zero value (Amin), which is defined as the target zero value. If the given device is not mechanically loose or replaced with a new given device, the target zero value is generally equal to the initial zero value, but on the contrary, the two zero values will deviate.
[0079] Before the controlled equipment is started each time, the zero value of the given device is automatically calibrated, which can greatly avoid the operation and production safety problems of the controlled equipment such as automatic execution, deviation from execution, and failure to stop at zero position due to the deviation of the given value before startup from the zero value (positive or negative value). At the same time, it does not require frequent manual inspection and calibration, which greatly saves workload and improves production efficiency.
[0080] Optionally, in one embodiment, before the step of determining the first output value of the given device and calibrating it as the target zero value, the method further includes:
[0081] Step a, detecting whether there is a start instruction for the controlled device;
[0082] Step b, if not, then executing the step of determining the first output value of the given device and calibrating it as the target zero value;
[0083] Step c: if yes, cancel the start instruction and execute the step of determining the first output value of the given device and calibrating it as the target zero value.
[0084] After the given device is powered on, before calibrating the zero position value of the given device each time, it is necessary to detect whether the controlled device has received the startup instruction. If the startup instruction is not received, the above step S10 can be executed. If the startup instruction is received, but the zero position value calibration task has not been completed, the startup instruction is revoked, and step S10 is continued until the zero position value calibration is completed. At the same time, the user can be reminded that the startup instruction has been revoked and the calibration is waiting to be completed. Through the above technical means of revoking the startup instruction, the calibration of the zero position value of the given device can be successfully completed, thereby ensuring the safety and reliability of the operation of the controlled device after startup.
[0085] Step S20, when the controlled device has been started, determining a second output value and a target output threshold of a given device;
[0086] After completing the calibration of the zero-position value of the given device, the controlled device executes the startup instruction and enters the started state. During the operation of the controlled device, the given value of the given device is obtained in real time, which is defined as the second output value. The given value here can affect the working state and system output of the controlled device. The target output threshold here is the maximum output value (Amax) corresponding to the zero-position value (Amin). When there is no deviation between the target zero-position value and the initial zero-position value, the target output threshold can be the initial maximum output value (i.e., the measurement threshold mentioned in the subsequent embodiments), which is a value set and stored before leaving the factory. When there is a deviation between the target zero-position value and the initial zero-position value, it is necessary to determine a new target output threshold.
[0087] For details, please refer to Figure 3 In one embodiment, the step of determining the target output threshold comprises:
[0088] Step S21, reading a preset output difference value of a given device, and taking the sum of the target zero value and the preset output difference value as a first output threshold value;
[0089] Step S22: determining the maximum value between the first output threshold and the second output value as the target output threshold.
[0090] The preset output difference (Adif) is a value calculated and set before leaving the factory, which is obtained by subtracting the initial zero value from the initial maximum output value. The target zero value and the preset output difference are added to obtain a new maximum output value, i.e., the first output threshold. In most cases, the first output threshold is the target output threshold, but there are also cases where the second output value is greater than the first output threshold, in which case the second output value is determined as the target output threshold.
[0091] Optionally, see Figure 4 In one embodiment, the step of determining a preset output difference of a given device comprises:
[0092] Step S100, initializing a given device and obtaining an initial zero position value;
[0093] Step S200, determining a measurement threshold when the given device is adjusted to a maximum mechanical position;
[0094] Step S300: determining the difference between the measurement threshold and the initial zero value as a preset output difference of a given device.
[0095] Before the controlled equipment and the given device leave the factory, manual installation and inspection can be used to ensure that the given device is not mechanically loose and is installed in place, detect and obtain the given value of the given device before the controlled equipment is started, and use it as the initial zero value to calibrate the zero value. When the controlled equipment adjusts the given device to the maximum mechanical position (mechanical angle, stroke) after executing the start-up command, the program automatically reads the maximum output value (Amax) of the given device as the measurement threshold (initial maximum output value) and stores it, and can calculate and store the preset output difference (Adif) between the measurement threshold and the initial zero value. In this way, not only the pre-shipment calibration is completed, but also the given value of the given device after the controlled equipment is started is converted and output when the preset output difference is obtained, so that the controlled equipment can be accurately and stably controlled based on the converted given value.
[0096] After step S20, the method further includes:
[0097] Step d, determining a zero position deviation between a target zero position value and an initial zero position value;
[0098] Step e, when the zero position deviation is less than or equal to a preset deviation threshold, executing the step of using the target zero position value and the target output threshold to convert the second output value ratio into a target given value.
[0099] The target zero position value is subtracted from the initial zero position value to obtain the zero position deviation. The preset deviation threshold can be set according to actual needs and also varies based on different given devices or different controlled devices applied, and is not limited here. If the zero position deviation is less than or equal to the preset deviation threshold, it can be considered that the deviation is small, and then step S30 is executed.
[0100] Step S30, using the target zero value and the target output threshold, converting the second output value ratio into a target given value;
[0101] The target zero position value is taken as the minimum value, and the target output threshold value is taken as the maximum value. After the controlled device is started, the given value of the given device can be adjusted between these two values (inclusive). In the case that the given device does not have a zero position value deviation, the given device can be adjusted between the initial zero position value and the initial maximum output value (inclusive). After the zero position value deviation occurs, the given value between the target zero position value and the target output threshold value needs to be converted into a given value between the initial zero position value and the initial maximum output value according to the proportion, that is, the target given value. For example, for example, the target zero position value 1 is subtracted from the initial zero position value 0 to obtain a zero position deviation + 1, and the preset output difference is set to 10. Then the given value range of the given device changes from [0, 10] to [1, 11] after the zero position value is automatically recalibrated. When the conversion accuracy is 1, the above two intervals can be divided into 10 equal parts. When the second output value is 2, the target given value is converted to 1. This example is only a simple demonstration. The actual conversion accuracy and complexity are more stringent. The conversion method is not limited to the example, and different conversion rules can also be set according to actual needs.
[0102] Optionally, in one embodiment, after determining the zero position deviation between the target zero position value and the initial zero position value in step d, the method further comprises:
[0103] When the zero position deviation is greater than a preset deviation threshold, the second output value is proportionally converted into a target given value using the target zero position value and a preset output difference value.
[0104] The zero position deviation is greater than the preset deviation threshold, which can be considered as a large deviation. If the offset angle of the given device before the controlled device is started is too large and the adjustable range of the given value is less than the preset output difference (Adif), then the second output value can be proportionally converted to the target given value based on the target zero position value and the preset output difference. Here, due to the large deviation and the proportional conversion according to the preset output difference, even if the given device is adjusted to the maximum mechanical angle and stroke, it will not be adjusted to the maximum given value, but it is sufficient to ensure the safety and stability of the controlled device. It should be noted that the adjustable range here can be obtained by subtracting the target zero position value from the theoretical maximum output value of the given device. Due to the mechanical design and the prevention of over-limit damage to the given device, its maximum output value will be limited, so the theoretical maximum output value here should be greater than the initial maximum output value.
[0105] Step S40: Using the target given value as the target input value of the controlled device to control the operation of the controlled device.
[0106] The target given value of the given device is input into the controlled equipment, thereby controlling the working state of the controlled equipment and the change of the system output. This belongs to the basic knowledge of automatic control and will not be explained in detail here.
[0107] Furthermore, in one embodiment, after determining the zero position deviation between the target zero position value and the initial zero position value in step d, the method further comprises:
[0108] When the zero position deviation is greater than a preset deviation threshold, a warning message is output to prompt the user to perform maintenance.
[0109] If the offset angle of a given device is too large and the adjustable range is smaller than the difference, the program will automatically prompt the user to perform maintenance, thus avoiding safety risks that may arise from equipment abnormalities.
[0110] The automatic adjustment method of a given device in the technical solution of the present application is as follows: when the controlled device is not started, the first output value of the given device is determined and calibrated as the target zero value; when the controlled device is started, the second output value and the target output threshold of the given device are determined; using the target zero value and the target output threshold, the second output value is proportionally converted into a target given value; and the target given value is used as the target input value of the controlled device to control the operation of the controlled device. The present application achieves the following: 1. Users do not need to frequently manually adjust the equipment and the given device when using the controlled equipment, especially when the equipment is restarted after being shut down, the equipment can automatically calibrate the zero position value, reducing the complexity of user operations; 2. By automatically adjusting the value of the given device, whether the controlled equipment is powered on for the first time or restarted after being shut down, the zero position adjustment and the given value adjustment can be adaptively performed according to the real-time status, ensuring the accuracy of the given value output by the given device and the safe and stable operation of the equipment at all times, avoiding sudden failures during the use of the controlled equipment; 3. Through automatic detection and adjustment, users can understand the equipment status in a timely manner and perform necessary maintenance, avoiding unexpected shutdowns and repair costs caused by equipment failures; 4. The technical solution of the present application also reduces downtime and troubleshooting time, and improves production efficiency.
[0111] In addition, refer to Figure 5 , Figure 5 This is a schematic diagram of the framework structure of the automatic tuning system of the given device of the present application. The present application also proposes an automatic tuning system of a given device, the automatic tuning system comprising:
[0112] The shutdown detection module A10 is used to determine the first output value of the given device and calibrate it as the target zero value when the controlled device is not started;
[0113] The power-on detection module A20 is used to determine the second output value and the target output threshold of the given device when the controlled device is started;
[0114] The conversion output module A30 is used to convert the second output value ratio into a target given value by using the target zero position value and the target output threshold value; and use the target given value as the target input value of the controlled device to control the operation of the controlled device.
[0115] Optionally, the shutdown detection module A10 is further used to:
[0116] Detect whether there is a startup instruction for the controlled device;
[0117] If not, the step of determining the first output value of the given device and calibrating it as the target zero value is performed;
[0118] If yes, cancel the start instruction and execute the step of determining the first output value of the given device and calibrating it as the target zero value.
[0119] Optionally, the power-on detection module A20 is further used for:
[0120] Reading a preset output difference value of a given device, and taking the sum of the target zero value and the preset output difference value as a first output threshold value;
[0121] A maximum value between the first output threshold value and the second output value is determined as a target output threshold value.
[0122] Optionally, the power-on detection module A20 is further used for:
[0123] Initializes a given device and obtains an initial zero value;
[0124] determining a measurement threshold when the given device is adjusted to a maximum mechanical position;
[0125] The difference between the measurement threshold and the initial zero value is determined as a preset output difference value for a given device.
[0126] Optionally, the conversion output module A30 is further used for:
[0127] determining a zero deviation between a target zero value and an initial zero value;
[0128] In the case where the zero position deviation is less than or equal to the preset deviation threshold, the step of using the target zero position value and the target output threshold to proportionally convert the second output value into a target given value is performed.
[0129] Optionally, the conversion output module A30 is further used for:
[0130] When the zero position deviation is greater than a preset deviation threshold, the second output value is proportionally converted into a target given value using the target zero position value and a preset output difference value.
[0131] Optionally, the conversion output module A30 is further used for:
[0132] When the zero position deviation is greater than a preset deviation threshold, a warning message is output to prompt the user to perform maintenance.
[0133] The specific implementation of the automatic tuning system for a given device of the present application is basically the same as the various embodiments of the automatic tuning method for a given device described above, and will not be described in detail here.
[0134] In addition, the present application also provides a computer-readable storage medium. The computer-readable storage medium of the present application stores an automatic tuning program for a given device, wherein when the automatic tuning program for a given device is executed by a processor, the steps of the automatic tuning method for a given device as described above are implemented.
[0135] Among them, the method implemented when the automatic tuning program of a given device is executed can refer to the various embodiments of the automatic tuning method of a given device in this application, and will not be repeated here.
[0136] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0137] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0138] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.
[0139] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0140] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0141] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0142] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. All equivalent structural changes made by using the contents of the present application specification and drawings under the inventive concept of the present application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for automatic tuning of a given device, It is characterized in that The automatic tuning method comprises the following steps: When the controlled device is not started, determining the first output value of the given device and calibrating it as the target zero value; determining a second output value and a target output threshold value of a given device when the controlled device is activated; Using the target zero value and the target output threshold, converting the second output value ratio into a target given value; The target given value is used as the target input value of the controlled device to control the operation of the controlled device.
2. The automatic tuning method of a given device according to claim 1, It is characterized in that Before the step of determining the first output value of the given device and calibrating it as the target zero value, the method further includes: Detect whether there is a startup instruction for the controlled device; If not, the step of determining the first output value of the given device and calibrating it as the target zero value is performed; If yes, cancel the start instruction and execute the step of determining the first output value of the given device and calibrating it as the target zero value.
3. The automatic tuning method of a given device according to claim 1, It is characterized in that The steps of determining the target output threshold include: Reading a preset output difference value of a given device, and taking the sum of the target zero value and the preset output difference value as a first output threshold value; A maximum value between the first output threshold value and the second output value is determined as a target output threshold value.
4. The automatic tuning method of a given device according to claim 3, It is characterized in that Prior to the step of reading the preset output difference of the given device, the step of determining the preset output difference of the given device comprises: Initializes a given device and obtains an initial zero value; determining a measurement threshold when the given device is adjusted to a maximum mechanical position; The difference between the measurement threshold and the initial zero value is determined as a preset output difference value for a given device.
5. The automatic tuning method of a given device according to claim 1, It is characterized in that After the step of determining the second output value and the target output threshold of the given device, the method further comprises: determining a zero deviation between a target zero value and an initial zero value; In the case where the zero position deviation is less than or equal to the preset deviation threshold, the step of using the target zero position value and the target output threshold to proportionally convert the second output value into a target given value is performed.
6. The automatic tuning method of a given device according to claim 5, It is characterized in that After the step of determining the zero position deviation between the target zero position value and the initial zero position value, the method further comprises: When the zero position deviation is greater than a preset deviation threshold, the second output value is proportionally converted into a target given value using the target zero position value and a preset output difference value.
7. The automatic tuning method of a given device according to claim 5, It is characterized in that After the step of determining the zero position deviation between the target zero position value and the initial zero position value, the method further comprises: When the zero position deviation is greater than a preset deviation threshold, a warning message is output to prompt the user to perform maintenance.
8. An automatic tuning system for a given device, It is characterized in that The automatic tuning system comprises: A shutdown detection module, used to determine the first output value of a given device and calibrate it as a target zero value when the controlled device is not started; a power-on detection module, for determining a second output value and a target output threshold of a given device when the controlled device has been started; The conversion output module is used to convert the second output value ratio into a target given value by using the target zero value and the target output threshold; and use the target given value as the target input value of the controlled device to control the operation of the controlled device.
9. An automatic setting device for a given device, It is characterized in that The automatic tuning device comprises a processor, a memory, and an automatic tuning program for a given device stored in the memory and executable by the processor, wherein when the automatic tuning program for the given device is executed by the processor, the steps of the automatic tuning method for a given device according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores an automatic tuning program for a given device, wherein when the automatic tuning program for a given device is executed by a processor, the steps of the automatic tuning method for a given device as claimed in any one of claims 1 to 7 are implemented.
