Summary of the invention
The technical problem to be solved in the present invention provides a kind of curtain opening size conditioning system, and this system can realize the adjusting of accurate long-range curtain opening by network.
For solving the problems of the technologies described above, the invention provides a kind of curtain opening size conditioning system, comprising: switching device and curtain control device, described switching device is connected by network with the curtain control device, wherein:
Described switching device is used for determining the expection regulated quantity of curtain opening adjusting, and offers described curtain control device;
Described curtain control device is used for according to the expection regulated quantity of knowing the open degree of control curtain being regulated.
Further, described switching device is used for receiving outer triggering signal or sending the adjusting enabling signal or regulate stop signal according to presetting strategy;
Described curtain control device is used for when receiving described adjusting enabling signal the open degree that begins to regulate its curtain of controlling; When receiving described adjusting stop signal, the open degree that stops to regulate its curtain of controlling.
Further, described switching device determines that the expection regulated quantity is achieved in that
In the regulated quantity scope of switching device, set in advance the switch regulated quantity and become first linear relationship with the adjusting time;
Detect and write down switching device and regulate enabling signal to the practical adjustments time of regulating between the stop signal;
Determine the practical adjustments variable according to the described practical adjustments time and first linear relationship;
With the storage the initial adjustment amount and practical adjustments variable sum as the expection regulated quantity.
Again further, in described switching device, with the initial adjustment amount of described expection regulated quantity updated stored.
Again further, described curtain control device is regulated the open degree of control curtain according to the expection regulated quantity of knowing and is achieved in that
In curtain opening regulated quantity scope, the regulated quantity that sets in advance curtain opening becomes second linear relationship with the adjusting time;
The practical adjustments variable of determining curtain opening according to the practical adjustments time and second linear relationship of curtain opening; And with the curtain opening initial adjustment amount of storage and practical adjustments variable sum as the current regulated quantity of curtain opening;
When the current regulated quantity of curtain opening and expection regulated quantity are inequality, determine calibration adjustments time and direction according between the two the regulated quantity difference and second linear relationship, and the open degree of control curtain is regulated according to determined calibration adjustments direction and calibration adjustments time.
Again further, determine that with the expection regulated quantity difference and second linear relationship calibration adjustments time and control method are specially according to the current regulated quantity of curtain opening:
When the difference of current regulated quantity and expection regulated quantity be on the occasion of the time, to the open degree of control curtain according to regulating the calibration adjustments time in the opposite direction with current open degree adjusting side;
When the difference of current regulated quantity and expection regulated quantity is negative value, the open degree of control curtain is regulated the calibration adjustments time according to regulating the identical direction of direction with current open degree.
Again further, in described curtain control device, with the curtain opening initial adjustment amount of the current regulated quantity updated stored of curtain opening.
Again further, it is identical with the adjusting time that the full regulated quantity of described switch changes that described curtain opening carries out the adjusting time that full regulated quantity changes.
Further, described switching device when also being used to be adjusted to the maximal regulated amount, sending and regulates stop signal; Described curtain control device after also being used to receive stop signal, makes the curtain opening of controlling stop to regulate.
Further, described curtain control device also is used for when being adjusted to the maximal regulated amount, makes the curtain opening of controlling stop to regulate.
Compared with prior art, system proposed by the invention has following remarkable advantage:
(1) curtain opening size conditioning system simplicity of design, realization are reliably;
(2) in this system, switching device and curtain control device carry out the judgement of regulated quantity simultaneously, with the expection regulated quantity of the accurate corresponding curtain opening of switch regulated quantity that switching device was provided, have realized the long-range accurate control to curtain opening thus.
The specific embodiment
Below in conjunction with the drawings and specific embodiments the present invention is done further introduction, but not as a limitation of the invention.
As shown in Figure 1, a kind of regulating system of curtain opening comprises: the switching device and the curtain control device that connect by network.Wherein:
Described switching device is the apparatus for initiating that curtain opening is regulated, and is used to receive external command or when presetting strategy, sends to the curtain control device and regulates enabling signal or regulate stop signal; And the expection regulated quantity that definite curtain opening is regulated, and offer described curtain control device;
Further, described switching device determines that the expection regulated quantity is achieved in that
In the regulated quantity scope of switching device, set in advance the switch regulated quantity and become first linear relationship with the adjusting time;
Detect and write down switching device and regulate enabling signal to the practical adjustments time of regulating between the stop signal;
Determine the practical adjustments variable according to the described practical adjustments time and first linear relationship;
With the storage the initial adjustment amount and practical adjustments variable sum as the expection regulated quantity.
Again further, in described switching device, with the initial adjustment amount of described expection regulated quantity updated stored.
Described curtain control device is used for according to the expection regulated quantity of knowing the open degree of control curtain being regulated, and specific implementation is:
In curtain opening regulated quantity scope, the regulated quantity that sets in advance curtain opening becomes second linear relationship with the adjusting time;
The practical adjustments variable of determining curtain opening according to the practical adjustments time and second linear relationship of curtain opening; And with the curtain opening initial adjustment amount of storage and practical adjustments variable sum as the current regulated quantity of curtain opening;
When the current regulated quantity of curtain opening and expection regulated quantity are inequality, determine calibration adjustments time and direction according between the two the regulated quantity difference and second linear relationship, and the open degree of control curtain is regulated according to determined calibration adjustments direction and calibration adjustments time.
Further, determine that with the expection regulated quantity difference and second linear relationship calibration adjustments time and control method are specially according to the current regulated quantity of curtain opening:
When the difference of current regulated quantity and expection regulated quantity be on the occasion of the time, to the open degree of control curtain according to regulating the calibration adjustments time in the opposite direction with current open degree adjusting side;
When the difference of current regulated quantity and expection regulated quantity is negative value, the open degree of control curtain is regulated the calibration adjustments time according to regulating the identical direction of direction with current open degree.
Further, in described curtain control device, with the curtain opening initial adjustment amount of the current regulated quantity updated stored of curtain opening.
In addition, preferably, it is identical with the adjusting time that the full regulated quantity of described switch changes that described curtain opening carries out the adjusting time of full regulated quantity variation, when guaranteeing that with this switch is opened fully from being closed to fully, corresponding curtain opening is 0 (promptly from curtain opening just in time also, close fully) to become curtain opening be 100% (that is, opening fully).For example, can set and continue to press switch 10s and make switching device be adjusted to the maximum range value evenly (promptly from initial " zero " device, linear ratio corresponding relation of the adjusting duration of switch regulated quantity and switching device), correspondingly, curtain opening is that to be adjusted to open degree be 100% full open position for 0 complete closure state from open degree also.
Below narrate the system that how to utilize the embodiment of the invention to be provided with concrete embodiment and carry out the adjusting of curtain opening.
Example one: when the user needs to regulate curtain opening according to actual needs, making it from open degree is 0 complete closure state when to be adjusted to open degree gradually be 100% full open position, as shown in Figure 2, carries out following step:
Step 101, switching device produce one and regulate enabling signal, and this adjusting enabling signal comprises the adjusting type, regulate type in the following embodiments for increasing curtain opening; Above-mentioned adjusting enabling signal can be to wait as the button of switching device or knob by contact to produce, and for example: when pressing the button that increases open degree, produces one by the signal that turn-offs connection, this signal is the adjusting enabling signal;
Step 102, the adjusting enabling signal that switching device will produce sends to corresponding curtain control device by network, and is 0 to pick up counting with initial value in switching device simultaneously;
Step 103, curtain control device are obtained adjusting type wherein after receiving and regulating enabling signal, and make its institute's curtain of controlling carry out the open degree adjusting with predetermined speed; In this step, described set rate promptly is the rate of change of curtain opening, and this rate of change can be determined according to first linear relationship;
Step 104, when finding the current open degree of curtain, the user has been fit to its requirement, when not needing to proceed to regulate, switching device produces regulates stop signal, comprise the regulated quantity information that current switching device has been finished in this adjusting stop signal, this regulated quantity is to determine according to the practical adjustments time and first linear relationship, and the expection regulated quantity of user to curtain opening also promptly has been described; Corresponding with step 101, the generation of this adjusting stop signal can be a trip switch, makes switch be in off-state, when switch becomes off-state by on-state in the switching device;
Step 105, after the curtain control device receives and regulates stop signal, stop adjusting to the control curtain opening, and practical adjustments variable according to its local adjusting time, second linear relationship calculating self open degree, this practical adjustments variable also is the current regulated quantity of curtain opening, judge whether this current regulated quantity is identical with the expection regulated quantity, if finish the adjustment process of this curtain opening; If not, execution in step 106;
Step 106, the curtain control device is regulated accordingly according to the numerical value of expection regulated quantity, also promptly regulate according to the pairing calibration adjustments time quantum of difference between expection regulated quantity and the current regulated quantity, make current regulated quantity consistent, finish whole curtain opening adjustment process thus with the expection regulated quantity;
In this step, regulate according to the pairing time quantum of difference between expection regulated quantity and the current regulated quantity, make current regulated quantity can be with the consistent concrete example of expection regulated quantity:
When the difference of current regulated quantity and expection regulated quantity be on the occasion of the time, to the open degree of control curtain according to the direction adjusting calibration adjustments time that reduces open degree;
When the difference of current regulated quantity and expection regulated quantity is negative value, the open degree of control curtain is regulated the calibration adjustments time according to the direction that increases open degree.
In another embodiment, can also in switching device and curtain control device, store current regulated quantity in advance, can also accurately continue to regulate when making curtain have certain to determine open degree to curtain opening, below still describe with the curtain opening increase, at this moment, carry out following steps as shown in Figure 3:
Step 201, press and make curtain opening increase pairing switching device to begin to carry out curtain opening and regulate, switching device detects a switch by turn-offing the signal of connecting when pressing, read the current initial adjustment amount of storage, produce one simultaneously and regulate enabling signal, this adjusting enabling signal comprises; Regulate type; In this embodiment, regulating type increases corresponding to curtain opening;
Step 202, the adjusting enabling signal that switching device will produce sends to corresponding curtain control device by network, and is 0 to pick up counting at switching device with initial value simultaneously;
Step 203, curtain control device are obtained adjusting type wherein after receiving and regulating enabling signal, and make its institute's curtain of controlling carry out the open degree adjusting with predetermined speed; In this step, described set rate promptly is the rate of change of curtain opening;
Step 204, when finding the current open degree of curtain, the user has been fit to its requirement, when not needing to proceed to regulate, write down and store current regulated quantity at switching device, and produce and regulate stop signal, comprise the current regulated quantity information in the current switching device in this adjusting stop signal, described regulated quantity is after determining the practical adjustments variable according to practical adjustments time and first linear relationship, according to initial adjustment amount and practical adjustments variable and determine that this regulated quantity also is the expection regulated quantity of user to curtain opening; After this, upgrade the initial adjustment amount of local storage with the current regulated quantity in the switching device; Corresponding with step 201, the generation of this adjusting stop signal can be a trip switch, makes switch be in off-state, when switching device detects switch and becomes off-state by on-state;
Step 205, after the curtain control device receives and regulates stop signal, stop adjusting, and, calculate the current regulated quantity of open degree according to the initial adjustment amount of this regulated quantity and storage according to its local this regulated quantity of regulating Time Calculation self open degree to the control curtain opening; Judge whether this current regulated quantity equates with the expection regulated quantity, if finish this curtain opening adjustment process; If not, show situations such as there is toning for some reason, execution in step 206;
Step 206, the curtain control device is regulated accordingly according to the numerical value of expection regulated quantity, also promptly regulate according to the pairing time quantum of difference between expection regulated quantity and the current regulated quantity, make current regulated quantity consistent with the expection regulated quantity, and this current regulated quantity stored the initial adjustment amount of regulating as next time, finish whole curtain opening adjustment process thus.
In addition, also in another embodiment, the user in use needs curtain opening is regulated, also can not store current regulated quantity, and be 0 to begin to regulate from curtain opening all, this is different from embodiment shown in Fig. 2, need carry out current certain specific open degree that has been in of curtain that open degree is regulated even that is to say; at every turn carrying out also turning back to earlier when current open degree is regulated open degree is 0 state, begins to readjust from this state.
In other embodiment, also can realize that similarly other variation of curtain opening regulates situation with reference to said system.From the foregoing description as can be seen, the system that utilizes the embodiment of the invention and proposed can realize the accurate adjusting to curtain opening
In above-mentioned curtain opening regulating step,, then stop the adjustment process of this time curtain opening if curtain opening has been transferred to full scale; If the regulated quantity in the switching device has been adjusted to 0 or full scale, then send stop signal to the curtain control device, after the curtain control device receives stop signal, stop the adjustment process of this time curtain opening.
As seen, the curtain opening size conditioning system that the foregoing description proposed has following advantage:
(1) the regulating system simplicity of design of curtain opening, realization are reliably;
(2) utilize switching device and curtain control device to carry out the judgement of regulated quantity simultaneously, the expection regulated quantity with the accurate corresponding curtain opening of switch regulated quantity of switching device has realized the long-range accurate control to curtain opening thus.
Need to prove: in the above-described embodiments, according to external information the open degree of control curtain is regulated and to belong to those skilled in the art and utilize the mode that exists in the prior art just can realize, so in embodiment proposed by the invention, do not make qualification curtain opening is changed.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.