A closed-loop control method for material flow rate of sorting equipment
By obtaining the image information of the unloading chute, calculating the error value and adjusting the amplitude of the unloading vibrator, the problem of stability control of the unloading flow is solved, and the consistency of the unloading amount is achieved and the output is improved.
Patent Information
- Application Number
- CN202210523558.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-05-13
AI Technical Summary
It is difficult to effectively control the flow stability of unloading and sorting with existing technology, which makes it difficult to improve the quality and output grade of grains and fruits, and limits the sorting efficiency and output.
By obtaining the image information of the unloading chute, calculating the error value between the feedback amount and the target value, adjusting the amplitude of the unloading vibrator to achieve closed-loop flow control, ensuring the consistency of the unloading amount of each channel and increasing the output.
It achieves rapid response and precise control of the blanking volume, ensures the consistency of multi-channel blanking, and increases the blanking output.
Smart Images

Figure CN114967434B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of sorting equipment, and relates to a material discharge flow control technology of sorting equipment, in particular to a closed-loop control method for the material discharge flow of sorting equipment. Background Art
[0002] With the development of agricultural technology and the improvement of people's living standards, people have higher requirements for the quality of grains and fruits. In order to improve the quality and product grade of grains and fruits, it is necessary to strictly grade the grains and fruits; in order to improve the sorting efficiency and output, higher requirements are put forward for the flow stability control of the feeding sorting.
[0003] Therefore, a closed-loop control method for the material discharge flow of sorting equipment is proposed. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a closed-loop control method for the material flow rate of a sorting device, which solves the technical problems in the prior art that in order to improve the quality and product grade of grains and fruits, it is necessary to strictly grade the quality of grains and fruits; in order to improve the sorting efficiency and output, higher requirements are put forward for the flow stability control of the material sorting; the present invention can respond quickly, accurately control the material discharge amount of each channel, ensure the consistency of multi-channel material discharge, and improve the material discharge output to solve the above problems.
[0005] To achieve the above object, according to an embodiment of the first aspect of the present invention, a closed-loop control method for material flow rate of a sorting device is provided. The specific method comprises the following steps:
[0006] Step 1: Obtain image information of the feeding chute;
[0007] Step 2: obtaining feedback amount according to the image information;
[0008] Step 3: Calculate the control amount in real time through an algorithm based on the feedback amount and the target value set by the user;
[0009] Step 4: Control the amplitude of the material discharge vibrator according to the control amount.
[0010] Preferably, the image information is acquired through a camera.
[0011] Preferably, the feedback amount is obtained according to the image information, and the specific process includes:
[0012] Mark the pixels occupied by the material as W t , the pixel points in the camera field of view are marked as X, where t represents the control period, and the value of t is 1, 2, 3...n;
[0013] Pixels occupied by the material W t The ratio of the pixel point X in the camera field of view is used as the feedback amount, and the feedback amount is marked as F t。
[0014] Preferably, the control amount is calculated in real time by an algorithm according to the feedback amount and the target value set by the user, and the specific process includes:
[0015] The material feeding amount set by the user is defined as the target value, and the target value is marked as D t ;
[0016] When the feedback value is not equal to the target value set by the user, an error value is obtained by comparing the difference between the feedback value and the target value. The error value is marked as E. t ;
[0017] The error value E t save;
[0018] When entering the next control cycle, the new error value E is obtained t+1 ;
[0019] The new error value obtained in the next control cycle is subtracted from the error value obtained in the previous cycle to obtain the error increment, which is marked as Er. t+1 ,
[0020] The error increment Er t+1 and the error value E t+1 Substitute into the calculation formula to get the control amount, which is marked as P t+1 ;
[0021] Preferably, the default value of the control period is set to 1s, and is appropriately adjusted according to the size of the target value set by the user. When the target value is less than 20%, the control period is set to 2s;
[0022] When the target value is greater than eighty percent, the control period is set to 0.5 s.
[0023] Preferably, the calculation formula of the feedback amount is: t =W t / X;
[0024] The calculation formula of the error value is: E t =D t -F t ;
[0025] The calculation formula of the error increment is: Er t+1 =E t+1 -E t ;
[0026] The control quantity P t+1 The calculation formula is: t+1 =A(B*E t+1 +C*Er t+1 ).
[0027] Preferably, the coefficients are determined by first setting A to 1 and C to 0, changing the coefficient B from small to large, and observing the system response until the speed is fast and there is an overshoot within the specified range;
[0028] If the system static error is within the specified range and the response meets the design requirements, the coefficient setting is complete;
[0029] If the system static error does not meet the requirements, then gradually increase C from small to large. The integral gradually increases, and by observing the output, it can be found that the system static error gradually decreases until it is eliminated, and the coefficient setting is completed.
[0030] Preferably, the material unloading response time of the material unloading vibrator shall not be higher than 0.5 s.
[0031] Preferably, the present invention comprises a data acquisition module, a control module and an execution module;
[0032] The data acquisition module is used to generate image information according to the light signal collected by the camera, and send the image information to the control module;
[0033] The control module is used to obtain the material feeding amount according to the image information, and calculate the control amount in real time through an algorithm according to the target value set by the user;
[0034] The execution module is used to receive the control amount, and control the amplitude of the material discharge vibrator according to the control amount to determine the amount of material discharge.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The present invention obtains feedback according to image information, obtains an error value according to the difference between the feedback amount and a target value set by a user, and saves the error value. The new error value obtained in the next control cycle is subtracted from the error value obtained in the previous cycle to obtain an error increment. The control amount is calculated according to the error value and the error increment to control the feeding vibrator, thereby changing the feeding amount and eliminating the error. The method can respond quickly, accurately control the feeding amount of each channel, ensure the consistency of multi-channel feeding, and improve the feeding output. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0038] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] like Figure 1 As shown, a closed-loop control method for the material flow rate of a sorting device is provided, and the specific method comprises the following steps:
[0040] Step 1: Obtain image information of the feeding chute;
[0041] Step 2: obtaining feedback amount according to the image information;
[0042] Step 3: Calculate the control amount in real time through an algorithm based on the feedback amount and the target value set by the user;
[0043] Step 4: Control the amplitude of the material discharge vibrator according to the control amount.
[0044] The method can respond quickly, accurately control the material discharge amount of each channel, ensure the consistency of multi-channel material discharge, and improve the material discharge output.
[0045] In this embodiment, the image information is acquired through a camera, and the content of the image information is clear, ensuring that the material can be accurately identified and the feedback amount is real-time and accurate.
[0046] Acquiring feedback amount according to the image information, the specific process includes:
[0047] Mark the pixels occupied by the material as W t , the pixel points in the camera field of view are marked as X, where t represents the control period and the value of t is 1, 2, 3...n; it should be noted that pixels are composed of small squares in the image. These small squares have a clear position and assigned color values. The color and position of the small squares determine the appearance of the image. Pixels can be regarded as indivisible units or elements in the entire image. Indivisible means that it cannot be cut into smaller units or elements. It exists as a small grid of a single color. Each dot matrix image contains a certain amount of pixels, which determine the size of the image presented on the screen.
[0048] Pixels occupied by the material W t The ratio of the pixel point X in the camera field of view is used as the feedback amount, and the feedback amount is marked as F t ;
[0049] The calculation formula of the feedback amount is: F t =W t / X.
[0050] According to the feedback amount and the target value set by the user, the control amount is calculated in real time through the algorithm. The specific process includes:
[0051] The feed amount set by the user is defined as the target value, and the target value is marked as D t ;
[0052] When the feedback value is not equal to the target value set by the user, an error value is obtained by comparing the difference between the feedback value and the target value. The error value is marked as E. t ;
[0053] The calculation formula of the error value is: E t =D t -F t ;
[0054] The error value E t save;
[0055] When entering the next control cycle, a new error value E is obtained t+1 It should be noted that the default value of the control period is set to 1s, and it is appropriately adjusted according to the size of the target value set by the user. When the target value is less than 20%, the control period is set to 2s;
[0056] When the target value is greater than eighty percent, the control period is set to 0.5 s.
[0057] For example:
[0058] When the target value set by the user is 70%, the control period is set to 1s;
[0059] When the target value set by the user is 10%, the control period is set to 2s;
[0060] When the target value set by the user is 90%, the control period is set to 0.5s.
[0061] The new error value obtained in the next control cycle is subtracted from the error value obtained in the previous cycle to obtain the error increment, which is marked as Er. t+1 ,
[0062] The calculation formula of the error increment is: Er t+1 =E t+1 -E t ;
[0063] The error increment Er t+1 and the error value E t+1 Substitute into the calculation formula to get the control amount, which is marked as P t+1 ;
[0064] Calculate the control quantity P t+1 The calculation formula is:
[0065] P t+1 =A(B*E t+1 +C*Er t+1 ).
[0066] The feedback amount is obtained according to the image information, and the error value is obtained according to the difference between the feedback amount and the target value set by the user. The error value is saved, and the new error value obtained in the next control cycle is subtracted from the error value obtained in the previous cycle to obtain the error increment. The control amount is calculated according to the error value and the error increment to control the amplitude of the feeding vibrator, thereby changing the feeding amount and eliminating the error.
[0067] It should be noted that the coefficients A and B need to be adjusted according to the calculation of the control amount, and the results obtained should be limited to avoid excessive values that affect the stability of the vibrator;
[0068] Generally speaking, increasing coefficient B will speed up the response and help reduce static error, but too large coefficient B will cause the system to have a large overshoot and produce oscillation, making the stability worse.
[0069] Reducing the coefficient C will reduce the integral effect of the system, which is beneficial to reducing overshoot and stabilizing the system, but the system will be slow to eliminate static errors;
[0070] Coefficient A is the conversion coefficient from error to vibrator control quantity, and is generally set to 1.
[0071] In this embodiment, the coefficient is determined by first setting A to 1 and C to 0, changing the coefficient B from small to large, and observing the system response until the speed is fast and there is an overshoot within the specified range;
[0072] If the system static error is within the specified range and the response meets the design requirements, the coefficient setting is complete;
[0073] If the system static error does not meet the requirements, then gradually increase C from small to large. The integral gradually increases, and by observing the output, it can be found that the system static error gradually decreases until it is eliminated, and the coefficient setting is completed.
[0074] In this embodiment, the material unloading response time of the material unloading vibrator shall not be higher than 0.5s.
[0075] It should be noted that the present invention includes a data acquisition module, a control module and an execution module;
[0076] The data acquisition module is used to generate image information according to the light signal collected by the camera, and send the image information to the control module;
[0077] The control module is used to obtain the material feeding amount according to the image information, and calculate the control amount in real time through an algorithm according to the target value set by the user;
[0078] The execution module is used to receive the control amount, and control the amplitude of the material discharge vibrator according to the control amount to determine the amount of material discharge.
[0079] The above formulas are all calculated by removing dimensions and taking numerical values. The formula is a formula that is closest to the actual situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained by simulating a large amount of data.
[0080] Working principle of the present invention:
[0081] The image information of the material discharge chute is obtained, and the feedback amount is obtained according to the image information. The error value is obtained according to the difference between the feedback amount and the target value set by the user, and the error value is saved. The new error value obtained in the next control cycle is subtracted from the error value obtained in the previous cycle to obtain the error increment. The control amount is calculated according to the error value and the error increment to control the amplitude of the material discharge vibrator, thereby changing the amount of material discharge and eliminating the error.
[0082] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A closed-loop control method for material flow rate of sorting equipment, characterized in that: The specific method includes the following steps: Step 1: Obtain image information of the feeding chute; Step 2: obtaining feedback amount according to the image information; Step 3: Calculate the control amount in real time through an algorithm based on the feedback amount and the target value set by the user; Step 4: controlling the amplitude of the material feeding vibrator according to the control amount; The image information is obtained through a camera; Acquiring feedback amount according to the image information, the specific process includes: Mark the pixels occupied by the material as W t , the pixel points in the camera field of view are marked as X, where t represents the control period, and the value of t is 1, 2, 3...n; Pixels occupied by the material W t The ratio of the pixel point X in the camera field of view is used as the feedback amount, and the feedback amount is marked as F t ; According to the feedback amount and the target value set by the user, the control amount is calculated in real time through the algorithm. The specific process includes: The material feeding amount set by the user is defined as the target value, and the target value is marked as D t ; When the feedback value is not equal to the target value set by the user, an error value is obtained by comparing the difference between the feedback value and the target value. The error value is marked as E. t ; The error value E t save; When entering the next control cycle, the new error value E is obtained t+1 ; The new error value obtained in the next control cycle is subtracted from the error value obtained in the previous cycle to obtain the error increment, which is marked as Er. t+1 ; According to the error increment Er t+1 and the error value E t+1 The control amount is calculated and marked as P t+1 ; The default value of the control period is set to 1s, and is appropriately adjusted according to the size of the target value set by the user. When the target value is less than 20%, the control period is set to 2s; When the target value is greater than 80%, the control period is set to 0.5s; The calculation formula of the feedback amount is: F t =W t / X; The calculation formula of the error value is: E t =D t -F t ; The calculation formula of the error increment is: Er t+1 =E t+1 -E t ; The control quantity P t+1 The calculation formula is: t+1 =A(B*E t+1 +C*Er t+1 ); where A, B, and C are multiplication coefficients.
2. A closed-loop control method for material flow rate of a sorting device according to claim 1, characterized in that: Method for determining the product coefficient: First, set A to 1 and C to 0, change coefficient B from small to large, and observe the system response until the speed is fast and there is an overshoot within the specified range; If the system static error is within the specified range and the response meets the design requirements, the coefficient setting is complete; If the system static error does not meet the requirements, then gradually increase C from a small value, gradually increase the integral, and observe the output to find that the system static error gradually decreases until it is eliminated, and the coefficient setting is completed.
3. A closed-loop control method for material flow rate of sorting equipment according to claim 2, characterized in that: The material unloading response time of the unloading vibrator is no more than 0.5s.
