A method, device, equipment and storage medium for controlling output frequency of a conveyor
By dividing the conveyor frequency control process into three sections, determining the target frequency based on the current period and frequency acceleration, the problem of large calculation amount and difficult to adjust in the prior art is solved, and the slow start and uniform acceleration effects of the conveyor are achieved.
Patent Information
- Application Number
- CN202311145981.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-06
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2043-09-06
AI Technical Summary
The existing tubular belt conveyor output frequency control technology has a large amount of calculation and is difficult to adjust, so it cannot achieve slow start and uniform acceleration.
The frequency control process of the conveyor is divided into a starting section, an intermediate section and an end section. By obtaining the preset time allocation of the current starting frequency, the default starting frequency and the control period, the current time allocation and frequency acceleration in the current frequency control process are determined, and the target frequency is determined based on the current time period and frequency acceleration.
The slow start and uniform acceleration of the conveyor are achieved, and the flexibility and accuracy of the control process are improved.
Smart Images

Figure CN117104808B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of conveyor control technology, and in particular to a method, device, equipment and storage medium for controlling the output frequency of a conveyor. Background Art
[0002] Tubular belt conveyor (tube belt conveyor) is a belt conveyor with the carrying and return branch conveyor belts curled into a tube shape. It is a new type of conveyor that combines pipeline conveying and belt conveying. It has the advantages of large conveying inclination angle, small curvature radius, small cross-sectional area of the fuselage, three-dimensional curved conveying, and conveyor belt does not deviate, which facilitates the layout, maintenance and management of the conveying line.
[0003] In the existing output frequency control technology of tubular belt conveyors, T-type or S-type control is generally adopted, that is, the frequency curve is T-shaped or S-shaped. However, this control method has the disadvantages of large amount of calculation, relatively simple control, and difficulty in adjustment after determination. Summary of the Invention
[0004] The present invention provides a method, device, equipment and storage medium for controlling the output frequency of a conveyor, so as to realize slow start, uniform acceleration and gentle landing in the control process.
[0005] According to one aspect of the present invention, a method for controlling the output frequency of a conveyor is provided, comprising:
[0006] Obtaining a current starting frequency, a default starting frequency, and a preset duration allocation of a control period of the conveyor, and determining a current duration allocation of the control period during the current frequency control process according to the current starting frequency, the default starting frequency, and the preset duration allocation;
[0007] Determine the current frequency acceleration according to the current starting frequency, the default starting frequency and the current duration allocation;
[0008] The current time period of the conveyor is determined, and the target frequency output by the conveyor is determined according to the current time period and the current frequency acceleration.
[0009] Furthermore, the control period includes a starting segment, an intermediate segment and an ending segment. The sum of the duration of the starting segment, the intermediate segment and the ending segment is the total control duration. The starting segment is the period when the output frequency of the conveyor is accelerated and the frequency acceleration gradually increases. The ending segment is the period when the output frequency of the conveyor is accelerated and the frequency acceleration gradually decreases. The intermediate segment duration is the period when the output frequency of the conveyor is uniformly accelerated. The preset duration of the control period is the duration distribution of the starting segment, the intermediate segment and the ending segment in the process of the output frequency of the conveyor accelerating from zero to the maximum frequency. The current duration of the control period is the duration distribution of the starting segment, the intermediate segment and the ending segment in the process of the output frequency of the conveyor accelerating from the current starting frequency to the default starting frequency.
[0010] Further, determining the current duration allocation of the control period in the current frequency control process according to the current starting frequency, the default starting frequency, and the duration allocation of the preset control period includes:
[0011] Determine a first absolute value of a difference between the current starting frequency and the default starting frequency, multiply a ratio of the first absolute value of the difference to the maximum frequency by the total control duration of the preset duration allocation, and use the product as the total control duration of the current duration allocation;
[0012] Multiplying the ratio of the total control duration of the current duration allocation to the total control duration of the preset duration allocation by the middle segment duration in the preset duration allocation, and using the product as the middle segment duration in the current duration allocation;
[0013] Determine a second difference between the total control duration of the current duration allocation and the middle segment duration in the current duration allocation, and determine half of the second difference as the starting segment duration in the current duration allocation and the ending segment duration in the current duration allocation.
[0014] Furthermore, determining the current frequency acceleration according to the current starting frequency, the default starting frequency, and the current duration distribution includes:
[0015] Determine the sum of the duration of the initial segment and the duration of the middle segment in the current duration allocation;
[0016] The ratio of the absolute value of the first difference to the sum is determined as the current frequency acceleration.
[0017] Furthermore, determining the current time period of the conveyor includes:
[0018] Counting the variable speed running time of the conveyor;
[0019] If the variable speed operation time is less than the starting segment time in the current time allocation, the current time period is determined to be the starting segment; if the variable speed operation time is greater than or equal to the starting segment time in the current time allocation and less than the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the middle segment; if the variable speed operation time is greater than or equal to the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the ending segment.
[0020] Furthermore, determining the target frequency output by the conveyor according to the current time period and the current frequency acceleration includes:
[0021] The current frequency acceleration is combined with a calculation formula that matches the current time period to obtain the target frequency of the conveyor output.
[0022] Furthermore, after determining the target frequency output by the conveyor according to the current time period and the current frequency acceleration, the method further includes:
[0023] The target frequency is sent to the conveyor via a control interface connected to the conveyor, so that the conveyor outputs the target frequency.
[0024] According to another aspect of the present invention, there is provided a device for controlling the output frequency of a conveyor, comprising:
[0025] a current duration allocation determination module, configured to obtain a current starting frequency, a default starting frequency, and a preset duration allocation of a control period of the conveyor, and determine a current duration allocation of the control period during the current frequency control process based on the current starting frequency, the default starting frequency, and the preset duration allocation;
[0026] a current frequency acceleration determination module, configured to determine the current frequency acceleration according to the current starting frequency, the default starting frequency, and the current duration allocation;
[0027] The target frequency determination module is used to determine the current time period of the conveyor and determine the target frequency output by the conveyor according to the current time period and the current frequency acceleration.
[0028] Optionally, the control period includes a starting segment, a middle segment and an ending segment, and the sum of the duration of the starting segment, the middle segment and the ending segment is the total control duration. The starting segment is the period when the output frequency of the conveyor becomes accelerated and the frequency acceleration gradually increases. The ending segment is the period when the output frequency of the conveyor becomes accelerated and the frequency acceleration gradually decreases. The middle segment duration is the period when the output frequency of the conveyor is uniformly accelerated. The preset duration of the control period is the duration distribution of the starting segment, the middle segment and the ending segment in the process of the output frequency of the conveyor accelerating from zero to the maximum frequency. The current duration of the control period is the duration distribution of the starting segment, the middle segment and the ending segment in the process of the output frequency of the conveyor accelerating from the current starting frequency to the default starting frequency.
[0029] Optionally, the current duration allocation determination module is further configured to:
[0030] Determine a first absolute value of a difference between the current starting frequency and the default starting frequency, multiply a ratio of the first absolute value of the difference to the maximum frequency by the total control duration of the preset duration allocation, and use the product as the total control duration of the current duration allocation;
[0031] Multiplying the ratio of the total control duration of the current duration allocation to the total control duration of the preset duration allocation by the middle segment duration in the preset duration allocation, and using the product as the middle segment duration in the current duration allocation;
[0032] Determine a second difference between the total control duration of the current duration allocation and the middle segment duration in the current duration allocation, and determine half of the second difference as the starting segment duration in the current duration allocation and the ending segment duration in the current duration allocation.
[0033] Optionally, the current frequency acceleration determination module is further configured to:
[0034] Determine the sum of the duration of the initial segment and the duration of the middle segment in the current duration allocation;
[0035] The ratio of the absolute value of the first difference to the sum is determined as the current frequency acceleration.
[0036] Optionally, the target frequency determination module is further configured to:
[0037] Counting the variable speed running time of the conveyor;
[0038] If the variable speed operation time is less than the starting segment time in the current time allocation, the current time period is determined to be the starting segment; if the variable speed operation time is greater than or equal to the starting segment time in the current time allocation and less than the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the middle segment; if the variable speed operation time is greater than or equal to the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the ending segment.
[0039] Optionally, the target frequency determination module is further configured to:
[0040] The current frequency acceleration is combined with a calculation formula that matches the current time period to obtain the target frequency of the conveyor output.
[0041] Optionally, the device further includes a target frequency sending module, configured to send the target frequency to the conveyor via a control interface connected to the conveyor, so that the conveyor outputs the target frequency.
[0042] According to another aspect of the present invention, an electronic device is provided, comprising:
[0043] at least one processor; and
[0044] a memory communicatively connected to the at least one processor; wherein,
[0045] The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the method for controlling the output frequency of a conveyor according to any embodiment of the present invention.
[0046] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for controlling the output frequency of a conveyor according to any embodiment of the present invention when executed.
[0047] The method for controlling the output frequency of a conveyor disclosed in the present invention first obtains the current starting frequency, default starting frequency, and preset duration allocation of the control period of the conveyor, and determines the current duration allocation of the control period in the current frequency control process based on the current starting frequency, default starting frequency, and preset duration allocation; then determines the current frequency acceleration based on the current starting frequency, default starting frequency, and current duration allocation; finally, determines the current time period of the conveyor, and determines the target frequency of the conveyor output based on the current time period and the current frequency acceleration. The method for controlling the output frequency of a conveyor disclosed in the present invention divides the frequency control process of the conveyor into three sections, determines the corresponding target frequencies according to the control period currently in which the conveyor is located, and controls the output of the conveyor, thereby achieving slow start, uniform acceleration, and light landing in the control process.
[0048] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0050] Figure 1 This is a flow chart of a method for controlling the output frequency of a conveyor provided in accordance with the first embodiment of the present invention;
[0051] Figure 2 This is a schematic diagram of output frequency changes in acceleration control of a conveyor provided in accordance with the first embodiment of the present invention;
[0052] Figure 3 This is a flow chart of a method for controlling the output frequency of a conveyor provided in accordance with a second embodiment of the present invention;
[0053] Figure 4 This is a structural diagram of a device for controlling the output frequency of a conveyor according to a third embodiment of the present invention;
[0054] Figure 5 It is a structural diagram of an electronic device for implementing the method for controlling the output frequency of a conveyor according to the fourth embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0056] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0057] Example 1
[0058] Figure 1 This is a flow chart of a method for controlling the output frequency of a conveyor provided in the first embodiment of the present invention. This embodiment is applicable to the case of controlling the output frequency of a conveyor. The method can be executed by a control device for the output frequency of a conveyor. The device can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0059] S110. Obtain the current starting frequency, default starting frequency, and preset duration distribution of the control period of the conveyor, and determine the current duration distribution of the control period in the current frequency control process according to the current starting frequency, default starting frequency, and preset duration distribution.
[0060] The current starting frequency is the starting frequency before the output frequency of the conveyor is controlled, and the default starting frequency is the frequency to be reached after the output frequency of the conveyor is controlled.
[0061] In this embodiment, the control period includes a starting segment, an intermediate segment, and an ending segment. The sum of the durations of the starting segment, the intermediate segment, and the ending segment is the total control duration. During the acceleration control of the conveyor, the output frequency of the conveyor gradually increases. The starting segment is the period during which the output frequency of the conveyor accelerates and the frequency acceleration gradually increases. The ending segment is the period during which the output frequency of the conveyor accelerates and the frequency acceleration gradually decreases. The intermediate segment is the period during which the output frequency of the conveyor uniformly accelerates. The preset duration of the control period is the duration of the starting segment, the intermediate segment, and the ending segment during the process of the conveyor output frequency accelerating from zero to the maximum frequency. The current duration of the control period is the duration of the starting segment, the intermediate segment, and the ending segment during the process of the conveyor output frequency accelerating from the current starting frequency to the default starting frequency.
[0062] Similarly, in deceleration control, the control period is also divided into a starting section, a middle section and an ending section. The starting section is the period when the output frequency of the conveyor decelerates and the frequency acceleration gradually increases. The ending section is the period when the output frequency of the conveyor decelerates and the frequency acceleration gradually decreases. The middle section is the period when the output frequency of the conveyor decelerates uniformly.
[0063] Figure 2 This is a schematic diagram of the output frequency change in the acceleration control of a conveyor provided by an embodiment of the present invention. As shown in the figure, the output frequency of the conveyor gradually increases from zero until it stabilizes at the maximum frequency. In this process, 0-t1 is the starting section, t1-t2 is the middle section, and t2-t3 is the ending section.
[0064] Furthermore, the preset time distribution of the control period can be set according to the actual working conditions of the conveyor. For example, assuming that the maximum frequency of the conveyor is 50HZ, the preset total control time of the control period is the time required for the conveyor to accelerate from 0HZ to 50HZ or decelerate from 50HZ to 0HZ. The preset total control time can be set to 30s according to actual needs, and the duration of the starting segment, middle segment and ending segment in the preset time distribution are 10s respectively.
[0065] Preferably, when determining the current duration allocation of the control period in the current frequency control process, since the current starting frequency of the conveyor may not be zero and the default starting frequency may not be the maximum frequency of the conveyor, the current total control duration in the current frequency control process and the duration of the starting segment, middle segment and ending segment in the current duration allocation can be determined based on the difference between the default starting frequency and the current starting frequency and the proportional scaling of the preset total control duration.
[0066] S120: Determine the current frequency acceleration according to the current starting frequency, the default starting frequency, and the current duration allocation.
[0067] In this embodiment, after the current duration allocation is determined, the current frequency acceleration may be determined according to the previous starting frequency, the default starting frequency, and the current duration allocation.
[0068] Optionally, the current frequency acceleration may be determined by determining the absolute value of the difference between the current starting frequency and the default starting frequency, and then dividing the absolute value by the sum of the durations of the starting segment and the middle segment in the current duration allocation.
[0069] S130 , determining the current time period of the conveyor, and determining the target frequency output by the conveyor according to the current time period and the current frequency acceleration.
[0070] In this embodiment, timing control can be performed when the frequency control of the conveyor begins, and then the current time period of the conveyor is determined based on the duration of each time period in the current time distribution, that is, it is determined which section of the starting section, middle section and ending section the conveyor is currently in in the control stage.
[0071] Furthermore, after determining the current time period of the conveyor, different calculation formulas can be combined according to different time periods, and the current frequency acceleration can be substituted into the corresponding calculation formula to determine the target frequency output by the conveyor.
[0072] Furthermore, after determining the target frequency output by the conveyor according to the current time period and the current frequency acceleration, it is also possible to: send the target frequency to the conveyor via a control interface connected to the conveyor, so that the conveyor outputs the target frequency.
[0073] Preferably, the conveyor can be connected to at least one control interface for receiving start and stop instructions for the conveyor and controlling the target frequency output by the conveyor. After determining the target frequency output by the conveyor, the target frequency can be given to the conveyor through the control interface to control the conveyor to output the target frequency.
[0074] The method for controlling the output frequency of a conveyor disclosed in the present invention first obtains the current starting frequency, default starting frequency, and preset duration allocation of the control period of the conveyor, and determines the current duration allocation of the control period in the current frequency control process based on the current starting frequency, default starting frequency, and preset duration allocation; then determines the current frequency acceleration based on the current starting frequency, default starting frequency, and current duration allocation; finally, determines the current time period of the conveyor, and determines the target frequency of the conveyor output based on the current time period and the current frequency acceleration. The method for controlling the output frequency of a conveyor disclosed in the present invention divides the frequency control process of the conveyor into three sections, determines the corresponding target frequencies according to the control period currently in which the conveyor is located, and controls the output of the conveyor, thereby achieving slow start, uniform acceleration, and light landing in the control process.
[0075] Example 2
[0076] Figure 3 This is a flow chart of a method for controlling the output frequency of a conveyor provided in the second embodiment of the present invention. This embodiment is a refinement and addition of the features of the above embodiment. Figure 3 As shown, the method includes:
[0077] S210. Obtain the current starting frequency, default starting frequency, and preset duration allocation of the control period of the conveyor, and determine the current duration allocation of the control period in the current frequency control process according to the current starting frequency, default starting frequency, and preset duration allocation.
[0078] In this embodiment, the control period includes a starting segment, an intermediate segment, and an ending segment. The sum of the durations of the starting segment, the intermediate segment, and the ending segment is the total control duration. During the acceleration control of the conveyor, the output frequency of the conveyor gradually increases. The starting segment is the period during which the output frequency of the conveyor accelerates and the frequency acceleration gradually increases. The ending segment is the period during which the output frequency of the conveyor accelerates and the frequency acceleration gradually decreases. The intermediate segment is the period during which the output frequency of the conveyor uniformly accelerates. The preset duration of the control period is the duration of the starting segment, the intermediate segment, and the ending segment during the process of the conveyor output frequency accelerating from zero to the maximum frequency. The current duration of the control period is the duration of the starting segment, the intermediate segment, and the ending segment during the process of the conveyor output frequency accelerating from the current starting frequency to the default starting frequency.
[0079] Similarly, in deceleration control, the control period is also divided into a starting section, a middle section and an ending section. The starting section is the period when the output frequency of the conveyor decelerates and the frequency acceleration gradually increases. The ending section is the period when the output frequency of the conveyor decelerates and the frequency acceleration gradually decreases. The middle section is the period when the output frequency of the conveyor decelerates uniformly.
[0080] Furthermore, the method for determining the current duration allocation of the control period in the current frequency control process based on the current starting frequency, the default starting frequency and the duration allocation of the preset control period can be: determining the absolute value of the first difference between the current starting frequency and the default starting frequency, multiplying the ratio of the absolute value of the first difference to the maximum frequency by the total control duration of the preset duration allocation, and using the product as the total control duration of the current duration allocation; multiplying the ratio of the total control duration of the current duration allocation to the total control duration of the preset duration allocation by the middle segment duration in the preset duration allocation, and using the product as the middle segment duration in the current duration allocation; determining the second difference between the total control duration of the current duration allocation and the middle segment duration in the current duration allocation, and determining half of the second difference as the starting segment duration in the current duration allocation and the ending segment duration in the current duration allocation.
[0081] Specifically, let the current starting frequency be f s , the default starting frequency is ft , the maximum frequency is f m The total control duration, the start duration, the middle duration and the end duration of the preset duration allocation are T s , t s1 , t s2 and t s3 (T s =t s1 +t s2 +t s3 ), the total control duration, the start segment duration, the middle segment duration and the end segment duration of the current duration allocation are T r , t r1 , t r2 and t r3 (T r =t r1 +t r2 +t r3 ), then the total control duration of the current duration allocation is T r It can be expressed as:
[0082]
[0083] The duration of the middle segment in the current duration allocation t r2 It can be expressed as:
[0084]
[0085] The duration of the starting segment in the current duration allocation is t r1 and the end segment duration t r3 It can be expressed as:
[0086]
[0087] S220: Determine the sum of the durations of the initial segment and the middle segment in the current duration allocation, and determine the ratio of the absolute value of the first difference to the sum as the current frequency acceleration.
[0088] In this embodiment, assuming that the current frequency acceleration is a, the calculation method for the current frequency acceleration can be:
[0089]
[0090] S230: Determine the current time period of the conveyor.
[0091] In this embodiment, the method for determining the current time period of the conveyor can be: counting the variable speed operation time of the conveyor; if the variable speed operation time is less than the starting segment time in the current time distribution, then the current time period is determined to be the starting segment; if the variable speed operation time is greater than or equal to the starting segment time in the current time distribution and less than the sum of the starting segment and the middle segment time in the current time distribution, then the current time period is determined to be the middle segment; if the variable speed operation time is greater than or equal to the sum of the starting segment and the middle segment time in the current time distribution, then the current time period is determined to be the ending segment.
[0092] Specifically, during the frequency control process of the conveyor, the output frequency of the conveyor accelerates or decelerates from the current starting frequency to the default starting frequency, and finally stabilizes at the default starting frequency. During this process, the conveyor is in variable speed operation. From the start of frequency control of the conveyor, the time the conveyor is in the variable speed operation state is the variable speed operation duration of the conveyor. According to the variable speed operation duration of the conveyor, the current time period of the conveyor can be determined. Let the variable speed operation duration of the conveyor be t0. If t0 < t r1 , then the current period is determined to be the starting period; if t r1 ≤t0<t r1 +t r2 , then the current time period is determined to be the middle period; if t0≥t r1 +t r2 , then the current time period is determined to be the end period.
[0093] S240 . Combine the current frequency acceleration with a calculation formula that matches the current time period to obtain a target frequency output by the conveyor.
[0094] In this embodiment, let the rate of change of the current frequency acceleration be a′, then a′=a / t r1 Let the target frequency be f0. If the current period is the starting period, t0<t r1 ,but
[0095]
[0096] If the current time period is the middle period, t r1 ≤t0<t r1 +t r2 ,but
[0097]
[0098] If the current time period is the end period, t0≥t r1 +t r2 ,but
[0099]
[0100] The method for controlling the output frequency of a conveyor disclosed in an embodiment of the present invention divides the frequency control process of the conveyor into three sections, determines the corresponding target frequency according to the current control period of the conveyor, and controls the output of the conveyor, thereby achieving slow start, uniform acceleration, and gentle landing in the control process.
[0101] Example 3
[0102] Figure 4 This is a schematic diagram of the structure of a control device for the output frequency of a conveyor provided in the third embodiment of the present invention. Figure 4 As shown, the device includes: a current duration allocation determination module 310 , a current frequency acceleration determination module 320 and a target frequency determination module 330 .
[0103] The current duration allocation determination module 310 is used to obtain the current starting frequency, default starting frequency and preset duration allocation of the control period of the conveyor, and determine the current duration allocation of the control period in the current frequency control process based on the current starting frequency, default starting frequency and preset duration allocation.
[0104] The current frequency acceleration determination module 320 is configured to determine the current frequency acceleration according to the current starting frequency, the default starting frequency, and the current duration allocation.
[0105] The target frequency determination module 330 is used to determine the current time period of the conveyor and determine the target frequency output by the conveyor according to the current time period and the current frequency acceleration.
[0106] Optionally, the control period includes a starting segment, an intermediate segment and an ending segment. The sum of the duration of the starting segment, the intermediate segment and the ending segment is the total control duration. The starting segment is the period when the output frequency of the conveyor is accelerated and the frequency acceleration gradually increases. The ending segment is the period when the output frequency of the conveyor is accelerated and the frequency acceleration gradually decreases. The intermediate segment duration is the period when the output frequency of the conveyor is uniformly accelerated. The preset duration of the control period is the duration distribution of the starting segment, the intermediate segment and the ending segment in the process of the output frequency of the conveyor accelerating from zero to the maximum frequency. The current duration of the control period is the duration distribution of the starting segment, the intermediate segment and the ending segment in the process of the output frequency of the conveyor accelerating from the current starting frequency to the default starting frequency.
[0107] Optionally, the current duration allocation determination module 310 is further configured to:
[0108] Determine the first absolute value of the difference between the current starting frequency and the default starting frequency, multiply the ratio of the first absolute value of the difference to the maximum frequency by the total control duration of the preset duration allocation, and use the product as the total control duration of the current duration allocation; multiply the ratio of the total control duration of the current duration allocation to the total control duration of the preset duration allocation by the middle segment duration in the preset duration allocation, and use the product as the middle segment duration in the current duration allocation; determine the second difference between the total control duration of the current duration allocation and the middle segment duration in the current duration allocation, and determine half of the second difference as the starting segment duration in the current duration allocation and the ending segment duration in the current duration allocation.
[0109] Optionally, the current frequency acceleration determination module 320 is further configured to:
[0110] Determine the sum of the durations of the initial segment and the middle segment in the current duration allocation; and determine the ratio of the absolute value of the first difference to the sum as the current frequency acceleration.
[0111] Optionally, the target frequency determination module 330 is further configured to:
[0112] The variable speed operation time of the conveyor is counted; if the variable speed operation time is less than the starting segment time in the current time allocation, the current time period is determined to be the starting segment; if the variable speed operation time is greater than or equal to the starting segment time in the current time allocation and less than the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the middle segment; if the variable speed operation time is greater than or equal to the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the ending segment.
[0113] Optionally, the target frequency determination module 330 is further configured to:
[0114] The current frequency acceleration is combined with a calculation formula that matches the current time period to obtain the target frequency of the conveyor output.
[0115] Optionally, the device further includes a target frequency sending module 340, which is used to send the target frequency to the conveyor via a control interface connected to the conveyor, so that the conveyor outputs the target frequency.
[0116] The control device for the output frequency of a conveyor provided in an embodiment of the present invention can execute the control method for the output frequency of a conveyor provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0117] Example 4
[0118] Figure 5A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0119] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0120] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0121] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the method for controlling the output frequency of the conveyor.
[0122] In some embodiments, the method for controlling the output frequency of the conveyor can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of controlling the output frequency of the conveyor can be performed as described above. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for controlling the output frequency of the conveyor by any other suitable means (e.g., via firmware).
[0123] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0125] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0128] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0129] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0130] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for controlling the output frequency of a conveyor, characterized in that: include: Obtaining a current starting frequency, a default starting frequency, and a preset duration allocation of a control period of a conveyor, determining an absolute value of a first difference between the current starting frequency and the default starting frequency, multiplying a ratio of the absolute value of the first difference to a maximum frequency of the conveyor by a total control duration of the preset duration allocation, and using the product as the total control duration of the current duration allocation; Multiplying the ratio of the total control duration of the current duration allocation to the total control duration of the preset duration allocation by the middle segment duration in the preset duration allocation, and using the product as the middle segment duration in the current duration allocation; Determine a second difference between the total control duration of the current duration allocation and the duration of the middle segment in the current duration allocation, and determine half of the second difference as the duration of the starting segment in the current duration allocation and the duration of the ending segment in the current duration allocation; Determine the current frequency acceleration according to the current starting frequency, the default starting frequency and the current duration allocation; The current time period of the conveyor is determined, and the target frequency output by the conveyor is determined according to the current time period and the current frequency acceleration.
2. The method according to claim 1, characterized in that The control period includes a starting segment, an intermediate segment and an ending segment. The sum of the durations of the starting segment, the intermediate segment and the ending segment is the total control duration. The starting segment is the period when the output frequency of the conveyor is accelerated and the frequency acceleration gradually increases. The ending segment is the period when the output frequency of the conveyor is accelerated and the frequency acceleration gradually decreases. The intermediate segment duration is the period when the output frequency of the conveyor is uniformly accelerated. The preset duration of the control period is the duration distribution of the starting segment, the intermediate segment and the ending segment in the process of the output frequency of the conveyor accelerating from zero to the maximum frequency. The current duration of the control period is the duration distribution of the starting segment, the intermediate segment and the ending segment in the process of the output frequency of the conveyor accelerating from the current starting frequency to the default starting frequency.
3. The method according to claim 1, characterized in that Determining a current frequency acceleration according to the current starting frequency, the default starting frequency, and the current duration allocation includes: Determine the sum of the duration of the initial segment and the duration of the middle segment in the current duration allocation; The ratio of the absolute value of the first difference to the sum is determined as the current frequency acceleration.
4. The method according to claim 2, characterized in that Determining the current time period of the conveyor, including: Counting the variable speed running time of the conveyor; If the variable speed operation time is less than the starting segment time in the current time allocation, the current time period is determined to be the starting segment; if the variable speed operation time is greater than or equal to the starting segment time in the current time allocation and less than the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the middle segment; if the variable speed operation time is greater than or equal to the sum of the starting segment and the middle segment time in the current time allocation, the current time period is determined to be the ending segment.
5. The method according to claim 4, characterized in that Determining a target frequency output by the conveyor according to the current time period and the current frequency acceleration includes: The current frequency acceleration is combined with a calculation formula that matches the current time period to obtain the target frequency of the conveyor output.
6. The method according to claim 1, wherein After determining the target frequency output by the conveyor according to the current time period and the current frequency acceleration, the method further includes: The target frequency is sent to the conveyor via a control interface connected to the conveyor, so that the conveyor outputs the target frequency.
7. A control device for the output frequency of a conveyor, characterized in that: include: a current duration allocation determination module, configured to obtain a current starting frequency, a default starting frequency, and a preset duration allocation for a control period of a conveyor, determine a first absolute value of a difference between the current starting frequency and the default starting frequency, multiply a ratio of the first absolute value of the difference to a maximum frequency of the conveyor by a total control duration of the preset duration allocation, and use the product as the total control duration of the current duration allocation; Multiplying the ratio of the total control duration of the current duration allocation to the total control duration of the preset duration allocation by the middle segment duration in the preset duration allocation, and using the product as the middle segment duration in the current duration allocation; Determine a second difference between the total control duration of the current duration allocation and the duration of the middle segment in the current duration allocation, and determine half of the second difference as the duration of the starting segment in the current duration allocation and the duration of the ending segment in the current duration allocation; a current frequency acceleration determination module, configured to determine the current frequency acceleration according to the current starting frequency, the default starting frequency, and the current duration allocation; The target frequency determination module is used to determine the current time period of the conveyor and determine the target frequency output by the conveyor according to the current time period and the current frequency acceleration.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the method for controlling the output frequency of a conveyor according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for controlling the output frequency of a conveyor according to any one of claims 1 to 6 when the computer instructions are executed.
Citation Information
Patent Citations
Servo motor control method and device, equipment and medium
CN113965140A