A kind of curtain opening control device
Technical field
The present invention relates to the curtain control technology, particularly relate to a kind of curtain opening control device.
Background technology
Along with improving constantly of living standards of the people, people are more and more higher to the demand of family life comfortableness, and curtain also needs to satisfy better the demand of people's comfortableness as one of household articles necessary in each family life thereupon.The most basic effect of curtain is protection owner's individual privacy and a sunshade dust-break, but traditional curtain must manually remove switch, and is because the big curtain of villa or duplex is long usually and heavy, when carrying out the curtain opening adjusting, often very hard.Thus, the electrically driven curtain controller has been proposed in the prior art, utilize to regulate in the electrically driven curtain controller that motor is just changeing or the difference of the rotational time that reverse realizes the open degree adjusting of curtain, and this moment is normally determined according to people's actual demand for the position that curtain opening is regulated.
But in the prior art, curtain controller often only carries out open degree control according to enabling signal that receives and stop signal, may have the problems such as time delay that cause owing to unexpected in enabling signal and stop signal transmission course, this certainly will make curtain controller not exclusively accurate to the adjusting control of control curtain opening.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of curtain opening control device, and this device can accurately be controlled the open degree of curtain according to demand.
For solving the problems of the technologies described above, the invention provides a kind of curtain opening control device, comprising:
Processing module is used to obtain the expection regulated quantity that the outside provides, and described expection regulated quantity is offered execution module;
Described execution module is used for according to the expection regulated quantity that receives the open degree of control curtain being controlled.
Further, described processing module comprises further:
First storage unit is used for first funtcional relationship between stored adjustment time and the regulated quantity;
First timing unit is used to receive enabling signal and stop signal, and calculates the practical adjustments time between described enabling signal time of reception and the stop signal time of reception;
The first regulated quantity acquiring unit is used for determining pairing regulated quantity of this practical adjustments time according to the determined practical adjustments time and first funtcional relationship, and with this regulated quantity as the expection regulated quantity.
Further, described processing module comprises:
First storage unit is used for first funtcional relationship and initial adjustment amount between stored adjustment time and the regulated quantity;
First timing unit is used to receive enabling signal and stop signal, and calculates the practical adjustments time between described enabling signal time of reception and the stop signal time of reception;
The first regulated quantity acquiring unit is used for determining pairing practical adjustments variable of this practical adjustments time according to the determined practical adjustments time and first funtcional relationship, and with this practical adjustments variable and initial adjustment amount sum as the expection regulated quantity.
Further, described first funtcional relationship is the linear ratio relation.
Further, described execution module comprises:
Second storage unit is used to store the adjusting time of curtain opening and second funtcional relationship between the regulated quantity;
Driver element is used for when receiving enabling signal, according to the adjusting of presetting the policy control curtain opening, when receiving stop signal, stops to regulate curtain opening;
Second timing unit is used to know that described driver element is receiving the practical adjustments time of between enabling signal and the stop signal curtain opening being regulated;
The second regulated quantity acquiring unit is used for regulating the current regulated quantity that practical adjustments time and second funtcional relationship are determined curtain opening according to this curtain opening;
Alignment unit, obtain the current regulated quantity of expection adjustment amount and curtain opening, when both are inequality, determine the alignment time that need regulate curtain opening according to both differences, and the indication driver element according to preset strategy to the direction of offsetting difference to the control curtain opening adjusting alignment time.
Further, described execution module comprises:
Second storage unit is used to store the adjusting time of curtain opening and second function between the regulated quantity, and open degree initial adjustment amount;
Driver element is used for when receiving enabling signal, according to the adjusting of presetting the rate controlled curtain opening, when receiving stop signal, stops to regulate curtain opening;
Second timing unit is used to know that described driver element is receiving the practical adjustments time of between enabling signal and the stop signal curtain opening being regulated;
The second regulated quantity acquiring unit is used for regulating the practical adjustments variable that practical adjustments time and second funtcional relationship are determined curtain opening according to this curtain opening, and with this practical adjustments variable and initial adjustment amount sum as current regulated quantity;
Alignment unit, obtain the current regulated quantity of expection adjustment amount and curtain opening, when both are inequality, determine the alignment time that need regulate curtain opening according to both differences, and the indication driver element according to preset speed to the direction of offsetting difference to the control curtain opening adjusting alignment time.
Further, described second funtcional relationship is the linear ratio relation.
Compared with prior art, curtain opening control device proposed by the invention has following remarkable advantage:
(1) curtain opening control device is simple in structure, realization is reliable;
(2) this device directly obtains the pre-adjustment amount of curtain opening, and this pre-adjustment amount is directed to external trigger, can not be subjected to the unexpected factor affecting in the signals transmission, can also overcome effectively in the prior art as the motor of driver element etc. and occur changeing before the inertia or start time-delay and the problem of the precise control that causes, make that the control of curtain opening is more accurate.
Description of drawings
Fig. 1 is the theory diagram of the curtain opening control device of the embodiment of the invention;
Fig. 2 is the theory diagram of the curtain opening control device of another embodiment of the present invention.
Embodiment
A kind of curtain opening control device as shown in Figure 1, comprising: processing module and execution module, wherein:
Processing module is used to obtain the expection regulated quantity that the outside provides, and described expection regulated quantity is offered execution module;
Execution module is used for according to the expection regulated quantity that receives the open degree of control curtain being controlled.
From said apparatus proposed by the invention as can be seen, this device directly obtains the pre-adjustment amount of curtain opening, and this pre-adjustment amount is directed to external trigger, can not be subjected to the unexpected factor affecting in the signals transmission, makes that the control of curtain opening is more accurate.
Below in conjunction with the drawings and specific embodiments the present invention is done further introduction in detail, but not as a limitation of the invention.
As shown in Figure 2, in another embodiment of the present invention, curtain opening control device comprises: processing module and execution module, wherein:
Described processing module comprises further:
First storage unit is used for first funtcional relationship and initial adjustment amount between stored adjustment time and the regulated quantity;
First timing unit is used to receive enabling signal and stop signal, and calculates the practical adjustments time between described enabling signal time of reception and the stop signal time of reception;
The first regulated quantity acquiring unit is used for determining pairing practical adjustments variable of this practical adjustments time according to the determined practical adjustments time and first funtcional relationship, and with this practical adjustments variable and initial adjustment amount sum as the expection regulated quantity;
Described execution module comprises further:
Second storage unit is used to store the adjusting time of curtain opening and second function between the regulated quantity, and open degree initial adjustment amount;
Driver element is used for when receiving enabling signal, according to the adjusting of presetting the rate controlled curtain opening, when receiving stop signal, stops to regulate curtain opening;
Second timing unit is used to know that described driver element is receiving the practical adjustments time of between enabling signal and the stop signal curtain opening being regulated;
The second regulated quantity acquiring unit is used for regulating the practical adjustments variable that practical adjustments time and second funtcional relationship are determined curtain opening according to this curtain opening, and with this practical adjustments variable and initial adjustment amount sum as current regulated quantity;
Alignment unit, obtain the current regulated quantity of expection adjustment amount and curtain opening, when both are inequality, determine the alignment time that need regulate curtain opening according to both differences, and the indication driver element according to preset speed to the direction of offsetting difference to the control curtain opening adjusting alignment time.
In this device, as can be seen, described execution module is directly known is the pre-adjustment amount that need control curtain opening, so its control accuracy degree for open degree is very high, can overcomes effectively in the prior art as the motor of driver element etc. and occur changeing before the inertia or start time-delay and the problem of the precise control that causes.
Describe utilizing the curtain opening control device shown in above-mentioned Fig. 2 to carry out curtain opening control below with reference to an example:
Store the adjusting time of external trigger and first funtcional relationship between the regulated quantity in advance, and the adjusting time of curtain opening and second funtcional relationship between the regulated quantity, above-mentioned first funtcional relationship and second funtcional relationship can be set according to actual conditions, for example, for the open degree that makes curtain at the uniform velocity changes, first funtcional relationship and second funtcional relationship all can be set to the linear ratio relation.
After this curtain opening control device receives external start signal, begin the open degree of control curtain is regulated control according to predetermined policy, write down the time of reception and the open degree initial adjustment amount of this enabling signal simultaneously, described predetermined policy is according to second funtcional relationship;
After this curtain opening control device receives outside stop signal, stop to regulate curtain opening, and write down the current regulated quantity of the time of reception and the curtain opening of this stop signal; This current regulated quantity is after determining the practical adjustments variable according to practical adjustments time and second funtcional 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 this current regulated quantity;
The actual adjustment time between start-up time that calculating receives and the stand-by time, and according to the definite expection of first funtcional relationship regulated quantity; Whether the current regulated quantity of judging curtain opening is consistent with the expection regulated quantity, if inconsistent, calculates the regulated quantity error between current regulated quantity and the expection regulated quantity;
The regulated quantity error and second funtcional relationship according to above gained are determined to regulate the alignment time and are regulated direction, and curtain opening is controlled according to above-mentioned adjusting alignment time and adjusting direction.
For in the above specific implementation of determining to regulate the alignment time and regulate direction according to the regulated quantity error of gained and second funtcional relationship being, when the regulated quantity error is timing, regulating direction is that open degree reduces, when the regulated quantity error is timing, regulating direction is that open degree increases, also promptly, regulate direction for offsetting the direction of difference.
In the above-described embodiments, for the control of the open degree of curtain can be starting point with open degree position arbitrarily, in another embodiment, can simplify this device, that is: storing initial regulated quantity no longer in first memory module and second memory module, at this moment, the control of the open degree of each curtain is the expection regulated quantity according to time between enabling signal and the stop signal and the directly definite regulated quantity of first funtcional relationship thus all from zero-bit or full scale position; And the practical adjustments amount of the curtain opening of controlling also is the numerical value of directly knowing, need not to carry out other processing procedure.
Need to prove: in the above-described embodiments, the mechanical process that the open degree of curtain changes belongs to those skilled in the art and utilizes the mode that exists in the prior art just can realize, so do not make qualification to curtain opening is changed in embodiment proposed by the invention.
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.