Security window system and starting method

文档序号:504760 发布日期:2021-05-28 浏览:17次 中文

阅读说明:本技术 一种防盗窗系统和启动方法 (Security window system and starting method ) 是由 宋培勋 宋正哲 于 2021-01-30 设计创作,主要内容包括:本发明公开了一种防盗窗系统,包括防盗窗和防盗窗电机,包括室内感应装置、室外感应装置和单片机;所述单片机与所述防盗窗电机电性连接;所述室内感应装置/室外感应装置与所述单片机电性连接,并在所述单片机的控制下感应人员的进出门动作,每发生一次所述进出门动作就由所述室内感应装置/室外感应装置向所述单片机输入电平信号;所述单片机通过处理由所述室内感应装置/室外感应装置输入的电平信号来判断进门动作/出门动作;所述单片机还根据所述进门动作/所述出门动作的次数统计当前室内人数,并在室内人数为零时控制所述防盗窗电机启动控制所述防盗窗展开。本发明能够在夜间或室内无人时自动开启防盗窗。(The invention discloses an anti-theft window system, which comprises an anti-theft window and an anti-theft window motor, wherein the anti-theft window motor comprises an indoor sensing device, an outdoor sensing device and a single chip microcomputer; the single chip microcomputer is electrically connected with the anti-theft window motor; the indoor sensing device/outdoor sensing device is electrically connected with the single chip microcomputer and senses the door entering and exiting actions of personnel under the control of the single chip microcomputer, and level signals are input to the single chip microcomputer by the indoor sensing device/outdoor sensing device every time the door entering and exiting actions occur; the single chip microcomputer judges the door entering action/the door exiting action by processing the level signal input by the indoor sensing device/the outdoor sensing device; the single chip microcomputer also counts the current number of people indoors according to the times of the door entering action/the door exiting action, and controls the motor of the security window to start and control the security window to unfold when the number of people indoors is zero. The invention can automatically open the anti-theft window at night or when nobody is in the room.)

1. An anti-theft window system comprises an anti-theft window and an anti-theft window motor (80) used for controlling the anti-theft window to unfold/fold, and is characterized by comprising an indoor sensing device (10), an outdoor sensing device (20) and a single chip microcomputer (30); the single chip microcomputer (30) is electrically connected with the anti-theft window motor (80);

the indoor sensing device (10) is electrically connected with the single chip microcomputer (30) and senses the door entering and exiting actions of personnel under the control of the single chip microcomputer (30), and level signals are input to the single chip microcomputer (30) by the indoor sensing device (10) every time the door entering and exiting actions occur;

the outdoor sensing device (20) is electrically connected with the single chip microcomputer (30) and senses the door entering and exiting actions of personnel under the control of the single chip microcomputer (30), and level signals are input to the single chip microcomputer (30) by the outdoor sensing device (20) every time the door entering and exiting actions occur;

the single chip microcomputer (30) judges the door entering action/the door exiting action by processing the level signal input by the indoor sensing device (10) and the level signal input by the outdoor sensing device (20); the single chip microcomputer (30) also counts the current number of people indoors according to the number of times of door entering and exiting actions, and controls the motor (80) of the security window to start and control the security window to unfold when the number of people indoors is zero.

2. A burglary-resisting window system according to claim 1, wherein the indoor sensing device (10) comprises an indoor infrared transmitter (11), an indoor infrared receiver (12) and an indoor infrared processor (13); the indoor infrared emitter (11) and the indoor infrared processor (13) are electrically connected with the single chip microcomputer (30); the indoor infrared receiver (12) receives the infrared light beams emitted by the indoor infrared emitter (11), the intensity of the received infrared light beams is input to the indoor infrared processor (13) for processing, and the indoor infrared processor (13) inputs the processing results to the single chip microcomputer (30) for processing in a high-low level mode;

the outdoor sensing device (20) comprises an outdoor infrared transmitter (21), an outdoor infrared receiver (22) and an outdoor infrared processor (23); the outdoor infrared emitter (21) and the outdoor infrared processor (23) are electrically connected with the single chip microcomputer (30); the outdoor infrared receiver (22) receives the infrared light beams emitted by the outdoor infrared emitter (21), the intensity of the received infrared light beams is input to the outdoor infrared processor (23) to be processed, and the outdoor infrared processor (23) inputs the processing result to the single chip microcomputer (30) to be processed in a high-low level mode.

3. A burglary-resisting window system according to claim 2, characterized by further comprising an external light sensor (41), a light intensity comparator (42) electrically connected with said external light sensor (41), and a first a/D converter (43) electrically connected with said light intensity comparator (42); the external photosensitive sensor (41) converts the sensed light intensity signal into a voltage signal and inputs the voltage signal to the light intensity comparator (42); the light intensity comparator (42) compares a voltage signal input by the external photosensitive sensor (41) with a photosensitive reference voltage (40), and inputs a comparison result into the first A/D converter (43) for digital-to-analog signal conversion.

4. A burglary-resisting window system according to claim 3, characterized by further comprising a wind speed sensor (51), a wind speed comparator (52) electrically connected with said wind speed sensor (51) and a second a/D converter (53) electrically connected with said wind speed comparator (52); the wind speed sensor (51) converts the sensed wind speed signal into a voltage signal and inputs the voltage signal to the wind speed comparator (52); the wind speed comparator (52) compares the voltage signal input by the wind speed sensor (51) with a wind speed reference voltage (50), and inputs the comparison result into the second A/D converter (53) for digital-to-analog signal conversion.

5. The burglary-resisting window system according to claim 4, further comprising a three-input OR gate selector (60), wherein the output end of the first A/D converter (43), the output end of the second A/D converter (53) and the output end of the single chip microcomputer (30) are connected to the input end of the three-input OR gate selector (60), and the output end of the three-input OR gate selector (60) is electrically connected with the burglary-resisting window motor (80).

6. A burglary-resisting window system according to claim 5, characterized in that, a manual button (70) is connected in series between the output of the three-input OR gate selector (60) and the burglary-resisting window motor (80), the manual button (70) is used for directly cutting off the electric control of the burglary-resisting window motor (80).

7. A burglary-resisting window starting method applied to the burglary-resisting window system of claim 6, comprising the following steps:

step S100: the indoor sensing device (10) and the outdoor sensing device (20) both sense the door entrance and exit actions, the single chip microcomputer (30) calculates the number of people in a room, and the single chip microcomputer (30) outputs a control level according to a calculation result;

the external photosensitive sensor (41) senses the illumination intensity, the light intensity comparator (42) judges whether the light intensity is at night or not, and the comparison result judged by the light intensity comparator (42) is subjected to digital-to-analog conversion through the first A/D converter (43) and then outputs a control level;

the wind speed sensor (51) senses the wind speed intensity, the wind speed comparator (52) judges whether the wind speed is overlarge, and the comparison result judged by the wind speed comparator (52) is subjected to digital-to-analog conversion through the second A/D converter (53) and then outputs a control level;

step S200: when the output level of the single chip microcomputer (30), the output level of the first A/D converter (43) and the output level of the second A/D converter (53) all output low levels, the three-input OR gate comparator outputs low levels, and the security window motor (80) stops;

when at least one of the output level of the single chip microcomputer (30), the output level of the first a/D converter (43) and the output level of the second a/D converter (53) outputs a high level, the three-input or-gate comparator outputs a high level, and the process proceeds to step S300;

step S300: the three-input OR gate comparator outputs a high level; when the manual key (70) is closed, the security window motor (80) is started; when the manual button (70) is turned off, the security window motor (80) is not electrically controlled.

8. The burglary-resisting window starting method according to claim 7, wherein in the step S100, when the indoor infrared receiver (12)/the outdoor infrared receiver (22) receives an infrared beam, the indoor infrared processor (13)/the outdoor infrared receiver (22) outputs a high level as an output end; when the indoor infrared receiver (12)/the outdoor infrared receiver (22) does not receive the infrared light beam, the processing result of the indoor infrared processor (13)/the outdoor infrared receiver (22) is that the output end outputs low level;

the process of calculating the number of the indoor people by the single chip microcomputer (30) further comprises the following substeps:

substep S110: when no person enters or exits, the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) keeps outputting high level/high level, and the number of persons in the room keeps unchanged;

when the single chip microcomputer (30) judges that the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) jumps to output a low level/a high level, the substep S120 is carried out;

when the single chip microcomputer (30) judges that the high level/low level is output from the output end of the indoor infrared processor (13)/outdoor infrared receiver (22), the substep S130 is entered;

substep S120: the single chip microcomputer (30) judges whether to jump to the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) to output low level/low level;

if yes, go to substep S121;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S121: the single chip microcomputer (30) judges whether to jump to the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) to output high level/low level;

if yes, go to substep S122;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S122: the single chip microcomputer (30) judges whether to jump to the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) to output high level/high level;

when the judgment result is yes, adding one to the number of the indoor people, and returning to the substep S110 to continue judging;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S130: the single chip microcomputer (30) judges whether to jump to the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) to output low level/low level;

if yes, go to substep S131;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S131: the single chip microcomputer (30) judges whether to jump to the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) to output low level/high level;

if yes, go to substep S132;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S132: the single chip microcomputer (30) judges whether to jump to the output end of the indoor infrared processor (13)/the outdoor infrared receiver (22) to output high level/high level;

