Summary of the invention
Main purpose of the present invention is the control method and the device that provide a kind of gondola water faucet driving mechanism, is intended to solve the comparatively loaded down with trivial details technical problem of existing gondola water faucet position adjustments.
For achieving the above object, the invention provides a kind of control method of gondola water faucet driving mechanism, described driving mechanism comprises the first drive unit and is fixedly installed in the second drive unit on the first drive unit, described first drive unit drives the first rotation with in surface of described second drive unit, described second drive unit drives the gondola water faucet be fixedly installed on described second drive unit at the second rotation with in surface with described first Plane intersects, and the control method of described gondola water faucet driving mechanism comprises the steps:
Control described first drive unit and described second drive unit is moved to primary importance;
Control described second drive unit and described article are moved to the second place;
Obtain the first driving parameter that described second drive unit is moved to described primary importance by described first drive unit;
Obtain the second driving parameter that described article are moved to the described second place by described second drive unit;
Drive parameter and described second to drive parameter to be formed by described first and drive file, and store; Described driving file is used for when calling and run described driving file, and described second drive unit is moved to described primary importance by described first drive unit, and described gondola water faucet is moved to the described second place by described second drive unit simultaneously.
Preferably, described second drive unit is moved to first of described primary importance and drives the concrete steps of parameter to comprise by described first drive unit of described acquisition:
Obtain the rotation step number of the stepper motor of described first drive unit.
Preferably, described article are moved to second of the described second place and drive the concrete steps of parameter to comprise by described second drive unit of described acquisition:
Obtain the rotation step number of the stepper motor of described second drive unit.
Preferably, before described second drive unit is moved to the step of primary importance by described first drive unit of described control, also comprise:
Initialize described first drive unit and described second drive unit.
In addition, to achieve these goals, the present invention also provides a kind of control device of gondola water faucet driving mechanism, described driving mechanism comprises the first drive unit and is fixedly installed in the second drive unit on the first drive unit, described first drive unit drives the first rotation with in surface of described second drive unit, described second drive unit drives the gondola water faucet be fixedly installed on described second drive unit at the second rotation with in surface with described first Plane intersects, and the control device of described gondola water faucet driving mechanism comprises:
First control module, moves to primary importance for controlling described first drive unit by described second drive unit;
Described article are moved to the second place for controlling described second drive unit by the second control module;
First acquisition module, to move to first of described primary importance drive parameter for obtaining described first drive unit by described second drive unit;
Described article to be moved to second of the described second place drive parameter for obtaining described second drive unit by the second acquisition module;
Processing module, drives file for driving parameter and described second to drive parameter to be formed by described first, and stores; Described driving file is used for when calling and run described driving file, and described second drive unit is moved to described primary importance by described first drive unit, and described gondola water faucet is moved to the described second place by described second drive unit simultaneously.
Preferably, described first acquisition module is specifically for obtaining the rotation step number of the stepper motor of described first drive unit.
Preferably, described second acquisition module is specifically for obtaining the rotation step number of the stepper motor of described second drive unit.
Preferably, the control device of described gondola water faucet driving mechanism also comprises initialization module, for initializing described first drive unit and described second drive unit.
The control method of gondola water faucet driving mechanism of the present invention and device, by recording the rotation step number of stepper motor, to realize the record to gondola water faucet activation point, and arrange quick regulating key, to realize the quick adjustment to gondola water faucet position, simple to operation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In order to meet the difference of different people to gondola water faucet locational requirement, the invention provides a kind of gondola water faucet driving mechanism and control the control box of described drives structure, described drive unit comprises the first drive unit and is fixedly installed in the second drive unit on the first drive unit, described first drive unit and described second drive unit include stepper motor, described first drive unit drives the first rotation with in surface of described second drive unit, described second drive unit drives the gondola water faucet be fixedly installed on described second drive unit at the second rotation with in surface with described first Plane intersects, wherein, preferably, described first plane (horizontal plane) is vertical with described second plane (vertical plane).Described control box (as described in Figure 1) is provided with the first knob 150 for controlling described first drive unit, for controlling the second knob 250 of described second drive unit and several quick regulating key 350.
Based on above-mentioned driving mechanism and control box, the invention provides a kind of control method of gondola water faucet driving mechanism, with reference to Fig. 2, in one embodiment, the control method of described gondola water faucet driving mechanism comprises the steps:
Step S10, control described first drive unit described second drive unit is moved to primary importance.
Particularly, in the present embodiment, user controls described first drive unit by adjustment first knob 150 and described second drive unit is moved to primary importance, also namely by adjustment first knob 150 to regulate described second drive unit position in the horizontal direction, and then regulate described gondola water faucet position in the horizontal direction.
Step S20, control described second drive unit described article are moved to the second place.
Particularly, in the present embodiment, user controls described first drive unit by adjustment first knob 150 and described second drive unit is moved to primary importance, also namely by adjustment first knob 150 to regulate the position of described gondola water faucet in the vertical direction, and then regulate the height of described gondola water faucet.
Step S30, obtain described first drive unit described second drive unit is moved to described primary importance first drive parameter.
In the present embodiment, described second drive unit is moved to first of described primary importance and drives the concrete steps of parameter to comprise by described first drive unit of described acquisition: the rotation step number obtaining the stepper motor of described first drive unit.
Particularly, in the present embodiment, by obtaining the rotation step number of the stepper motor of described first drive unit to record the information of described primary importance.
Step S40, obtain described second drive unit described article are moved to the described second place second drive parameter.
In the present embodiment, described article are moved to second of the described second place and drive the concrete steps of parameter to comprise by described second drive unit of described acquisition: the rotation step number obtaining the stepper motor of described second drive unit.
Particularly, in the present embodiment, by obtaining the rotation step number of the stepper motor of described second drive unit to record the information of the described second place.
Step S50, parameter and described second is driven to drive parameter to be formed to drive file by described first, and store, described driving file is used for when calling and run described driving file, described second drive unit is moved to described primary importance by described first drive unit, and described gondola water faucet is moved to the described second place by described second drive unit simultaneously.
Particularly, after formation drives file, the setting of the quick driving of the corresponding second place is namely completed, when described gondola water faucet is not in the second place, trigger the shortcut key of the corresponding described second place, can by described gondola water faucet quick adjustment to the described second place, simple to operation.
Now in conjunction with practical operation, the application is described in detail: intelligent electric regulate gondola water faucet drive unit to dispatch from the factory or system reset time, parameter all can make zero by stepper motor, and namely gondola water faucet upper-lower position is in topmost, and left rotation and right rotation position is centre position.After user's power-on, working station indicator is by red light being lit, regulate left and right adjusting knob (i.e. above-mentioned first knob 150), to regulate described gondola water faucet position in the horizontal direction, after adjustment puts in place, then regulated the position of described gondola water faucet in the vertical direction by up-down adjustment knob (i.e. above-mentioned second knob 250).When adjustment terminates, user pins corresponding quick regulating key 3505 seconds, the fast blink of indicator lamp amber light is set, after 2 seconds, 12 arrange indicator lamp green light often bright 3 seconds, represent that customer parameter (namely above-mentioned first driving parameter and second to drive parameter) has been remembered, also namely the first quick shaping modes is provided with.In this process, 12 arrange indicator lamp, and amber light flicker represents stepper motor and rotates and represent run to assigned address when amber light becomes green light, and after 3 seconds, green light extinguishes.
The control method of gondola water faucet driving mechanism of the present invention, by recording the rotation step number of stepper motor, to realize the record to gondola water faucet activation point, and arranges quick regulating key, to realize the quick adjustment to gondola water faucet position, simple to operation.
Further, reference Fig. 3, Fig. 3 is the flow chart of another embodiment of the control method of gondola water faucet driving mechanism of the present invention.
Based on above-described embodiment, in the present embodiment, before described second drive unit is moved to the step of primary importance by described first drive unit of described control, also comprise:
Step S60, initialize described first drive unit and described second drive unit, so that described first drive unit and described second drive unit are initialized, parameter all can be made zero by stepper motor, namely gondola water faucet upper-lower position is in topmost, left rotation and right rotation position is centre position, and then ensures the accuracy when carrying out quick adjustment and arranging.
The invention provides a kind of control device of gondola water faucet driving mechanism, with reference to Fig. 4, in one embodiment, the control device of described gondola water faucet driving mechanism comprises:
First control module 100, moves to primary importance for controlling described first drive unit by described second drive unit.
Particularly, in the present embodiment, user controls described first drive unit by adjustment first knob 150 and described second drive unit is moved to primary importance, also namely by adjustment first knob 150 to regulate described second drive unit position in the horizontal direction, and then regulate described gondola water faucet position in the horizontal direction.
Described article are moved to the second place for controlling described second drive unit by the second control module 200.
Particularly, in the present embodiment, user controls described first drive unit by adjustment first knob 150 and described second drive unit is moved to primary importance, also namely by adjustment first knob 15 to regulate the position of described gondola water faucet in the vertical direction, and then regulate the height of described gondola water faucet.
First acquisition module 300, to move to first of described primary importance drive parameter for obtaining described first drive unit by described second drive unit.In the present embodiment, described first acquisition module 300 is specifically for obtaining the rotation step number of the stepper motor of described first drive unit.
Particularly, in the present embodiment, by obtaining the rotation step number of the stepper motor of described first drive unit to record the information of described primary importance.
Described article to be moved to second of the described second place drive parameter for obtaining described second drive unit by the second acquisition module 400.In the present embodiment, described second acquisition module 400 is specifically for obtaining the rotation step number of the stepper motor of described second drive unit.
Particularly, in the present embodiment, by obtaining the rotation step number of the stepper motor of described second drive unit to record the information of the described second place.
Processing module 500, drives file for driving parameter and described second to drive parameter to be formed by described first, and stores; Described driving file is used for when calling and run described driving file, and described second drive unit is moved to described primary importance by described first drive unit, and described gondola water faucet is moved to the described second place by described second drive unit simultaneously.
Particularly, after formation drives file, the setting of the quick driving of the corresponding second place is namely completed, when described gondola water faucet is not in the second place, trigger the shortcut key of the corresponding described second place, can by described gondola water faucet quick adjustment to the described second place, simple to operation.
Now in conjunction with practical operation, the application is described in detail: intelligent electric regulate gondola water faucet drive unit to dispatch from the factory or system reset time, parameter all can make zero by stepper motor, and namely gondola water faucet upper-lower position is in topmost, and left rotation and right rotation position is centre position.After user's power-on, working station indicator is by red light being lit, regulate left and right adjusting knob (i.e. above-mentioned first knob 150), to regulate described gondola water faucet position in the horizontal direction, after adjustment puts in place, then regulated the position of described gondola water faucet in the vertical direction by up-down adjustment knob (i.e. above-mentioned second knob 250).When adjustment terminates, user pins corresponding quick regulating key 3505 seconds, the fast blink of indicator lamp amber light is set, after 2 seconds, 12 arrange indicator lamp green light often bright 3 seconds, represent that customer parameter (namely above-mentioned first driving parameter and second to drive parameter) has been remembered, also namely the first quick shaping modes is provided with.In this process, 12 arrange indicator lamp, and amber light flicker represents stepper motor and rotates and represent run to assigned address when amber light becomes green light, and after 3 seconds, green light extinguishes.
The control device of gondola water faucet driving mechanism of the present invention, by recording the rotation step number of stepper motor, to realize the record to gondola water faucet activation point, and arranges quick regulating key, to realize the quick adjustment to gondola water faucet position, simple to operation.
Further, with reference to Fig. 5, the framework schematic diagram of another embodiment of the control device of gondola water faucet driving mechanism of the present invention.
Based on above-described embodiment, in the present embodiment, the control device of described gondola water faucet driving mechanism also comprises initialization module 600, for initializing described first drive unit and described second drive unit, all parameter can be made zero to make stepper motor, namely gondola water faucet upper-lower position is in topmost, and left rotation and right rotation position is centre position, and then ensures the accuracy when carrying out quick adjustment and arranging.
In sum, the control method of gondola water faucet driving mechanism of the present invention and device, by recording the rotation step number of stepper motor, to realize the record to gondola water faucet activation point, and quick regulating key is set, to realize the quick adjustment to gondola water faucet position, simple to operation.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize description of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.