CN110345279A - A kind of control method and equipment of shunt valve - Google Patents

A kind of control method and equipment of shunt valve Download PDF

Info

Publication number
CN110345279A
CN110345279A CN201910538830.2A CN201910538830A CN110345279A CN 110345279 A CN110345279 A CN 110345279A CN 201910538830 A CN201910538830 A CN 201910538830A CN 110345279 A CN110345279 A CN 110345279A
Authority
CN
China
Prior art keywords
water outlet
baffle
shunt valve
rotation
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910538830.2A
Other languages
Chinese (zh)
Other versions
CN110345279B (en
Inventor
梁贰武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Best Electrical Appliance Technology Co Ltd
Original Assignee
Foshan Best Electrical Appliance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Best Electrical Appliance Technology Co Ltd filed Critical Foshan Best Electrical Appliance Technology Co Ltd
Priority to CN201910538830.2A priority Critical patent/CN110345279B/en
Publication of CN110345279A publication Critical patent/CN110345279A/en
Application granted granted Critical
Publication of CN110345279B publication Critical patent/CN110345279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K11/00Multiple-way valves, e.g. mixing valves; Pipe fittings incorporating such valves
    • F16K11/02Multiple-way valves, e.g. mixing valves; Pipe fittings incorporating such valves with all movable sealing faces moving as one unit
    • F16K11/08Multiple-way valves, e.g. mixing valves; Pipe fittings incorporating such valves with all movable sealing faces moving as one unit comprising only taps or cocks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K37/00Special means in or on valves or other cut-off apparatus for indicating or recording operation thereof, or for enabling an alarm to be given
    • F16K37/0075For recording or indicating the functioning of a valve in combination with test equipment
    • F16K37/0083For recording or indicating the functioning of a valve in combination with test equipment by measuring valve parameters

Abstract

The present invention is suitable for device management techniques field, provides the control method and equipment of a kind of shunt valve, comprising: starting shunt valve, to control the baffle in shunt valve with preset rotational speed;The waveform diagram that shunt valve exports during rotation is obtained, and according to the interval duration between two reset pulses adjacent in waveform diagram, determines that baffle rotates one week required reference time length;According to the phase difference and reference time length between water outlet each in shunt valve and reset key, the rotation duration that baffle turns to each water outlet from reset key is obtained;If receiving water outlet selection instruction, based on the rotation duration of the corresponding target water outlet of water outlet selection instruction, baffle rotation is controlled, water route is switched into target water outlet.The present invention can calibrate rotation duration, avoid baffle and misplace in the course of rotation, improve the accuracy of shunt valve control.

Description

A kind of control method and equipment of shunt valve
Technical field
The invention belongs to device management techniques field more particularly to the control methods and equipment of a kind of shunt valve.
Background technique
With intelligent and automation continuous development, intelligent appliance enters huge numbers of families gradually, mentions for user For various services.Most intelligent appliance needs that section is held in different times to different zones during use Row send water to operate, therefore is often provided with shunt valve in the water supply water route of intelligent appliance, by shunt valve different Moment opens different water outlets, carries out that water is sent to operate to corresponding region.
The control technology of existing shunt valve, due to the position between each water outlet be it is fixed, can be by baffle Rotation time relationship between each water outlet is recorded in read-only memory when leaving the factory, however different installation regions The electric voltage frequency loaded on shunt valve is different, has differences so as to cause the revolving speed of baffle, identical rotation time is rotated Arc length it is different, be easy to cause baffle to misplace, so as to cause corresponding water outlet can not be switched to, reduce shunt valve control Accuracy.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of control method of shunt valve and equipment, to solve existing point The control technology of water valve, the rotation time relationship between baffle and each water outlet are recorded in read-only memory when leaving the factory It is interior, it is different when loading on the electric voltage frequency on shunt valve, it be easy to cause baffle to misplace, to reduce the accuracy of shunt valve control The problem of.
The first aspect of the embodiment of the present invention provides a kind of control method of shunt valve, comprising:
Start shunt valve, to control the baffle in the shunt valve with preset rotational speed;The revolving speed with described point The frequency dependence of the alternating voltage of scene where water valve;The shunt valve includes reset key, passes through the reset in the baffle Reset pulse can be generated when key;
The waveform diagram that the shunt valve exports during rotation is obtained, and according to two institutes adjacent in the waveform diagram The interval duration between reset pulse is stated, determines that the baffle rotates one week required reference time length;
According in the shunt valve between each water outlet and the reset key phase difference and the reference time length, obtain The rotation duration of each water outlet is turned to the baffle from the reset key;
If receiving water outlet selection instruction, based on described in the corresponding target water outlet of the water outlet selection instruction Duration is rotated, the baffle rotation is controlled, water route is switched into the target water outlet.
The second aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
Shunt valve start unit is turned for starting shunt valve with controlling the baffle in the shunt valve with preset revolving speed It is dynamic;The frequency dependence of the alternating voltage of scene where the revolving speed and the shunt valve;The shunt valve includes reset key, in institute Baffle is stated by reset pulse can be generated when the reset key;
Reference time length determination unit, the waveform diagram exported during rotation for obtaining the shunt valve, and according to institute The interval duration between two reset pulses adjacent in waveform diagram is stated, determines that the baffle rotates one week required benchmark Duration;
Duration calculation unit is rotated, for according to the phase in the shunt valve between each water outlet and the reset key The poor and described reference time length obtains the rotation duration that the baffle turns to each water outlet from the reset key;
Baffle control unit, if for receiving water outlet selection instruction, it is corresponding based on the water outlet selection instruction Target water outlet the rotation duration, control baffle rotation, water route switched into the target water outlet.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program Realize each step of first aspect.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and each step of first aspect is realized when the computer program is executed by processor.
The control method and equipment for implementing a kind of shunt valve provided in an embodiment of the present invention have the advantages that
The embodiment of the present invention by controlling the baffle of shunt valve and being rotated with preset revolving speed after starting shunt valve, The frequency dependence of the revolving speed and the alternating voltage for loading on shunt valve, and record wave caused by the shunt valve during rotation Shape figure since baffle can repeatedly pass through reset key in the course of rotation, thus will appear at least two in the waveform diagram of output A reset pulse can then determine benchmark required for baffle rotation one week based on the interval duration between two reset pulses Duration, and the rotation duration of each water outlet is calculated according to reference time length, and pass through the frequency of the alternating voltage with current environment The rotation duration control baffle that rate matches is mobile, so as to improve the precise control of shunt valve.With existing shunt valve Control technology compare, the rotation duration of each water outlet is not fixed storage in readable memory, but based on working as front ring The electric voltage frequency in border changes, and so as to calibrate to rotation duration, avoids baffle and occurs in the course of rotation Dislocation improves the accuracy of shunt valve control.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart of the control method for shunt valve that first embodiment of the invention provides;
Fig. 2 is a kind of schematic diagram of shunt valve provided by the invention;
Fig. 3 is a kind of control method S104 specific implementation flow chart for shunt valve that second embodiment of the invention provides;
Fig. 4 is a kind of control method S104 specific implementation flow chart for shunt valve that third embodiment of the invention provides;
Fig. 5 is a kind of control method S102 specific implementation flow chart for shunt valve that fourth embodiment of the invention provides;
Fig. 6 is a kind of control method S101 specific implementation flow chart for shunt valve that fifth embodiment of the invention provides;
Fig. 7 is a kind of structural block diagram for terminal device that one embodiment of the invention provides;
Fig. 8 be another embodiment of the present invention provides a kind of terminal device schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention by controlling the baffle of shunt valve and being rotated with preset revolving speed after starting shunt valve, The frequency dependence of the revolving speed and the alternating voltage for loading on shunt valve, and record wave caused by the shunt valve during rotation Shape figure since baffle can repeatedly pass through reset key in the course of rotation, thus will appear at least two in the waveform diagram of output A reset pulse can then determine benchmark required for baffle rotation one week based on the interval duration between two reset pulses Duration, and the rotation duration of each water outlet is calculated according to reference time length, and pass through the frequency of the alternating voltage with current environment The rotation duration control baffle that rate matches is mobile, so as to improve the precise control of shunt valve, solves existing point The control technology of water valve, the rotation time relationship between baffle and each water outlet are recorded in read-only memory when leaving the factory It is interior, it is different when loading on the electric voltage frequency on shunt valve, it be easy to cause baffle to misplace, to reduce the accuracy of shunt valve control The problem of.
In embodiments of the present invention, the executing subject of process is terminal device.The terminal device can be an intelligent appliance, Such as dish-washing machine, washing machine etc. carry out the household electrical appliances of water inlet operation, which is configured with shunt valve, can pass through control Shunt valve switches different water inlets, carries out water inlet operation to different regions to realize, and the intelligent appliance also configures There is data processing module, shunt valve movement is controlled by data processing module, which can be micro- for single-chip microcontroller etc. Processor.Fig. 1 shows the implementation flow chart of the control method of the shunt valve of first embodiment of the invention offer, and details are as follows:
In S101, start shunt valve, to control the baffle in the shunt valve with preset rotational speed;The revolving speed With the frequency dependence of the alternating voltage of scene where the shunt valve;The shunt valve includes reset key, is passed through in the baffle Reset pulse can be generated when the reset key.
In the present embodiment, terminal device can execute the operation of S101 in the enabled instruction for receiving shunt valve.It is excellent Selection of land, when switching to open state from off-mode, terminal device may be converted terminal device from an installation site at this time To another installation site, that is, the frequency for being linked into the alternating voltage of terminal device may have occurred change, need school again at this time The rotation duration of the quasi- shunt valve, therefore, although terminal device does not receive the enabled instruction about shunt valve at this time, Calibration process can be executed.Or terminal device detects and re-powers again after powering off that the frequency of alternating voltage can also at this time There can be variation, can similarly execute the calibration process of rotation duration.
Optionally, terminal device is also provided with calibration cycle, i.e., when calibration cycle reaches, judgement is stored in local Rotation duration it is whether accurate, if terminal device, which detects, reaches the calibration cycle, execute the operation of S101;And next Before calibration cycle reaches, the rotation duration of each water outlet of this identification can be stored in register by terminal device, and Shunt valve is controlled by the rotation duration in the calibration cycle and turns to corresponding water outlet.Preferably, if in calibration week The rotation duration that phase acquires is consistent with the rotation duration that a upper calibration cycle obtains, and can increase the calibration cycle at this time Cycle duration;Conversely, if the rotation duration of calibration cycle acquisition and the rotation duration that a upper calibration cycle obtains are inconsistent, this When can reduce the cycle duration of the calibration cycle, to realize the dynamic regulation to cycle duration, when electric voltage frequency is stablized, Increase calibration cycle, and when electric voltage frequency is unstable, calibration cycle is reduced, while guaranteeing to rotate duration accuracy, The energy consumption of terminal device can be reduced.
In the present embodiment, after actuation, the alternating voltage of current scene can be linked into the operation electricity of shunt valve to shunt valve Lu Zhong, the baffle of shunt valve can be rotated at this time with preset revolving speed, successively pass through each water outlet and reset key.It needs Illustrate, terminal device may not need the specific value for knowing the revolving speed, only need to keep baffle under the control of alternating voltage Uniform rotation.
In the present embodiment, a reset key is provided in shunt valve, when region where turning to reset key in baffle, meeting The reset key is pressed, a reset pulse can be generated at this time.The reset pulse can be single order jump pulse, can also be a rectangle Wave or triangular wave etc. are specifically related to the type of reset key.
In S102, the waveform diagram that the shunt valve exports during rotation is obtained, and according to phase in the waveform diagram Interval duration between two adjacent reset pulses determines that the baffle rotates one week required reference time length.
In the present embodiment, starting duration has can be set in terminal device, and the gear of shunt valve is kept in the starting duration Piece is persistently rotated with above-mentioned revolving speed, and in this process, terminal device can acquire the waveform diagram of shunt valve output, due to turning to A reset pulse can be generated when the position of reset key, therefore the every rotation of baffle can then generate a reset in one week in waveform diagram Pulse, by calculating the interval duration between two adjacent reset pulses, then can determine the baffle rotate one week it is required Reference time length.
Specifically, since baffle has certain length, when by reset key, duration is had, in order to mention The accuracy of high reference time length, terminal device can identify the rising edge of reset pulse or the triggered time of failing edge, and according to Difference between two adjacent rising edges or the triggered time of failing edge obtains said reference duration.Preferably, terminal device It can identify the midpoint of the reset pulse, and according to the difference of the midpoint of adjacent reduction pulse corresponding time, this is calculated Difference may rub during pressing reset key or key mapping gets stuck and the duration of the reset pulse is caused to be deposited In difference, in this case, terminal device takes the midpoint of reset pulse, can reduce the influence of duration, when improving benchmark Long accuracy.
In S103, according to the phase difference and the base in the shunt valve between each water outlet and the reset key It is punctual long, obtain the rotation duration that the baffle turns to each water outlet from the reset key.
In the present embodiment, it is fixed and invariable its position, that is, gone out after shunt valve factory due to each water outlet Phase difference between the mouth of a river and reset key is then a constant.Since terminal device has determined needed for rotation one week, i.e., 360 ° Duration, thus the phase difference between water outlet and reset key is being determined, it can calculate between the phase difference and one week phase Ratio calculate the corresponding rotation duration of the water outlet and according to the ratio and reference time length.Illustratively, if first Phase difference between water outlet and reset key is 90 °, then the ratio between the phase difference and Zhou Xiangwei is 0.25, if reference time length For 10s, then a length of 10s*0.25=2.5s when the corresponding rotation of first water outlet, i.e. baffle from reset key turn to this first A length of 2.5s when the rotation of water outlet.Corresponding relationship between each rotation duration and water outlet can be generated one by terminal device A rotation duration list, it needs to be determined that can be inquired according to the mark of the water outlet should after the rotation duration of a certain water outlet Duration list is rotated, corresponding rotation duration is obtained.
It is shown in Figure 2 Fig. 2 shows a kind of schematic diagram of shunt valve provided by the invention, include in the shunt valve Three water outlets, respectively the first water outlet, the second water outlet and third water outlet, the baffle are connected with water inlet water route, when When the baffle turns to a certain water outlet, then the water inlet water route in the baffle can then connect the water outlet, so as to go out to this The mouth of a river carries out water inlet operation to corresponding region.The baffle can be rotated clockwise or counterclockwise along the inner wall of shunt valve. The shunt valve also includes reset key, is that can then press the reset key, at this time can in region of the baffle Jing Guo reset key Generate a reset pulse.
In the present embodiment, S101~S103 is specially the calibration process to rotation duration, after calibration, intelligent family Electricity can return to standby mode or proceed to respond to currently receive Client-initiated operation requests.It is asked in response Client-initiated operation During asking, the baffle of shunt valve is not persistently rotated in entire response process, but according to the rotation of corresponding water outlet Duration starts corresponding duration.
In S104, if receiving water outlet selection instruction, gone out based on the corresponding target of the water outlet selection instruction The rotation duration at the mouth of a river controls the baffle rotation, water route is switched to the target water outlet.
In the present embodiment, intelligent appliance execute Client-initiated operation requests during, if desired to some or When certain several region executes water inlet operation, a water outlet selection instruction can be generated, to carry out by shunt valve to each subregion Orientation send water.At this point, terminal device can parse the water outlet selection instruction, the corresponding target of the selection instruction is determined Water outlet, and above-mentioned rotation duration list is inquired, determine the rotation duration of target water outlet, and control according to the rotation duration Water route is switched to target water outlet to realize, carries out sending water to target area by target water outlet by baffle rotation.
Above as can be seen that a kind of control method of shunt valve provided in an embodiment of the present invention passes through in starting shunt valve Afterwards, it controls the baffle of shunt valve to be rotated with preset revolving speed, the frequency of the revolving speed and the alternating voltage for loading on shunt valve Correlation, and waveform diagram caused by the shunt valve during rotation is recorded, since baffle can be passed through repeatedly in the course of rotation Reset key is crossed, thus will appear at least two reset pulses in the waveform diagram of output, between two reset pulses Every duration, then reference time length required for baffle rotation one week can be determined, and each water outlet is calculated according to reference time length Rotation duration, and to control baffle mobile for the rotation duration to be matched by the frequency of the alternating voltage with current environment, thus It can be improved the precise control of shunt valve.Compared with the control technology of existing shunt valve, the rotation duration of each water outlet Not fixed storage is changed in the electric voltage frequency in readable memory, but based on current environment, so as to rotation Duration is calibrated, and is avoided baffle and is misplaced in the course of rotation, and the accuracy of shunt valve control is improved.
Fig. 3 shows the specific implementation flow of the control method S104 of shunt valve of second embodiment of the invention offer a kind of Figure.Referring to Fig. 3, relative to embodiment described in Fig. 1, S104 includes: in a kind of control method of shunt valve provided in this embodiment S1041~S1043, specific details are as follows:
Further, if described receive water outlet selection instruction, it is based on the corresponding mesh of the water outlet selection instruction The rotation duration for marking the mouth of a river controls the baffle rotation, comprising:
In S1041, the initial position for receiving baffle described in the water outlet selection instruction moment is obtained.
In the present embodiment, since baffle is during operation responds operational order, original state might not position At reset key, but another water outlet may be switched to from a certain water outlet, the operation duration of the baffle is then not merely at this time Related to the rotation duration of target water outlet, the rotation duration of water outlet also corresponding to initial position is related.Based on this, terminal Equipment needs to obtain the initial position where current baffle, and determines the corresponding initial water outlet of the initial position relative to reset Initial phase difference between key.
In S1042, the first phase difference between the initial position and the target water outlet is calculated, and according to described First phase difference and the reference time length determine the first rotation duration of the baffle.
In the present embodiment, terminal device is after having determined initial phase difference, available reset key and target water outlet Between target phase difference, and according to the difference between target phase difference and first phase difference, the first phase difference that both determines. Illustratively, with continued reference to shunt valve shown in Fig. 2, the phase difference between the first water outlet and reset key is 90 °, and second goes out Phase difference between the mouth of a river and reset key is 180 °, then the phase difference between the first water outlet and the second water outlet is 90 °.
It is emphasized that the first phase difference is related to the rotation direction of baffle.For example, such as baffle is with clockwise Direction rotation, and the initial position of baffle be the first water outlet, target position be the second water outlet, then first phase difference be 90 °, conversely, above-mentioned first phase difference is 270 ° if baffle is rotated with direction counterclockwise.Based on this, terminal device exists When calculating first phase difference, need to obtain the rotation direction of baffle, and be based on the rotation direction, initial phase difference and target phase Potential difference calculates the first phase difference.
In the present embodiment, terminal device can calculate baffle operation according to first phase difference and reference time length First rotation duration, specific calculation is identical as implementation described in S104, and details are not described herein.
In S1043, the baffle rotation the first rotation duration is controlled, water route is switched into the target and is discharged Mouthful.
In the present embodiment, terminal device can control baffle and be rotated with the preset revolving speed, and start timing Device, if detect timer count value and first rotation duration it is identical, stop baffle rotation, and identify current water route with Switch to target water outlet.
It in embodiments of the present invention, can be accurate by obtaining the initial position of baffle and the phase difference of target position Operation duration needed for calculating baffle realizes the purpose for being precisely controlled baffle, improves control efficiency.
Fig. 4 shows the specific implementation flow of the control method S104 of shunt valve of third embodiment of the invention offer a kind of Figure.Referring to fig. 4, relative to Fig. 1 the embodiment described, if a kind of control method blower of shunt valve provided in this embodiment Type is multi-steering blower type, then S104 includes: S1044~S1047, and specific details are as follows:
Further, if described receive water outlet selection instruction, it is based on the corresponding mesh of the water outlet selection instruction The rotation duration for marking the mouth of a river controls the baffle rotation, comprising:
In S1044, according to the rotation direction of the baffle and the location information of each water outlet, determine each Water outlet order of the water outlet relative to the reset key.
In the present embodiment, since the baffle in shunt valve can be rotated with fixed rotation direction, being based on should Rotation direction can successively pass through each water outlet in the course of rotation with preset order, and baffle is cycle movement, It is specifically discharged order in order to mark each water outlet, needs to define an initial position.Based on this, terminal device can be known Other reset key is initial position, and according to the rotation direction of the location information of each water outlet and baffle, determines each water outlet The water outlet order of mouth.Continue by taking shunt valve schematic diagram shown in Fig. 2 as an example, if the baffle is to be rotated in a clockwise direction, Then the water outlet order of the first water outlet is 1, and the water outlet order of the second water outlet is 2, and so on;Conversely, if the baffle is with inverse Clockwise is rotated, then the water outlet order of the first water outlet is 3, and the water outlet order of the second water outlet is 2, and so on.
In S1045, acquisition receives initial water outlet locating for baffle described in the water outlet selection instruction moment.
In the present embodiment, terminal device can obtain when receiving water outlet selection instruction and receive the instruction moment point The water outlet of water valve inner flap being currently located, and identify that the water outlet being currently located is initial water outlet, so as to obtain Know the initial position where the baffle.
In the present embodiment, if detecting, the water outlet order of the initial water outlet of current baffle is less than going out for target water outlet Waterside sequence can then be calculated according to the difference between the rotation duration of initial water outlet and the rotation duration of target water outlet The target duration rotated needed for this is directly counted since baffle is to first pass through initial water outlet using target water outlet The time difference between two water outlets is calculated, and controls baffle and rotates the time corresponding with target duration.Conversely, if initially going out The water outlet order at the mouth of a river is greater than the water outlet order of target water outlet, then executes the operation of S1046.
In S1046, if the corresponding water outlet order of the initial water outlet is corresponding greater than the target water outlet The water outlet order, then when stopping timer, and with baffle described in the rotational speed.
In the present embodiment, have initial water outlet water outlet order be greater than target water outlet water outlet order, i.e., baffle by It during initial water outlet turns to target water outlet, needs by reset key, in order to reduce the Clocked operation of timer, eventually End equipment can be after detecting reset pulse, then restarts timing, so as to reduce the starting duration of timer, thus Save the energy consumption of shunt valve.Based on this, when terminal device can stop timer, it is preferable that and supplement the meter of the timer with money Numerical value, and with preset rotation baffle.
In S1047, if detecting reset pulse, the timer is restarted, when the count value of the timer reaches The corresponding rotation duration of the target water outlet, then stop operating the baffle, and identifies and water route is switched to the target Water outlet.
In the present embodiment, terminal device can pass through reset key during turning to target water outlet, therefore, if inspection Measure reset pulse, timer can be restarted at this time and execute Clocked operation, and when be identified as the count value of the timer with When the corresponding rotation duration of target water outlet is consistent, then it represents that the baffle has moved to the corresponding position of target water outlet, and Water route is switched to target water outlet.
In embodiments of the present invention, by water outlet of the water outlet order that target water outlet has been determined less than initial water outlet When order, when stopping timer, and the reclocking again when detecting reset pulse, the energy consumption of shunt valve can be reduced, by In re-executing Clocked operation when detecting reset pulse, can reduce generated in the rotation process in multiple periods it is accidental Error improves the accuracy of shunt valve control.
Fig. 5 shows the specific implementation flow of the control method S102 of shunt valve of fourth embodiment of the invention offer a kind of Figure.Referring to Fig. 5, relative to any embodiment of 1-4, a kind of control method S102 packet of shunt valve provided in this embodiment Include: S1021~S1023, specific details are as follows:
Further, the waveform diagram for obtaining the shunt valve and exporting during rotation, and according to the waveform diagram Interval duration between interior two adjacent reset pulses determines that the baffle rotates one week required reference time length, packet It includes:
In S1021, Shape correction is filtered to the waveform diagram by filtering algorithm, to obtain filtered waveform Figure.
In the present embodiment, terminal device can be configured with filtering algorithm, such as bandpass filtering algorithm, can be to obtaining The output signal of shunt valve be filtered shaping, so as to reduce influence of the ambient noise for waveform diagram, after improving The accuracy of continuous reference time length identification.
In S1022, when triggering where the multiple reset pulses for including in the filtered waveform diagram Between, determine the interval duration between multiple adjacent reset pulses.
In the present embodiment, terminal device can identify reset pulse in waveform diagram after the filtering, and obtain filtering Triggered time in waveform diagram afterwards where multiple reset pulses calculates adjacent to each other two to be based on multiple triggered times Interval duration between a reset pulse.
In S1023, the reference time length is obtained based on multiple interval durations.
In the present embodiment, terminal device can go out reference time length according to multiple interval duration calculations, such as calculate first The average value of the interval duration, and determine based on the variance between the interval duration floating range of the interval duration, then lead to It crosses floating range and calculates adjusting parameter, reference time length is obtained according to the average value of interval duration and adjusting parameter.
In embodiments of the present invention, by being filtered to waveform diagram, and by between multiple adjacent reduction pulses Interval duration calculation go out reference time length, can be improved the accuracy of reference time length, thus improve shunt valve control precision.
Fig. 6 shows the specific implementation flow of the control method S101 of shunt valve of fifth embodiment of the invention offer a kind of Figure.Referring to Fig. 6, relative to embodiment described in Fig. 1-4, a kind of control method S101 of shunt valve provided in this embodiment includes: S1011~S1012, specific details are as follows:
Further, the starting shunt valve, to control the baffle in the shunt valve with preset rotational speed, packet It includes:
In S1011, the installation site of the shunt valve is obtained, and determines the corresponding alternation electricity of the installation site The frequency of pressure.
In the present embodiment, terminal device can by built-in position sensor, or by server send position The modes such as acquisition instruction are set, determine the current installation site of the shunt valve.The letter of the voltage as corresponding to different installation sites Breath is fixed, thus after the installation site of shunt valve has been determined, then it can inquire the electricity of alternation corresponding to the installation site The frequency of pressure.
In S1012, the revolving speed is calculated by the frequency of the alternating voltage.
In the present embodiment, terminal device can be by built-in revolving speed transfer algorithm, the alternating voltage that will acquire Frequency import in revolving speed transfer algorithm, count the corresponding tachometer value of the counted frequency.
In embodiments of the present invention, the revolving speed that shunt valve is calculated by obtaining installation site can be improved revolving speed acquisition Accuracy and obtain efficiency, it is convenient to realize.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 7 shows a kind of structural block diagram of terminal device of one embodiment of the invention offer, which includes Each unit is used to execute each step in the corresponding embodiment of Fig. 1.Referring specifically in embodiment corresponding to Fig. 1 and Fig. 1 Associated description.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 7, the terminal device includes:
Shunt valve start unit 71, for starting shunt valve, to control the baffle in the shunt valve with preset revolving speed Rotation;The frequency dependence of the alternating voltage of scene where the revolving speed and the shunt valve;The shunt valve includes reset key, The baffle can generate reset pulse when passing through the reset key;
Reference time length determination unit 72, the waveform diagram exported during rotation for obtaining the shunt valve, and according to Interval duration in the waveform diagram between two adjacent reset pulses determines that the baffle rotates one week required base It is punctual long;
Duration calculation unit 73 is rotated, for according to the phase in the shunt valve between each water outlet and the reset key Potential difference and the reference time length obtain the rotation duration that the baffle turns to each water outlet from the reset key;
Baffle control unit 74, if being based on the water outlet selection instruction pair for receiving water outlet selection instruction The rotation duration for the target water outlet answered controls the baffle rotation, water route is switched to the target water outlet.
Optionally, the baffle control unit 74 includes:
Initial position acquiring unit, for obtaining the initial bit for receiving baffle described in the water outlet selection instruction moment It sets;
First rotation duration calculation unit, for calculating the first phase between the initial position and the target water outlet Potential difference, and according to the first phase difference and the reference time length, determine the first rotation duration of the baffle;
First rotation control unit switches to water route for controlling the baffle rotation the first rotation duration The target water outlet.
Optionally, the baffle control unit 74 includes:
It is discharged order determination unit, for believing according to the rotation direction of the baffle and the position of each water outlet Breath, determines water outlet order of each water outlet relative to the reset key;
Initial water outlet acquiring unit, receives locating for baffle described in the water outlet selection instruction moment for obtaining Initial water outlet;
Timer times unit is discharged if being used for the corresponding water outlet order of the initial water outlet greater than the target The corresponding water outlet order of mouth, then when stopping timer, and with baffle described in the rotational speed;
Timer restarts unit, if the timer is restarted for detecting reset pulse, when the meter of the timer Numerical value reaches the corresponding rotation duration of the target water outlet, then stop operating the baffle, and identifies and switch to water route The target water outlet.
Optionally, the reference time length determination unit 72, comprising:
Execution unit is filtered, for being filtered Shape correction to the waveform diagram by filtering algorithm, to be filtered Waveform diagram afterwards;
It is spaced duration acquiring unit, for according to the multiple reset pulse institutes for including in the filtered waveform diagram Triggered time, determine the interval duration between multiple adjacent reset pulses;
Reference time length computing unit, for obtaining the reference time length based on multiple interval durations.
Optionally, the shunt valve start unit 71 includes:
Location information acquiring unit for obtaining the installation site of the shunt valve, and determines that the installation site is corresponding The alternating voltage frequency;
Speed calculation unit, for calculating the revolving speed by the frequency of the alternating voltage.
Therefore, in terminal device provided in an embodiment of the present invention, the rotation duration of each water outlet be not fixed storage in In readable memory, but the electric voltage frequency based on current environment changes, and so as to calibrate to rotation duration, keeps away Exempt from baffle to misplace in the course of rotation, improves the accuracy of shunt valve control.
Fig. 8 be another embodiment of the present invention provides a kind of terminal device schematic diagram.As shown in figure 8, the embodiment Terminal device 8 includes: processor 80, memory 81 and is stored in the memory 81 and can transport on the processor 80 Capable computer program 82, such as the control program of shunt valve.The realization when processor 80 executes the computer program 82 Step in the control method embodiment of above-mentioned each shunt valve, such as S101 shown in FIG. 1 to S104.Alternatively, the processing Device 80 realizes the function of each unit in above-mentioned each Installation practice, such as module shown in Fig. 7 when executing the computer program 82 71 to 74 functions.
Illustratively, the computer program 82 can be divided into one or more units, one or more of Unit is stored in the memory 81, and is executed by the processor 80, to complete the present invention.One or more of lists Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey Implementation procedure of the sequence 82 in the terminal device 8.For example, the computer program 82 can be divided into shunt valve starting list Member, reference time length determination unit, rotation duration calculation unit and baffle control unit, each unit concrete function are as described above.
The terminal device may include, but be not limited only to, processor 80, memory 81.Those skilled in the art can manage Solution, Fig. 8 is only the example of terminal device 8, does not constitute the restriction to terminal device 8, may include more or more than illustrating Few component perhaps combines certain components or different components, such as the terminal device can also be set including input and output Standby, network access equipment, bus etc..
Alleged processor 80 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 81 can be the internal storage unit of the terminal device 8, such as the hard disk or interior of terminal device 8 It deposits.The memory 81 is also possible to the External memory equipment of the terminal device 8, such as be equipped on the terminal device 8 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 81 can also both include the storage inside list of the terminal device 8 Member also includes External memory equipment.The memory 81 is for storing needed for the computer program and the terminal device Other programs and data.The memory 81 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of control method of shunt valve characterized by comprising
Start shunt valve, to control the baffle in the shunt valve with preset rotational speed;The revolving speed and the shunt valve The frequency dependence of the alternating voltage of place scene;The shunt valve includes reset key, when the baffle passes through the reset key Reset pulse can be generated;
The waveform diagram that the shunt valve exports during rotation is obtained, and described multiple according to adjacent in the waveform diagram two Interval duration between digit pulse determines that the baffle rotates one week required reference time length;
According in the shunt valve between each water outlet and the reset key phase difference and the reference time length, obtain institute State the rotation duration that baffle turns to each water outlet from the reset key;
If receiving water outlet selection instruction, the rotation based on the corresponding target water outlet of the water outlet selection instruction Duration controls the baffle rotation, water route is switched to the target water outlet.
2. control method according to claim 1, which is characterized in that if described receive water outlet selection instruction, base In the rotation duration of the corresponding target water outlet of the water outlet selection instruction, the baffle rotation is controlled, comprising:
Obtain the initial position for receiving baffle described in the water outlet selection instruction moment;
Calculate the first phase difference between the initial position and the target water outlet, and according to the first phase difference and The reference time length determines the first rotation duration of the baffle;
The baffle rotation the first rotation duration is controlled, water route is switched into the target water outlet.
3. control method according to claim 1, which is characterized in that if described receive water outlet selection instruction, base In the rotation duration of the corresponding target water outlet of the water outlet selection instruction, the baffle rotation is controlled, comprising:
According to the rotation direction of the baffle and the location information of each water outlet, determine that each water outlet is opposite In the water outlet order of the reset key;
Acquisition receives initial water outlet locating for baffle described in the water outlet selection instruction moment;
If the corresponding water outlet order of the initial water outlet is greater than the corresponding water outlet order of the target water outlet, When stopping timer, and with baffle described in the rotational speed;
If detecting reset pulse, the timer is restarted, when the count value of the timer reaches the target water outlet Corresponding rotation duration, then stop operating the baffle, and identifies and water route is switched to the target water outlet.
4. control method according to claim 1-3, which is characterized in that the acquisition shunt valve is rotating The waveform diagram exported in the process, and according to the interval duration between two reset pulses adjacent in the waveform diagram, really The fixed baffle rotates one week required reference time length, comprising:
Shape correction is filtered to the waveform diagram by filtering algorithm, to obtain filtered waveform diagram;
According to the triggered time where the multiple reset pulses for including in the filtered waveform diagram, determine multiple adjacent The reset pulse between interval duration;
The reference time length is obtained based on multiple interval durations.
5. control method according to claim 1-3, which is characterized in that the starting shunt valve, to control The baffle in shunt valve is stated with preset rotational speed, comprising:
The installation site of the shunt valve is obtained, and determines the frequency of the corresponding alternating voltage of the installation site;
The revolving speed is calculated by the frequency of the alternating voltage.
6. a kind of control equipment of shunt valve characterized by comprising
Shunt valve start unit, for starting shunt valve, to control the baffle in the shunt valve with preset rotational speed;Institute The frequency dependence of the alternating voltage of scene where stating revolving speed and the shunt valve;The shunt valve includes reset key, in the gear Piece can generate reset pulse when passing through the reset key;
Reference time length determination unit, the waveform diagram exported during rotation for obtaining the shunt valve, and according to the wave Interval duration in shape figure between two adjacent reset pulses, when determining that the baffle rotates one week required benchmark It is long;
Rotate duration calculation unit, for according to the phase difference in the shunt valve between each water outlet and the reset key with And the reference time length, obtain the rotation duration that the baffle turns to each water outlet from the reset key;
Baffle control unit, if being based on the corresponding mesh of the water outlet selection instruction for receiving water outlet selection instruction The rotation duration for marking the mouth of a river controls the baffle rotation, water route is switched to the target water outlet.
7. control equipment according to claim 6, which is characterized in that the baffle control unit includes:
Initial position acquiring unit, for obtaining the initial position for receiving baffle described in the water outlet selection instruction moment;
First rotation duration calculation unit, for calculating the first phase between the initial position and the target water outlet Difference, and according to the first phase difference and the reference time length, determine the first rotation duration of the baffle;
First rotation control unit switches to water route described for controlling the baffle rotation the first rotation duration Target water outlet.
8. control equipment according to claim 6, which is characterized in that the baffle control unit includes:
It is discharged order determination unit, for according to the rotation direction of the baffle and the location information of each water outlet, Determine water outlet order of each water outlet relative to the reset key;
Initial water outlet acquiring unit, for obtain receive it is initial locating for baffle described in the water outlet selection instruction moment Water outlet;
Timer times unit, if being used for the corresponding water outlet order of the initial water outlet is greater than the target water outlet pair The water outlet order answered, then when stopping timer, and with baffle described in the rotational speed;
Timer restarts unit, if the timer is restarted for detecting reset pulse, when the count value of the timer Reach the corresponding rotation duration of the target water outlet, then stop operating the baffle, and identify water route has been switched to it is described Target water outlet.
9. a kind of terminal device, which is characterized in that the terminal device includes memory, processor and is stored in the storage In device and the computer program that can run on the processor, when the processor executes the computer program such as right is wanted The step of seeking any one of 1 to 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201910538830.2A 2019-06-20 2019-06-20 Control method and equipment for water diversion valve Active CN110345279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910538830.2A CN110345279B (en) 2019-06-20 2019-06-20 Control method and equipment for water diversion valve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910538830.2A CN110345279B (en) 2019-06-20 2019-06-20 Control method and equipment for water diversion valve

Publications (2)

Publication Number Publication Date
CN110345279A true CN110345279A (en) 2019-10-18
CN110345279B CN110345279B (en) 2021-04-13

Family

ID=68182569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910538830.2A Active CN110345279B (en) 2019-06-20 2019-06-20 Control method and equipment for water diversion valve

Country Status (1)

Country Link
CN (1) CN110345279B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112890713A (en) * 2021-01-18 2021-06-04 佛山市百斯特电器科技有限公司 Control method of washing pump and washing equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5548850Y2 (en) * 1975-06-18 1980-11-14
US4313455A (en) * 1979-11-14 1982-02-02 Lester R. Mathews Fluid routing device
CN2226684Y (en) * 1995-03-07 1996-05-08 张凤玺 Pulse water diversion valve
CN2329295Y (en) * 1998-08-19 1999-07-21 北京金陶洁具有限公司 Electrothermic showering wall
CN201862490U (en) * 2010-07-27 2011-06-15 深圳成霖洁具股份有限公司 Automatic mainfold
CN202821260U (en) * 2012-08-28 2013-03-27 美的集团股份有限公司 Water-distributing valve and dishing-washing machine with water-distributing valve
CN205173563U (en) * 2015-12-01 2016-04-20 广州腾龙电子塑胶科技有限公司 Pulsation water knockout drum
CN205207777U (en) * 2015-12-15 2016-05-04 福建西河卫浴科技有限公司 Shunt valve is switched in guide's piston water route

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5548850Y2 (en) * 1975-06-18 1980-11-14
US4313455A (en) * 1979-11-14 1982-02-02 Lester R. Mathews Fluid routing device
CN2226684Y (en) * 1995-03-07 1996-05-08 张凤玺 Pulse water diversion valve
CN2329295Y (en) * 1998-08-19 1999-07-21 北京金陶洁具有限公司 Electrothermic showering wall
CN201862490U (en) * 2010-07-27 2011-06-15 深圳成霖洁具股份有限公司 Automatic mainfold
CN202821260U (en) * 2012-08-28 2013-03-27 美的集团股份有限公司 Water-distributing valve and dishing-washing machine with water-distributing valve
CN205173563U (en) * 2015-12-01 2016-04-20 广州腾龙电子塑胶科技有限公司 Pulsation water knockout drum
CN205207777U (en) * 2015-12-15 2016-05-04 福建西河卫浴科技有限公司 Shunt valve is switched in guide's piston water route

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112890713A (en) * 2021-01-18 2021-06-04 佛山市百斯特电器科技有限公司 Control method of washing pump and washing equipment
CN112890713B (en) * 2021-01-18 2023-03-03 佛山市百斯特电器科技有限公司 Control method of washing pump and washing equipment

Also Published As

Publication number Publication date
CN110345279B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
JP5873444B2 (en) Leakage detection of wireless cable operated by sensor
CN102315814B (en) Motor vector control method based on Hall position sensor
CN106470004B (en) System and method for using position sensor to carry out motor control
CN104580906B (en) A kind of method and device for correcting the rotating camera anglec of rotation
CN110345279A (en) A kind of control method and equipment of shunt valve
CN109944020B (en) Method for detecting water consumption of washing machine, washing machine and computer readable storage medium
CN103500316A (en) System and method for processing device with differentiated execution modes
CN110101348A (en) A kind of control method and dish-washing machine of dish-washing machine
CN110274394A (en) A kind of residue can bathing duration forecasting procedure, system, storage medium and processor
CN109782207A (en) Zero passage detection calibration method, device, electronic equipment and storage medium
TWI654843B (en) Digital period divider
CN110255724A (en) A kind of method and apparatus of regulating water quality
CN204696972U (en) A kind of microcontroller for Electric Machine Control
CN110231504A (en) Detect the method and stealing detection device of electricity stealing
US20060155491A1 (en) Frequency determination
CN104898521A (en) Microcontroller for controlling motor
CN106662463B (en) The detection method and its device of sensor noise floor
CN102457268B (en) Implementation method for 32-bit capture register
CN108427345A (en) Load equipment control method, device and system based on square-wave pulse signal
WO2019223108A1 (en) Method and apparatus for measuring movement distance, and storage medium
CN109085501A (en) A kind of detection method of brush direct current motor torque corner and revolving speed
CN109407526A (en) Equipment detection method and device, household appliance
CN111148286B (en) Equipment control method, device and storage medium
CN112941808A (en) Control method of water diversion valve and washing equipment
CN114413986A (en) Gas meter metering method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A control method and equipment of water diversion valve

Effective date of registration: 20210727

Granted publication date: 20210413

Pledgee: Guangdong Nanhai Rural Commercial Bank branch branch of Limited by Share Ltd.

Pledgor: FOSHAN BEST ELECTRICAL APPLIANCE TECHNOLOGY Co.,Ltd.

Registration number: Y2021980006859

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220815

Granted publication date: 20210413

Pledgee: Guangdong Nanhai Rural Commercial Bank branch branch of Limited by Share Ltd.

Pledgor: FOSHAN BEST ELECTRICAL APPLIANCE TECHNOLOGY Co.,Ltd.

Registration number: Y2021980006859

PC01 Cancellation of the registration of the contract for pledge of patent right