Disclosure of Invention
The invention aims to provide a control method, a control device and a control system for self-adaptive adjustment of a proportional valve of a water pump, which are used for solving the problems that the working efficiency is reduced due to the fact that the proportional valve is inconvenient to adjust and the cleaning operation is likely to damage passers-by due to the fact that the proportional valve is unreasonable to adjust in the prior art.
Based on the purpose, the technical scheme I of the control method for the self-adaptive adjustment of the water pump proportional valve is as follows:
(1) controlling a proportional valve of a water pump to be opened according to a cleaning operation mode selected by a user, and enabling the proportional valve to respond with a set initial water pressure value; the initial water pressure value is larger than zero and smaller than an expected water pressure value set in the current operation mode;
(2) acquiring a water pressure value on a water channel where the proportional valve is located in real time, calculating an average water pressure value in the current time period, comparing the magnitude relation between an expected water pressure value and the average water pressure value, and if the difference value between the expected water pressure value and the average water pressure value is greater than a set threshold value, gradually increasing a step water pressure increment in a stepped mode on the basis of the initial water pressure value, and controlling the proportional valve to adjust the opening;
or acquiring the water pressure value of the water channel where the proportional valve is located in real time, comparing the water pressure value at the current moment with the expected water pressure value, and if the difference value between the expected water pressure value and the water pressure value at the current moment is greater than a set threshold value, gradually increasing the water pressure increment of a step length in a step mode on the basis of the initial water pressure value, and controlling the proportional valve to adjust the opening.
The beneficial effects of the above technical scheme are:
the control method can adaptively adjust the opening degree of the proportional valve, so that the washing and sweeping equipment can gradually increase the opening degree of the proportional valve in a step mode from a default set value which is smaller than a recently expected water pressure value but larger than zero in a certain operation mode, the opening degree is adjusted reasonably, a worker does not need to adjust the proportional valve, the working efficiency is improved, and the problem that the cleaning operation can hurt passersby due to unreasonable adjustment of the proportional valve is avoided.
Further, the step-wise increasing the water pressure increment by one step in a stepwise manner includes:
and (3) recalculating the average water pressure value of the current time period after each step of increasing the water pressure increment of one step length, comparing the expected water pressure value with the average water pressure value according to the step (2), and if the difference value of the comparison between the expected water pressure value and the average water pressure value is still larger than the set threshold value, increasing the water pressure increment of one step length on the basis of the current controlled water pressure value until the difference value of the comparison between the expected water pressure value and the average water pressure value is not larger than the set threshold value when the expected water pressure value and the average water pressure value are compared for a certain time.
Further, the formula for comparing the expected water pressure value with the average water pressure value is as follows:
in the formula, thre [ s ]]A desired water pressure value in a certain operation mode is selected for the user,
is the average water pressure value, t
nRepresenting the current time interval as a sampling total time interval; n is the number of collected water pressure values in the current time period,
is at t
iThe water pressure value collected at any moment is obtained by collecting through a pressure sensor arranged on a water path; delta
vIs the set threshold.
Based on the purpose, the second technical scheme of the control method for the self-adaptive adjustment of the water pump proportional valve is as follows:
(1) controlling a proportional valve of a water pump to be opened according to a cleaning operation mode selected by a user, and enabling the proportional valve to respond with a set initial water pressure value; the initial water pressure value is larger than zero and smaller than an expected water pressure value set in the current operation mode;
(2) acquiring a water pressure value on a water channel where the proportional valve is located in real time, calculating an average water pressure value in the current time period, comparing the magnitude relation between an expected water pressure value and the average water pressure value, and if the difference value between the expected water pressure value and the average water pressure value is greater than a set threshold value, gradually increasing a step water pressure increment in a stepped mode on the basis of the initial water pressure value, and controlling the proportional valve to adjust the opening; if the difference value between the expected water pressure value and the average water pressure value is smaller than the set threshold value, on the basis of the initial water pressure value, gradually reducing the water pressure increment of one step in a stepped mode, and controlling the proportional valve to adjust the opening degree until the difference value between the expected water pressure value and the average water pressure value is neither larger than nor smaller than the set threshold value;
or acquiring a water pressure value on a water channel where the proportional valve is positioned in real time, comparing the water pressure value at the current moment with an expected water pressure value, and if the difference value between the expected water pressure value and the water pressure value at the current moment is greater than a set threshold value, gradually increasing a water pressure increment of a step length in a step mode on the basis of the initial water pressure value, and controlling the proportional valve to regulate the opening; if the difference value between the expected water pressure value and the water pressure value at the current moment is smaller than the set threshold value, on the basis of the initial water pressure value, a step-by-step water pressure increment is gradually increased in a step-by-step mode, and the proportional valve is controlled to adjust the opening until the difference value between the expected water pressure value and the water pressure value at a certain moment is neither larger than nor smaller than the set threshold value.
The beneficial effects of the above technical scheme are:
the control method can adaptively adjust the opening degree of the proportional valve, so that the washing and sweeping equipment can gradually increase or decrease the opening degree of the proportional valve in a step mode from a default set value which is smaller than a recently expected water pressure value but larger than zero in a certain operation mode, the opening degree is adjusted reasonably, a worker does not need to adjust the proportional valve, the working efficiency is improved, and the problem that the cleaning operation can hurt passersby due to unreasonable adjustment of the proportional valve is avoided.
Further, the stepwise increasing/decreasing of the water pressure increment by one step in a stepwise manner includes:
and (3) recalculating the average water pressure value of the current time period after increasing/decreasing the water pressure increment of one step, comparing the expected water pressure value with the average water pressure value according to the step (2), and if the difference value of the comparison between the expected water pressure value and the average water pressure value is still larger than the set threshold value, increasing/decreasing the water pressure increment of one step on the basis of the current controlled water pressure value until the difference value of the comparison between the expected water pressure value and the average water pressure value is not larger than the set threshold value when comparing the expected water pressure value with the average water pressure value for a certain time.
Further, the formula for comparing the expected water pressure value with the average water pressure value is as follows:
in the formula, thre [ s ]]A desired water pressure value in a certain operation mode is selected for the user,
is the average water pressure value, t
nRepresenting the current time interval as a sampling total time interval; n is the number of collected water pressure values in the current time period, V
tiIs at t
iThe water pressure value collected at any moment is obtained by collecting through a pressure sensor arranged on a water path; delta
vIs the set threshold.
Based on the purpose, the technical scheme of the control device for the self-adaptive adjustment of the water pump proportional valve is as follows:
comprising a memory and a processor, and a computer program stored on said memory and running on said processor, said processor being coupled to said memory, characterized in that said processor implements said control method when executing said computer program.
The beneficial effects of the above technical scheme are:
the control device can adjust the opening of the proportional valve in real time, is reasonable in adjustment, and solves the problems that in the prior art, the working efficiency is reduced due to the fact that the proportional valve is inconvenient to adjust, and cleaning operation is possibly hurt to passers-by due to the fact that the proportional valve is unreasonable to adjust.
Based on the purpose, the technical scheme of the control system for the self-adaptive adjustment of the water pump proportional valve is as follows:
the system comprises a central control screen and an upper controller, wherein the upper controller is in communication connection with the central control screen and is used for acquiring an operation mode selected by a user; the upper controller is connected with a water pressure sensor in a collecting way, and the water pressure sensor is arranged on a water path of water outlet of the water pump and used for collecting a water pressure value on the water path in real time and sending the water pressure value to the upper controller;
the upper controller is also connected with a water pump proportional valve in a control mode and used for outputting a control instruction to the proportional valve according to the control method after acquiring a water pressure value on a water path and an action mode selected by a user so as to realize the stepped adjustment of the proportional valve.
The beneficial effects of the above technical scheme are:
the control system can adjust the opening of the proportional valve in real time, is reasonable in adjustment, and solves the problems that in the prior art, the working efficiency is reduced due to the fact that the proportional valve is inconvenient to adjust, and cleaning operation is possibly hurt to passersby due to the fact that the proportional valve is unreasonable to adjust.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings.
Method example 1:
the embodiment provides a control method for adaptive adjustment of a water pump proportional valve, and the overall flow is shown in fig. 1, and the method comprises the following steps:
(1) and controlling the proportional valve of the water pump to be opened according to the cleaning operation mode selected by the user, so that the proportional valve responds to the opening degree at the set initial water pressure value.
In this step, the initial water pressure value is greater than zero and less than the expected water pressure value in the current operation mode, so that the water outlet on the water path discharges water at a water pressure smaller than the expected water pressure value, and the proportional valve is prevented from reaching the opening corresponding to the expected water pressure value at the beginning, so that the water pressure is suddenly too large, and impurities (such as stones and the like) on the road surface are suddenly washed away by water and then reach pedestrians on the road.
In this step, the set initial water pressure value corresponds to a certain opening degree of the proportional valve, and the opening degree represents that the initial water pressure value is reached.
In this step, the cleaning operation mode includes: the cleaning mode, the standard mode, the forced sweeping mode, the handheld spray gun mode and the like, wherein the expected water pressure value set in each mode is different, for example, the expected water pressure value in the cleaning mode is 7.5V (the expected water pressure value is represented in a voltage form), and the expected water pressure value in the standard mode is 9.6V.
(2) The method comprises the steps of collecting a water pressure value on a water channel where a proportional valve is located in real time, calculating an average water pressure value in the current time period, comparing the magnitude relation between an expected water pressure value and the average water pressure value, if the expected water pressure value is compared with the average water pressure value, the expected water pressure value is not only larger than the average water pressure value in the current time period, but also the degree (namely the difference) of the expected water pressure value larger than the average water pressure value is larger than a set threshold value, on the basis of an initial water pressure value, gradually increasing a water pressure increment of a step length in a step mode, and controlling the proportional valve to adjust the opening degree.
In this step, the step-by-step increase of the water pressure increment by one step length in a stepwise manner means: and after the water pressure increment of one step length is added, recalculating the average water pressure value of the current time period, comparing the expected water pressure value with the average water pressure value according to the steps, if the difference value of the comparison between the expected water pressure value and the average water pressure value is still larger than the set threshold value, adding the water pressure increment of one step length on the basis of the current controlled water pressure value until the difference value of the comparison between the expected water pressure value and the average water pressure value is not larger than the set threshold value when the expected water pressure value and the average water pressure value are compared for a certain time.
Specifically, in this step, the formula for comparing the expected water pressure value with the average water pressure value is as follows:
in the formula, thre [ s ]]A desired water pressure value in a certain operation mode is selected for the user,
is the average water pressure value, t
nRepresenting the current time interval as a sampling total time interval; n is the number of collected water pressure values in the current time period, V
tiIs at t
iThe water pressure value collected at any moment is obtained by collecting through a pressure sensor arranged on a water path; delta
vThe receipt threshold value is a set desired value, i.e., the set threshold value mentioned above.
In the step, the design value of the expected value response threshold value needs to be smaller, so that the final water pressure value can be very close to the expected water pressure value after the water pressure of the water outlet of the water pump is gradually adjusted in the subsequent adjusting process of the proportional valve.
In this step, the average water pressure value in the current time period is used for comparing with the expected water pressure value, and the water pressure value at the current time or at a certain time is not used for comparing with the expected water pressure value, because the sampled data at a certain time may be abnormal due to some reasons, if the abnormal water pressure value is compared with the expected water pressure value, the subsequent proportional valve adjustment is seriously influenced, the serious over-regulation or under-regulation occurs, and the washing and sweeping effect is influenced.
Of course, if the occurrence of such a small probability event of abnormal sampling data is not considered, as another embodiment, the water pressure value at the current time may be compared with the expected water pressure value, so as to increase the calculation efficiency and reduce the calculation load of the processor.
Method example 2:
the control method for adaptive adjustment of the proportional valve in the present embodiment is different from the control method in embodiment 1 in that, in step (2), the proportional valve adjustment mode adopted in embodiment 1 is a stepwise increase mode, and the corresponding use scenario is proportional valve adjustment of initial power-on; the proportional valve adjustment mode adopted by the embodiment is a stepped increase mode and a stepped decrease mode, the corresponding use scene can be proportional valve adjustment for initial power-on, and can also be proportional valve adjustment for switching the cleaning mode, and the control process of the proportional valve is shown in fig. 2.
Specifically, when the average water pressure value and the expected water pressure value are compared each time, whether the difference between the expected water pressure value and the average water pressure value is larger than a set threshold value or not is compared, if so, a step increment is added on the basis of the currently controlled water pressure value to adjust the proportional valve; if the water pressure value is smaller than the preset control water pressure value, the step increment is reduced on the basis of the current control water pressure value to adjust the proportional valve.
After the opening degree of the proportional valve is adjusted at this time, the average water pressure value and the expected water pressure value are compared again until the difference between the average water pressure value and the expected water pressure value is neither greater than the threshold value nor smaller than the threshold value, which indicates that the average water pressure value in the current time period reaches the vicinity of the expected water pressure value and the difference does not exceed the set threshold value.
Method example 3:
the method for controlling adaptive adjustment of a proportional valve in this embodiment is different from method embodiment 1 in that, before comparing the average/instantaneous water pressure value with the expected water pressure value for the first time, the method further includes a step of determining whether the average water pressure value or the collected water pressure value at a certain time (i.e., the instantaneous water pressure value) is valid, wherein the specific step of determining whether the average water pressure value is valid is as follows:
and setting a minimum water pressure threshold, judging the size between the average water pressure value and the minimum water pressure threshold, if the set condition is met, judging that the average water pressure value is invalid, and controlling the proportional valve to close.
In this step, the above judgment formula for the set conditions is as follows:
in the formula, deltavlIs the set minimum water pressure threshold.
Of course, the judgment formula is not limited to a specific form, and as another embodiment, the judgment formula of the above setting condition may be:
in the formula, deltavl' is the set minimum water pressure threshold.
In this embodiment, the step of determining whether the water pressure value at a certain time is valid is as follows:
similarly, a lowest water pressure threshold value is set, the size between the water pressure value at a certain moment and the lowest water pressure threshold value is judged, and if the water pressure value at a certain moment is smaller than the lowest water pressure threshold value, the water pressure value at a certain moment is judged to be invalid; and then, judging whether the water pressure value at the next moment is invalid again according to the method, and if the water pressure values at several continuous moments are judged to be invalid, controlling the proportional valve to close.
System example 1:
the embodiment provides a control system for adaptive adjustment of a water pump proportional valve, which comprises a central control screen and an upper controller, wherein the upper controller is in communication connection with the central control screen and is used for acquiring an operation mode selected by a user; the water pressure sensor is arranged on a water path of water outlet of the water pump and used for acquiring a water pressure value on the water path in real time and sending the water pressure value to the upper controller.
The upper controller is also connected with a water pump proportional valve in a control mode, and is used for comparing the average/instantaneous water pressure value with the expected water pressure value according to the method in the method embodiment 1 or the method embodiment 2 after acquiring the water pressure value on the water path and the action mode selected by the user, so that a control instruction is output to the proportional valve, and the stepped adjustment of the proportional valve is realized.
The components of the system are described as follows:
the central control display screen: selecting an operation mode, setting a default response value of a water pump proportional valve mode, and monitoring an output value of a proportional valve and a water pressure value of a water channel; the display interface is shown in fig. 4, wherein numerals 1-14 indicate 14 set desired water pressure values (in voltage values) corresponding to 14 different action modes;
installing a controller: collecting a water pressure value of a waterway and controlling a proportional valve of a water pump;
a water pump proportional valve: turning on and off a waterway and adjusting the flow of the waterway;
a water pressure sensor: and detecting the water pressure value of the water channel.
The working principle of the system is as follows:
an operator can set a mode default water pump proportional valve response value through the central control display screen and switch the operation mode. Firstly, after the mode is switched, the proportional valve reaches a default quick response value; secondly, acquiring the average water pressure of the flow section through a sensing device; then setting a mode expected value and an expected value return receipt threshold value, and calculating through an adaptive adjustment model and an adaptive adjustment algorithm to obtain a proportional valve adjustment value; and finally, sending the result to an upper controller to realize proportional valve control.
System example 2:
the control system of this embodiment is different from the system embodiment 1 in that before comparing the average/instantaneous water pressure value with the expected water pressure value for the first time, the method further includes determining whether the water pressure sensor fails, specifically, the determining step is to determine whether the average water pressure value or the collected water pressure value at a certain time (i.e., the instantaneous water pressure value) is valid, and if the average water pressure value or the collected water pressure value is invalid, it is determined that the water pressure sensor fails, the proportional valve is closed, and an alarm prompt of the water pressure sensor failure is sent to the central control screen, so as to prompt the maintenance of the water pressure sensor to be performed in time.
In this embodiment, please refer to the description in method embodiment 3 for the process of determining whether the average water pressure value or the collected water pressure value at a certain time is valid, which is not described in this embodiment again.
The embodiment of the device is as follows:
the embodiment provides a control device for adaptive adjustment of a water pump proportional valve, which comprises a memory, a processor and a computer program, wherein the computer program is stored in the memory and runs on the processor, the processor is coupled with the memory, and the processor is used for running program instructions stored in the memory to realize the control methods in method embodiments 1, 2 and 3.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.