when the judgment result is yes, the number of the indoor people is reduced by one, and the substep S133 is carried out;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S133: the single chip microcomputer (30) judges whether the number of the indoor people is zero or not;

when the judgment result is yes, the single chip microcomputer (30) outputs a high level;

when the judgment result is negative, the process returns to the substep S110 to continue the judgment.

9. The burglary-resisting window starting method according to claim 7, wherein in the step S100, the light intensity comparator (42) judges whether the night specifically includes the following processes:

the external photosensitive sensor (41) converts the intensity of the induced illumination into a voltage signal, the voltage signal is input into the light intensity comparator (42) to be compared with the light intensity reference voltage, the comparison result is input into the first A/D converter (43) by the light intensity comparator (42) to be subjected to digital-to-analog conversion, and then the first A/D converter (43) outputs high and low levels;

when the voltage signal converted by the illumination intensity is smaller than the light intensity reference voltage, the output end of the first A/D converter (43) outputs a high level;

and when the voltage signal converted by the illumination intensity is greater than the light intensity reference voltage, the output end of the first A/D converter (43) outputs a low level.

10. The method for starting an anti-theft window according to claim 7, wherein in the step S100, the wind speed comparator (52) determines whether the wind speed is too high, and specifically comprises the following steps:

the wind speed sensor (51) converts the strength of the induced wind speed into a voltage signal, the voltage signal is input into the wind speed comparator (52) to be compared with the wind speed reference voltage (50), the wind speed comparator (52) inputs the comparison result into the second A/D converter (53) again to perform digital-to-analog conversion, and then the second A/D converter (53) outputs high and low levels;

when the voltage signal converted by the wind speed intensity is smaller than the wind speed reference voltage (50), the output end of the second A/D converter (53) outputs a low level;

when the voltage signal converted by the wind speed intensity is larger than the wind speed reference voltage (50), the output end of the second A/D converter (53) outputs high level.

Technical Field

The invention belongs to the technical field of household anti-theft automatic control, and particularly relates to an anti-theft window system and a starting method.

Background

With the frequent occurrence of burglary in recent years, the safety protection consciousness of people to families is also increased, and the burglary-resisting window is used as a safety barrier for resisting burglary and is an essential choice for ordinary families during indoor decoration design. The traditional anti-theft window is traditional, laggard, clumsy and not easy to disassemble, and is difficult to escape in emergency such as fire. Therefore, in order to solve the problems, the existing market has the burglary-resisting window which can be controlled to be opened and closed, whether the burglary-resisting window needs to be opened or not can be manually operated by a user, when the burglary-resisting window needs to be opened, the user can unfold the burglary-resisting window, and when the burglary-resisting window does not need to be folded. Although the anti-theft window can solve the problem that the anti-theft window cannot be detached, when a user forgets to open the anti-theft window when going out or at night, the effect of the anti-theft window cannot be reflected, and the anti-theft window still has great hidden danger of burglary.

Disclosure of Invention

The invention aims to solve the problems and provides an anti-theft window system and a starting method, wherein the anti-theft window can be automatically opened at night or indoors when no person is in the room.

The invention is realized by the following technical scheme: the invention provides a burglary-resisting window system, including the burglary-resisting window, and burglary-resisting window motor used for controlling the expansion/furling of said burglary-resisting window, including indoor induction system, outdoor induction system and one-chip computer; the single chip microcomputer is electrically connected with the anti-theft window motor; the indoor sensing device is electrically connected with the single chip microcomputer and senses the door entering and exiting actions of personnel under the control of the single chip microcomputer, and a level signal is input to the single chip microcomputer by the indoor sensing device every time the door entering and exiting actions occur; the outdoor sensing device is electrically connected with the single chip microcomputer and senses the door entering and exiting actions of personnel under the control of the single chip microcomputer, and a level signal is input to the single chip microcomputer by the outdoor sensing device every time the door entering and exiting actions occur; the single chip microcomputer judges the door entering action/the door exiting action by processing the level signal input by the indoor sensing device and the level signal input by the outdoor sensing device; the single chip microcomputer also counts the current number of people indoors according to the number of times of door entering and exiting actions, and controls the motor of the security window to start and control the security window to unfold when the number of people indoors is zero.

By adopting the technical scheme: can judge whether indoor someone with the indoor number of calculation business turn over through indoor induction system, outdoor induction system and singlechip collaborative work, the response to the indoor number of people who arrives according to the automatic calculation, realize opening burglary-resisting window motor automatically when indoor number is zero, thereby open the burglary-resisting window, protect indoor.

Optionally, the indoor sensing device includes an indoor infrared transmitter, an indoor infrared receiver, and an indoor infrared processor; the indoor infrared transmitter and the indoor infrared processor are electrically connected with the single chip microcomputer; the indoor infrared receiver receives the infrared light beams emitted by the indoor infrared emitter, the intensity of the received infrared light beams is input to the indoor infrared processor for processing, and the indoor infrared processor inputs the processing results to the single chip microcomputer for processing in a high-low level mode; the outdoor sensing device comprises an outdoor infrared transmitter, an outdoor infrared receiver and an outdoor infrared processor; the outdoor infrared transmitter and the outdoor infrared processor are electrically connected with the single chip microcomputer; the outdoor infrared receiver receives the infrared light beams emitted by the outdoor infrared emitter, the intensity of the received infrared light beams is input to the outdoor infrared processor for processing, and the outdoor infrared processor inputs the processing result to the single chip microcomputer for processing in a high-low level mode.

By adopting the technical scheme: can come the response through indoor infrared transmitter, indoor infrared receiver and indoor infrared processor and get into indoor number, respond to the number of going out through outdoor infrared transmitter, outdoor infrared receiver and outdoor infrared processor, handle the number of going into and the number of going out through the singlechip and acquire indoor number.

Optionally, the system further comprises an external photosensitive sensor, a light intensity comparator electrically connected with the external photosensitive sensor, and a first a/D converter electrically connected with the light intensity comparator; the external photosensitive sensor converts the sensed light intensity signal into a voltage signal and then inputs the voltage signal to the light intensity comparator; and the light intensity comparator compares a voltage signal input by the external photosensitive sensor with a photosensitive reference voltage, and inputs a comparison result into the first A/D converter to convert a digital-to-analog signal.

By adopting the technical scheme: can acquire external illumination intensity, acquire the external world promptly and be daytime or night to whether the daytime that will judge is the condition at night and use on the singlechip is to the control of burglary-resisting window motor.

Optionally, the wind speed sensor further comprises a wind speed sensor, a wind speed comparator electrically connected with the wind speed sensor, and a second a/D converter electrically connected with the wind speed comparator; the wind speed sensor converts the sensed wind speed signal into a voltage signal and then inputs the voltage signal to the wind speed comparator; and the wind speed comparator compares the voltage signal input by the wind speed sensor with a wind speed reference voltage, and inputs the comparison result into the second A/D converter to convert a digital-to-analog signal.

By adopting the technical scheme: the method can acquire the wind speed intensity of the outside, namely, whether the outside is in a strong wind state or not, and the condition that whether the outside is in the strong wind state or not is judged and applied to the control of the single chip microcomputer on the motor of the anti-theft window.

Optionally, the antitheft window further comprises a three-input or gate selector, the output end of the first a/D converter, the output end of the second a/D converter and the output end of the single chip are all connected to the input end of the three-input or gate selector, and the output end of the three-input or gate selector is electrically connected to the antitheft window motor.

By adopting the technical scheme: the motor of the anti-theft window can be automatically started at night, so that the anti-theft window can be started, and the indoor environment can be protected at night; and the motor of the security window can be automatically opened in the windy weather, so that the security window can be opened.

Optionally, a manual key is connected in series between the output end of the three-input or gate selector and the security window motor, and the manual key is used for directly cutting off the electrical control of the security window motor.

By adopting the technical scheme: can directly cut off the electrical control to burglary-resisting window motor through manual button.

The invention also discloses a starting method of the anti-theft window, which is applied to the anti-theft window system and comprises the following steps:

step S100: the indoor sensing device and the outdoor sensing device both sense the door entrance and exit actions, the single chip microcomputer calculates the number of people in a room, and the single chip microcomputer outputs a control level according to a calculation result;

the external photosensitive sensor senses the illumination intensity, the light intensity comparator judges whether the light intensity is at night or not, and a comparison result judged by the light intensity comparator is subjected to digital-to-analog conversion through the first A/D converter and then outputs a control level;

the wind speed sensor senses the wind speed intensity, the wind speed comparator judges whether the wind speed is overlarge or not, and the comparison result judged by the wind speed comparator is subjected to digital-to-analog conversion through the second A/D converter and then outputs a control level;

step S200: when the output level of the single chip microcomputer, the output level of the first A/D converter and the output level of the second A/D converter all output low levels, the three-input OR gate comparator outputs low levels, and the anti-theft window motor stops;

when at least one of the output level of the single chip microcomputer, the output level of the first a/D converter and the output level of the second a/D converter outputs a high level, the three-input or-gate comparator outputs a high level, and the process goes to step S300;

step S300: the three-input OR gate comparator outputs a high level; when the manual key is closed, the motor of the anti-theft window is started; when the manual key is switched off, the motor of the anti-theft window is not electrically controlled.

Optionally, in step S100, when the indoor infrared receiver/the outdoor infrared receiver receives an infrared beam, a processing result of the indoor infrared processor/the outdoor infrared receiver is that an output end outputs a high level; and when the indoor infrared receiver/the outdoor infrared receiver does not receive the infrared light beam, the processing result of the indoor infrared processor/the outdoor infrared receiver is the output end to output a low level.

The process of calculating the number of people in the room by the single chip microcomputer further comprises the following substeps:

substep S110: when no person enters or exits, the output end of the indoor infrared processor/outdoor infrared receiver keeps outputting high level/high level, and the number of persons in the room keeps unchanged;

when the single chip microcomputer judges that the output end of the indoor infrared processor/outdoor infrared receiver jumps to output a low level/a high level, the substep S120 is entered;

when the single chip microcomputer judges that the output end of the indoor infrared processor/outdoor infrared receiver jumps to output a high level/a low level, the substep S130 is entered;

substep S120: the single chip microcomputer judges whether to jump to the output end of the indoor infrared processor/outdoor infrared receiver to output a low level/a low level;

if yes, go to substep S121;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S121: the single chip microcomputer judges whether to jump to the output end of the indoor infrared processor/outdoor infrared receiver to output high level/low level;

if yes, go to substep S122;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S122: the single chip microcomputer judges whether to jump to the output end of the indoor infrared processor/outdoor infrared receiver to output a high level or a high level;

when the judgment result is yes, adding one to the number of the indoor people, and returning to the substep S110 to continue judging;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S130: the single chip microcomputer judges whether to jump to the output end of the indoor infrared processor/outdoor infrared receiver to output a low level/a low level;

if yes, go to substep S131;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S131: the single chip microcomputer judges whether to jump to the output end of the indoor infrared processor/outdoor infrared receiver to output low level/high level;

if yes, go to substep S132;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S132: the single chip microcomputer judges whether to jump to the output end of the indoor infrared processor/outdoor infrared receiver to output a high level or a high level;

when the judgment result is yes, the number of the indoor people is reduced by one, and the substep S133 is carried out;

when the judgment result is negative, the indoor people counting is kept unchanged;

substep S133: the single chip microcomputer judges whether the number of the indoor people is zero or not;

when the judgment result is yes, the single chip microcomputer outputs a high level;

when the judgment result is negative, the process returns to the substep S110 to continue the judgment.

Optionally, in step S100, the light intensity comparator determines whether to include the following steps:

the external photosensitive sensor converts the intensity of the induced illumination into a voltage signal, the voltage signal is input into the light intensity comparator to be compared with the light intensity reference voltage, the comparison result is input into the first A/D converter by the light intensity comparator to be subjected to digital-to-analog conversion, and then the first A/D converter outputs high and low levels;

when the voltage signal converted by the illumination intensity is smaller than the light intensity reference voltage, the output end of the first A/D converter outputs a high level;

and when the voltage signal converted by the illumination intensity is greater than the light intensity reference voltage, the output end of the first A/D converter outputs a low level.

Optionally, in step S100, the step of judging whether the wind speed is too high by the wind speed comparator specifically includes the following steps:

the wind speed sensor converts the strength of the induced wind speed into a voltage signal, the voltage signal is input into the wind speed comparator to be compared with the wind speed reference voltage, the wind speed comparator inputs the comparison result into the second A/D converter again to carry out digital-to-analog conversion, and then the second A/D converter outputs high and low levels;

when the voltage signal converted by the wind speed intensity is smaller than the wind speed reference voltage, the output end of the second A/D converter outputs a low level;

and when the voltage signal converted by the wind speed intensity is greater than the wind speed reference voltage, the output end of the second A/D converter outputs a high level.

Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

fig. 1 is a schematic circuit control diagram of an anti-theft window system according to a first embodiment of the present invention;

fig. 2 is a schematic view of an installation position structure of an indoor sensing device and an outdoor sensing device of an anti-theft window system according to a first embodiment of the present invention;

fig. 3 is a schematic process diagram of a burglary-resisting window starting method according to a second embodiment of the present invention;

fig. 4 is a schematic view illustrating a door-entering sensing process of a burglary-resisting window starting method according to a second embodiment of the present invention;

fig. 5 is a schematic view illustrating an exit sensing process of a burglary-resisting window starting method according to a second embodiment of the present invention;

FIG. 6 is a diagram illustrating a process of determining the number of persons in a room according to a second method for starting a security window of the present invention;

10-indoor sensing means; 11-indoor infrared emitter; 12-an indoor infrared receiver; 13-indoor infrared processor;

20-outdoor sensing means; 21-outdoor infrared emitter; 22-outdoor infrared receiver; 23-an outdoor infrared processor;

30-a single chip microcomputer;

40-a photosensitive reference voltage; 41-external photosensitive sensor; 42-light intensity comparator; 43-a first a/D converter;

50-wind speed reference voltage; 51-a wind speed sensor; 52-wind speed comparator; 53-a second a/D converter;

60-three input OR gate selector; 70-manual key press; 80-burglary-resisting window motor.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention without any inventive step, are within the scope of protection of the invention.

The first embodiment is as follows:

the embodiment discloses a security window system, which comprises a security window and a security window motor 80 for controlling the security window to extend and retract. In this embodiment, the security window can be automatically opened and deployed at night, when no person is present in the room, and when the weather is strong, when the person is present in the room, and when the weather is normal, the security window is automatically retracted. The shape structure of the security window is a telescopic security window commonly used in the market, which can be retracted or extended according to the requirement, and it should be understood by those skilled in the art that the mechanical structure of the security window is not the inventive point of the present invention, and thus, the present invention is not described in more detail.

As shown in fig. 1, the burglary-resisting window system of the present embodiment includes an indoor sensing device 10, an outdoor sensing device 20 and a single chip microcomputer 30. The single chip microcomputer 30 is electrically connected with the security window motor 80. The single chip microcomputer 30 of the present embodiment employs AT 89552.

The indoor sensing device 10 is electrically connected with the single chip microcomputer 30, and senses the door entering and exiting actions of people under the control of the single chip microcomputer 30, and level signals are input to the single chip microcomputer 30 by the indoor sensing device 10 every time the door entering and exiting actions occur. The outdoor sensing device 20 is electrically connected with the single chip microcomputer 30, and senses the door entering and exiting actions of people under the control of the single chip microcomputer 30, and the outdoor sensing device 20 inputs level signals to the single chip microcomputer 30 every time the door entering and exiting actions occur.

The single chip microcomputer 30 determines the door entrance/exit motion by processing the level signal inputted from the indoor sensor 10 and the level signal inputted from the outdoor sensor 20. The single chip microcomputer 30 also counts the current number of people in the room according to the number of door entering/door exiting actions, and controls the motor 80 of the security window to start and control the security window to unfold when the number of people in the room is zero.

Specifically, as shown in fig. 1, the indoor sensing device 10 includes an indoor infrared transmitter 11, an indoor infrared receiver 12 and an indoor infrared processor 13. The indoor infrared emitter 11 and the indoor infrared processor 13 are electrically connected with the single chip microcomputer 30. The indoor infrared receiver 12 receives the infrared beam emitted by the indoor infrared emitter 11, and inputs the intensity of the received infrared beam to the indoor infrared processor 13 for processing, and the indoor infrared processor 13 inputs the processing result to the single chip microcomputer 30 for processing in a high-low level mode.

The outdoor sensing device 20 includes an outdoor infrared transmitter 21, an outdoor infrared receiver 22, and an outdoor infrared processor 23. The outdoor infrared emitter 21 and the outdoor infrared processor 23 are electrically connected to the single chip microcomputer 30. The outdoor infrared receiver 22 receives the infrared beam emitted by the outdoor infrared emitter 21, and inputs the intensity of the received infrared beam to the outdoor infrared processor 23 for processing, and the outdoor infrared processor 23 inputs the processing result to the single chip microcomputer 30 in a high-low level mode for processing.

Specifically, as shown in fig. 1, the present embodiment further includes an external photosensor 41, a light intensity comparator 42 electrically connected to the external photosensor 41, and a first a/D converter 43 electrically connected to the light intensity comparator 42. The external photosensor 41 converts the sensed light intensity signal into a voltage signal and inputs the voltage signal to the light intensity comparator 42. The light intensity comparator 42 compares the voltage signal inputted from the external photosensitive sensor 41 with the photosensitive reference voltage 40, and inputs the comparison result to the first a/D converter 43 for digital-to-analog signal conversion.

Specifically, as shown in fig. 1, the present embodiment further includes a wind speed sensor 51, a wind speed comparator 52 electrically connected to the wind speed sensor 51, and a second a/D converter 53 electrically connected to the wind speed comparator 52. The wind speed sensor 51 converts the sensed wind speed signal into a voltage signal and inputs the voltage signal to the wind speed comparator 52. The wind speed comparator 52 compares the voltage signal inputted from the wind speed sensor 51 with the wind speed reference voltage 50, and inputs the comparison result to the second a/D converter 53 for digital-to-analog signal conversion.

Specifically, as shown in fig. 1, the present embodiment further includes a three-input or gate selector 60, the output end of the first a/D converter 43, the output end of the second a/D converter 53 and the output end of the single chip microcomputer 30 are all connected to the input end of the three-input or gate selector 60, and the output end of the three-input or gate selector 60 is electrically connected to the security window motor 80.

Specifically, as shown in fig. 1, a manual button 70 is connected in series between the output terminal of the three-input or gate selector 60 and the security window motor 80, and the manual button 70 is used to directly cut off the electrical control of the security window motor 80. When the manual button 70 is open circuit control, the security window motor 80 is not electrically controlled. At this time, the security window can be manually unfolded or manually folded.

In the present embodiment, as shown in fig. 2, the indoor sensing device 10 is installed indoors inside the gate, the outdoor sensing device 20 is installed outdoors outside the gate, and since only one door is separated between the indoor sensing device 10 and the outdoor sensing device 20, the distance between the indoor sensing device 10 and the outdoor sensing device 20 should be smaller than the physical width of the human body, that is, in the present embodiment (including the second embodiment below), the case that the human body is jammed between the indoor sensing device 10 and the outdoor sensing device 20 so that neither the indoor sensing device 10 nor the outdoor sensing device 20 senses the human body is not considered. When someone goes in and out of the door, only three situations exist, namely, the indoor sensing device 10 senses the person but the outdoor sensing device 20 does not sense the person, the indoor sensing device 10 does not sense the person but the outdoor sensing device 20 senses the person, and the indoor sensing device 10 and the outdoor sensing device 20 sense the person.

In the present embodiment, the external light sensor 41 and the wind speed sensor 51 can be fixedly installed at a position outside the window or on the balcony, and the present embodiment is not limited to a specific installation position, but it should be understood that the external light sensor 41 and the wind speed sensor 51 are installed outdoors to sense the light and the wind speed of the external environment.

Example two

The embodiment discloses a method for starting an anti-theft window, which is applied to an anti-theft window system in the first embodiment, and specifically comprises the following steps as shown in fig. 3:

step S100: the indoor sensing device 10 and the outdoor sensing device 20 both sense the door entrance and exit movement, and the single chip microcomputer 30 calculates the number of people in the room, and the single chip microcomputer 30 outputs a control level according to the calculation result.

The external photosensor 41 senses the intensity of illumination, and the light intensity comparator 42 determines whether the light intensity is at night, and the comparison result determined by the light intensity comparator 42 is subjected to digital-to-analog conversion by the first a/D converter 43 and then outputs a control level.

The wind speed sensor 51 senses the wind speed intensity, and the wind speed comparator 52 determines whether the wind speed is too high, and the comparison result determined by the wind speed comparator 52 is subjected to digital-to-analog conversion by the second a/D converter 53 and then outputs a control level.

The control voltage average of the above three outputs is used to control the activation of the burglary-resisting window motor 80.

Step S200: when the output level of the single chip microcomputer 30, the output level of the first a/D converter 43 and the output level of the second a/D converter 53 all output a low level, the three-input or gate comparator outputs a low level, and at this time, the security window motor 80 stops starting;

when at least one of the output level of the single chip microcomputer 30, the output level of the first a/D converter 43, and the output level of the second a/D converter 53 outputs a high level, the three-input or gate comparator outputs a high level, and proceeds to step S300;

step S300: the three input or gate comparator outputs a high level.

When the manual button 70 is closed, the security window motor 80 is started; that is, the burglary-resisting window motor 80 is controlled by the output level of the three-input or door comparator output end to start.

When the manual button 70 is turned off, the security window motor 80 is not electrically controlled; that is, the security window is not controlled by the security window motor 80, and can be directly controlled by the user manually, and can not be automatically controlled after being controlled manually.

Further, in step S100, when the indoor infrared receiver 12/outdoor infrared receiver 22 receives the infrared light beam, the processing result of the indoor infrared processor 13/outdoor infrared receiver 22 is that the output terminal outputs a high level. When the indoor infrared receiver 12/outdoor infrared receiver 22 does not receive the infrared light beam, the processing result of the indoor infrared processor 13/outdoor infrared receiver 22 is that the output end outputs a low level. As shown in fig. 4 and 5, the process of calculating the number of people indoors by the single chip microcomputer 30 further includes the following sub-steps:

substep S110: when no person enters or exits, the output ends of the indoor infrared processor 13 and the outdoor infrared receiver 22 keep outputting high level/high level, and the number of persons in the room keeps unchanged. That is, the output levels of the output Q1 of the indoor infrared processor 13 and the output Q2 of the outdoor infrared processor 23 are Q1Q2=11 (it should be understood that "1" here represents a high level recognizable by the single chip microcomputer 30 and "0" represents a low level recognizable by the single chip microcomputer 30 for the convenience of description of fig. 4-5, and thus the simplified diagram of the judgment of the number of persons in the room of fig. 4-5 is shown in fig. 6).

When the single chip microcomputer 30 judges that the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 is jumped to output the low level/high level, that is, when the output levels of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 are Q1Q2=01, it proceeds to substep S120.

When the single chip microcomputer 30 determines that the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 is jumped to output the high level/low level, that is, when the output levels of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 are Q1Q2=10, the substep S130 is performed;

substep S120: the single chip microcomputer 30 proceeds to determine whether to jump to the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 to output a low level/low level, that is, proceeds to determine whether the output level conditions of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 jump to Q1Q2= 00.

If yes, go to substep S121;

and when the judgment result is negative, the indoor people counting is kept unchanged.

Substep S121: the single chip microcomputer 30 proceeds to determine whether to jump to the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 to output the high level/low level next, that is, proceeds to determine whether the output level conditions of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 jump to Q1Q2= 10.

If yes, go to substep S122;

and when the judgment result is negative, the indoor people counting is kept unchanged.

Substep S122: the single chip microcomputer 30 proceeds to determine whether to jump to the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 to output a high level/high level, that is, proceeds to determine whether the output level conditions of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 jump to Q1Q2= 11.

When the judgment result is yes, adding one to the number of the indoor people, and returning to the substep S110 to continue judging;

and when the judgment result is negative, the indoor people counting is kept unchanged.

Substep S130: the single chip microcomputer 30 proceeds to determine whether to jump to the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 to output a low level/low level, that is, proceeds to determine whether the output level conditions of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 jump to Q1Q2= 00.

If yes, go to substep S131;

and when the judgment result is negative, the indoor people counting is kept unchanged.

Substep S131: the single chip microcomputer 30 proceeds to determine whether to jump to the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 to output the low level/high level next, that is, proceeds to determine whether the output level conditions of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 jump to Q1Q2= 01.

If yes, go to substep S132;

and when the judgment result is negative, the indoor people counting is kept unchanged.

Substep S132: the single chip microcomputer 30 proceeds to determine whether to jump to the output terminal of the indoor infrared processor 13/outdoor infrared receiver 22 to output a high level/high level, that is, proceeds to determine whether the output level conditions of the output terminal Q1 of the indoor infrared processor 13 and the output terminal Q2 of the outdoor infrared processor 23 jump to Q1Q2= 11.

When the judgment result is yes, the number of the indoor people is reduced by one, and the substep S133 is carried out;

and when the judgment result is negative, the indoor people counting is kept unchanged.

Substep S133: the single chip microcomputer 30 judges whether the number of the indoor people is zero or not;

when the judgment result is yes, the single chip microcomputer 30 outputs a high level;

when the judgment result is negative, the process returns to the substep S110 to continue the judgment.

Specifically, in step S100, the determination of whether the light intensity comparator 42 is at night specifically includes the following steps:

the external photosensor 41 converts the intensity of the sensed illumination into a voltage signal, inputs the voltage signal into the light intensity comparator 42 to be compared with the light intensity base voltage, and the light intensity comparator 42 inputs the comparison result into the first a/D converter 43 to perform digital-to-analog conversion, and then the first a/D converter 43 outputs high and low levels.

When the voltage signal converted by the illumination intensity is smaller than the light intensity reference voltage, the output end of the first a/D converter 43 outputs a high level;

when the voltage signal converted by the illumination intensity is greater than the light intensity reference voltage, the output terminal of the first a/D converter 43 outputs a low level.

Specifically, in step S100, the step of judging whether the wind speed is too high by the wind speed comparator 52 specifically includes the following steps:

the wind speed sensor 51 converts the sensed wind speed strength into a voltage signal, inputs the voltage signal into the wind speed comparator 52 to be compared with the wind speed reference voltage 50, and the wind speed comparator 52 inputs the comparison result into the second a/D converter 53 to perform digital-to-analog conversion, and then outputs a high level and a low level through the second a/D converter 53.

When the voltage signal converted by the wind speed intensity is less than the wind speed reference voltage 50, the output end of the second a/D converter 53 outputs a low level;

when the voltage signal converted by the wind speed intensity is greater than the wind speed reference voltage 50, the output terminal of the second a/D converter 53 outputs a high level.

The above embodiment can automatically calculate the number of people in a room, and automatically open the motor 80 of the security window when the number of people in the room is zero, so as to open the security window and protect the room.

The embodiment can automatically open the security window motor 80 at night, so that the security window can be opened, and indoor protection can be realized at night.

The above embodiment can automatically open the security window motor 80 in a windy weather, thereby opening the security window.

In summary, the above embodiment can automatically turn on and off the motor 80 of the security window according to the actual weather conditions, indoor personnel conditions and day and night light conditions, and can avoid the frequent forgetting problem of manual operation.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

In summary, the above-mentioned embodiments are only preferred embodiments of the present invention, and all equivalent changes and modifications made in the claims of the present invention should be covered by the claims of the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有灭火功能的防火门

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!