Intelligent curtain control device and method

文档序号:1910566 发布日期:2021-12-03 浏览:14次 中文

阅读说明:本技术 一种智能窗帘控制装置及方法 (Intelligent curtain control device and method ) 是由 王涛 刘文暄 周霖 刘腾腾 于 2021-09-06 设计创作,主要内容包括:本发明提出了一种智能窗帘控制装置及方法,涉及窗帘控制技术领域。一种智能窗帘控制装置,包括驱动部件、滑动部件和控制部件。滑动部件与窗帘的滑轨滑动连接,驱动部件与滑动部件连接,用于驱动滑动部件沿窗帘的滑轨滚动。控制部件包括控制单元、驱动模块和数据采集模块,驱动模块和数据采集模块均与控制单元连接,驱动模块与驱动部件连接。该智能窗帘控制装置能够实现普通窗帘的自动开合,控制功能齐全,能够适应不同的控制条件下对窗帘的自动开合,且其还具有结构简单,成本低廉的优点。此外本发明还提出一种智能窗帘控制方法,该智能窗帘控制方法能够实现在多种不同的窗帘开合条件下,实现对窗帘的优化控制开合,达到更好的控制效果。(The invention provides an intelligent curtain control device and method, and relates to the technical field of curtain control. An intelligent curtain control device comprises a driving component, a sliding component and a control component. The sliding component is connected with the sliding rail of the curtain in a sliding way, and the driving component is connected with the sliding component and used for driving the sliding component to roll along the sliding rail of the curtain. The control part comprises a control unit, a driving module and a data acquisition module, the driving module and the data acquisition module are both connected with the control unit, and the driving module is connected with the driving part. The intelligent curtain control device can realize automatic opening and closing of a common curtain, is complete in control function, can adapt to automatic opening and closing of the curtain under different control conditions, and has the advantages of being simple in structure and low in cost. In addition, the invention also provides an intelligent curtain control method, which can realize the optimal control of opening and closing of the curtain under various different curtain opening and closing conditions and achieve better control effect.)

1. The utility model provides an intelligence (window) curtain controlling means, its characterized in that, includes driver part, sliding part and control unit, sliding part with the slide rail sliding connection of (window) curtain, driver part with sliding part connects for the drive sliding part is followed the slide rail of (window) curtain rolls, control unit includes the control unit, drive module and data acquisition module, drive module with data acquisition module all is connected with the control unit, drive module with driver part connects.

2. The intelligent curtain control device according to claim 1, wherein the sliding component comprises a housing, a roller and a driving motor, the roller is arranged on the housing through a rotating shaft, the roller is in contact with the sliding rail, the roller is in rolling fit with the sliding rail, an output end of the driving motor is connected with the rotating shaft, and the driving module is connected with the driving motor.

3. The intelligent curtain control device of claim 1, wherein the data acquisition module comprises a voice module, and the voice module is connected with the control unit.

4. The intelligent curtain control device according to claim 3, wherein the data acquisition module further comprises a plurality of temperature and humidity sensors, and the plurality of temperature and humidity sensors are connected with the control unit.

5. The intelligent window covering control device of claim 3, wherein the data acquisition module further comprises an air detector, the air detector being connected to the control unit.

6. The intelligent window covering control device of claim 3, wherein the data acquisition module further comprises a volume sensor, and the volume sensor is connected with the control unit.

7. The intelligent curtain control device as claimed in claim 1, wherein the control unit is connected with a server, and the server is connected with a mobile terminal.

8. The intelligent curtain control device as claimed in claim 7, wherein a communication module is arranged between the control unit and the server.

9. The intelligent curtain control device as claimed in claim 7, wherein a wireless communication module is arranged between the mobile terminal and the control unit.

10. An intelligent curtain control method is characterized by comprising the following steps:

the control unit acquires the current time, compares the current time with the preset opening/closing time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result;

the control unit acquires current time, acquires address information, calculates sunrise and sunset time by using a calculation formula according to the current time and the address information, compares the sunrise and sunset time with the current time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result;

the control unit acquires voice command information received by the voice module and controls the opening and closing of the curtain according to the voice command information;

the control unit acquires a control command input by the mobile terminal and controls the opening and closing of the curtain according to the control command;

the control unit acquires current weather information, matches the weather information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result;

the control unit acquires current air information acquired by the air detector, matches the air information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result.

Technical Field

The invention relates to the technical field of curtain control, in particular to an intelligent curtain control device and method.

Background

With the rapid development of science and technology, the life concept of people is gradually changed, and various household appliances are also changed. Due to the continuous maturity of the single chip microcomputer technology and the computer technology, household appliances are more and more intelligent, curtains are no exception, electric intelligent curtains are widely applied in developed countries such as Europe and America, automatic curtains are high-end leading-edge industries at home, the market is wide, and the curtain has popularization and application significance. At present, the slide rail of the existing automatic curtain and the part for driving the curtain to move are generally of an integrated structure, and the automatic curtain cannot be generally applied to other curtains or common curtains. Some existing curtain control devices capable of achieving opening and closing of common curtains are complex in structure, the structures of the control devices are complex, and the problem of high cost is caused.

Disclosure of Invention

The invention aims to provide an intelligent curtain control device which can realize automatic opening and closing of a common curtain, has complete control functions, can adapt to automatic opening and closing of the curtain under different control conditions, and has the advantages of simple structure and low cost.

Another objective of the present invention is to provide an intelligent curtain control method, which can realize the optimal control of opening and closing of a curtain under various different curtain opening and closing conditions, so as to achieve a better control effect.

The embodiment of the invention is realized by the following steps:

in a first aspect, an embodiment of the present application provides an intelligent curtain control device, which includes a driving component, a sliding component, and a control component, where the sliding component is connected to a sliding rail of a curtain in a sliding manner, the driving component is connected to the sliding component and is used to drive the sliding component to roll along the sliding rail of the curtain, the control component includes a control unit, a driving module, and a data acquisition module, the driving module and the data acquisition module are both connected to the control unit, and the driving module is connected to the driving component.

In some embodiments of the present invention, the sliding component includes a housing, a roller and a driving motor, the roller is disposed on the housing through a rotating shaft, the roller contacts with the sliding rail, the roller is in rolling fit with the sliding rail, an output end of the driving motor is connected to the rotating shaft, and the driving module is connected to the driving motor.

In some embodiments of the present invention, the data acquisition module includes a voice module, and the voice module is connected to the control unit.

In some embodiments of the present invention, the data acquisition module further includes a plurality of temperature and humidity sensors, and the plurality of temperature and humidity sensors are all connected to the control unit.

In some embodiments of the present invention, the data acquisition module further includes an air detector, and the air detector is connected to the control unit.

In some embodiments of the present invention, the data acquisition module further includes a volume sensor, and the volume sensor is connected to the control unit.

In some embodiments of the present invention, the control unit is connected to a server, and the server is connected to a mobile terminal.

In some embodiments of the present invention, a communication module is disposed between the control unit and the server.

In some embodiments of the present invention, a wireless communication module is disposed between the mobile terminal and the control unit.

In a second aspect, an embodiment of the present application provides an intelligent curtain control method, including the following steps:

the control unit acquires the current time, compares the current time with the preset opening/closing time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result;

the control unit acquires current time, acquires address information, calculates sunrise and sunset time by using a calculation formula according to the current time and the address information, compares the sunrise and sunset time with the current time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result;

the control unit acquires voice command information received by the voice module and controls the opening and closing of the curtain according to the voice command information;

the control unit acquires a control command input by the mobile terminal and controls the opening and closing of the curtain according to the control command;

the control unit acquires current weather information, matches the weather information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result;

the control unit acquires current air information acquired by the air detector, matches the air information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result.

Compared with the prior art, the embodiment of the invention has at least the following advantages or beneficial effects:

the invention provides an intelligent curtain control device which comprises a driving component, a sliding component and a control component, wherein the sliding component is connected with a sliding rail of a curtain in a sliding manner, and the driving component is connected with the sliding component and used for driving the sliding component to slide along the sliding rail of the curtain. The existing common curtain generally adopts a snap ring structure, a plurality of snap rings are sequentially sleeved on a slide rail, curtain cloth of the curtain is sequentially connected with the snap rings, and the curtain can be driven to be opened and closed in the moving process of the snap rings. The sliding component is used for driving the curtain to be opened and closed, and particularly, when the sliding component slides on the sliding rail, the sliding component can drive the retaining rings at two adjacent sides to move, so that the curtain cloth of the curtain is opened and closed. The driving component is used for driving the sliding component to slide, so that the sliding of the sliding component is realized. The control component is used for controlling the action of the driving component, and the aim of accurately controlling the action of the driving component is fulfilled. The control component comprises a control unit, a driving module and a data acquisition module, wherein the driving module and the data acquisition module are both connected with the control unit, and the driving module is connected with the driving component. The control unit is a core component for realizing control of the driving component, the driving module is used for controlling the driving component, the driving module is a chip integrated with a CMOS control circuit and a DMOS power device, and a complete motion control system can be formed by the driving module, the control unit, the driving component and the like. The driving module can be used for driving an inductive load of the driving component, is controlled by a standard TTL logic level signal, is provided with two enabling control ends, allows or prohibits the driving component to work under the condition of not being influenced by an input signal, and is provided with a logic power supply input end to enable the internal logic circuit part to work under low voltage; can external detection resistance, feed back the control unit with the variable quantity, reach better control effect. The data acquisition module is used for acquiring data under different control conditions and feeding the acquired data back to the control unit in real time, and the control unit judges whether to open or close the window according to analysis and logic judgment. When the window needs to be opened or closed, the control unit sends a control command to the driving module, and the driving module drives the driving component to act according to the driving command, so that the sliding component is controlled to move, and the window opening or closing of the curtain is realized.

Therefore, the intelligent curtain control device can realize automatic opening and closing of a common curtain, has complete control functions, can adapt to automatic opening and closing of the curtain under different control conditions, and also has the advantages of simple structure and low cost.

The invention also provides an intelligent curtain control method, which comprises the following steps:

the control unit obtains the current time, compares the current time with the preset opening/closing time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result. When a user needs to open and close the curtain according to own use habits, the opening/closing time can be preset, and the opening and closing of the curtain can be controlled through the preset opening/closing.

The control unit obtains the current time, obtains the address information, calculates the sunrise time and the sunset time by using a calculation formula according to the current time and the address information, compares the sunrise time and the sunset time with the current time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result. When the curtain can be automatically opened/closed according to the sunrise and sunset time, the control unit automatically acquires the current time and the current address information, calculates the sunrise and sunset time of the address according to a calculation formula, and judges whether the curtain is automatically opened/closed according to the sunrise and sunset time.

The control unit acquires the voice command information received by the voice module and controls the opening and closing of the curtain according to the voice command information. The voice module receives the voice command and transmits the voice command to the control unit, and the control unit can analyze and logically judge the voice command and control the opening and closing of the curtain according to the voice command information.

The control unit obtains the control command input by the mobile terminal and controls the opening and closing of the curtain according to the control command. When a user needs to use the mobile terminal to control the opening and closing of the curtain, the control command can be input through the mobile terminal, the mobile terminal acquires the control command and then transmits the control command to the control unit, and the control unit controls the opening and closing of the curtain according to the control command.

The control unit acquires the current weather information, matches the weather information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result. When a user needs to control the opening and closing of the curtain according to the weather information, for example, in rainy days, windy days, sunny days and the like, the control unit obtains the weather information, judges the weather condition according to logic judgment, and controls the automatic opening and closing of the curtain if the weather condition is successfully matched with the preset weather opening and closing rule.

The control unit acquires current air information acquired by the air detector, matches the air information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result. When a user needs to control the opening and closing of the curtain according to the air quality condition, for example, under the conditions of smoke/dust concentration, concentration of various gases (such as concentration of carbon dioxide, carbon monoxide, formaldehyde, natural gas, coal gas, sulfide, nitride, ammonia gas, amide and the like in the air), and the like, current air information acquired by the air detector is transmitted to the control unit, and the control unit generates a matching result according to logic analysis and judgment and controls the opening and closing of the curtain according to the matching result.

Therefore, the intelligent curtain control method can realize the optimal control of opening and closing of the curtain under various different curtain opening and closing conditions, and achieve a better control effect.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.

FIG. 1 is a schematic structural view of example 1 of the present invention;

FIG. 2 is a schematic cross-sectional view of example 1 of the present invention;

fig. 3 is a control block diagram of a control unit in embodiment 1 of the present invention.

Icon: 1-shell, 2-roller, 3-shaft, 4-slide rail, 5-driving motor.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.

Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

In the description of the embodiments of the present invention, it should be noted that, if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings or the orientations or positional relationships that the products of the present invention are usually placed in when used, the orientations or positional relationships are only used for convenience of describing the present invention and simplifying the description, but the terms do not indicate or imply that the devices or elements indicated must have specific orientations, be constructed in specific orientations, and operate, and therefore, should not be construed as limiting the present invention. Furthermore, the appearances of the terms "first," "second," "third," and the like, if any, are only used to distinguish one description from another, and are not to be construed as indicating or implying relative importance.

Furthermore, the terms "horizontal", "vertical", "overhang" and the like do not require that the components be absolutely horizontal or overhang, but may be slightly inclined. For example, "horizontal" merely means that the direction is more horizontal than "vertical" and does not mean that the structure must be perfectly horizontal, but may be slightly inclined.

In the description of the embodiments of the present invention, "plurality" if any, means at least 2.

In the description of the embodiments of the present invention, it should be further noted that unless otherwise explicitly stated or limited, the terms "disposed," "mounted," "connected," and "connected" should be interpreted broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.

Example 1

Referring to fig. 1, 2 and 3, fig. 1 is a schematic structural diagram of embodiment 1 of the present invention;

FIG. 2 is a schematic cross-sectional view of example 1 of the present invention; fig. 3 is a control block diagram of a control unit in embodiment 1 of the present invention. The embodiment provides an intelligent curtain control device, which comprises a driving component, a sliding component and a control component, wherein the sliding component is connected with a sliding rail 4 of a curtain in a sliding manner, and the driving component is connected with the sliding component and used for driving the sliding component to slide along the sliding rail 4 of the curtain. The existing common curtain generally adopts a snap ring structure, a plurality of snap rings are sequentially sleeved on the slide rail 4, curtain cloth of the curtain is sequentially connected with the snap rings, and the curtain can be driven to be opened and closed in the moving process of the snap rings. The sliding component is used for driving the curtain to be opened and closed, and particularly, when the sliding component slides on the sliding rail 4, the sliding component can drive the retaining rings at two adjacent sides to move, so that the curtain cloth of the curtain is opened and closed. The driving component is used for driving the sliding component to slide, so that the sliding of the sliding component is realized. The control component is used for controlling the action of the driving component, and the aim of accurately controlling the action of the driving component is fulfilled.

In this embodiment, the control component includes a control unit, a driving module and a data acquisition module, the driving module and the data acquisition module are both connected to the control unit, and the driving module is connected to the driving component. The control unit is a core component for realizing control of the driving component, the driving module is used for controlling the driving component, the driving module is a chip integrated with a CMOS control circuit and a DMOS power device, and a complete motion control system can be formed by the driving module, the control unit, the driving component and the like. The driving module can be used for driving an inductive load of the driving component, is controlled by a standard TTL logic level signal, is provided with two enabling control ends, allows or prohibits the driving component to work under the condition of not being influenced by an input signal, and is provided with a logic power supply input end to enable the internal logic circuit part to work under low voltage; can external detection resistance, feed back the control unit with the variable quantity, reach better control effect. The data acquisition module is used for acquiring data under different control conditions and feeding the acquired data back to the control unit in real time, and the control unit judges whether to open or close the window according to analysis and logic judgment. When the window needs to be opened or closed, the control unit sends a control command to the driving module, and the driving module drives the driving component to act according to the driving command, so that the sliding component is controlled to move, and the window opening or closing of the curtain is realized.

Therefore, the intelligent curtain control device can realize automatic opening and closing of a common curtain, has complete control functions, can adapt to automatic opening and closing of the curtain under different control conditions, and also has the advantages of simple structure and low cost.

In some embodiments of the present embodiment, the sliding member includes a housing 1, a roller 2, and a driving motor 5. The roller 2 is disposed on the housing 1 through a rotating shaft 3, the roller 2 contacts the sliding rail 4, and the roller 2 is in rolling fit with the sliding rail 4. The output end of the driving motor 5 is connected with the rotating shaft 3, and the driving module is connected with the driving motor 5.

In this embodiment, the driving motor 5 drives the rotating shaft 3 to rotate, and then drives the roller 2 to rotate, the roller 2 rolls on the sliding rail 4 and then drives the housing 1 to move along the sliding rail 4, and the housing 1 can drive the retaining ring to move when moving, so as to achieve the purpose of opening and closing the curtain. In this embodiment, the casing 1 is provided with a sliding member that is engaged with the sliding rail 4, so as to ensure that the casing 1 can slide freely along the sliding rail 4.

In this embodiment, the driving module includes a motor driving chip, which is a chip integrated with a CMOS control circuit and a DMOS power device, and may be used to form a complete motion control system with a main processor, a motor and an incremental encoder. The device can be used for driving inductive loads such as direct current motors, stepping motors, relays and the like. The motor driving chip is connected with the driving motor 5 and used for controlling the driving motor 5 to act. Specifically, the motor driving chip has models L298N and L298N, and is a motor driver for receiving high voltage, and both the dc motor and the stepping motor can be driven. A driving chip can simultaneously control two direct current speed reducing motors to do different actions, provides 2 amperes of current within the voltage range of 6V to 46V, and has the functions of overheating self-breaking and feedback detection. The L298N can directly control the motor, and the control level of the motor is set through the I/O input of the main control chip, so that the motor can be driven in forward rotation and reverse rotation, the operation is simple, the stability is good, and the large-current driving condition of the direct current motor can be met, thereby completely meeting the requirement of driving the driving motor 5 in the embodiment.

In the present embodiment, the above-described drive motor 5 is capable of realizing normal and reverse rotations, which are determined by an on or off command sent by the control unit.

In some embodiments of this embodiment, the data acquisition module includes a voice module, and the voice module is connected to the control unit.

In this embodiment, the voice module can collect voice command information of a user and send the collected voice information to the control unit. The voice module is low in cost, can provide an off-line voice recognition function and is good in performance. And the voice module does not need cloud service or internet connection, so the privacy is also excellent. Specifically, the voice module model selected in this embodiment is su-10 a.

In some embodiments of this embodiment, the data acquisition module further includes a plurality of temperature and humidity sensors, and the plurality of temperature and humidity sensors are connected to the control unit.

In this embodiment, the temperature and humidity sensor is configured to detect temperature and humidity information and transmit the temperature and humidity information to the control unit, and the control unit is configured to determine whether the temperature and humidity reach a rated value according to analysis and judgment, open a window above the rated value, and close the window below the rated value.

In some embodiments of this embodiment, the data acquisition module further includes an air detector, and the air detector is connected to the control unit.

In this embodiment, the air detector is configured to detect the concentration of smoke/dust and the concentration of multiple gases (such as the concentration of carbon dioxide, carbon monoxide, formaldehyde, natural gas, coal gas, sulfide, nitride, ammonia, amide, and the like in air), and transmit the detected air information to the control unit, the control unit determines, according to logic, whether the air quality exceeds a hazard criterion value, and if it is determined that any one of the smoke/dust concentration and the concentration of multiple gases exceeds the hazard criterion value, the control unit sends a command to the driving module, so that the driving module drives the driving motor 5 to operate, thereby closing the window curtain.

In some embodiments of this embodiment, the data acquisition module further includes a volume sensor, and the volume sensor is connected to the control unit.

In this embodiment, the volume sensor is configured to collect volume decibel information outside the window and transmit the volume decibel information to the control unit, the control unit presets a standard value of the volume decibel information, and if the volume decibel information exceeds the standard value, the control unit sends a command to the driving module, so that the driving module drives the driving motor 5 to operate, thereby closing the window curtain.

In some embodiments of the present invention, the control unit is connected to a server, and the server is connected to a mobile terminal. The mobile terminal can send commands for controlling the opening and closing of the curtain to the server terminal. The server transmits the command to the control unit, and after the control unit receives the control command, the control unit can send the command to the driving module, so that the driving module drives the driving motor 5 to work, and the opening and closing of the curtain are realized.

In this embodiment, the control unit may send a command for acquiring current time, address information, weather information, and the like to a server, where the server is a cloud server, and is a computing service with simple, efficient, safe, reliable, and elastically scalable processing capability. The management mode is simpler and more efficient than that of a physical server. A user can rapidly create or release any plurality of cloud servers without purchasing hardware in advance. The cloud server can acquire current time, weather information, address information and the like on the network and transmit the information to the control unit, and the control unit judges whether to open or close the curtain after processing the information.

In some embodiments of the present invention, a communication module is disposed between the control unit and the server.

In this implementation, the communication module is used to implement communication connection between the server and the control unit, and ensure smooth data transmission between the control unit and the server. Specifically, communication module includes wireless communication subassembly and wireless communication subassembly, and above-mentioned wireless communication subassembly can include wiFi communication module, bluetooth network module, zigBee module etc. can choose the wireless communication subassembly of different grade type for use according to specific circumstances, and wireless communication can increase teaching terminal or learning terminal's portability. The wired communication component can be an optical fiber communication component, a communication cable component and the like, and the wired communication mode can improve the stability of network connection. Different communication modes can be selected according to actual requirements to be used for connecting and controlling the south orchard and the server.

In some embodiments of the present invention, a wireless communication module is disposed between the mobile terminal and the control unit. The wireless communication module is used for realizing that when a user uses the mobile end to be close to the controlled curtain, the wireless communication module can be directly connected with the control unit and used for adjusting the preset curtain opening and closing time and directly sending a control command to the control unit to control the opening and closing of the curtain. Specifically, the wireless communication module integrates Wi-Fi, traditional Bluetooth and low-power Bluetooth functions by using an ESP-white-32 ESP32 series module, and has wide application: Wi-Fi supports communication connection in an extremely large range and also supports direct connection to the Internet through a router; bluetooth may allow a user to connect to a cell phone or broadcast a Bluetooth LE Beacon to facilitate signal detection. ESP32 collects antenna switch, radio frequency balun, power amplifier, low noise amplifier, wave filter and power management module in an organic whole, occupies less PCB space, can maximize the manifold functional requirement of satisfying practical application.

It should be noted that the control unit is an integrated circuit chip, which is a small and perfect microcomputer system formed by integrating the functions of a central processing unit CPU with data processing capability, a random access memory RAM, a read only memory ROM, various I/O ports and interrupt systems, a timer/counter (possibly including a display driving circuit, a pulse width modulation circuit, an analog multiplexer, an a/D converter, etc.) on a silicon chip by using the super-large scale integrated circuit technology, and is widely applied in the field of industrial control. The control unit specific signal is stm32f 750.

When the curtain opening and closing device is used, a user can preset the opening and closing time of the curtain through the moving end, the control unit sends a control command to the driving module according to the set time when the set time is up, and the driving module controls the driving part to work to drive the sliding part to move so as to control the opening and closing of the curtain; the user can directly send a control command to the control unit through the moving end near the controlled curtain, the control unit sends the control command to the driving module, and the driving module controls the driving part to work to drive the sliding part to move so as to control the opening and closing of the curtain; the server can capture current time, sunset time, sunrise time and place information in a network and transmit the information to the control unit, the control unit calculates the sunrise time and the sunset time according to the information through a calculation formula and compares the sunrise time and the sunset time with the current time respectively, if the current time is consistent with the sunrise time or the sunset time, the control unit driving module sends a control command, and the driving module controls the driving part to work to drive the sliding part to move so as to control the opening or closing of the curtain; the server can obtain weather information in a network and transmit the weather information to the control unit, the control unit judges weather conditions according to logic analysis, for example, the weather information is heavy rain, the control unit drive module is controlled to send a control command, the drive module controls the drive component to work, the slide component is driven to move, and closing of the curtain is controlled; the voice module can acquire voice command information of a user and transmit the voice command information to the control unit, the control unit analyzes the voice command information, confirms a command and sends a control command to the driving module, and the driving module controls the driving part to work to drive the sliding part to move so as to control the opening and closing of the curtain; the air detector is used for detecting the concentration of smoke/dust and the concentration of various gases (such as the concentration of carbon dioxide, carbon monoxide, formaldehyde, natural gas, coal gas, sulfide, nitride, ammonia gas, amide and the like in the air) and the like, and transmitting the detected air information to the control unit, the control unit analyzes whether the air quality exceeds a hazard standard value according to logic judgment, and if the smoke/dust concentration and the concentration of any one of various gases exceed the hazard standard value, the control unit sends a command to the driving module, so that the driving module drives the driving motor 5 to work, and the curtain is closed.

Example 2

The embodiment provides an intelligent curtain control method, which comprises the following steps:

the control unit obtains the current time, compares the current time with the preset opening/closing time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result. When a user needs to open and close the curtain according to own use habits, the opening/closing time can be preset, and the opening and closing of the curtain can be controlled through the preset opening/closing.

The control unit obtains the current time, obtains the address information, calculates the sunrise time and the sunset time by using a calculation formula according to the current time and the address information, compares the sunrise time and the sunset time with the current time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result. When the curtain can be automatically opened/closed according to the sunrise and sunset time, the control unit automatically acquires the current time and the current address information, calculates the sunrise and sunset time of the address according to a calculation formula, and judges whether the curtain is automatically opened/closed according to the sunrise and sunset time.

It should be noted that the above calculation formula is an existing calculation formula, and is not further described here.

The control unit acquires the voice command information received by the voice module and controls the opening and closing of the curtain according to the voice command information. The voice module receives the voice command and transmits the voice command to the control unit, and the control unit can analyze and logically judge the voice command and control the opening and closing of the curtain according to the voice command information.

The control unit obtains the control command input by the mobile terminal and controls the opening and closing of the curtain according to the control command. When a user needs to use the mobile terminal to control the opening and closing of the curtain, the control command can be input through the mobile terminal, the mobile terminal acquires the control command and then transmits the control command to the control unit, and the control unit controls the opening and closing of the curtain according to the control command.

The control unit acquires the current weather information, matches the weather information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result. When a user needs to control the opening and closing of the curtain according to the weather information, for example, in rainy days, windy days, sunny days and the like, the control unit obtains the weather information, judges the weather condition according to logic judgment, and controls the automatic opening and closing of the curtain if the weather condition is successfully matched with the preset weather opening and closing rule.

The control unit acquires current air information acquired by the air detector, matches the air information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result. When a user needs to control the opening and closing of the curtain according to the air quality condition, for example, under the conditions of smoke/dust concentration, concentration of various gases (such as concentration of carbon dioxide, carbon monoxide, formaldehyde, natural gas, coal gas, sulfide, nitride, ammonia gas, amide and the like in the air), and the like, current air information acquired by the air detector is transmitted to the control unit, and the control unit generates a matching result according to logic analysis and judgment and controls the opening and closing of the curtain according to the matching result.

Therefore, the intelligent curtain control method can realize the optimal control of opening and closing of the curtain under various different curtain opening and closing conditions, and achieve a better control effect.

In summary, embodiments of the present invention provide an intelligent curtain control device and method, where the intelligent curtain control device includes a driving component, a sliding component, and a control component, where the sliding component is slidably connected to a sliding rail of a curtain, and the driving component is connected to the sliding component and is used for driving the sliding component to slide along the sliding rail of the curtain. The control component comprises a control unit, a driving module and a data acquisition module, wherein the driving module and the data acquisition module are both connected with the control unit, and the driving module is connected with the driving component. The intelligent curtain control device can realize automatic opening and closing of a common curtain, is complete in control function, can adapt to automatic opening and closing of the curtain under different control conditions, and has the advantages of being simple in structure and low in cost. An intelligent curtain control method comprises the following steps: the control unit acquires the current time, compares the current time with the preset opening/closing time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result; the control unit acquires current time, acquires address information, calculates sunrise and sunset time by using a calculation formula according to the current time and the address information, compares the sunrise and sunset time with the current time to obtain a comparison result, and controls the opening and closing of the curtain according to the comparison result; the control unit acquires voice command information received by the voice module and controls the opening and closing of the curtain according to the voice command information; the control unit acquires a control command input by the mobile terminal and controls the opening and closing of the curtain according to the control command; the control unit acquires current weather information, matches the weather information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result; the control unit acquires current air information acquired by the air detector, matches the air information with a preset weather opening and closing rule to generate a matching result, and controls the opening and closing of the curtain according to the matching result. The intelligent curtain control method can realize the optimal control of opening and closing of the curtain under various different curtain opening and closing conditions, and achieves a better control effect.

The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种阻隔阳光辐射的透气窗帘布

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!