CN108777403B - Closed-loop intelligent infrared remote control socket - Google Patents
Closed-loop intelligent infrared remote control socket Download PDFInfo
- Publication number
- CN108777403B CN108777403B CN201810504617.5A CN201810504617A CN108777403B CN 108777403 B CN108777403 B CN 108777403B CN 201810504617 A CN201810504617 A CN 201810504617A CN 108777403 B CN108777403 B CN 108777403B
- Authority
- CN
- China
- Prior art keywords
- infrared
- module
- main controller
- current
- pin
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000002955 isolation Methods 0.000 claims abstract description 31
- 238000001914 filtration Methods 0.000 claims abstract description 28
- 238000013500 data storage Methods 0.000 claims abstract description 15
- 230000006641 stabilisation Effects 0.000 claims abstract description 6
- 238000011105 stabilization Methods 0.000 claims abstract description 6
- 239000003990 capacitor Substances 0.000 claims description 14
- 230000000087 stabilizing effect Effects 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000002457 bidirectional effect Effects 0.000 claims 1
- 238000013480 data collection Methods 0.000 claims 1
- 230000009466 transformation Effects 0.000 claims 1
- 230000007935 neutral effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000001816 cooling Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/6608—Structural association with built-in electrical component with built-in single component
- H01R13/6633—Structural association with built-in electrical component with built-in single component with inductive component, e.g. transformer
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/665—Structural association with built-in electrical component with built-in electronic circuit
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/665—Structural association with built-in electrical component with built-in electronic circuit
- H01R13/6691—Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/717—Structural association with built-in electrical component with built-in light source
- H01R13/7175—Light emitting diodes (LEDs)
Landscapes
- Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Power Engineering (AREA)
- Selective Calling Equipment (AREA)
Abstract
一种闭环式智能红外遥控插座,包括智能插座,所述的智能插座包括电源输出插孔、电流隔离互感器、整流滤波模块、电源变压器、整流滤波稳压模块、工作状态指示模块、主控制器、数据存储模块、红外信号发射模块、红外编码学习接收模块和网络接口模块形成闭环式电路。采用闭环控制思想设计的智能插座;具有红外信号发射模块、红外编码学习接收模块、电流隔离互感器和网络接口模块,实现了负载设备启/停控制的同时,还能检测负载设备的负载电流值,以此来判断负载设备是否正确启停。本发明适用于各种不便于人员进行设备操作与维护的场合,尤其适合于高层建筑电器设备的自动、可靠开启。
A closed-loop intelligent infrared remote control socket, including a smart socket, the smart socket includes a power output jack, a current isolation transformer, a rectification and filtering module, a power transformer, a rectification and filtering voltage stabilization module, a working state indication module, and a main controller , a data storage module, an infrared signal transmitting module, an infrared coding learning receiving module and a network interface module form a closed-loop circuit. A smart socket designed with closed-loop control ideas; it has an infrared signal transmitting module, an infrared code learning receiving module, a current isolation transformer and a network interface module, which realizes the start/stop control of the load equipment and can also detect the load current value of the load equipment , so as to judge whether the load equipment starts and stops correctly. The invention is suitable for various occasions where it is inconvenient for personnel to operate and maintain equipment, and is especially suitable for automatic and reliable opening of electrical equipment in high-rise buildings.
Description
技术领域technical field
本发明涉及电源插座领域,具体涉及一种闭环式智能红外遥控插座。The invention relates to the field of power sockets, in particular to a closed-loop intelligent infrared remote control socket.
背景技术Background technique
现有的大型电器设备均已配置红外接收器,如电视、空调等。安装在高层建筑上的电器设备,如LED大屏幕,其工作时会产生高温,若不对其散热,LED大屏幕的寿命会缩短。一般解决方案是在LED大屏幕内安装多台空调,但是空调在意外停电后来电不能自行启动,需要人工登高启动电器设备,危险系数非常大。Existing large-scale electrical equipment has been equipped with infrared receivers, such as TVs, air conditioners, etc. Electrical equipment installed on high-rise buildings, such as LED large screens, will generate high temperature during operation. If the heat is not dissipated, the life of LED large screens will be shortened. The general solution is to install multiple air conditioners in the large LED screen, but the air conditioners cannot be started automatically after an unexpected power outage, and it is necessary to manually climb up to start the electrical equipment, and the risk factor is very high.
目前,已知的智能插座通过遥控器和有线或无线通信接口配合,对插座上的负载设备进行通/断电控制。但是现有的智能插座均属于开环控制系统,这种插座只能给负载设备进行通/断电,没有负载设备的启动状态检测功能,更无法自行判断插座的负载设备是否启动。At present, known smart sockets control the power on/off of the load equipment on the socket through the cooperation of a remote controller and a wired or wireless communication interface. However, the existing smart sockets all belong to the open-loop control system. This kind of socket can only power on/off the load equipment, without the function of detecting the startup status of the load equipment, and it is impossible to judge whether the load equipment of the socket is activated.
因此,现有的智能插座使用在高层建筑上的电器设备,或在远程控制电器设备的领域时,其可靠性不高,不能感知并判断电器设备的启/停。Therefore, when the existing smart socket is used in electrical equipment on high-rise buildings, or in the field of remote control of electrical equipment, its reliability is not high, and it cannot sense and judge the start/stop of electrical equipment.
发明内容Contents of the invention
本发明提出了一种闭环式智能红外遥控插座,采用闭环控制思想设计的智能插座;具有红外信号发射模块、红外编码学习接收模块、电流隔离互感器和网络接口模块,实现了负载设备启/停控制的同时,还能检测负载设备的负载电流值,以此来判断负载设备是否正确启停,并根据需要重新启停负载设备。The present invention proposes a closed-loop intelligent infrared remote control socket, which adopts the closed-loop control idea to design an intelligent socket; it has an infrared signal transmitting module, an infrared code learning receiving module, a current isolation transformer and a network interface module, and realizes the start/stop of load equipment While controlling, it can also detect the load current value of the load equipment, so as to judge whether the load equipment is started and stopped correctly, and restart the load equipment as needed.
本发明通过以下技术方案实现:The present invention is realized through the following technical solutions:
一种闭环式智能红外遥控插座,包括智能插座,所述的智能插座包括电源输出插孔、电流隔离互感器、整流滤波模块、电源变压器、整流滤波稳压模块、工作状态指示模块、主控制器、数据存储模块、红外信号发射模块、红外编码学习接收模块和网络接口模块形成闭环式电路。所述的主控制器采用STC15W408AS处理器。所述的数据存储模块采用EEPROM存储器AT24C02。所述红外编码学习接收模块采用型号为HS0038的红外接收芯片。A closed-loop intelligent infrared remote control socket, including an intelligent socket, the intelligent socket includes a power output jack, a current isolation transformer, a rectification and filtering module, a power transformer, a rectification and filtering voltage stabilization module, a working state indication module, and a main controller , a data storage module, an infrared signal transmitting module, an infrared code learning receiving module and a network interface module form a closed-loop circuit. The main controller adopts STC15W408AS processor. The data storage module adopts EEPROM memory AT24C02. The infrared code learning and receiving module adopts an infrared receiving chip with a model number of HS0038.
所述的电源输出插孔的一端与220V市电的火线连接,另一端与电流隔离互感器连接,所述的电流隔离互感器与220V市电的零线连接,电流隔离互感器的输出端通过整流滤波模块与主控制器的AD信号引脚连接;电流隔离互感器检测并采集电源输出插孔的电流信号,采集的电流信号经过整流滤波模块通过AD信号引脚送入主控制器的A/D数据采集端口,主控制器通过检测电流隔离互感器的复变电压判断插座上的负载设备启停状态。One end of the power output jack is connected to the live wire of the 220V mains, and the other end is connected to the current isolation transformer. The current isolation transformer is connected to the neutral line of the 220V mains. The rectification and filtering module is connected to the AD signal pin of the main controller; the current isolation transformer detects and collects the current signal of the output jack of the power supply, and the collected current signal is sent to the A/D signal pin of the main controller through the rectification and filtering module. D data acquisition port, the main controller judges the start-stop state of the load equipment on the socket by detecting the complex voltage of the current isolation transformer.
所述的220V市电通过电源变压器与整流滤波稳压模块连接,所述的整流滤波稳压模块与主控制器连接,对控制器的供电电压进行稳压滤波;所述的220V的市电通过电源变压器,再经过整流滤波稳压模块后,输出的电压为5V,为整个电路板提供5V电源电压。The 220V commercial power is connected to the rectification, filtering and voltage stabilizing module through a power transformer, and the rectification, filtering and voltage stabilizing module is connected to the main controller to perform voltage stabilization and filtering on the power supply voltage of the controller; the 220V commercial power is passed through The power transformer, after passing through the rectification, filtering and voltage stabilizing module, outputs a voltage of 5V, which provides a 5V power supply voltage for the entire circuit board.
所述的工作状态指示模块与主控制器双向连接,主控制器给工作状态指示模块下达工作指令,工作状态指示模块再把负载设备的工作状态反馈给主控制器。The working status indicating module is bidirectionally connected with the main controller, the main controller issues working instructions to the working status indicating module, and the working status indicating module feeds back the working status of the load equipment to the main controller.
所述的数据存储模块与主控制器双向连接进行数据传输。The data storage module is bidirectionally connected with the main controller for data transmission.
所述的网络接口模块与主控制器双向连接,在负载设备多次启动无效后,通过网络接口向用户发送报警信号。The network interface module is bidirectionally connected with the main controller, and sends an alarm signal to the user through the network interface after the load device has failed to start for many times.
所述的红外编码学习接收模块与主控制器连接进行接收信号,红外编码学习接收模块通过红外信号与负载设备的遥控器连接,接收负载设备遥控器的红外信号,再将接收的信号传送给主控制器,主控制器检测并学习红外编码信号,再将红外编码信号存储至数据存储模块。The infrared coding learning receiving module is connected with the main controller to receive signals, the infrared coding learning receiving module is connected with the remote controller of the load device through the infrared signal, receives the infrared signal of the remote controller of the load device, and then transmits the received signal to the main controller A controller, the main controller detects and learns the infrared coded signal, and then stores the infrared coded signal into the data storage module.
所述的主控制器与红外信号发射模块连接进行发送信号;红外信号发射模块通过红外信号与负载设备的信号接收模块连接。The main controller is connected with the infrared signal transmitting module to send signals; the infrared signal transmitting module is connected with the signal receiving module of the load device through the infrared signal.
进一步的,电流隔离互感器检测输出插孔电流大小,若太小,则表明电器设备没有正常启动,MCU重新发送红外编码信号,直到电器设备正常启动。多次启动无效后,通过网络接口向用户发送报警信号。Further, the galvanic isolation transformer detects the current of the output jack, if it is too small, it indicates that the electrical equipment has not started normally, and the MCU resends the infrared coded signal until the electrical equipment starts normally. After multiple startups are invalid, an alarm signal is sent to the user through the network interface.
进一步的,所述的智能插座可以接收并储存多个负载设备遥控器输入的红外信号。Further, the smart socket can receive and store infrared signals input by remote controllers of multiple load devices.
进一步的,所述的主控制器可以在停电后重新来电时,或根据接收网络指令,从EEPROM储存器中读取相应负载设备遥控器的红外编码信号,调整后经红外发射二极管发射,开启负载设备。Further, the main controller can read the infrared coded signal of the remote controller of the corresponding load device from the EEPROM memory when the power is turned on again after a power failure, or according to the received network command, and after adjustment, it will be emitted by the infrared emitting diode to turn on the load. equipment.
(三)有益效果(3) Beneficial effects
本发明提出的一种闭环式智能红外遥控插座,与现有技术相比较,其具有以下有益效果:Compared with the prior art, a closed-loop intelligent infrared remote control socket proposed by the present invention has the following beneficial effects:
(1)采用闭环控制思想设计的智能插座;具有红外信号发射模块、红外编码学习接收模块、电流隔离互感器和网络接口模块,实现了负载设备启/停控制的同时,还能检测负载设备的负载电流值,以此来判断负载设备是否正确启停。对电器设备安全、可靠用电具有重要意义。(1) A smart socket designed with closed-loop control ideas; it has an infrared signal transmitting module, an infrared code learning receiving module, a current isolation transformer and a network interface module, which realizes the start/stop control of the load equipment and can also detect the status of the load equipment The load current value is used to judge whether the load equipment is started and stopped correctly. It is of great significance to the safe and reliable use of electricity for electrical equipment.
(2)通过红外编码学习接收模块和主控制器,将接收的红外编码信息存储在EEPROM中,主控制器根据指令,从EEPROM中提取编码数据,通过红外信号发射模块发射红外信号,控制负载设备启停。(2) Learn the receiving module and the main controller through the infrared code, store the received infrared code information in the EEPROM, the main controller extracts the coded data from the EEPROM according to the instruction, and transmits the infrared signal through the infrared signal transmitting module to control the load device Start and stop.
(3)数据存储模块采用EEPROM存储器,EEPROM存储器是一种掉电后数据不丢失的存储芯片,通过与单片机的接口进行通信,实现数据存储。(3) The data storage module adopts EEPROM memory. EEPROM memory is a memory chip that does not lose data after power failure. It communicates with the interface of the single-chip microcomputer to realize data storage.
(4)适用于各种不便于人员进行设备操作与维护的场合,尤其适合于高层建筑电器设备的自动、可靠开启。可以应用于高层大屏幕降温空调的控制,能解决意外断电后重新来电,降温空调的自动启动问题,避免操作人员频繁高空作业。(4) It is suitable for various occasions where it is not convenient for personnel to operate and maintain equipment, especially suitable for automatic and reliable opening of electrical equipment in high-rise buildings. It can be applied to the control of high-rise large-screen cooling air conditioners, which can solve the problem of automatic start-up of cooling air conditioners after unexpected power failures, and avoid frequent high-altitude operations for operators.
(5)还可以方便各种具备红外遥控电气设备的智能控制,以及具有让电气设备执行可靠的自动开启,自动关闭和检测电气设备中电流的功能。(5) It can also facilitate the intelligent control of various electrical equipment with infrared remote control, and has the function of allowing electrical equipment to perform reliable automatic opening, automatic closing and detection of current in electrical equipment.
附图说明Description of drawings
图1是本发明智能红外遥控插座的原理框图。Fig. 1 is a functional block diagram of the intelligent infrared remote control socket of the present invention.
图2是本发明的红外编码学习接收模块的工作状态流程图。Fig. 2 is a flow chart of the working state of the infrared coding learning receiving module of the present invention.
图3是本发明的红外信号收发工作状态流程图。Fig. 3 is a flow chart of the working state of infrared signal transceiving in the present invention.
图4是本发明的红外信号发射模块的工作流程图。Fig. 4 is a working flowchart of the infrared signal transmitting module of the present invention.
图5是本发明的电流隔离互感器的电路连接方式示意图。Fig. 5 is a schematic diagram of the circuit connection mode of the current isolation transformer of the present invention.
图6是本发明智能红外遥控插座的整体电路连接示意图。Fig. 6 is a schematic diagram of the overall circuit connection of the intelligent infrared remote control socket of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。在不脱离本发明设计构思的前提下,本领域普通人员对本发明的技术方案做出的各种变型和改进,均应落入到本发明的保护范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. The described embodiments are only some, not all, embodiments of the present invention. On the premise of not departing from the design concept of the present invention, various modifications and improvements made by ordinary persons in the art to the technical solution of the present invention shall fall within the protection scope of the present invention.
实施例:Example:
如图1所示:一种闭环式智能红外遥控插座,包括智能插座,所述的智能插座可以接收并储存多个负载设备遥控器输入的红外信号。As shown in Figure 1: a closed-loop smart infrared remote control socket, including a smart socket, the smart socket can receive and store infrared signals input by remote controllers of multiple load devices.
智能插座包括电源输出插孔、电流隔离互感器、整流滤波模块、电源变压器、整流滤波稳压模块、工作状态指示模块、主控制器、数据存储模块、红外信号发射模块、红外编码学习接收模块和网络接口模块形成闭环式电路。所述的主控制器采用STC15W408AS处理器。所述的数据存储模块采用EEPROM存储器,EEPROM存储器采用AT24C02。所述红外编码学习接收模块采用型号为HS0038的红外接收芯片。The smart socket includes a power output jack, a current isolation transformer, a rectification and filtering module, a power transformer, a rectification and filtering voltage stabilization module, a working status indication module, a main controller, a data storage module, an infrared signal transmitting module, an infrared coding learning receiving module and The network interface module forms a closed-loop circuit. The main controller adopts STC15W408AS processor. The data storage module adopts EEPROM memory, and the EEPROM memory adopts AT24C02. The infrared code learning and receiving module adopts an infrared receiving chip with a model number of HS0038.
所述的电源输出插孔的一端与220V市电的火线连接,另一端与电流隔离互感器连接,所述的电流隔离互感器与220V市电的零线连接,电流隔离互感器的输出端通过整流滤波模块与主控制器的AD信号引脚连接;电流隔离互感器检测并采集电源输出插孔的电流信号,采集的电流信号经过整流滤波模块通过AD信号引脚送入主控制器的A/D数据采集端口,主控制器通过检测电流隔离互感器的复变电压判断插座上的负载设备启停状态。电流隔离互感器检测输出插孔电流大小,若太小,则表明电器设备没有正常启动,MCU重新发送红外编码信号,直到电器设备正常启动。多次启动无效后,通过网络接口向用户发送报警信号。One end of the power output jack is connected to the live wire of the 220V mains, and the other end is connected to the current isolation transformer. The current isolation transformer is connected to the neutral line of the 220V mains. The rectification and filtering module is connected to the AD signal pin of the main controller; the current isolation transformer detects and collects the current signal of the output jack of the power supply, and the collected current signal is sent to the A/D signal pin of the main controller through the rectification and filtering module. D data acquisition port, the main controller judges the start-stop state of the load equipment on the socket by detecting the complex voltage of the current isolation transformer. The galvanic isolation transformer detects the current of the output jack. If it is too small, it indicates that the electrical equipment has not started normally, and the MCU resends the infrared coded signal until the electrical equipment starts normally. After multiple startups are invalid, an alarm signal is sent to the user through the network interface.
所述的220V市电通过电源变压器与整流滤波稳压模块连接,所述的整流滤波稳压模块与主控制器连接,对控制器的供电电压进行稳压滤波;所述的220V的市电通过电源变压器,再经过整流滤波稳压模块后,输出的电压为5V,为整个电路板提供5V电源电压。The 220V commercial power is connected to the rectification, filtering and voltage stabilizing module through a power transformer, and the rectification, filtering and voltage stabilizing module is connected to the main controller to perform voltage stabilization and filtering on the power supply voltage of the controller; the 220V commercial power is passed through The power transformer, after passing through the rectification, filtering and voltage stabilizing module, outputs a voltage of 5V, which provides a 5V power supply voltage for the entire circuit board.
所述的工作状态指示模块与主控制器双向连接,主控制器给工作状态指示模块下达工作指令,工作状态指示模块再把负载设备的工作状态反馈给主控制器。The working status indicating module is bidirectionally connected with the main controller, the main controller issues working instructions to the working status indicating module, and the working status indicating module feeds back the working status of the load equipment to the main controller.
所述的数据存储模块与主控制器双向连接进行数据传输。The data storage module is bidirectionally connected with the main controller for data transmission.
所述的网络接口模块与主控制器双向连接,在负载设备多次启动无效后,通过网络接口向用户发送报警信号。The network interface module is bidirectionally connected with the main controller, and sends an alarm signal to the user through the network interface after the load device has failed to start for many times.
所述的红外编码学习接收模块与主控制器连接进行接收信号,红外编码学习接收模块通过红外信号与负载设备的遥控器连接,接收负载设备遥控器的红外信号,再将接收的信号传送给主控制器,主控制器检测并学习红外编码信号,再将红外编码信号存储至数据存储模块。The infrared coding learning receiving module is connected with the main controller to receive signals, the infrared coding learning receiving module is connected with the remote controller of the load device through the infrared signal, receives the infrared signal of the remote controller of the load device, and then transmits the received signal to the main controller A controller, the main controller detects and learns the infrared coded signal, and then stores the infrared coded signal into the data storage module.
所述的主控制器与红外信号发射模块连接进行发送信号;红外信号发射模块通过红外信号与负载设备的信号接收模块连接。The main controller is connected with the infrared signal transmitting module to send signals; the infrared signal transmitting module is connected with the signal receiving module of the load device through the infrared signal.
所述的主控制器可以在停电后重新来电时,或根据接收网络指令,从EEPROM储存器中读取相应负载设备遥控器的红外编码信号,调整后经红外发射二极管发射,开启负载设备。The main controller can read the infrared coded signal of the remote control of the corresponding load device from the EEPROM memory when the power is turned on again after a power failure, or according to the received network command, and after adjustment, it will be emitted by the infrared emitting diode to turn on the load device.
初次使用智能插座时,将待控制的负载设备的遥控器对准本智能插座的红外接收窗口,按下遥控器按键;智能插座的红外编码学习接收模块接收遥控器发射的红外信号,红外信号经滤波、整形后送给主控制器,主控制器检测并学习红外编码信号,存储至EEPROM储存器中。红外编码学习接收模块的工作状态如图2所示。When using the smart socket for the first time, aim the remote control of the load device to be controlled at the infrared receiving window of the smart socket, and press the button of the remote control; the infrared code learning receiving module of the smart socket receives the infrared signal emitted by the remote control, and the infrared signal passes through After filtering and shaping, it is sent to the main controller. The main controller detects and learns the infrared coded signal, and stores it in the EEPROM memory. The working state of the infrared coding learning receiving module is shown in Figure 2.
当负载设备接入智能插座后,待被控的负载设备需要被打开时,利用红外发射模块发射红外控制信号,若负载设备处于失电状态,负载设备将无法自动启动。负载设备得电后,主控制器处于工作状态,主控制器工作后,延时一段时间,主控制器便可通过红外信号发射模块发射一个遥控器的编码给被控的负载设备。特殊情况下被控的负载设备未被打开,智能插座可通过电流隔离互感器对电流进行检测,因为发出遥控器编码信号后,若被控的负载设备已打开,电路中必定有电流流过,电流隔离互感器便有电压输出,其工作流程状态如图3所示。When the load device is connected to the smart socket and the load device to be controlled needs to be turned on, use the infrared transmitter module to emit an infrared control signal. If the load device is in a power-off state, the load device will not be able to start automatically. After the load equipment is powered on, the main controller is in the working state. After the main controller works, after a delay for a period of time, the main controller can transmit a code of the remote control to the controlled load equipment through the infrared signal transmitting module. Under special circumstances, the controlled load device is not turned on, and the smart socket can detect the current through the current isolation transformer, because after the remote control code signal is sent, if the controlled load device is turned on, there must be current flowing in the circuit. The galvanic isolation transformer has a voltage output, and its working process state is shown in Figure 3.
主控制器根据需要或网络指令,从EEPROM储存器中读取相应按键的红外编码数据,经调制后控制红外信号发射模块,发出工作状态指令,控制智能插座上的负载设备启停。红外信号发射模块的工作流程状态如图4所示。The main controller reads the infrared coded data of the corresponding buttons from the EEPROM memory according to the needs or network instructions, controls the infrared signal transmitting module after modulation, sends out the working state instructions, and controls the load equipment on the smart socket to start and stop. The workflow status of the infrared signal transmitting module is shown in Figure 4.
检测负载设备工作电流由电流隔离互感器测量采集,采集信号经过整流滤波模块通过AD信号引脚送入主控制器的A/D数据采集端口,主控制器通过检测电流隔离互感器的复变电压,感知插座上的负载设备启停状态;同时还可以检测到被控电器负载设备的用电量的大小。电流隔离互感器的电路连接方式如图5所示。The working current of the detection load equipment is measured and collected by the galvanic isolation transformer. The collected signal is sent to the A/D data acquisition port of the main controller through the rectification and filtering module through the AD signal pin. The main controller detects the complex voltage of the galvanic isolation transformer. , to sense the start-stop status of the load equipment on the socket; at the same time, it can also detect the power consumption of the controlled electrical load equipment. The circuit connection mode of the galvanic isolation transformer is shown in Fig. 5 .
闭环式智能红外遥控插座的具体电路连接如下:The specific circuit connection of the closed-loop intelligent infrared remote control socket is as follows:
如图6所示:As shown in Figure 6:
电路U1部分:Circuit U1 part:
芯片STC15W408AS的第1引脚悬空;第2引脚接网络接口NET的第2引脚;第3引脚接按键KEY一端,按键KEY另一端接地;第4引脚接发光二极管LED1的负极,发光二极管LED1的正极接电阻R2的一端,电阻R2的另一端接电源电压VCC;第5引脚接存储芯片ST24C08的第6引脚和电阻R6的一端,电阻R6的另一端接电源电压VCC;第6引脚接存储芯片ST24C08的第5引脚和电阻R5的一端,电阻R5的另一单接电源电压VCC;第7引脚悬空;第8引脚接稳压集成集成电路的直流电源电压VCC;第9引脚悬空;第10引脚接地;第11引脚接串口电路的芯片ISP的第1引脚;第12引脚接串口电路的芯片ISP的第2引脚;第13引脚接信号接收电路的芯片HS0038的第1引脚和电阻R13的一端,电阻R13的另一端接电源电压VCC;第14引脚接网络接口NET的第1引脚;第15引脚接红外发射电路中电阻R10的一端,电阻R10的另一端接三极管Q1的基级;第16引脚接红外发射电路中电阻R11的一端,电阻R11的另一端接三极管Q2的基级;第17引脚至第18引脚悬空;第19引脚接整流二极管D2的负极和电阻R4的一端以及电阻R3的一端,整流二极管D2的正极和电阻R4的另一端接地,电阻R3的另一端接二极管D1的负极和电解电容C5的正极,电解电容C5的负极接地,二极管D1的正极接电感线圈T2;第20引脚悬空;The first pin of the chip STC15W408AS is suspended; the second pin is connected to the second pin of the network interface NET; the third pin is connected to one end of the button KEY, and the other end of the button KEY is grounded; the fourth pin is connected to the negative pole of the light-emitting diode LED1, which emits light The anode of the diode LED1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to the power supply voltage VCC; the fifth pin is connected to the sixth pin of the memory chip ST24C08 and one end of the resistor R6, and the other end of the resistor R6 is connected to the power supply voltage VCC; The 6 pins are connected to the 5th pin of the memory chip ST24C08 and one end of the resistor R5, and the other end of the resistor R5 is connected to the power supply voltage VCC; the 7th pin is suspended; the 8th pin is connected to the DC power supply voltage VCC of the stabilized integrated circuit ;The 9th pin is floating; the 10th pin is grounded; the 11th pin is connected to the first pin of the chip ISP of the serial port circuit; the 12th pin is connected to the second pin of the chip ISP of the serial port circuit; the 13th pin is connected to the The first pin of the chip HS0038 of the signal receiving circuit and one end of the resistor R13, the other end of the resistor R13 is connected to the power supply voltage VCC; the 14th pin is connected to the first pin of the network interface NET; the 15th pin is connected to the infrared emission circuit One end of the resistor R10, the other end of the resistor R10 is connected to the base of the transistor Q1; the 16th pin is connected to one end of the resistor R11 in the infrared emission circuit, and the other end of the resistor R11 is connected to the base of the transistor Q2; the 17th pin to the 18th pin The pin is suspended; the 19th pin is connected to the cathode of the rectifier diode D2, one end of the resistor R4 and one end of the resistor R3, the anode of the rectifier diode D2 and the other end of the resistor R4 are grounded, and the other end of the resistor R3 is connected to the cathode of the diode D1 and the electrolytic The positive pole of the capacitor C5, the negative pole of the electrolytic capacitor C5 are grounded, the positive pole of the diode D1 is connected to the inductance coil T2; the 20th pin is suspended;
发光二极管LED0的正极接电阻R1的一端,电阻R1的另一端接电源电压VCC,发光二极管LED0的正极接地;The anode of the light-emitting diode LED0 is connected to one end of the resistor R1, the other end of the resistor R1 is connected to the power supply voltage VCC, and the anode of the light-emitting diode LED0 is grounded;
程序下载接口ISP的第1引脚接芯片STC15W408AS的第11引脚;第2引脚接接芯片STC15W408AS的第12引脚;第3引脚接地;The first pin of the program download interface ISP is connected to the 11th pin of the chip STC15W408AS; the second pin is connected to the 12th pin of the chip STC15W408AS; the third pin is grounded;
网络接口NET的第1引脚接芯片STC15W408AS的第14引脚;第2引脚接芯片STC15W408AS的第2引脚;第3引脚接地。The first pin of the network interface NET is connected to the 14th pin of the chip STC15W408AS; the second pin is connected to the second pin of the chip STC15W408AS; the third pin is grounded.
电路V1部分:Circuit V1 part:
芯片78M05的第1引脚接电容C2的一端、电解电容C1的正极和桥堆电路B1的第2引脚,电容C2的另一端、电解电容C1的负极、桥堆电路B1的第4引脚接地;桥堆电路B1的第1引脚接电流互感器T1一侧的一个引脚,桥堆电路B1的第3引脚接电流互感器T1一侧的另一个引脚;电流互感器T1另一侧的一个引脚接插座的供电线路零线端L;供电线路零线端L连接至交流电源;电流互感器T1另一侧的另一个引脚接电流互感器T2一侧的一个引脚;电流互感器T2一侧的另一个引脚接插座的供电线路火线端N;供电线路火线端N连接至交流电源;插座的地线端G接至保护地;电流互感器T2另一侧的一个引脚接二极管D1的正极,电流互感器T2另一侧的另一个引脚接地;二极管D1的负极接电阻R3的一端和电解电容C5的一端,电阻R3的另一端接电阻R4的一端、整流二极管D2的负极和芯片STC15W408AS的第19引脚,电解电容C5的负极、电阻R4的另一端以及整流二极管D2的正极接地;芯片78M05的第2引脚接地;第2引脚接电解电容C3的正极和电容C4的一端以及电源电压VCC,电解电容C3的另一端和电容C4的另一端均接地。The first pin of the chip 78M05 is connected to one end of the capacitor C2, the positive pole of the electrolytic capacitor C1 and the second pin of the bridge stack circuit B1, the other end of the capacitor C2, the negative pole of the electrolytic capacitor C1, and the fourth pin of the bridge stack circuit B1 Grounding; the first pin of the bridge stack circuit B1 is connected to a pin on one side of the current transformer T1, the third pin of the bridge stack circuit B1 is connected to the other pin on the side of the current transformer T1; the other pin of the current transformer T1 One pin on one side is connected to the neutral terminal L of the power supply line of the socket; the neutral terminal L of the power supply line is connected to the AC power supply; the other pin on the other side of the current transformer T1 is connected to a pin on the side of the current transformer T2 ; The other pin on one side of the current transformer T2 is connected to the live wire end N of the power supply line of the socket; the live wire end N of the power supply line is connected to the AC power supply; the ground wire end G of the socket is connected to the protection ground; One pin is connected to the positive pole of the diode D1, and the other pin on the other side of the current transformer T2 is grounded; the negative pole of the diode D1 is connected to one end of the resistor R3 and one end of the electrolytic capacitor C5, and the other end of the resistor R3 is connected to one end of the resistor R4, The cathode of the rectifier diode D2 and the 19th pin of the chip STC15W408AS, the cathode of the electrolytic capacitor C5, the other end of the resistor R4 and the anode of the rectifier diode D2 are grounded; the second pin of the chip 78M05 is grounded; the second pin is connected to the electrolytic capacitor C3 The positive pole of the electrolytic capacitor C3 and one end of the capacitor C4 and the power supply voltage VCC are grounded.
电路U2部分:Circuit U2 part:
芯片ST24C08的第1引脚至第4引脚接地;第5引脚接电阻R5的一端和芯片STC15W408AS的第6引脚,电阻R5的另一端接电源电压VCC;第6引脚接电阻R6的一端和芯片STC15W408AS的第5引脚,电阻R6的另一端接电源电压VCC;第7引脚接地;第8引脚接电源电压VCC;The first pin to the fourth pin of the chip ST24C08 are grounded; the fifth pin is connected to one end of the resistor R5 and the sixth pin of the chip STC15W408AS, and the other end of the resistor R5 is connected to the power supply voltage VCC; the sixth pin is connected to the resistor R6 One end and the 5th pin of the chip STC15W408AS, the other end of the resistor R6 is connected to the power supply voltage VCC; the 7th pin is grounded; the 8th pin is connected to the power supply voltage VCC;
电路H1部分:Circuit H1 part:
芯片HS0038的第1引脚接芯片STC15W408AS的第13引脚和电阻R13的一端,电阻R13的另一端接电源电压VCC;第2引脚接地;第3引脚接电源电压VCC;The first pin of the chip HS0038 is connected to the 13th pin of the chip STC15W408AS and one end of the resistor R13, and the other end of the resistor R13 is connected to the power supply voltage VCC; the second pin is grounded; the third pin is connected to the power supply voltage VCC;
三极管Q1的基级接电阻R10的一端,电阻R10的另一端接芯片STC15W408AS的第15引脚;发射极接电源电压VCC和电解电容C9的正极,电解电容C9的负极接地;集电极接发光二极管LD的正极,发光二极管LD的负极接电阻R12的一端,电阻R12的另一端接三极管Q2的集电极;三极管Q2的发射极接地;三极管Q2的基级接电阻R11的一端,电阻R11的另一端接芯片STC15W408AS的第16引脚。The base of the transistor Q1 is connected to one end of the resistor R10, and the other end of the resistor R10 is connected to the 15th pin of the chip STC15W408AS; the emitter is connected to the power supply voltage VCC and the positive electrode of the electrolytic capacitor C9, and the negative electrode of the electrolytic capacitor C9 is grounded; the collector is connected to the light-emitting diode The positive pole of LD and the negative pole of light-emitting diode LD are connected to one end of resistor R12, and the other end of resistor R12 is connected to the collector of transistor Q2; the emitter of transistor Q2 is grounded; the base of transistor Q2 is connected to one end of resistor R11, and the other end of resistor R11 Connect to the 16th pin of the chip STC15W408AS.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504617.5A CN108777403B (en) | 2018-05-24 | 2018-05-24 | Closed-loop intelligent infrared remote control socket |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504617.5A CN108777403B (en) | 2018-05-24 | 2018-05-24 | Closed-loop intelligent infrared remote control socket |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108777403A CN108777403A (en) | 2018-11-09 |
CN108777403B true CN108777403B (en) | 2019-12-24 |
Family
ID=64027589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810504617.5A Active CN108777403B (en) | 2018-05-24 | 2018-05-24 | Closed-loop intelligent infrared remote control socket |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108777403B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111207494B (en) * | 2020-03-17 | 2021-07-30 | 东南大学 | A data center remote control system and its realization method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202940403U (en) * | 2012-11-29 | 2013-05-15 | 河北宏图光电科技有限公司 | Infrared remote control socket |
CN103426279A (en) * | 2013-07-19 | 2013-12-04 | 深圳市元征科技股份有限公司 | Household appliance implementation method based on intelligent mobile terminal control |
CN203800326U (en) * | 2014-04-30 | 2014-08-27 | 刘引龙 | Automatic power-off socket |
CN106329235A (en) * | 2015-07-02 | 2017-01-11 | 国网天津市电力公司 | Intelligent socket with infrared learning function |
CN206302018U (en) * | 2017-01-09 | 2017-07-04 | 沈阳利江节能科技有限公司 | A kind of infrared energy-conserving switch socket |
CN207135330U (en) * | 2017-08-25 | 2018-03-23 | 临沂大学 | An LED-based smart street light |
-
2018
- 2018-05-24 CN CN201810504617.5A patent/CN108777403B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202940403U (en) * | 2012-11-29 | 2013-05-15 | 河北宏图光电科技有限公司 | Infrared remote control socket |
CN103426279A (en) * | 2013-07-19 | 2013-12-04 | 深圳市元征科技股份有限公司 | Household appliance implementation method based on intelligent mobile terminal control |
CN203800326U (en) * | 2014-04-30 | 2014-08-27 | 刘引龙 | Automatic power-off socket |
CN106329235A (en) * | 2015-07-02 | 2017-01-11 | 国网天津市电力公司 | Intelligent socket with infrared learning function |
CN206302018U (en) * | 2017-01-09 | 2017-07-04 | 沈阳利江节能科技有限公司 | A kind of infrared energy-conserving switch socket |
CN207135330U (en) * | 2017-08-25 | 2018-03-23 | 临沂大学 | An LED-based smart street light |
Also Published As
Publication number | Publication date |
---|---|
CN108777403A (en) | 2018-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108336532A (en) | A kind of Internet of Things intelligent socket | |
CN107401807B (en) | Intelligent energy-saving management control system and control method for central air conditioner | |
CN105516686A (en) | Power-saving image pick-up device, intelligent door viewer and network camera | |
WO2010094215A1 (en) | Power supply control device and ventilating device using same | |
CN204069443U (en) | A kind of electronic switch | |
CN105263233A (en) | Intelligent lamplight control system based on WIFI and control method | |
CN103744408A (en) | Indoor energy efficiency management system | |
CN104135431B (en) | A kind of energy source gateway for realizing fault electric arc detection | |
TWI487303B (en) | Wireless intelligent energy-saving two-wire light control switch device | |
CN108777403B (en) | Closed-loop intelligent infrared remote control socket | |
CN101938071B (en) | Energy-saving socket for printer and operating method thereof | |
CN201533072U (en) | Air conditioner intelligent electricity-saving socket | |
CN206848764U (en) | A kind of intelligent appliance control system | |
CN203720631U (en) | Indoor energy efficiency management system | |
CN211878468U (en) | A solar light box and a multi-point distributed light box cluster remote control system | |
CN201122743Y (en) | Power supply energy-saving device | |
CN208589138U (en) | An infrared remote control smart socket circuit | |
CN205490916U (en) | Power saving camera device , intelligent cat eye and network camera | |
CN204272159U (en) | An Energy Gateway Realizing Arc Fault Detection | |
CN210604825U (en) | Intelligent management system for safe electricity consumption in student apartments | |
CN103529341B (en) | Remote control circuit testing circuit for negative control terminal | |
CN211085318U (en) | Intelligent acquisition device and system | |
CN210035897U (en) | Internet of things control circuit for bathing water heater | |
CN106843071A (en) | One kind damping cloth production rinsing machine tele-control system | |
CN221551318U (en) | Intelligent air conditioner controller with controllable shielding function of user remote controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |