CN204299374U - A kind of smart window control circuit - Google Patents
A kind of smart window control circuit Download PDFInfo
- Publication number
- CN204299374U CN204299374U CN201420787261.8U CN201420787261U CN204299374U CN 204299374 U CN204299374 U CN 204299374U CN 201420787261 U CN201420787261 U CN 201420787261U CN 204299374 U CN204299374 U CN 204299374U
- Authority
- CN
- China
- Prior art keywords
- input
- door
- inputs
- gate
- output
- 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.)
- Expired - Fee Related
Links
- 239000004984 smart glass Substances 0.000 title claims abstract description 24
- 238000012360 testing method Methods 0.000 claims abstract 11
- 238000005259 measurement Methods 0.000 claims abstract 9
- 101001063456 Homo sapiens Leucine-rich repeat-containing G-protein coupled receptor 5 Proteins 0.000 claims description 3
- 102100031036 Leucine-rich repeat-containing G-protein coupled receptor 5 Human genes 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000001514 detection method Methods 0.000 description 47
- 230000009977 dual effect Effects 0.000 description 31
- 230000005669 field effect Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 6
- 230000000087 stabilizing effect Effects 0.000 description 6
- 239000003990 capacitor Substances 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000009423 ventilation Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Power-Operated Mechanisms For Wings (AREA)
Abstract
Description
技术领域technical field
本实用新型属于控制电路领域,涉及一种智能窗控制电路。The utility model belongs to the field of control circuits and relates to an intelligent window control circuit.
背景技术Background technique
随着人们生活水平的不断提高,人们在追求舒适温馨的同时也追求房屋的智能化。人们迫切需要一种智能型家庭自动关窗系统。With the continuous improvement of people's living standards, people are pursuing the intelligence of houses while pursuing comfort and warmth. People are in urgent need of an intelligent family automatic window closing system.
如中国实用新型专利申请(申请号:201210591484.2)公开了一种智能窗户遮阳控制系统,包括温度传感器、光敏传感器、按键、主控制器、继电器、电机、通信模块和电源,所述温度传感器和光敏传感器组合工作,将探测到的夏季高温季节室外的阳光亮度信息传递给主控制器,主控制器通过继电器打开电机关闭窗帘。虽然该技术方案能够实现简单的自动开关窗户的功能,但是其功能单一,当下雨或者刮风时并不会自动关窗。For example, Chinese Utility Model Patent Application (Application No.: 201210591484.2) discloses a smart window sunshade control system, including a temperature sensor, a photosensitive sensor, a button, a main controller, a relay, a motor, a communication module and a power supply. The sensors work in combination to transmit the detected outdoor sunlight brightness information to the main controller in the summer high temperature season, and the main controller turns on the motor to close the curtains through the relay. Although this technical solution can realize the simple function of automatically opening and closing windows, its function is single, and it will not close the windows automatically when it rains or blows wind.
因此希望研究一种在普通窗基础上改进的智能关窗控制电路,该控制电路能够在遇到刮风下雨时便可使窗户自动闭合,白天会自动打开窗户通风。Therefore hope to study a kind of intelligent window closing control circuit improved on the basis of common window, this control circuit can just can make window close automatically when running into wind and rain, can open window ventilation automatically during the day.
发明内容Contents of the invention
本实用新型针对现有的技术存在上述问题,提出了一种智能窗控制电路,该智能窗控制电路能够根据外界环境条件控制窗户实现自动通风、防风以及防雨的作用,电路简单且功能实用。The utility model aims at the above-mentioned problems in the existing technology, and proposes an intelligent window control circuit. The intelligent window control circuit can control the window according to the external environment conditions to realize the functions of automatic ventilation, windproof and rainproof. The circuit is simple and the function is practical.
本实用新型的目的可通过下列技术方案来实现:一种智能窗控制电路,其特征在于,包括用于检测环境光强的光强检测模块、用于检测空气中湿度的湿度检测模块、用于检测风速的风速检测模块,还包括分别与光强检测模块、湿度检测模块以及风速检测模块输出端连接的逻辑控制电路,所述逻辑控制电路输出端连接有电机驱动电路,所述电机驱动电路根据逻辑控制电路输送的控制信号控制电机启动或者关闭,还包括电源电路,所述电源电路分别与光强检测模块、湿度检测模块、风速检测模块、逻辑控制电路、电机驱动电路以及电机连接。The purpose of this utility model can be achieved through the following technical solutions: a smart window control circuit, characterized in that it includes a light intensity detection module for detecting ambient light intensity, a humidity detection module for detecting humidity in the air, and a The wind speed detection module for detecting wind speed also includes a logic control circuit connected to the output terminals of the light intensity detection module, the humidity detection module and the wind speed detection module respectively, the output terminal of the logic control circuit is connected with a motor drive circuit, and the motor drive circuit according to The control signal sent by the logic control circuit controls the motor to start or shut down, and also includes a power circuit, and the power circuit is respectively connected with the light intensity detection module, the humidity detection module, the wind speed detection module, the logic control circuit, the motor drive circuit and the motor.
在上述的智能窗控制电路中,所述逻辑控制电路包括电阻一、电阻二、电阻三、电阻四、开窗控制按钮、关窗控制按钮、开窗限位按钮、关窗限位按钮、非门一、非门二、非门三、非门四、非门五、非门六、双4输入与门一、双4输入与门二、双4输入与门三、双4输入与门四、双4输入与门五、四2输入与门一、四2输入与门二、四2输入或门一、四2输入或门二以及四2输入或门三,所述电阻一的一端连接电源输入端,另一端分别连接开窗控制按钮的一端、非门一的输入端以及双4输入与门一的第一输入端;所述电阻二的一端连接电源输入端,另一端分别连接关窗控制按钮的一端、非门二的输入端和双4输入与门三的第二输入端;所述电阻三的一端连接电源输入端,另一端分别连接开窗限位按钮的一端和非门三的输入端;所述电阻四的一端连接电源输入端,另一端分别连接关窗限位按钮的一端和非门四的输入端;所述开窗控制按钮的另一端、关窗控制按钮的另一端、开窗限位按钮的另一端以及关窗限位按钮的另一端均接地;所述非门一的输出端分别连接双4输入与门二的第一输入端、双4输入与门三的第一输入端、双4输入与门四的第一输入端以及双4输入与门五的第一输入端;所述非门二的输出端分别连接双4输入与门一的第二输入端、双4输入与门二的第二输入端、双4输入与门四的第二输入端以及双4输入与门五的第二输入端;所述非门三的输出端分别连接双4输入与门一的第三、第四输入端以及双4输入与门二的第三输入端;所述非门四的输出端分别连接双4输入与门三的第三、双4输入与门三的第四输入端、双4输入与门四的第四输入端和双4输入与门五的第三输入端;所述非门五的输入端连接风速检测模块的输出端,非门五的输出端连接四2输入与门一的第二输入端;所述非门六的输入端连接湿度检测模块的输出端,非门六的输出端连接四2输入与门一的第一输入端;所述双4输入与门二的第四输入端与光强检测模块的输出端连接;所述双4输入与门四的第三输入端与风速检测模块的输出端连接;所述双4输入与门五的第四输入端与湿度检测模块的输出端连接;所述双4输入与门一的输出端连接四2输入或门一的第一输入端;所述双4输入与门二的输出端、四2输入与门一的输出端分别连接四2输入与门二的第一输入端、第二输入端,所述四2输入与门二的输出端连接所述四2输入或门的第二输入端;所述双4输入与门三的输出端与所述四2输入或门二的第一输入端连接;所述双4输入与门四的输出端、双4输入与门五的输出端分别与四2输入或门三的第一输入端、第二输入端连接;所述四2输入或门三的输出端与所述四2输入或门二的第二输入端连接,所述四2输入或门一的输出端以及四2输入或门二的输出端与所述电机驱动电路连接。In the above smart window control circuit, the logic control circuit includes resistor 1, resistor 2, resistor 3, resistor 4, window opening control button, window closing control button, window opening limit button, window closing limit button, non- Gate 1, NOT gate 2, NOT gate 3, NOT gate 4, NOT gate 5, NOT gate 6, dual 4-input AND gate 1, dual 4-input AND gate 2, dual 4-input AND gate 3, dual 4-input AND gate 4 , double 4 input AND gate five, four 2 input AND gate one, four 2 input AND gate two, four 2 input OR gate one, four 2 input OR gate two and four 2 input OR gate three, one end of the resistor one is connected Power input terminal, the other end is respectively connected to one end of the window control button, the input terminal of NOT gate one and the first input terminal of dual 4-input AND gate one; one end of the resistor two is connected to the power input terminal, and the other end is respectively connected to the gate One end of the window control button, the input end of the NOT gate two and the second input end of the double 4 input AND gate three; one end of the resistor three is connected to the power input end, and the other end is respectively connected to one end of the window opening limit button and the NOT gate The input end of three; one end of said resistor four is connected to the power supply input end, and the other end is respectively connected to one end of the window closing limit button and the input end of non-gate four; the other end of said window opening control button, the window closing control button The other end, the other end of the window-opening limit button and the other end of the window-closing limit button are all grounded; the output terminals of the NOT gate one are respectively connected to the first input terminal of the dual-4 input AND gate two, the dual-4 input AND gate The first input end of three, the first input end of double 4 input AND gate four and the first input end of double 4 input AND gate five; the output end of described NOT gate two is respectively connected the second of double 4 input AND gate one Input end, the second input end of double 4 input AND gate two, the second input end of double 4 input AND gate four and the second input end of double 4 input AND gate five; The output end of described NOT gate three is respectively connected double The third and fourth input terminals of the 4-input AND gate one and the third input terminal of the dual 4-input AND gate two; the output terminals of the NOT gate four are respectively connected to the third and dual 4-input AND gates of the dual 4-input AND gate three The fourth input end of gate three, the fourth input end of double 4 input AND gate four and the third input end of double 4 input AND gate five; the input end of said NOT gate five is connected to the output end of the wind speed detection module, and the NOT gate The output end of five is connected to the second input end of gate one with four 2 inputs; the input end of said NOT gate six is connected to the output end of the humidity detection module, and the output end of gate six is connected to the first input of four two inputs AND gate one terminal; the fourth input end of the double 4 input AND door two is connected to the output end of the light intensity detection module; the third input end of the double four input AND gate four is connected to the output end of the wind speed detection module; the double The fourth input end of the 4-input AND gate five is connected to the output end of the humidity detection module; the output end of the double 4-input AND gate one is connected to the first input end of the four 2-input OR gate one; the double 4-input AND gate The output end of the second, the output end of the four-two-input AND gate one are respectively connected to the first input end and the second input end of the four-two-input AND gate two, and the output end of the four-two-input AND gate two is connected to the four-two input The second input end of OR gate; the output end of described double 4 input AND gate three is connected with the first input end of described four 2 input OR gate two; The output end of described double 4 input AND gate four, double 4 input The output end of input and gate five is respectively connected with the first input end and the second input end of four 2 input or gate three; the output end of said four 2 input or gate three is connected with the second of said four 2 input or gate two The input terminals are connected, and the output terminals of the four 2-input OR gate 1 and the output terminals of the quad 2-input OR gate 2 are connected with the motor drive circuit.
在上述的智能窗控制电路中,所述电机驱动电路包括四2输入与门三、四2输入与门四、四2输入与门五、四2输入与门六、场效应管一、场效应管二、场效应管三、场效应管四、二极管一、二极管二、二极管三、二极管四、电阻五、电阻六、运算放大器一、电位器一以及电机,所述四2输入与门三的第一输入端、四2输入与门六的第一输入端均与所述四2输入或门一的输出端连接,所述四2输入与门四的第一输入端、四2输入与门五的第一输入端均与所述四2输入或门二的输出端连接;所述四2输入与门三的第二输入端、四2输入与门四的第二输入端、四2输入与门五的第二输入端、四2输入与门六的第二输入端均与所述运算放大器的输出端连接;所述四2输入与门三的输出端与场效应管一的栅极连接,所述四2输入与门四的输出端与场效应管二的栅极连接,所述四2输入与门五的输出端与场效应管三的栅极连接,所述四2输入与门六的输出端与场效应管四的栅极连接;所述场效应管一的漏极分别连接电源输入、二极管一的负极、二极管三的负极以及场效应管三的漏极,所述场效应管一的源极分别连接场效应管二的漏极、电机,所述场效应管二的源极分别连电阻五的一端、二极管二的正极、二极管四的正极、运算放大器一的反相输入端以及场效应管四的源极,所述场效应管三的源极分别连接场效应管四的漏极和电机;所述二极管一的正极连接二极管二的负极,所述二极管三的正极连接二极管四的负极;所述电阻五的另一端接地;所述运算放大器一的同相输入端连接电位器一的电刷,所述运算放大器一正电源端接电阻六的一端,电阻六的另一端和运算放大器一负电源端分别连接电位器一电阻体的两端。In the above smart window control circuit, the motor drive circuit includes four 2-input AND gate three, four 2-input AND gate four, four 2-input AND gate five, four 2-input AND gate six, FET one, FET Tube 2, FET 3, FET 4, diode 1, diode 2, diode 3, diode 4, resistor 5, resistor 6, operational amplifier 1, potentiometer 1 and motor, the 4 2 input AND gate 3 The first input end of the first input end, the first input end of the four 2-input AND gate six are all connected to the output end of the four-two-input OR gate one, the first input end of the four-two-input AND gate four, the four-two-input AND gate The first input end of five is connected with the output end of described four 2 input or gate two; The second input end of described four 2 input AND gate three, the second input end of four 2 input AND gate four, the second input end of four 2 input The second input end of AND gate five, the second input end of four 2-input AND gate six are all connected with the output end of described operational amplifier; The output end of described four 2-input AND gate three is connected with the gate of field effect transistor one connection, the output end of the four 2-input AND gate four is connected to the gate of the field effect transistor two, the output end of the four-two input AND gate five is connected to the gate of the field effect transistor three, and the four-two input and gate The output terminal of the gate six is connected to the gate of the field effect transistor four; the drain of the field effect transistor one is connected to the power input, the cathode of the diode one, the cathode of the diode three and the drain of the field effect transistor three respectively. The source of effect transistor 1 is respectively connected to the drain of field effect transistor 2 and the motor, and the source of said field effect transistor 2 is respectively connected to one end of resistor 5, the positive pole of diode 2, the positive pole of diode 4, and the inverting phase of operational amplifier 1. The input end and the source of the field effect transistor four, the source of the field effect transistor three are respectively connected to the drain of the field effect transistor four and the motor; the anode of the diode one is connected to the cathode of the diode two, and the anode of the diode three is connected Connect the negative pole of the diode four; the other end of the resistor five is grounded; the non-inverting input end of the operational amplifier one is connected to the brush of the potentiometer one, the positive power supply terminal of the operational amplifier one is connected to one end of the resistor six, and the other end of the resistor six One end and a negative power supply end of the operational amplifier are respectively connected to two ends of a potentiometer and a resistor body.
在上述的智能窗控制电路中,所述光强检测模块包括光敏二极管、电阻七、电位器二、运算放大器二、电阻八、电阻九、指示灯以及电容;所述光敏二极管的正极接地,光敏二极管的负极分别连接电阻七的一端和运算放大器二的同相输入端,另一端连接电源;所述电位器二中电阻体的一端连接电源,另一端接地,所述电位器二中的电刷连接运算放大器二的反相输入端;所述运算放大器二的输出端作为光强检测模块的输出端与逻辑电路输入端连接;所述电阻八一端连接电源,另一端连接与运算放大器二的输出端连接;所述电阻九与指示灯串联后与电阻八并联;所述电容一端连接运算放大器二输出端,另一端接地。光照强弱能够改变光敏二极管中的工作电流,利用运算放大器二来跟踪电流的变化,就能自动采集光线变化的信息送入逻辑控制电路,完成系统的光线感应输入模式。In the above-mentioned smart window control circuit, the light intensity detection module includes a photosensitive diode, a resistor seven, a potentiometer two, an operational amplifier two, a resistor eight, a resistor nine, an indicator light, and a capacitor; The cathode of the diode is respectively connected to one end of the resistor seven and the non-inverting input end of the operational amplifier two, and the other end is connected to the power supply; one end of the resistor body in the potentiometer two is connected to the power supply, and the other end is grounded, and the brush in the potentiometer two is connected to The inverting input terminal of the operational amplifier two; the output terminal of the operational amplifier two is connected with the input terminal of the logic circuit as the output terminal of the light intensity detection module; the eighth end of the resistor is connected to the power supply, and the other end is connected to the output of the operational amplifier two The resistor nine is connected in series with the indicator light and then connected in parallel with the resistor eight; one end of the capacitor is connected to the second output end of the operational amplifier, and the other end is grounded. The intensity of light can change the working current in the photodiode, and the operation amplifier 2 is used to track the change of the current, and the information of the light change can be automatically collected and sent to the logic control circuit to complete the light sensing input mode of the system.
在上述的智能窗控制电路中,所述湿度检测模块采用HG38湿敏电阻作为检测传感器。湿敏电阻能够吸收空气中的水分而导致本身电阻变化,通过设置阈值使湿度检测模块能够在电阻值超出阈值时输出高电平信号,在低于阈值时输出低电平信号。In the above smart window control circuit, the humidity detection module uses an HG38 humidity sensitive resistor as a detection sensor. The humidity sensitive resistor can absorb moisture in the air and cause its own resistance to change. By setting the threshold value, the humidity detection module can output a high-level signal when the resistance value exceeds the threshold value, and output a low-level signal when the resistance value is lower than the threshold value.
在上述的智能窗控制电路中,所述风速检测模块为一个或者多个并联的小型风力发电机。利用小型风力发电马达,将它发出的低电平通过非门使它输出高电平,当电压随小型发电马达的转速上升而上升到达一定值时输出,从而达到控制的效果。In the above smart window control circuit, the wind speed detection module is one or more small wind power generators connected in parallel. Using a small wind power generator motor, pass the low level it sends out through the NOT gate to make it output a high level, when the voltage rises with the speed of the small generator motor and reaches a certain value, the output is achieved, so as to achieve the effect of control.
在上述的智能窗控制电路中,所述电源电路包括依次连接的交流输入端、变压器、桥式整流电路以及稳压电路。输入的交流电经过变压器降压后,再由桥式整流电路将交流电变换为直流电,继而通过稳压电路使得输出的电压稳定。In the above smart window control circuit, the power supply circuit includes an AC input terminal, a transformer, a bridge rectifier circuit and a voltage stabilizing circuit connected in sequence. After the input alternating current is stepped down by the transformer, the alternating current is converted into direct current by the bridge rectifier circuit, and then the output voltage is stabilized by the voltage stabilizing circuit.
与现有技术相比,本智能窗控制电路具有以下优点:Compared with the prior art, the smart window control circuit has the following advantages:
1、自动开关窗:阳光明媚的早上光敏晶体管感光通过逻辑控制电路自动打开窗户,更新室内空气;傍晚太阳落下时窗户自动关闭;1. Automatic window opening and closing: In the sunny morning, the photosensitive transistor automatically opens the window through the logic control circuit to update the indoor air; the window closes automatically when the sun sets in the evening;
2、自动防风:通过设定,使得当风速超过8m/s时,风速传感器检测信号,通过控制电路使窗户自动关闭。即使主人不在家,照样将其看管得无微不至,为人们营造一个干干净净的环境。2. Automatic wind protection: through setting, when the wind speed exceeds 8m/s, the wind speed sensor detects the signal, and the window is automatically closed through the control circuit. Even if the owner is not at home, he still takes good care of it and creates a clean environment for people.
3、自动防雨:平时上班或临时加班不能及时关窗、出门在外也总有忘记关窗的时候,遇到下雨时,湿敏传感器检测到下雨信息,逻辑控制电路控制电动机动作,窗门自动关闭,使家用设备免于遭雨水侵袭,解除后顾之忧。3. Automatic rain protection: the window cannot be closed in time when going to work or temporary overtime, and there are always times when you forget to close the window when you go out. When it rains, the humidity sensor detects the rain information, and the logic control circuit controls the motor action. The door is automatically closed, which protects household equipment from rain and relieves worries.
4、采用简单的门电路代替控制芯片,降低了整个电路的成本,实用性更高。4. A simple gate circuit is used to replace the control chip, which reduces the cost of the entire circuit and has higher practicability.
附图说明Description of drawings
图1是本实施例所应用的窗户的结构示意图。Fig. 1 is a structural schematic diagram of a window applied in this embodiment.
图2是本实施例智能窗控制电路的原理框图。Fig. 2 is a functional block diagram of the smart window control circuit in this embodiment.
图3是本实施例的逻辑控制电路原理图。Fig. 3 is a schematic diagram of the logic control circuit of this embodiment.
图4是本实施例的逻辑控制电路的逻辑判断表。FIG. 4 is a logic judgment table of the logic control circuit of this embodiment.
图5是本实施例的电机驱动电路原理图。Fig. 5 is a schematic diagram of the motor driving circuit of this embodiment.
图6是本实施例光检测模块的电路图。Fig. 6 is a circuit diagram of the light detection module of this embodiment.
图7是本实施例中电源电路图Fig. 7 is the power supply circuit diagram in the present embodiment
图中,1、左窗户;2、右窗户;3、电机;4、关窗限位;5、开窗限位;6、齿条;7、窗框。In the figure, 1, left window; 2, right window; 3, motor; 4, window closing limit; 5, window opening limit; 6, rack; 7, window frame.
具体实施方式Detailed ways
以下是本实用新型的具体实施例并结合附图,对本实用新型的技术方案作进一步的描述,但本实用新型并不限于这些实施例。The following are specific embodiments of the utility model and in conjunction with the accompanying drawings, the technical solution of the utility model is further described, but the utility model is not limited to these embodiments.
如图1,本实用新型所涉及窗户的结构包括:左窗户1、右窗户2、电机3、关窗限位4、开窗限位5、齿条6和窗框7,其中左窗户1和右窗户2可沿窗框7底部滑轨滑动,在左窗户1的顶部设置齿条6,齿条6与电机3的动力输出轴啮合,关窗限位4设置在左窗户1顶部左端的窗框7上,开窗限位5设置在右窗户2顶部右端的窗框7上。通过电机3转动带动齿条6,由于齿条6设置在左窗户1顶部,因此能够带动左窗户1左右移动,实现开启和关闭窗户的功能。As shown in Figure 1, the structure of the window involved in the utility model includes: left window 1, right window 2, motor 3, window closing limit 4, window opening limit 5, rack 6 and window frame 7, wherein left window 1 and The right window 2 can slide along the slide rail at the bottom of the window frame 7. A rack 6 is set on the top of the left window 1. The rack 6 is engaged with the power output shaft of the motor 3. The window closing limit 4 is arranged on the window at the left end of the top of the left window 1. On the frame 7, the window opening limit 5 is arranged on the window frame 7 at the right end of the right window 2 top. The tooth bar 6 is driven by the rotation of the motor 3. Since the tooth bar 6 is arranged on the top of the left window 1, it can drive the left window 1 to move left and right to realize the function of opening and closing the window.
如图2所示,本实施例的智能窗控制电路包括用于检测环境光强的光强检测模块、用于检测空气中湿度的湿度检测模块、用于检测风速的风速检测模块,还包括分别与光强检测模块、湿度检测模块以及风速检测模块输出端连接的逻辑控制电路,逻辑控制电路输出端连接有电机驱动电路,电机驱动电路根据逻辑控制电路输送的控制信号控制电机正转、反转或者停止,还包括电源电路,电源电路分别与光强检测模块、湿度检测模块、风速检测模块、逻辑控制电路、电机驱动电路以及电机连接。此外,还设置与逻辑控制电路连接的手动控制开关,以便实现手动强制开关窗户的功能。本实施例中,光强检测模块、湿度检测模块以及风速检测模块可以根据实际需要设置一个或者多个,具体设置位置为窗户外面,需要说明的是,上述检测模块设置时应避免被外物遮挡或者阻碍。As shown in Figure 2, the smart window control circuit of this embodiment includes a light intensity detection module for detecting ambient light intensity, a humidity detection module for detecting humidity in the air, and a wind speed detection module for detecting wind speed, and also includes A logic control circuit connected to the output terminals of the light intensity detection module, humidity detection module and wind speed detection module, the output terminal of the logic control circuit is connected with a motor drive circuit, and the motor drive circuit controls the forward rotation and reverse rotation of the motor according to the control signal sent by the logic control circuit Or stop, and also include a power circuit, the power circuit is respectively connected with the light intensity detection module, the humidity detection module, the wind speed detection module, the logic control circuit, the motor drive circuit and the motor. In addition, a manual control switch connected with the logic control circuit is also provided so as to realize the function of manually forcing the window to be opened and closed. In this embodiment, one or more light intensity detection modules, humidity detection modules, and wind speed detection modules can be installed according to actual needs, and the specific installation location is outside the window. It should be noted that the above detection modules should be installed to avoid being blocked by foreign objects Or get in the way.
如图3所示,本实施例中逻辑控制电路包括电阻R1、电阻R2、电阻R3、电阻R4、开窗控制按钮OB(Open Button)、关窗控制按钮CB(Close Button)、开窗限位按钮OL(Open limited)、关窗限位按钮CL(Close limited)、非门U1a、非门U1b、非门U1c、非门U1d、非门U1e、非门U1f、双4输入与门U2a、双4输入与门U2b、双4输入与门U2c、双4输入与门U2d、双4输入与门U2e、四2输入与门U3a、四2输入与门U3b、四2输入或门U4a、四2输入或门U4b以及四2输入或门U4c,电阻R1的一端连接输入的电压为+5V电源输入端,另一端分别连接开窗控制按钮OB的一端、非门U1a的输入端以及双4输入与门U2a的第一输入端;电阻R2的一端连接电源输入端,另一端分别连接关窗控制按钮CB的一端、非门U1b的输入端和双4输入与门U2c的第二输入端;电阻R3的一端连接电源输入端,另一端分别连接开窗限位按钮OL的一端和非门U1c的输入端;电阻R4的一端连接电源输入端,另一端分别连接关窗限位按钮的一端和非门U1d的输入端;开窗控制按钮OB的另一端、关窗控制按钮CB的另一端、开窗限位按钮OL的另一端以及关窗限位按钮的另一端均接地;非门U1a的输出端分别连接双4输入与门U2b的第一输入端、双4输入与门U2c的第一输入端、双4输入与门U2d的第一输入端以及双4输入与门U2e的第一输入端;非门U1b的输出端分别连接双4输入与门U2a的第二输入端、双4输入与门U2b的第二输入端、双4输入与门U2d的第二输入端以及双4输入与门U2e的第二输入端;非门U1c的输出端分别连接双4输入与门U2a的第三、第四输入端以及双4输入与门U2b的第三输入端;非门U1d的输出端分别连接双4输入与门U2c的第三输入端、双4输入与门U2c的第四输入端、双4输入与门U2d的第四输入端和双4输入与门U2e的第三输入端;非门U1e的输入端连接风速检测模块的输出端,非门U1e的输出端连接四2输入与门U3a的第二输入端;非门U1f的输入端连接湿度检测模块的输出端,非门U1f的输出端连接四2输入与门U3a的第一输入端;双4输入与门U2b的第四输入端与光强检测模块的输出端L(light)连接;双4输入与门U2d的第三输入端与风速检测模块的输出端W(wind)连接;双4输入与门U2e的第四输入端与湿度检测模块的输出端R(rain)连接;双4输入与门U2a的输出端连接四2输入或门U4a的第一输入端;双4输入与门U2b的输出端、四2输入与门U3a的输出端分别连接四2输入与门U3b的第一输入端、第二输入端,四2输入与门U3b的输出端连接四2输入或门的第二输入端;双4输入与门U2c的输出端与四2输入或门U4b的第一输入端连接;双4输入与门U2d的输出端、双4输入与门U2e的输出端分别与四2输入或门U4c的第一输入端、第二输入端连接;四2输入或门U4c的输出端与四2输入或门U4b的第二输入端连接,四2输入或门U4a的输出端以及四2输入或门U4b的输出端与电机驱动电路连接。As shown in Figure 3, the logic control circuit in this embodiment includes resistor R1, resistor R2, resistor R3, resistor R4, window opening control button OB (Open Button), window closing control button CB (Close Button), window opening limit Button OL (Open limited), window closing limit button CL (Close limited), NOT gate U1a, NOT gate U1b, NOT gate U1c, NOT gate U1d, NOT gate U1e, NOT gate U1f, dual 4-input AND gate U2a, dual 4-input AND gate U2b, dual 4-input AND gate U2c, dual 4-input AND gate U2d, dual 4-input AND gate U2e, quad 2-input AND gate U3a, quad 2-input AND gate U3b, quad 2-input OR gate U4a, quad 2 Input OR gate U4b and four 2-input OR gate U4c, one end of resistor R1 is connected to the input voltage of +5V power supply input end, and the other end is respectively connected to one end of window opening control button OB, the input end of NOT gate U1a and the double 4 input and The first input end of the gate U2a; one end of the resistor R2 is connected to the power input end, and the other end is respectively connected to one end of the window closing control button CB, the input end of the NOT gate U1b and the second input end of the dual 4-input AND gate U2c; the resistor R3 One end of resistor R4 is connected to the power input terminal, and the other end is respectively connected to one end of the window opening limit button OL and the input terminal of the NOT gate U1c; one end of the resistor R4 is connected to the power input terminal, and the other end is respectively connected to one end of the window closing limit button and the input terminal of the NOT gate. The input end of U1d; the other end of the window opening control button OB, the other end of the window closing control button CB, the other end of the window opening limit button OL and the other end of the window closing limit button are all grounded; the output end of the NOT gate U1a Respectively connect the first input end of the dual 4-input AND gate U2b, the first input end of the dual 4-input AND gate U2c, the first input end of the dual 4-input AND gate U2d and the first input end of the dual 4-input AND gate U2e; The output terminal of the NOT gate U1b is respectively connected to the second input terminal of the dual 4-input AND gate U2a, the second input terminal of the dual 4-input AND gate U2b, the second input terminal of the dual 4-input AND gate U2d, and the dual 4-input AND gate U2e The second input terminal of the NOT gate U1c is respectively connected to the third and fourth input terminals of the dual 4-input AND gate U2a and the third input terminal of the dual 4-input AND gate U2b; the output terminals of the NOT gate U1d are respectively connected to the dual The third input terminal of the 4-input AND gate U2c, the fourth input terminal of the dual 4-input AND gate U2c, the fourth input terminal of the dual 4-input AND gate U2d and the third input terminal of the dual 4-input AND gate U2e; the NOT gate U1e The input end of the NOT gate U1f is connected to the output end of the wind speed detection module, the output end of the NOT gate U1e is connected to the second input end of the 2-input AND gate U3a; the input end of the NOT gate U1f is connected to the output end of the humidity detection module, and the output end of the NOT gate U1f Connect the first input end of four 2-input AND gate U3a; the fourth input end of double 4-input AND gate U2b is connected with the output end L (light) of the light intensity detection module; the third input end of double 4-input AND gate U2d and The output terminal W(wind) of the wind speed detection module is connected; the double 4-input AND gate U2e The fourth input terminal of the humidity detection module is connected with the output terminal R (rain); the output terminal of the dual 4-input AND gate U2a is connected to the first input terminal of the quadruple 2-input OR gate U4a; the output terminal of the dual 4-input AND gate U2b, The output end of four 2-input AND gate U3a is respectively connected with the first input end and the second input end of four 2-input AND gate U3b, and the output end of four 2-input AND gate U3b is connected with the second input end of four 2-input OR gate; The output end of 4-input AND gate U2c is connected with the first input end of four 2-input OR gate U4b; the output end of double 4-input AND gate U2d, the output end of double 4-input AND gate U2e is respectively connected with the output end of four 2-input OR gate U4c The first input end and the second input end are connected; the output end of four 2-input OR gate U4c is connected with the second input end of four 2-input OR gate U4b, the output end of four 2-input OR gate U4a and four 2-input OR gate U4b The output terminal is connected with the motor drive circuit.
如图5所示,电机驱动电路包括四2输入与门U3c、四2输入与门U3d、四2输入与门U3e、四2输入与门U3f、场效应管Q1、场效应管Q2、场效应管Q3、场效应管Q4、二极管D1、二极管D2、二极管D3、二极管D4、电阻R5、电阻R6、运算放大器U5a、电位器RV1以及电机M,四2输入与门U3c的第一输入端、四2输入与门U3f的第一输入端均与四2输入或门U4a的输出端连接,四2输入与门U3d的第一输入端、四2输入与门U3e的第一输入端均与四2输入或门U4b的输出端连接;四2输入与门U3c的第二输入端、四2输入与门U3d的第二输入端、四2输入与门U3e的第二输入端、四2输入与门U3f的第二输入端均与运算放大器U5a的输出端连接;四2输入与门U3c的输出端与场效应管Q1的栅极G连接,四2输入与门U3d的输出端与场效应管Q2的栅极G连接,四2输入与门U3e的输出端与场效应管Q3的栅极G连接,四2输入与门U3f的输出端与场效应管Q4的栅极G连接;场效应管Q1的漏极D分别连接接电压为+12V的电源输入、二极管D1的负极、二极管D3的负极以及场效应管Q3的漏极D,场效应管Q1的源极S分别连接场效应管Q2的漏极D、电机M,场效应管Q2的源极S分别连电阻R5的一端、二极管D2的正极、二极管D4的正极、运算放大器U5a的反相输入端以及场效应管Q4的源极S,场效应管Q3的源极S分别连接场效应管Q4的漏极D和电机M;二极管D1的正极连接二极管D2的负极,二极管D3的正极连接二极管D4的负极;电阻R5的另一端接地;运算放大器U5a的同相输入端连接电位器RV1的电刷,运算放大器U5a正电源端连接电阻R6一端,电阻R6另一端和运算放大器U5a负电源端分别连接电位器RV1的电阻体的两端。As shown in Figure 5, the motor drive circuit includes four 2-input AND gate U3c, four 2-input AND gate U3d, four 2-input AND gate U3e, four 2-input AND gate U3f, FET Q1, FET Q2, FET Tube Q3, field effect transistor Q4, diode D1, diode D2, diode D3, diode D4, resistor R5, resistor R6, operational amplifier U5a, potentiometer RV1 and motor M, four 2-input AND gate U3c first input end, four The first input terminals of the 2-input AND gate U3f are connected to the output terminals of the 2-input OR gate U4a, and the first input terminals of the 2-input AND gate U3d and the first input terminals of the 2-input AND gate U3e are connected to the 2-input OR gate U3e. The output end of input OR gate U4b is connected; the second input end of four 2-input AND gate U3c, the second input end of four 2-input AND gate U3d, the second input end of four 2-input AND gate U3e, the second input end of four 2-input AND gate U3e, the second input end of four 2-input AND gate U3c The second input terminals of U3f are all connected to the output terminals of the operational amplifier U5a; the output terminals of the four-two-input AND gate U3c are connected to the gate G of the field effect transistor Q1, and the output terminals of the four-two-input AND gate U3d are connected to the field effect transistor Q2 The gate G of the four 2-input AND gate U3e is connected to the gate G of the field effect transistor Q3, and the output terminal of the four 2-input AND gate U3f is connected to the gate G of the field effect transistor Q4; the field effect transistor Q1 The drain D of the diode is respectively connected to the power supply input with a voltage of +12V, the cathode of the diode D1, the cathode of the diode D3, and the drain D of the field effect transistor Q3, and the source S of the field effect transistor Q1 is respectively connected to the drain of the field effect transistor Q2 The pole D, the motor M, and the source S of the field effect transistor Q2 are respectively connected to one end of the resistor R5, the positive pole of the diode D2, the positive pole of the diode D4, the inverting input terminal of the operational amplifier U5a, and the source S of the field effect transistor Q4. The source S of the effect transistor Q3 is respectively connected to the drain D of the field effect transistor Q4 and the motor M; the anode of the diode D1 is connected to the cathode of the diode D2, and the anode of the diode D3 is connected to the cathode of the diode D4; the other end of the resistor R5 is grounded; the operational amplifier The non-inverting input terminal of U5a is connected to the brush of the potentiometer RV1, the positive power supply terminal of the operational amplifier U5a is connected to one end of the resistor R6, and the other end of the resistor R6 and the negative power supply terminal of the operational amplifier U5a are respectively connected to both ends of the resistor body of the potentiometer RV1.
其中,非门(U1a—U1f)的型号均为74LS04,双4输入与门(U2a-U2e)的型号均为74LS21,四2输入与门(U3a-U3f)的型号均为74LS08,四2输入或门(U4a-U4b)的型号均为74LS32,场效应管(Q1-Q4)的型号均为2N6660,运算放大器(U5a、U5b)的型号均为LM393。Among them, the models of NOT gates (U1a-U1f) are all 74LS04, the models of dual 4-input AND gates (U2a-U2e) are all 74LS21, the models of four 2-input AND gates (U3a-U3f) are all 74LS08, and the models of four 2-input AND gates are all 74LS08. The model of the OR gate (U4a-U4b) is 74LS32, the model of the field effect transistor (Q1-Q4) is 2N6660, and the model of the operational amplifier (U5a, U5b) is LM393.
逻辑控制电路接收到各检测模块检测信息后的逻辑判断以及电机控制过程如图4所示,用L、R、W分别表示光、雨、风信号,1表示有光、有雨、有风,0表示无光、无雨、无风;O表示手动开窗按钮,C表示手动关窗按钮,1表示按下,0表示未按;FC、FO分别表示已关上限位开关和已全开限位开关,1表示已到限位点,0表示未到限位点。K1、K2、K3、K4表示驱动电机的正转、反转和停止的4个数字逻辑信号。开窗电机正转,用1001表示,关窗电机反转,用0110表示,电机不动用0000表示。The logical judgment and motor control process of the logic control circuit after receiving the detection information of each detection module are shown in Figure 4. L, R, and W represent light, rain, and wind signals respectively, and 1 represents light, rain, and wind. 0 means no light, no rain, no wind; O means manual window opening button, C means manual window closing button, 1 means pressed, 0 means not pressed; FC, FO means the upper limit switch has been closed and the limit switch has been fully opened Bit switch, 1 means that the limit point has been reached, and 0 means that the limit point has not been reached. K1, K2, K3, and K4 represent four digital logic signals for forward rotation, reverse rotation, and stop of the drive motor. 1001 represents the forward rotation of the window-opening motor, 0110 represents the reverse rotation of the window-closing motor, and 0000 represents the non-motor motor.
如图6所示,光强检测模块包括光敏二极管D5、电阻R7、电位器RV2、运算放大器U5b、电阻R8、电阻R9、指示灯D6以及电容C1;光敏二极管D5的正极接地,光敏二极管D5的负极分别连接电阻R7的一端和运算放大器U5b的同相输入端,另一端连接电源;电位器RV2中电阻体的一端连接电源,另一端接地,电位器RV2中的电刷连接运算放大器U5b的反相输入端;运算放大器U5b的输出端作为光强检测模块的输出端与逻辑电路输入端连接;电阻R7一端连接电源,另一端连接与运算放大器U5b的输出端连接;电阻R9与指示灯D6串联后与电阻R8并联;电容C1一端连接运算放大器U5b输出端,另一端接地。As shown in Figure 6, the light intensity detection module includes photodiode D5, resistor R7, potentiometer RV2, operational amplifier U5b, resistor R8, resistor R9, indicator light D6, and capacitor C1; the anode of photodiode D5 is grounded, and the anode of photodiode D5 The negative pole is respectively connected to one end of the resistor R7 and the non-inverting input end of the operational amplifier U5b, and the other end is connected to the power supply; one end of the resistor body in the potentiometer RV2 is connected to the power supply, and the other end is grounded, and the brush in the potentiometer RV2 is connected to the inverting phase of the operational amplifier U5b Input terminal; the output terminal of the operational amplifier U5b is connected to the input terminal of the logic circuit as the output terminal of the light intensity detection module; one end of the resistor R7 is connected to the power supply, and the other end is connected to the output terminal of the operational amplifier U5b; after the resistor R9 is connected in series with the indicator light D6 It is connected in parallel with the resistor R8; one end of the capacitor C1 is connected to the output end of the operational amplifier U5b, and the other end is grounded.
湿度检测模块采用HG38湿敏电阻作为检测传感器。湿敏电阻能够吸收空气中的水分而导致本身电阻变化,通过设置阈值使湿度检测模块能够在电阻值超出阈值时输出高电平信号,在低于阈值时输出低电平信号。The humidity detection module uses HG38 humidity sensitive resistor as the detection sensor. The humidity sensitive resistor can absorb moisture in the air and cause its own resistance to change. By setting the threshold value, the humidity detection module can output a high-level signal when the resistance value exceeds the threshold value, and output a low-level signal when the resistance value is lower than the threshold value.
风速检测模块为一个或者多个并联的小型风力发电机。通过利用小型风力发电马达,将它发出的低电平通过非门使它输出高电平,当电压随小型发电马达的转速上升而上升到达一定值时输出,从而达到控制的效果。The wind speed detection module is one or more small wind power generators connected in parallel. By using a small wind power generator motor, the low level it sends out is passed through the NOT gate to make it output a high level, and when the voltage rises with the speed of the small generator motor and reaches a certain value, the output is achieved, so as to achieve the effect of control.
如图7所示,电源电路包括依次连接的交流输入端、变压器T、由四个二极管(D7-D10)构成的桥式整流单元以及由电容C2、C3和稳压电路U6构成的稳压单元。其中稳压电路U6为三端稳压集成电路7805。As shown in Figure 7, the power supply circuit includes an AC input terminal connected in sequence, a transformer T, a bridge rectifier unit composed of four diodes (D7-D10), and a voltage stabilizing unit composed of capacitors C2, C3 and a voltage stabilizing circuit U6 . The voltage stabilizing circuit U6 is a three-terminal voltage stabilizing integrated circuit 7805.
本智能窗控制电路通过简单的门电路组成的逻辑电路实现对窗户的智能控制,实现了自动开关窗户、自动防风、防雨等实用性功能,价格低廉、性能可靠,能满足普通百姓对智能窗的需求,解决了现在市场上的智能窗控制器功能复杂,价格昂贵,但在实际使用中却有很多功能用不到,造成很大的浪费的问题。The intelligent window control circuit realizes the intelligent control of windows through the logic circuit composed of simple gate circuits, and realizes practical functions such as automatic opening and closing of windows, automatic windproof, and rainproof. It solves the problem that the smart window controllers on the market are complex in function and expensive, but many functions are not used in actual use, resulting in a lot of waste.
本文中所描述的具体实施例仅仅是对本实用新型精神作举例说明。本实用新型所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本实用新型的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are only examples to illustrate the spirit of the present invention. Those skilled in the technical field to which the utility model belongs can make various modifications or supplements to the described specific embodiments or adopt similar methods to replace them, but they will not deviate from the spirit of the utility model or go beyond the appended claims defined range.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201420787261.8U CN204299374U (en) | 2014-12-12 | 2014-12-12 | A kind of smart window control circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201420787261.8U CN204299374U (en) | 2014-12-12 | 2014-12-12 | A kind of smart window control circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN204299374U true CN204299374U (en) | 2015-04-29 |
Family
ID=53104920
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201420787261.8U Expired - Fee Related CN204299374U (en) | 2014-12-12 | 2014-12-12 | A kind of smart window control circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN204299374U (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104929475A (en) * | 2015-06-01 | 2015-09-23 | 清华大学 | Natural ventilation intelligent control system and method |
| CN105353632A (en) * | 2015-11-27 | 2016-02-24 | 中山市厚源电子科技有限公司 | A self-cleaning smart home device |
| CN107091032A (en) * | 2017-05-23 | 2017-08-25 | 孙凤兰 | Building form parameter analysis platform |
| CN110716490A (en) * | 2019-11-06 | 2020-01-21 | 高晓勇 | Multi-integrated sensor integrated board circuit |
-
2014
- 2014-12-12 CN CN201420787261.8U patent/CN204299374U/en not_active Expired - Fee Related
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104929475A (en) * | 2015-06-01 | 2015-09-23 | 清华大学 | Natural ventilation intelligent control system and method |
| CN105353632A (en) * | 2015-11-27 | 2016-02-24 | 中山市厚源电子科技有限公司 | A self-cleaning smart home device |
| CN107091032A (en) * | 2017-05-23 | 2017-08-25 | 孙凤兰 | Building form parameter analysis platform |
| CN108071297A (en) * | 2017-05-23 | 2018-05-25 | 孙凤兰 | Building forms Parameter analysis platform |
| CN108071297B (en) * | 2017-05-23 | 2019-04-26 | 新昌县侃梁机械配件厂 | Building form parameter analysis platform |
| CN110716490A (en) * | 2019-11-06 | 2020-01-21 | 高晓勇 | Multi-integrated sensor integrated board circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN204418899U (en) | A kind of control for electric windows | |
| CN205743507U (en) | A kind of solar energy window | |
| CN204402239U (en) | A kind of curtain Controller | |
| CN211623062U (en) | Sliding window and control system thereof | |
| CN202139951U (en) | Intelligent window control system | |
| CN205606846U (en) | Long -range air purification system based on internet | |
| CN201422297Y (en) | An automatic rolling shutter device for greenhouses | |
| CN202611428U (en) | Intelligent telescopic window | |
| CN202720506U (en) | Home furnishing environment intelligent control circuit | |
| CN207700958U (en) | A kind of Multifunctional intelligent window | |
| CN207228880U (en) | A kind of intelligent aeration window | |
| CN205477074U (en) | Vertical hinged door automatic switch door machine | |
| CN203559696U (en) | Control device of intelligent rainproof balcony | |
| CN202926083U (en) | Automatic storm window | |
| CN112747435A (en) | Method and device for controlling direct current ventilation system and direct current ventilation system | |
| CN205433242U (en) | Solar energy intelligence curtain control system | |
| CN201232462Y (en) | Compact and practical electric window | |
| CN203978879U (en) | A kind of ventilating fan with photo-voltaic power supply | |
| CN205778363U (en) | A kind of automatic louver | |
| CN202559959U (en) | Intelligent window | |
| CN214273298U (en) | Intelligent window | |
| CN206506195U (en) | An intelligent outdoor power cabinet with rainproof and high temperature-proof functions | |
| CN203669604U (en) | Automatic window | |
| CN208380468U (en) | A kind of shading system of intelligent building | |
| CN106923636A (en) | A kind of novel intelligent curtain |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 Termination date: 20161212 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |