CN101915055B - Control method of curtain controller - Google Patents
Control method of curtain controller Download PDFInfo
- Publication number
- CN101915055B CN101915055B CN2009102014332A CN200910201433A CN101915055B CN 101915055 B CN101915055 B CN 101915055B CN 2009102014332 A CN2009102014332 A CN 2009102014332A CN 200910201433 A CN200910201433 A CN 200910201433A CN 101915055 B CN101915055 B CN 101915055B
- Authority
- CN
- China
- Prior art keywords
- curtain
- count value
- controller
- control
- control method
- 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.)
- Active
Links
Images
Landscapes
- Power-Operated Mechanisms For Wings (AREA)
- Operating, Guiding And Securing Of Roll- Type Closing Members (AREA)
Abstract
本发明涉及一种窗帘控制器的控制方法,用于居家窗帘控制,其步骤是:先选择时间基准,将窗帘当前位置作为窗帘的历史位置计数值,窗帘控制器初始化时,该计数值设置为0位置计数值,也就是窗帘全闭位置,将用户设定的窗帘位置以同样的时间基准转换为计数值,根据窗帘的历史位置计数值和期望位置计数值,判断出窗帘下一步运行的方向,并计算出窗帘电机的下一步动作时间,根据窗帘运行方向控制窗帘电机执行,根据窗帘控制器时钟控制历史位置计数值的变化,根据窗帘控制器的时钟和窗帘运行方向控制历史位置的计数值,用户在未达到期望位置前,用户有新的位置设定,则重复上述步骤。
The invention relates to a control method of a curtain controller, which is used for home curtain control. The steps are: first select a time reference, and use the current position of the curtain as the count value of the historical position of the curtain. When the curtain controller is initialized, the count value is set as 0 position count value, that is, the fully closed position of the curtain, convert the curtain position set by the user into a count value with the same time base, and judge the next running direction of the curtain according to the historical position count value and expected position count value of the curtain , and calculate the next action time of the curtain motor, control the execution of the curtain motor according to the running direction of the curtain, control the change of the count value of the historical position according to the clock of the curtain controller, and control the count value of the historical position according to the clock of the curtain controller and the running direction of the curtain , the user has a new location setting before the user reaches the desired location, then repeat the above steps.
Description
所属领域Field
本发明涉及一种窗帘控制器的控制方法,尤其涉及家居自动化中的窗帘控制器,属于自动控制技术领域。The invention relates to a control method of a curtain controller, in particular to a curtain controller in home automation, and belongs to the technical field of automatic control.
背景技术 Background technique
随着人们对生活品质的需求不断提高,电动窗帘也逐渐进入到家庭中,家庭中常用的电动窗帘包括电动百叶窗、电动开合窗和电动卷帘窗等,目前电动窗帘的控制多采用手动启动和运行到期望位置手动停止的方法,如果人们想让窗帘停止在除全开和全关的其它位置时,就必须在窗帘启动后等待和用肉眼观察,在窗帘运行至期望的位置时按下停止按钮让窗帘停止运行,这种操作方式给用户的使用带来诸多不便。With the continuous improvement of people's demand for quality of life, electric curtains have gradually entered the family. Commonly used electric curtains in the family include electric blinds, electric opening and closing windows, and electric roller shutters. At present, the control of electric curtains is mostly manually activated. And the method of manually stopping when running to the desired position, if people want to stop the curtain at other positions except fully open and fully closed, they must wait and observe with the naked eye after the curtain is started, and press the button when the curtain runs to the desired position The stop button stops the curtain from running, and this mode of operation brings a lot of inconvenience to the user.
在CN200810241661专利文献中,申请了可以调整卷帘式窗帘电机运转方向的驱动装置及方法,该发明的控制装置包括电机和电机的控制部分,电机的控制部分包括微处理器、开关电路、存储器和控制信号电路,控制信号电路上设有上行键、下行健、停止键,控制信号电路还包括控制信号接收电路、与控制信号接收电路对应的控制信号输出电路,控制信号输出电路、控制信号接收电路上分别对应设有对码键,控制方法为控制信号输出电路向控制信号接收电路输出能调整电机运转方向的包含控制信号输出电路ID码、按键位、功能码的数据信息,然后控制窗帘电机的运转,该专利提出的方法需要结合相应的控制装置来实现。在CN200810115747专利文献中,申请了一种百叶窗及控制方法,该百叶窗包括收纳叶片、旋转装置、收放装置、驱动装置、传动装置等机构,对百叶窗的控制是通过对窗帘的两组电机的正反转来配合来实现的,是一种对百叶窗控制装置及其方法的发明。在CN200710079865专利文献中,申请了电动卷帘式百叶窗的控制方法和控制装置,该发明的控制装置包括电机和开关控制电路,采用的控制方法为:通过存储电动卷帘的上终端位置、下终端位置以及至少一个设定的中间位置数据,使用传感器实时升降位置数据,控制器控制电机通断来达到对百叶窗的控制,该发明设定的中间位置数据与传感器的安装位置是紧密相连的,多个中间位置数据就需要安装多个传感器在相应的位置上,窗帘的停靠位置只能为这些中间位置、上终端位置和下终端位置,由于传感器安装在上终端位置和下终端位置之间,传感器的安装需要额外提供电源线和信号线连接至控制电路,实际应用中实现比较困难,该发明控制电机停止的方法为:将传感器实时采集的升降位置数据与传感器安装位置对应的设定中间位置的数据(存储在单片机内)进行比较,两者相同则使百叶窗停止在选定的位置。In the CN200810241661 patent document, a driving device and method for adjusting the running direction of a roller blind motor is applied for. The control device of the invention includes a motor and a control part of the motor. The control part of the motor includes a microprocessor, a switch circuit, a memory and The control signal circuit is provided with an up key, a down key, and a stop key. The control signal circuit also includes a control signal receiving circuit, a control signal output circuit corresponding to the control signal receiving circuit, a control signal output circuit, and a control signal receiving circuit. Correspondingly, there are code matching keys on the top, and the control method is that the control signal output circuit outputs data information including the control signal output circuit ID code, key position, and function code that can adjust the motor running direction to the control signal receiving circuit, and then controls the curtain motor. To operate, the method proposed in this patent needs to be realized in combination with corresponding control devices. In the CN200810115747 patent document, a blind and its control method are applied. The blind includes mechanisms such as storage blades, a rotating device, a retractable device, a driving device, and a transmission device. It is an invention of a blinds control device and a method thereof, which is realized by reversing and cooperating. In the CN200710079865 patent document, a control method and a control device for an electric roller blind are applied for. The control device of the invention includes a motor and a switch control circuit. The control method adopted is: by storing the upper terminal position, the lower terminal Position and at least one set intermediate position data, use the real-time lifting position data of the sensor, and the controller controls the motor on and off to achieve the control of the blinds. The intermediate position data set by the invention is closely connected with the installation position of the sensor. One intermediate position data just needs to install a plurality of sensors on corresponding position, and the parking position of curtain can only be these intermediate positions, upper end position and lower end position, because sensor is installed between upper end position and lower end position, sensor The installation needs to provide additional power lines and signal lines to connect to the control circuit, which is difficult to realize in practical applications. The method of this invention to control the motor stop is: the lifting position data collected by the sensor in real time and the set intermediate position corresponding to the sensor installation position The data (stored in the microcontroller) are compared, and if the two are the same, the blinds will stop at the selected position.
发明內容 Contents of the invention
本发明的目的在于提供一种窗帘控制器的控制方法,该方法借助于传感器反馈的窗帘控制器,不但避免了频繁的手动操作,用户无需一直等待窗帘到达指定位置,控制方式更具人性化,而且不需要加装额外的传感器反馈窗帘的位置,可以从软件上加以实现,避免采用复杂的窗帘辅助装置,降低了成本。The object of the present invention is to provide a control method of a curtain controller, which not only avoids frequent manual operations by means of sensor feedback curtain controller, but also avoids the need for the user to wait for the curtain to reach the designated position, and the control method is more humane. Moreover, there is no need to install additional sensors to feed back the position of the curtains, which can be implemented through software, avoiding the use of complicated curtain auxiliary devices, and reducing costs.
为达到上述目的,本发明的技术方案是:For achieving the above object, technical scheme of the present invention is:
(1)选择一个时间基准,将窗帘完全动作时间转换为以该时间基准为单位的动作计数值,称为窗帘完全动作计数值。以全闭的窗帘位置为窗帘的0位置计数值,以窗帘完全动作计数值作为全开的窗帘最大位置计数值。(1) Select a time base, and convert the full action time of the curtain into an action count value based on the time base, which is called the full action count value of the curtain. Take the fully closed curtain position as the 0 position count value of the curtain, and take the fully opened curtain maximum position count value as the fully open curtain position count value.
(2)将窗帘当前位置作为窗帘的历史位置计数值,窗帘控制器初始化时,该计数值设置为0位置计数值,也就是窗帘全闭位置。(2) The current position of the curtain is used as the count value of the historical position of the curtain. When the curtain controller is initialized, the count value is set to the count value of 0 position, that is, the fully closed position of the curtain.
(3)将用户设定的窗帘位置以同样的时间基准转换为计数值,称为窗帘的期望位置计数值,窗帘控制器初始化时,该计数值设置为窗帘最大位置计数值,也就是窗帘全开位置。(3) The curtain position set by the user is converted into a count value with the same time base, which is called the expected position count value of the curtain. When the curtain controller is initialized, the count value is set as the maximum position count value of the curtain, that is, the curtain full open position.
(4)根据窗帘的历史位置计数值和期望位置计数值,判断出窗帘下一步运行的方向,如图1中为运行方向向上,图2中运行方向向右,并计算出窗帘电机的下一步动作时间,该动作时间也是以选定的时间基准为单位的计数值。(4) According to the historical position count value and the expected position count value of the curtain, determine the direction of the next step of the curtain running, as shown in Figure 1, the running direction is upward, and in Figure 2, the running direction is right, and calculate the next step of the curtain motor Action time, which is also a count value in units of the selected time base.
(5)根据窗帘运行方向控制窗帘电机执行,图1中为控制执行升的继电器吸合,图2中为控制执行闭的继电器吸合;根据窗帘控制器时钟控制历史位置计数值的变化,图1中为不断增加历史位置计数值,图2中为不断减少历史位置计数值。(5) According to the running direction of the curtain, the curtain motor is controlled to execute. In Fig. 1, the relay that controls the execution rises is pulled in, and in Fig. 2, the relay that controls the execution is closed; 1 is continuously increasing the historical position count value, and Fig. 2 is continuously decreasing the historical position count value.
(6)根据窗帘控制器的时钟和窗帘运行方向控制历史位置的计数值,如果历史位置计数值与期望位置计数值相等,则控制窗帘控制器的继电器断开,窗帘控制器控制电机达到用户期望位置,如果两者不相等,则继续根据窗帘控制器的时钟和窗帘运行方向控制历史位置的计数值。(6) According to the clock of the curtain controller and the running direction of the curtain, the count value of the historical position is controlled. If the count value of the historical position is equal to the count value of the expected position, the relay controlling the curtain controller is disconnected, and the curtain controller controls the motor to meet the user's expectations position, if the two are not equal, then continue to control the count value of the historical position according to the clock of the curtain controller and the running direction of the curtain.
(7)如果用户在未达到期望位置前改变窗帘的期望停留位置,重复(2)~(6)步即可。(7) If the user changes the desired position of the curtain before reaching the desired position, repeat steps (2) to (6).
本发明的有益效果:本发明所使用的窗帘控制器的控制方法,对传统的升-停(开-停)、降-停(闭-停)操作进行了改进,避免了对窗帘频繁的操作,用户操作之后无需等待窗帘到达设定位置再去对窗帘进行停止的操作,该方法不依赖于窗帘控制器的结构或者使用传感器探测窗帘位置,可以从软件上加以实现,降低了窗帘控制器的成本和复杂度。Beneficial effects of the present invention: the control method of the curtain controller used in the present invention improves the traditional operations of raising-stopping (opening-stopping) and lowering-stopping (closing-stopping), and avoids frequent operations on the curtains , after the user operates, there is no need to wait for the curtain to reach the set position before stopping the curtain. This method does not depend on the structure of the curtain controller or the use of sensors to detect the position of the curtain. It can be implemented from the software, reducing the cost of the curtain controller. cost and complexity.
以下结合附图和实施例对本发明作比较详细的说明。The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.
图面说明Illustration
图1为本发明的卷帘窗位置示意图;Fig. 1 is the schematic diagram of the position of the roller shutter window of the present invention;
图2为本发明的卷帘开合窗位置示意图;Fig. 2 is a schematic diagram of the position of the rolling shutter opening and closing window of the present invention;
图3为本发明的窗帘控制器的控制方法步骤流程图。Fig. 3 is a flow chart of the steps of the control method of the curtain controller of the present invention.
具体实施方式 Detailed ways
参照图1,这是本发明的卷帘窗位置示意图。Referring to Fig. 1, this is a schematic diagram of the position of the roller shutter of the present invention.
如图所示,卷帘窗位全开位置1,全闭位置2,当前位置3,期望运行位置4。As shown in the figure, the fully open position of the roller shutter is 1, the fully closed position is 2, the current position is 3, and the desired operating position is 4.
参照图2,这是本发明的开合窗位置示意图。Referring to Fig. 2, this is a schematic diagram of the position of the opening and closing window of the present invention.
如图所示,卷帘窗位全开位置1,全闭位置2,当前位置3,期望运行位置4。As shown in the figure, the fully open position of the roller shutter is 1, the fully closed position is 2, the current position is 3, and the desired operating position is 4.
参照图3,这是本发明的窗帘控制器的控制方法步骤流程图。Referring to FIG. 3 , it is a flow chart of the steps of the control method of the curtain controller of the present invention.
如图所示,控制器的控制方法,其步骤是:As shown in the figure, the control method of the controller, its steps are:
(1)选择时间基准5;(1) Select time base 5;
(2)根据窗帘完全动作时间计算窗帘完全动作计算值6;(2) Calculate the calculated value 6 of the full action of the curtain according to the full action time of the curtain;
(3)确定窗帘全开时窗帘最大位置计算值和窗帘全闭时的0位置计算值7;(3) Determine the calculated value of the maximum position of the curtain when the curtain is fully opened and the calculated value 7 of the zero position when the curtain is fully closed;
(4)判断窗帘控制器是否上电或复位8;如果是,便到将窗帘0位置计算值作为窗帘的历史置计算值9,将窗帘最大位置计算值作为窗帘的期望位置计数器10,如果否,便将窗帘当前位置作为历史位置计数值11,将用户设定的窗帘位置作为窗帘的期望位置计数值12;(4) judge whether the curtain controller is powered on or reset 8; if so, then to the calculated
(5)根据窗帘的历史位置计算值和期望位置计算值计算窗帘的运行方向和运行时间13;(5) Calculate the running direction and running time 13 of the curtain according to the historical position calculation value and the expected position calculation value of the curtain;
(6)根据窗帘的运行方向控制电机执行,根据运行方向和运行时间控制历史位置计算数值的变化14;(6) Control the motor execution according to the running direction of the curtain, and control the historical position calculation value change 14 according to the running direction and running time;
(7)判断历史位置计算值与期望位置计算值是否相等15;如果不相等,返回将窗帘当前位置作为历史位置计数值11;如果相等,则到达指定位置,控制窗帘电机停止运转16。(7) judge whether the historical position calculation value is equal to the expected position calculation value 15; if not equal, return the current position of the curtain as the historical position count value 11;
所述的窗帘控制器的控制方法,是由控制软件加以实现的,降低了窗帘控制器的成本和复杂度。The control method of the curtain controller is realized by control software, which reduces the cost and complexity of the curtain controller.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102014332A CN101915055B (en) | 2009-12-18 | 2009-12-18 | Control method of curtain controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102014332A CN101915055B (en) | 2009-12-18 | 2009-12-18 | Control method of curtain controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101915055A CN101915055A (en) | 2010-12-15 |
CN101915055B true CN101915055B (en) | 2011-12-07 |
Family
ID=43322669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102014332A Active CN101915055B (en) | 2009-12-18 | 2009-12-18 | Control method of curtain controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101915055B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104460323B (en) * | 2014-10-15 | 2017-03-15 | 百度在线网络技术(北京)有限公司 | A kind of intelligentized Furniture and the method and apparatus using its analysis user health situation |
US10151504B2 (en) * | 2016-04-28 | 2018-12-11 | Honeywell International Inc. | Mobile device for building control with adaptive user interface |
CN106357167A (en) * | 2016-09-13 | 2017-01-25 | 武汉百络优物联科技有限公司 | Curtain motor control system |
CN107525458A (en) * | 2017-07-20 | 2017-12-29 | 武汉依迅北斗空间技术有限公司 | A kind of dregs hood cloth condition checkout gear and method |
CN110940071B (en) * | 2019-12-18 | 2021-06-04 | 上海快易名商云科技股份有限公司 | Intelligent household system and control method thereof |
-
2009
- 2009-12-18 CN CN2009102014332A patent/CN101915055B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101915055A (en) | 2010-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101915055B (en) | Control method of curtain controller | |
US10863846B2 (en) | External motor drive system for window covering system with continuous cord loop | |
US9812997B2 (en) | Opening control device in a vehicle door | |
US8950461B2 (en) | Motorized window treatment | |
US10058205B2 (en) | Automatic and dynamic torque calibration for drapery track system | |
US20120261079A1 (en) | Method of controlling a motorized window treatment to save energy | |
CN101245691B (en) | Control method and control device for electric rolling screen type window shutter | |
US10934774B2 (en) | Automatic limit detection for horizontal sheers style roller shade | |
US8907598B2 (en) | Method for operating an actuator for manoeuvring a windable mobile element of a home automation appliance and actuator operating according to this method | |
CN112303860B (en) | Air deflector control method and air conditioner | |
EP2362052A2 (en) | Screening device control | |
JP5909373B2 (en) | Apparatus and method for setting upper limit position / lower limit position in initial setting mode of shutter device | |
KR101397187B1 (en) | Apparatus for automatically closing window | |
CN107174108A (en) | A kind of intelligent curtain control device | |
CN211144156U (en) | Intelligence house controlling means that windows | |
CN105840039A (en) | Intelligent window opener and control method thereof | |
KR101510253B1 (en) | Driving Apparatus in a louver system | |
CN114593501A (en) | Electric heating control method and device of air conditioner | |
CN201433640Y (en) | timing window | |
CN202451034U (en) | Exterior shading energy-saving roll-up window with temperature and humidity sensing function | |
CN202347999U (en) | Automatic window opening and closing device | |
AU2014100040A4 (en) | A motorised window covering | |
CN201406937Y (en) | Rain automatic window-closing device | |
CN206110965U (en) | System for intelligent control window | |
CN206162127U (en) | Prevent window shielding curtain device of rainwater invasion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |