Control device and automatic control system
By combining the photoelectric sensing module and the communication module with the microcontroller, the direction of object movement can be identified and wireless communication can be achieved, which solves the problems of limited operation and high false trigger rate in the existing technology, and provides a low-cost and efficient automation control solution.
Patent Information
- Application Number
- CN202520375861.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2035-03-05
AI Technical Summary
Existing automation control technologies suffer from problems such as limited operating space, limited interaction methods, high hardware costs, high algorithm complexity, high response latency, and high false triggering rate.
By combining a photoelectric sensing module, a communication module, and a microcontroller, wireless communication is achieved to control the automated operation of electronic devices by identifying the direction of movement of the sensed object.
It reduces the cost of control devices, has a short response delay and a low false trigger rate, and provides a flexible non-contact control method.
Smart Images

Figure CN223742979U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of automation control, and in particular to a control device and an automated control system. Background Technology
[0002] In the field of automation control, traditional equipment operation mainly relies on physical buttons, infrared remote controls, and other contact-based or short-range control methods, which suffer from limited operating space and limited interaction methods. In the field of non-contact control, solutions based on visual recognition or complex gesture sensors have been applied; for example, 3D gesture recognition chips can detect 13 types of motion trajectories. However, their algorithms are complex and hardware costs are high, making them difficult to adapt to the control needs of ordinary civilian equipment. Existing wireless control technologies mostly use fixed encoding protocols and lack the ability to adaptively resolve dynamic gesture directions, resulting in high system response delays and false trigger rates.
[0003] Therefore, there is an urgent need for a control device and an automated control system to improve the above problems. Utility Model Content
[0004] The purpose of this invention is to provide a control device and an automated control system that can reduce costs, have short response delays, and low false triggering rates.
[0005] In a first aspect, this utility model provides a control device, including a photoelectric sensing module, a communication module, and a microcontroller;
[0006] The photoelectric sensing module and the communication module are respectively electrically connected to the single-chip microcomputer;
[0007] The photoelectric sensing module and the microcontroller work together to identify the direction of movement of the sensed object;
[0008] The microcontroller communicates with the electronic device through the communication module, enabling the electronic device to perform automated operations.
[0009] The beneficial effects of this invention are as follows: by incorporating a photoelectric sensing module, a communication module, and a microcontroller; the photoelectric sensing module and the communication module are electrically connected to the microcontroller; the photoelectric sensing module and the microcontroller cooperate to identify the movement direction of the sensed object; the microcontroller communicates with the electronic device through the communication module, enabling the electronic device to perform automated operations. The use of photoelectric sensing, a communication module, and a microcontroller not only reduces the cost of the control device but also results in shorter response delays and a lower false trigger rate.
[0010] Optionally, the photoelectric sensing module includes a first photoelectric sensing switch, a second photoelectric sensing switch, and a third photoelectric sensing switch arranged sequentially in a set direction;
[0011] The first photoelectric sensor switch, the second photoelectric sensor switch, and the third photoelectric sensor switch are respectively electrically connected to the single-chip microcomputer.
[0012] Optionally, the set direction is from top to bottom; and / or the first photoelectric sensor switch, the second photoelectric sensor switch, and the third photoelectric sensor switch are respectively connected to the I / O pins of the microcontroller as photoelectric input signals of the microcontroller for identifying the movement direction of the sensed object.
[0013] Optionally, the communication module includes a wireless transmission module, which is electrically connected to the microcontroller;
[0014] The microcontroller communicates with the electronic device through the wireless transmission module.
[0015] Optionally, a settings button may also be included;
[0016] The setting button is electrically connected to the microcontroller and is used to control the microcontroller to enter the setting state.
[0017] Optionally, the communication module further includes a wireless receiving module;
[0018] The wireless receiving module is electrically connected to the microcontroller and is used to receive external commands after the microcontroller enters the setting state, in conjunction with the setting button.
[0019] Optional features also include a battery and a buck regulator module;
[0020] The battery supplies power to the microcontroller via a step-down voltage regulator module.
[0021] Optionally, indicator lights may also be included;
[0022] The indicator light is electrically connected to the microcontroller and is used to indicate the working status.
[0023] Secondly, this utility model provides an automated control system, including any possible combination of the control device and electronic device described in the first aspect above;
[0024] The control device communicates with the electronic device to enable the electronic device to perform automated operations.
[0025] Optionally, the electronic device may be a roller shutter, an electric door, or a lamp.
[0026] For the beneficial effects of the second aspect mentioned above, please refer to the description of the first aspect mentioned above. Attached Figure Description
[0027] Figure 1 A schematic diagram of the structure of a control device provided in an embodiment of this utility model;
[0028] Figure 2 This is a schematic diagram of the structure of an automated control system provided in an embodiment of the present utility model.
[0029] Explanation of reference numerals in the attached figures:
[0030] 1. Indicator light; 2. Setting button; 3. Photoelectric sensor module; 4. Wireless receiver module; 5. Wireless transmitter module; 6. Microcontroller; 7. Battery; 8. Step-down voltage regulator module; 9. Automated control system;
[0031] 91. Control device; 92. Electronic device. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions in the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this utility model. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model. Unless otherwise defined, the technical or scientific terms used herein should have the ordinary meaning understood by those skilled in the art to which this utility model pertains. The technical solutions in the embodiments of this utility model will be described below with reference to the accompanying drawings. In the description of the embodiments of this utility model, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this utility model. The singular expressions "a," "the," "the," "the," and "this" are intended to include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this utility model, "at least one" and "one or more" refer to one or more (including two). The term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0033] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of the present invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," and "in still other embodiments" appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically emphasized. The term "connection" includes both direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0034] In the embodiments of this utility model, "exemplarily" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this utility model should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0035] In response to the problems existing in the current technology, such as Figure 1 As shown, this utility model provides a control device 91, including a photoelectric sensing module 3, a communication module, and a microcontroller 6. The photoelectric sensing module 3 and the communication module are electrically connected to the microcontroller 6. The photoelectric sensing module 3 and the microcontroller 6 cooperate to identify the movement direction of the sensed object. The microcontroller 6 communicates with an electronic device 92 through the communication module, enabling the electronic device 92 to perform automated operations. It can identify two directions of hand or object movement, i.e., left and right or up and down, and transmit corresponding directional control codes to the electronic device through the communication module within the device. This not only reduces the cost of the control device but also has a short response delay and a low false trigger rate. Preferably, the communication module is a wireless communication module.
[0036] In some embodiments, the electronic device 92 is a roller shutter, an electric door, or a lighting fixture, and the automated operation includes operations such as opening, stopping, and closing. For example, when the electronic device 92 is a lighting fixture, opening means starting the lighting fixture and putting it into working condition; stopping means pausing the current operation (such as temporarily freezing the dimming mode or dynamic lighting effects); and closing means cutting off the power supply and terminating the operation of the lighting fixture.
[0037] In some embodiments, the photoelectric sensing module 3 includes a first photoelectric sensing switch, a second photoelectric sensing switch, and a third photoelectric sensing switch arranged sequentially in a set direction; the first photoelectric sensing switch, the second photoelectric sensing switch, and the third photoelectric sensing switch are respectively electrically connected to the microcontroller 6.
[0038] In some embodiments, the set direction is from top to bottom; and / or the first photoelectric sensor switch, the second photoelectric sensor switch, and the third photoelectric sensor switch are respectively connected to the I / O pins of the microcontroller 6 as photoelectric input signals of the microcontroller 6 for identifying the movement direction of the sensed object.
[0039] For example, the photoelectric sensing module 3 includes three photoelectric sensing switches arranged in a top-middle-bottom configuration: a first photoelectric sensing switch, a second photoelectric sensing switch, and a third photoelectric sensing switch. Their output pins output corresponding signal outputs A, B, and C, respectively. When there is no object obstructing the sensing area of a photoelectric sensing switch, its signal pin has no output; when an object obstructs the area, it outputs the corresponding signal. These three signals are connected to the I / O pins of the microcontroller 6, serving as photoelectric input signals for the microcontroller 6 to recognize and calculate object-sensing gestures within the area of the photoelectric sensing module 3. When the object is not in the sensing area, none of the three signals are output; when the object enters the sensing range of photoelectric input 1 in the sensing area, signal A is output; when the object enters the sensing range of the first and second photoelectric switches in the sensing area, signal A and signal B are output simultaneously; when the object enters the sensing range of the first, second, and third photoelectric switches in the sensing area, signal A, signal B, and signal C are output simultaneously; when the object leaves the first photoelectric switch in the sensing area but remains within the sensing range of the second and third photoelectric switches, signal B and signal C are output; when the object leaves photoelectric input 1 and photoelectric input 2 in the sensing area but remains within the sensing range of photoelectric input 3, signal C is output; when the object leaves photoelectric input 3 in the sensing area, none of the three signals are output. At this time, the microcontroller 6 calculates the output sequence of the signals just collected to determine whether the recognition is valid and calculates the direction.
[0040] Based on the above, the logical sequence of the three photoelectric signal outputs is A->AB->ABC->BC->C->None. From this signal sequence, the process can be calculated as a "top-down" movement. If this process is predefined as a "closing" operation, the microcontroller 6 transmits a "closing" data code through the wireless transmission module 5 to close the door or shut down the appliance. The same logic applies to a "bottom-up" movement process.
[0041] When the sensed object (hereinafter referred to as "the object") is stationary, the entire signal process output is as follows:
[0042] When the sensed object remains within the sensing range of any two or more photoelectric inputs without any movement or change, and the holding time reaches 0.5 seconds or more, the main control microcontroller 6 interprets this operation as a "stop" operation. The main control microcontroller 6 then transmits a "stop" data code through the wireless transmission module 5, thereby controlling the external door controller to perform a stop action. It is worth noting that the above calculation process is well-known to those skilled in the art, and this utility model does not involve any improvement to the computer software.
[0043] In some embodiments, the communication module includes a wireless transmission module 5, which is electrically connected to the microcontroller 6. The microcontroller 6 communicates with the electronic device 92 through the wireless transmission module 5. For example, the wireless transmission module 5 is used to transmit wireless data at a 433MHz carrier frequency. When the microcontroller 6 detects a hand or object sensed by the photoelectric sensor 3 and calculates the effective sensing direction, it sends out the corresponding wireless data signal according to the defined correspondence between the direction and the "on, off, off" wireless data signal to control the electronic device 92 and realize the on, off, and off operations of the appliance.
[0044] In some embodiments, the device further includes a setting button 2; the setting button 2 is electrically connected to the microcontroller 6 and is used to control the microcontroller 6 to enter the setting state.
[0045] In some specific embodiments, the communication module further includes a wireless receiving module 4; the wireless receiving module 4 is electrically connected to the microcontroller 6 and is used to receive external commands after the microcontroller 6 enters the setting state, in conjunction with the setting button 2. For example, the wireless receiving module 4 is used to receive wireless data at a 433MHz carrier frequency. Before the device operates, the setting button 2 is used to put the device into the setting state, and then the three wireless data signals of "on," "off," and "off" are transmitted to the microcontroller 6 through the receiving module. The microcontroller 6 saves these three data signals.
[0046] In some embodiments, the device further includes a battery 7 and a step-down voltage regulator module 8; the battery 7 supplies power to the microcontroller 6 through the step-down voltage regulator module 8.
[0047] In some embodiments, the device further includes an indicator light 1; the indicator light 1 is electrically connected to the microcontroller 6 and is used to indicate the working status.
[0048] like Figure 2As shown, based on the above-mentioned control device 91, the present invention also provides an automated control system 9, including the control device 91 and an electronic device 92; the control device 91 communicates with the electronic device 92 so that the electronic device 92 performs automated operations.
[0049] In some embodiments, the electronic device 92 is a roller shutter, an electric door, or a light fixture.
[0050] Although the embodiments of this utility model have been described in detail above, it will be apparent to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations fall within the scope and spirit of this utility model as described in the claims. Moreover, the utility model described herein may have other embodiments and can be implemented or realized in various ways.
Claims
1. A control device characterized by comprising: The control device comprises a photoelectric sensing module, a communication module and a single-chip microcomputer. The photoelectric sensing module and the communication module are electrically connected with the single-chip microcomputer. The photoelectric sensing module and the single-chip microcomputer cooperate to identify the moving direction of the sensed object. The single-chip microcomputer communicates with the electronic device through the communication module, so that the electronic device performs automatic operation.
2. The apparatus of claim 1, wherein, The photoelectric sensing module comprises a first photoelectric sensing switch, a second photoelectric sensing switch and a third photoelectric sensing switch arranged in a set direction. The first photoelectric sensing switch, the second photoelectric sensing switch and the third photoelectric sensing switch are electrically connected with the single-chip microcomputer.
3. The apparatus of claim 2, wherein, The set direction is from top to bottom.
4. The apparatus of claim 1, wherein, The first photoelectric sensing switch, the second photoelectric sensing switch and the third photoelectric sensing switch are connected with the I / O pin of the single-chip microcomputer as the photoelectric input signal of the single-chip microcomputer, and are used for identifying the moving direction of the sensed object. The communication module comprises a wireless transmitting module, which is electrically connected with the single-chip microcomputer.
5. The apparatus of claim 1, wherein, The single-chip microcomputer communicates with the electronic device through the wireless transmitting module. The control device further comprises a setting button.
6. The apparatus of claim 5, wherein, The setting button is electrically connected with the single-chip microcomputer, and is used for controlling the single-chip microcomputer to enter a setting state. The communication module further comprises a wireless receiving module.
7. The apparatus of claim 1, wherein, The wireless receiving module is electrically connected with the single-chip microcomputer, and is used for receiving external instructions after the single-chip microcomputer enters the setting state in cooperation with the setting button. The control device further comprises a battery and a voltage reduction and stabilization module.
8. The apparatus of claim 1, wherein, The battery supplies power to the single-chip microcomputer through the voltage reduction and stabilization module. The control device further comprises an indicator lamp.
9. An automated control system, characterized by, The indicator lamp is electrically connected with the single-chip microcomputer, and is used for indicating the working state. The control device comprises the control device and the electronic device.
10. The system of claim 9, wherein, The control device communicates with the electronic device, so that the electronic device performs automatic operation. The electronic device is a roller shutter door, an electric door or a lamp.