CN103176445B - Based on intelligent home control system and the control method thereof of BLC2200 - Google Patents
Based on intelligent home control system and the control method thereof of BLC2200 Download PDFInfo
- Publication number
- CN103176445B CN103176445B CN201210560381.XA CN201210560381A CN103176445B CN 103176445 B CN103176445 B CN 103176445B CN 201210560381 A CN201210560381 A CN 201210560381A CN 103176445 B CN103176445 B CN 103176445B
- Authority
- CN
- China
- Prior art keywords
- intelligent home
- intelligent
- module
- home device
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000006854 communication Effects 0.000 claims abstract description 26
- 238000004891 communication Methods 0.000 claims abstract description 24
- 238000012545 processing Methods 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 6
- 230000010365 information processing Effects 0.000 claims description 2
- 238000007689 inspection Methods 0.000 claims description 2
- 238000005286 illumination Methods 0.000 claims 1
- 238000009790 rate-determining step (RDS) Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 25
- 230000000007 visual effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000005457 optimization Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Landscapes
- Selective Calling Equipment (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种基于BLC2200的智能家居控制系统及其控制方法,其包括:用户端,用于向智能家居控制器发送操作命令;智能家居控制器,用于接收用户端发出的操作命令,并向智能家居设备发送控制命令;智能家居设备,用于接收智能家居控制器发出的操作命令,并响应该操作命令,同时智能家居设备也能够向智能家居控制器发送反馈命令。采用射频控制技术取代红外遥控技术,解决了可视距离限制问题和单向通信问题,为控制各类家电设备提供了很大的便利性,另外,智能家居控制系统采用低功耗技术,延长了遥控器的使用寿命。
The invention discloses a BLC2200-based smart home control system and its control method, which includes: a user end, used to send an operation command to a smart home controller; a smart home controller, used to receive the operation command sent by the user end, And send a control command to the smart home device; the smart home device is used to receive the operation command sent by the smart home controller and respond to the operation command, and the smart home device can also send a feedback command to the smart home controller. The use of radio frequency control technology to replace infrared remote control technology solves the problem of visual distance limitation and one-way communication, and provides great convenience for controlling various home appliances. In addition, the smart home control system adopts low power consumption technology, extending the Lifespan of the remote control.
Description
技术领域 technical field
本发明涉及智能家居控制技术领域,具体涉及一种基于BLC2200的智能家居控制系统及其控制方法。 The invention relates to the technical field of smart home control, in particular to a BLC2200-based smart home control system and a control method thereof.
背景技术 Background technique
计算机技术、信息技术、自动化控制技术的发展在提高人们物质生活水平,改变人们生活方式与工作习惯的同时,也对传统的住宅提出了挑战,社会、技术以及经济的进步更使人们对家庭居室环境的观念随之巨变。人们对家具的要求早已不只是物理空间,更为关注的是一个高度安全性、方便、舒适的居家环境。随着消费电子、计算机、通讯一体化趋势日益明显,现代智能家居由于其安全、高效、舒适、便利、智能化等特点在21世纪将成为现代社会和家庭的必然选择。 The development of computer technology, information technology, and automation control technology improves people's material living standards and changes people's lifestyles and work habits. At the same time, it also poses challenges to traditional houses. The progress of society, technology, and economy makes people pay more attention to family rooms. The concept of the environment has changed dramatically. People's requirements for furniture are not only physical space, but also a highly safe, convenient and comfortable home environment. With the increasingly obvious trend of integration of consumer electronics, computers, and communications, modern smart homes will become an inevitable choice for modern society and families in the 21st century due to their safety, efficiency, comfort, convenience, and intelligence.
自从19世纪70年代起,红外遥控技术(IR)一直盛行,其能简单控制很多设备,但是随着广泛的应用,红外遥控技术的局限性和缺点逐渐显现出来,因为屏幕发出的高强度光线,在大屏幕高清电视上使用红外遥控技术就比较困难,其次还有可视距离限制和单向通信。随着消费电子日趋复杂,设备存储能力的新趋势,IR技术逐渐被新技术取代,如射频控制技术。 Since the 1870s, infrared remote control technology (IR) has been popular, which can easily control many devices, but with the wide application, the limitations and shortcomings of infrared remote control technology gradually emerged, because the high-intensity light emitted by the screen, It is more difficult to use infrared remote control technology on large-screen high-definition TVs, followed by viewing distance limitations and one-way communication. With the increasing complexity of consumer electronics and the new trend of device storage capabilities, IR technology is gradually being replaced by new technologies, such as radio frequency control technology.
射频控制技术使得用户能更准确和简单的控制娱乐设备。设备只需要通过一次按钮,不需要多次按钮才能执行命令,双向通信方式为消费电子产业提供一个新的平台,射频控制技术能更好地适应设备控制方式的发展。因此,新的功能推动了自动化设备的发展和集成。 Radio frequency control technology enables users to control entertainment equipment more accurately and simply. The device only needs to press the button once, and does not need multiple buttons to execute the command. The two-way communication method provides a new platform for the consumer electronics industry, and the radio frequency control technology can better adapt to the development of device control methods. Therefore, new functions drive the development and integration of automation equipment.
所谓智能家居系统,是以住宅为平台,兼备建筑设备、网络通信、信息家电和设备自动化,集系统、结构、服务、控制为一体的高效、安全、舒适和便利的居住环境。目前国内市场上出现的智能家居的产品基本上都是几个独立的子系统拼凑起来的系统组合,并不是真正意义上的智能家居系统。智能家居系统应该是采用统一的技术标准来实现家庭中各监测设备之间的连接和通信的系统。能够实现对多个子系统的统一控制,如照明系统、安防系统等。 The so-called smart home system is an efficient, safe, comfortable and convenient living environment based on the residence as a platform, with construction equipment, network communication, information appliances and equipment automation, integrating system, structure, service and control. At present, the smart home products in the domestic market are basically a system combination of several independent subsystems, not a real smart home system. A smart home system should be a system that uses a unified technical standard to realize the connection and communication between various monitoring devices in the home. It can realize the unified control of multiple subsystems, such as lighting system, security system, etc.
因此寻求一种通过无线通讯技术,实现对由多个子系统组成的智能家居系统的统一控制,是从事通讯技术应用研究的技术人员当前一个重要的课题方向和研究目标。 Therefore, seeking a wireless communication technology to realize the unified control of the smart home system composed of multiple subsystems is an important subject direction and research goal for technicians engaged in communication technology application research.
发明内容 Contents of the invention
本发明目的在于提供一种基于BLC2200的智能家居控制系统及其控制方法,其解决了对家庭中多种设备统一射频遥控控制问题,可很好地提高用户的生活水平。 The purpose of the present invention is to provide a BLC2200-based smart home control system and its control method, which solves the problem of unified radio frequency remote control of multiple devices in the family, and can well improve the living standards of users.
为了解决现有技术中的这些问题,本发明提供的技术方案是: In order to solve these problems in the prior art, the technical solution provided by the invention is:
一种基于BLC2200的智能家居控制系统,其特征在于,所述智能家居管理系统包括用户端、智能家居控制器以及智能家居设备,其中 A smart home control system based on BLC2200, characterized in that the smart home management system includes a user terminal, a smart home controller and smart home equipment, wherein
用户端,用于向智能家居控制器发送操作命令; The client end is used to send operation commands to the smart home controller;
智能家居控制器,用于接收用户端发出的操作命令,并向智能家居设备发送控制命令; The smart home controller is used to receive the operation command sent by the client and send the control command to the smart home device;
智能家居设备,用于接收智能家居控制器发出的操作命令,并响应该操作命令,同时智能家居设备也能够向智能家居控制器发送反馈命令。 The smart home device is configured to receive an operation command sent by the smart home controller and respond to the operation command, and at the same time, the smart home device can also send a feedback command to the smart home controller.
对于上述技术方案,发明人还有进一步的优化实施方案。 For the above technical solution, the inventor has a further optimized implementation.
作为优化,所述智能家居设备装配在家电设备上,包括第一外置处理单元和通过RS-232串口进行连接的第一无线单元,所述第一外置处理单元用于响应智能家居控制器所发出的命令并采集家电信息和外界环境信息,所述第一无线单元用于从RS-232接收、处理、保存并从射频端发送家电信息和外界环境信息。 As an optimization, the smart home device is assembled on a household appliance, including a first external processing unit and a first wireless unit connected through an RS-232 serial port, and the first external processing unit is used to respond to the smart home controller The issued command collects home appliance information and external environment information, and the first wireless unit is used to receive, process, store and send home appliance information and external environment information from the RS-232 terminal.
作为优化,所述智能家居控制器是手持设备,包括第二外置处理单元和通过RS-232串口进行连接的第二无线单元,所述第二外置处理单元具有超时设定/响应用户端发出的命令并向智能家居设备模块发送命令的功能,所述第二无线单元用于从RS-232接收、处理、保存并从射频端发送家电信息和外界环境信息。 As an optimization, the smart home controller is a handheld device, including a second external processing unit and a second wireless unit connected through an RS-232 serial port, and the second external processing unit has a timeout setting/response client The function of issuing commands and sending commands to the smart home device module, the second wireless unit is used to receive, process, save and send home appliance information and external environment information from the RS-232 terminal.
更进一步,所述智能家居控制器和智能家居设备均配置有用于无线通信的三种频率,所述智能家居设备的第一外置处理单元内设有用于频率切换和关闭射频接收的频率控制装置。 Furthermore, the smart home controller and smart home equipment are configured with three frequencies for wireless communication, and the first external processing unit of the smart home equipment is provided with a frequency control device for frequency switching and closing radio frequency reception .
作为优化,智能家居控制器模块和智能家居设备模块的硬件平台为集成有微处理器和2.4GHz无线收发单元的芯片器件BLC2200。 As an optimization, the hardware platform of the smart home controller module and the smart home equipment module is a chip device BLC2200 integrated with a microprocessor and a 2.4GHz wireless transceiver unit.
本发明还提供了一种与上述基于BLC2200的智能家居控制系统相适用的控制方法,控制方法具体包括以下控制步骤: The present invention also provides a control method suitable for the above-mentioned smart home control system based on BLC2200. The control method specifically includes the following control steps:
Ⅰ、智能家居设备模块分别装配在各家电设备上,第一外置处理单元响应控制和采集家电信息和外界环境信息,第一无线单元从RS-232接收经处理、保存的家电信息和外界环境信息,并配置三种频率进行家电信息和外界环境信息的广播发送; Ⅰ. The smart home equipment modules are respectively assembled on each home appliance, the first external processing unit responds to control and collects home appliance information and external environment information, and the first wireless unit receives the processed and saved home appliance information and external environment information from RS-232 information, and configure three frequencies to broadcast home appliance information and external environment information;
Ⅱ、智能家居设备模块接收到广播信号后,并结合自身独有的地址信息对家电信息和外界环境信息进行处理; Ⅱ. After the smart home device module receives the broadcast signal, it processes the home appliance information and the external environment information in combination with its own unique address information;
Ⅲ、智能家居控制器模块与智能家居设备模块通过各自的无线单元进行通信自检,智能家居设备模块向智能家居控制器模块发送一通信等待信号或无反馈; Ⅲ. The smart home controller module and the smart home equipment module perform communication self-inspection through their respective wireless units, and the smart home equipment module sends a communication waiting signal or no feedback to the smart home controller module;
Ⅳ、当智能家居设备模块接收到来自智能家居控制器模块的请求控制信号后,智能家居设备模块将采集的家电信息和外界环境信息发送给智能家居控制器模块,智能家居控制器模块根据家电信息和外界环境信息处理结果,向智能家居设备模块发送控制信号; Ⅳ. When the smart home device module receives the request control signal from the smart home controller module, the smart home device module sends the collected home appliance information and external environment information to the smart home controller module, and the smart home controller module according to the home appliance information and external environment information processing results, and send control signals to the smart home device module;
Ⅴ、智能家居设备模块接收到控制信号,指定地址的智能家居设备模块响应相应的控制并将反馈信号发送给智能家居控制器模块;当指定地址的智能家居设备模块没有响应相应的控制或者响应控制之后没有将反馈信号发送给智能家居控制器模块,智能家居控制器模块将重新向智能家居设备模块发送控制信号。 Ⅴ. When the smart home device module receives the control signal, the smart home device module at the specified address responds to the corresponding control and sends the feedback signal to the smart home controller module; when the smart home device module at the specified address does not respond to the corresponding control or responds to the control If the feedback signal is not sent to the smart home controller module afterwards, the smart home controller module will send the control signal to the smart home device module again.
作为优化,步骤Ⅰ中所述第一无线单元进行射频信号广播发送时,关闭射频接收。步骤Ⅰ中所述家电信息和外界环境信息包括家电的ID信息、环境温度以及光照强度信息。 As an optimization, when the first wireless unit in step I broadcasts and transmits radio frequency signals, the radio frequency reception is turned off. The home appliance information and external environment information in step I include home appliance ID information, ambient temperature and light intensity information.
作为优化,步骤Ⅲ、Ⅳ和Ⅴ中,所述的智能家居控制器模块和智能家居设备模块之间为点对多无线数据通信。 As an optimization, in steps III, IV and V, point-to-multiple wireless data communication is used between the smart home controller module and the smart home device module.
相对于现有技术中的方案,本发明的优点是: Compared with the scheme in the prior art, the advantages of the present invention are:
本发明描述了一种基于BLC2200的智能家居控制系统及其控制方法,本发明采用射频控制技术取代红外遥控技术,解决了可视距离限制问题和单向通信问题,为控制各类家电设备提供了很大的便利性,另外,智能家居控制系统采用低功耗技术,延长了遥控器的使用寿命。 The invention describes a BLC2200-based smart home control system and its control method. The invention uses radio frequency control technology to replace infrared remote control technology, solves the problem of visual distance limitation and one-way communication, and provides a convenient way for controlling various home appliances. Great convenience, in addition, the smart home control system adopts low power consumption technology, which prolongs the service life of the remote control.
附图说明 Description of drawings
下面结合附图及实施例对本发明作进一步描述: The present invention will be further described below in conjunction with accompanying drawing and embodiment:
图1为本发明实施例中智能家居控制器和智能家居设备的结构示意框图; Fig. 1 is a schematic block diagram of the structure of a smart home controller and a smart home device in an embodiment of the present invention;
图2为本发明实施例中智能家居控制系统的系统结构框图; Fig. 2 is a system structural block diagram of the smart home control system in the embodiment of the present invention;
图3为本发明实施例中智能家居设备的工作流程图; Fig. 3 is the working flowchart of the smart home device in the embodiment of the present invention;
图4为本发明实施例中智能家居控制器的工作流程图。 Fig. 4 is a working flow chart of the smart home controller in the embodiment of the present invention.
具体实施方式 detailed description
以下结合具体实施例对上述方案做进一步说明。应理解,这些实施例是用于说明本发明而不限于限制本发明的范围。实施例中采用的实施条件可以根据具体厂家的条件做进一步调整,未注明的实施条件通常为常规实验中的条件。 The above solution will be further described below in conjunction with specific embodiments. It should be understood that these examples are used to illustrate the present invention and not to limit the scope of the present invention. The implementation conditions used in the examples can be further adjusted according to the conditions of specific manufacturers, and the implementation conditions not indicated are usually the conditions in routine experiments.
实施例: Example:
本实施例描述了一种基于BLC2200的智能家居控制系统,本实施例通过对家电信息和外界环境信息的无线射频通讯技术控制家庭中的多种设备,实现远程控制多种家电设备的效果,该通过无线信道通信的实体包括智能家居控制器和智能家居设备两个模块,两类模块分别包含各自的无线单元和外置处理单元,且每类模块中的无线单元和外置处理单元通过RS-232串口连接相连接,如图1所示。 This embodiment describes a smart home control system based on BLC2200. This embodiment controls various devices in the family through radio frequency communication technology for household appliance information and external environment information, and realizes the effect of remote control of various household appliances. The entities that communicate through the wireless channel include two modules, the smart home controller and the smart home device. The two types of modules contain their own wireless units and external processing units, and the wireless units and external processing units in each type of module pass RS- 232 serial port connection, as shown in Figure 1.
为了表述的清楚、简洁,对各功能模块及无线通信的数据作如下定义,并在后续的描述中均以该定义指代:智能家居控制器模块为A类模块、智能家居设备模块为B类模块。该两类模块每个都可以看作是一个通信终端,负责实现RS-232串行端口与无线网络的数据转发和传输。另把每个模块的无线单元网络通信端口定义为‘R’端,而RS-232通信端口定义为‘M’端。如果从‘R’端或‘M’端接收到某类数据帧是需要进行处理的,则称该类数据帧适应‘R’或‘M’端;如果某类模块能识别并处理某种帧数据帧,则称该数据帧适应某类模块,可以记述为:A-表示该数种据帧适应A类模块的R端和M端;BR-表示该种数据帧只适应B类模块的R端……以此类推。 In order to express clearly and concisely, each functional module and wireless communication data are defined as follows, and will be referred to by this definition in the subsequent description: the smart home controller module is a class A module, and the smart home device module is a class B module module. Each of these two types of modules can be regarded as a communication terminal, which is responsible for realizing the data forwarding and transmission between the RS-232 serial port and the wireless network. In addition, the wireless unit network communication port of each module is defined as the 'R' end, and the RS-232 communication port is defined as the 'M' end. If a certain type of data frame is received from the 'R' or 'M' end and needs to be processed, it is said that this type of data frame is adapted to the 'R' or 'M' end; if a certain type of module can recognize and process a certain type of frame A data frame means that the data frame is suitable for a certain type of module, which can be described as: A-means that this type of data frame is suitable for the R terminal and M terminal of a type A module; BR-means that this type of data frame is only suitable for the R terminal of a type B module end...and so on.
对A和B类模块而言,A类模块是手持设备。在信道15,20,25接收B类模块的反馈信号,和向B类模块发送射频控制信号;B类模块分别设置于家电设备上,接收A类模块的射频控制信号,和向A类模块发送反馈信号。 For Class A and B modules, the Class A module is a handheld device. Receive feedback signals from class B modules on channels 15, 20, and 25, and send radio frequency control signals to class B modules; class B modules are respectively set on home appliances, receive radio frequency control signals from class A modules, and send radio frequency control signals to class A modules Feedback signal.
如图2所示的基于BLC2200的智能家居控制系统的系统框图。当安装在家电设备上的B类模块采集家电信息和外界环境信息的数据,并经过初步处理向A类模块发送数据和准备就绪的信息,A类模块接收到B类模块的信息,A类模块响应并向B类模块发送控制信号。 The system block diagram of the smart home control system based on BLC2200 as shown in Figure 2. When the B-type module installed on the home appliance collects the data of home appliance information and external environment information, and sends the data and ready information to the A-type module after preliminary processing, the A-type module receives the information of the B-type module, and the A-type module Respond and send a control signal to the Class B module.
B类模块接收A类模块的广播信息含有目标设备地址,A类模块和B类模块需要经过配对机制,指定地址的B类模块才能响应A类模块的控制,而且B类模块响应控制时启动一个超时机制,当在规定时间内B类模块没有响应A类模块的控制,则放弃本次操作,A类模块重新向B类模块发送控制命令。这些超时机制的处理都是由外置处理单元完成的,因为这是一个与具体应用相关的数据处理。 The broadcast information received by the class B module from the class A module contains the address of the target device. The class A module and the class B module need to go through a pairing mechanism, and the class B module with the specified address can respond to the control of the class A module, and the class B module starts a Timeout mechanism, when the B-type module does not respond to the control of the A-type module within the specified time, the operation will be abandoned, and the A-type module will send the control command to the B-type module again. The processing of these time-out mechanisms is completed by the external processing unit, because this is a data processing related to a specific application.
本发明实施例中中A和B模块结构相一致,其中外置处理单元(MCU单元)与无线收发单元通过总线连接,二者构成能够实现各种功能的无线数据传输模块。本实施例采用了一款SoC芯片BLC2200,该芯片集成了MCU微处理器单元和2.4GHz的无线收发单元。MCU微处理器单元是一个MCS-51内核的处理器,其集成了通用串口和定时/计时器等一系列功能。无线收发单元的频段选择的是2.4GHz的ISM频段,其物理层是按照IEEE802.15.4的标准来设计的,它的数据传输速率为250kbps,该频带划分为16个信道,每个信道占5MHz的带宽。采用直接序列扩频(DSSS)和0-QPSK的调试方式,提高了无线信号的抗干扰能力。用户端通过RS-232通用串口通信总线电路,给系统无线数据传输模块的MCU单元传送数据,MCU单元将数据进行组包处理后再通过无线天线和匹配电路送给无线收发单元。 In the embodiment of the present invention, the structures of modules A and B are consistent, wherein the external processing unit (MCU unit) and the wireless transceiver unit are connected through a bus, and the two constitute a wireless data transmission module capable of realizing various functions. This embodiment adopts a SoC chip BLC2200, which integrates an MCU microprocessor unit and a 2.4GHz wireless transceiver unit. The MCU microprocessor unit is a processor with MCS-51 core, which integrates a series of functions such as general-purpose serial port and timer/timer. The frequency band of the wireless transceiver unit is the 2.4GHz ISM frequency band, and its physical layer is designed according to the IEEE802.15.4 standard. Its data transmission rate is 250kbps. The frequency band is divided into 16 channels, and each channel occupies 5MHz. bandwidth. The debugging method of Direct Sequence Spread Spectrum (DSSS) and 0-QPSK improves the anti-interference ability of wireless signals. The client transmits data to the MCU unit of the wireless data transmission module of the system through the RS-232 universal serial communication bus circuit. The MCU unit packs the data and then sends it to the wireless transceiver unit through the wireless antenna and matching circuit.
关于该基于BLC2200的智能家居控制系统中所涉及的帧格式说明,定义如下三种帧类型: Regarding the description of the frame format involved in the BLC2200-based smart home control system, the following three frame types are defined:
(1)用户按下控制命令帧 (1) The user presses the control command frame
(2)用户重复控制命令帧 (2) The user repeats the control command frame
(3)用户释放控制命令帧 (3) The user releases the control command frame
在该公交优先无线传输系统中各模块的功能及工作流程可以总结为: The functions and workflow of each module in the bus priority wireless transmission system can be summarized as follows:
A类模块 Class A module
A类模块只负责把从M端接收到的数据帧以固定的周期和通信频率从R端发送出去,由于从M端接收到的数据非常简单,只是家电的ID信息,具体实现时可把这些ID信息直接配置到A类模块内,模块运行时只需发送这些ID数据即可。为了防止相邻距离较近的路口发生干扰,A类模块可配置三种频率进行ID信息的广播发送。 The class A module is only responsible for sending the data frames received from the M terminal from the R terminal with a fixed cycle and communication frequency. Since the data received from the M terminal is very simple, it is only the ID information of the home appliance. These can be used in the actual implementation. The ID information is directly configured in the A-type module, and the module only needs to send these ID data when it is running. In order to prevent interference at nearby intersections, the Class A module can be configured with three frequencies for broadcasting and sending of ID information.
具体通信过程包括: The specific communication process includes:
(1)从M端接收到家电设备编号等配置消息时,进行响应并处理。 (1) When receiving configuration messages such as home appliance numbers from the M terminal, respond and process them.
(2)从M端接收到家电设备编号等配置消息时,则以三种频率从R端发射消息。 (2) When a configuration message such as the number of the home appliance is received from the M terminal, the message is transmitted from the R terminal at three frequencies.
B类模块 Class B module
具体通信过程包括: The specific communication process includes:
(1)从R端接收到A类模块发送的用户按下控制命令帧时,从M端口发送出去,并向A类模块发送反馈信息,同时进行响应处理。 (1) When the user presses the control command frame sent by the A-type module from the R terminal, it is sent out from the M port, and the feedback information is sent to the A-type module, and the response processing is performed at the same time.
(2)从R端没有接收到A类模块发送的用户按下控制命令帧时,向A类模块发送反馈信息,请求A类模块发送用户重复控制命令帧。 (2) When the user presses the control command frame sent by the A-type module from the R terminal, it sends feedback information to the A-type module and requests the A-type module to send the user to repeat the control command frame.
(3)从R端接收到A类模块发送的用户释放控制命令帧时,从M端口发送出去。并进行响应处理。 (3) When the user release control command frame sent by the A-type module is received from the R terminal, it is sent out from the M port. and handle the response.
以上是对各类模块间无线信号传输的介绍,接着将结合图3和图4所示的两类模块工作流程图,说明各功能模块是如何实现其智能家居控制的。 The above is an introduction to wireless signal transmission between various modules, and then combined with the two types of module work flow charts shown in Figure 3 and Figure 4, how each functional module realizes its smart home control.
如图3所示的是智能家居设备模块的工作流程图。该模块经初始化后进入循环检测状态,首先检测串口处是否有数据,如果无数据则查询设备中断情况,如果已中断,则射频端在信道15,20,25分别发送家电ID信息,如果没有中断,则返回继续检测串口处是否有数据。而当检测到串口处确实有数据时,则对其进行完整性检测,对于非完整的情况,则采取丢弃该数据包,并返回继续检测串口处是否有数据,对于数据包完整的情况,根据包类型的差别,对应地在闪存中写入并对模块设置,或者读取指定帧并将其从串口发送出去。 As shown in Figure 3 is the work flow diagram of the smart home equipment module. After the module is initialized, it enters the cyclic detection state. First, it detects whether there is data at the serial port. If there is no data, it checks the device interruption. , then return to continue to detect whether there is data at the serial port. And when it is detected that there is indeed data at the serial port, it will be checked for integrity. If it is not complete, the data packet will be discarded and returned to continue to detect whether there is data at the serial port. For the complete situation of the data packet, according to According to the difference of the packet type, write in the flash memory and set the module accordingly, or read the specified frame and send it out from the serial port.
如图4所示的是智能家居控制器模块的工作流程图。图中,智能家居控制器模块的工作流程与前述智能家居设备模块的工作流程大致相同,其差别仅在于对串口端所接收到的完整的命令帧包类型后,对其进行简单处理后从射频端发送出去以及对射频端数据有无的检测上,故相同部分不再赘述。特别地,当射频端检测确实有并且为完整的数据帧时,对应各种情况,射频端将有如下反馈动作: As shown in Figure 4 is the work flow diagram of the smart home controller module. In the figure, the workflow of the smart home controller module is roughly the same as that of the aforementioned smart home equipment module, the only difference is that after the complete command frame packet type received by the serial port, it is simply processed and then transmitted from the radio frequency The same part is sent out and the detection of the presence or absence of data at the radio frequency end, so the same part will not be repeated. In particular, when the radio end detects that there is indeed a complete data frame, corresponding to various situations, the radio end will have the following feedback actions:
如果是A类模块发送的数据帧,解包后从串口发送出去,并直接射频端发送给B类模块;如果是B类模块发送的数据帧,解包后从串口发送出去,执行操作。完成后的各种情况下将丢弃所用到的数据,并重新返回对串口数据的查看。 If it is a data frame sent by a type A module, unpack it and send it out from the serial port, and send it directly to the type B module at the RF end; if it is a data frame sent by a type B module, unpack it and send it out from the serial port to perform operations. In all cases after completion, the used data will be discarded, and the view of the serial port data will be returned.
经实验室模拟:本发明所设计的基于BLC2200智能家居控制系统用射频控制技术取代红外遥控技术,解决了可视距离限制问题和单向通信问题,为控制各类家电设备提供了很大的便利性;智能家居控制系统采用低功耗技术,延长了遥控器的使用寿命。 After laboratory simulation: the BLC2200 smart home control system designed by this invention uses radio frequency control technology instead of infrared remote control technology, which solves the problem of visual distance limitation and one-way communication, and provides great convenience for controlling various home appliances The smart home control system adopts low power consumption technology, which prolongs the service life of the remote control.
上述实例只为说明本发明的技术构思及特点,其目的在于让熟悉此项技术的人是能够了解本发明的内容并据以实施,并不能以此限制本发明的保护范围。凡根据本发明精神实质所做的等效变换或修饰,都应涵盖在本发明的保护范围之内。 The above examples are only to illustrate the technical conception and characteristics of the present invention, and its purpose is to allow people familiar with this technology to understand the content of the present invention and implement it accordingly, and cannot limit the protection scope of the present invention. All equivalent changes or modifications made according to the spirit of the present invention shall fall within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210560381.XA CN103176445B (en) | 2012-12-21 | 2012-12-21 | Based on intelligent home control system and the control method thereof of BLC2200 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210560381.XA CN103176445B (en) | 2012-12-21 | 2012-12-21 | Based on intelligent home control system and the control method thereof of BLC2200 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103176445A CN103176445A (en) | 2013-06-26 |
CN103176445B true CN103176445B (en) | 2016-01-20 |
Family
ID=48636398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210560381.XA Expired - Fee Related CN103176445B (en) | 2012-12-21 | 2012-12-21 | Based on intelligent home control system and the control method thereof of BLC2200 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103176445B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015004812A1 (en) * | 2013-07-12 | 2015-01-15 | 三菱電機株式会社 | Network system, portable terminal device, and method for specifying device |
CN104133439A (en) | 2014-07-22 | 2014-11-05 | 深圳市银河风云网络系统股份有限公司 | Method for terminal to control intelligent home appliances and intelligent socket |
CN104615456B (en) | 2014-12-30 | 2019-02-05 | 联想(北京)有限公司 | A kind of information processing method and control device |
CN104820364A (en) * | 2015-03-13 | 2015-08-05 | 李念 | Intelligent home integrated management system and method thereof |
CN104880955A (en) * | 2015-05-29 | 2015-09-02 | 四川长虹电器股份有限公司 | Method for controlling intelligent household device, and intelligent household control device |
CN105045116A (en) * | 2015-05-29 | 2015-11-11 | 四川长虹电器股份有限公司 | Information feedback method and intelligent household controller |
CN104866358A (en) * | 2015-05-29 | 2015-08-26 | 四川长虹电器股份有限公司 | Function starting method and first electronic equipment |
CN104865840A (en) * | 2015-06-05 | 2015-08-26 | 重庆晨古科技有限公司 | Intelligent household control device |
CN105357714A (en) * | 2015-09-24 | 2016-02-24 | 广东瑞德智能科技股份有限公司 | Wireless electric appliance network and data communication method thereof |
CN106781344B (en) * | 2015-11-23 | 2019-07-05 | 王相臣 | Three-channel wireless remote control system |
WO2017147910A1 (en) * | 2016-03-04 | 2017-09-08 | 茹旷 | Method for switching smart home control using radio frequency positioning |
WO2017147911A1 (en) * | 2016-03-04 | 2017-09-08 | 茹旷 | Automatic radio frequency home automation control system |
CN107219777A (en) * | 2016-03-22 | 2017-09-29 | 深圳市轻生活科技有限公司 | One kind culinary art accessory system and device |
CN105759626A (en) * | 2016-04-20 | 2016-07-13 | 郑晓宁 | Intelligent housing system based on embedded Web technology |
CN112524754B (en) * | 2020-11-16 | 2021-11-23 | 珠海格力电器股份有限公司 | Data synchronization device and method of electric appliance control system and air conditioner control system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988489A (en) * | 2006-11-30 | 2007-06-27 | 中国联合通信有限公司 | Intelligent system and method for monitoring house |
CN201708814U (en) * | 2010-06-09 | 2011-01-12 | 常州司曼睿信息科技有限公司 | Smart home system |
CN102437942A (en) * | 2011-11-07 | 2012-05-02 | 上海电子艺术发展有限公司 | Intelligent household control system |
CN202282787U (en) * | 2011-11-03 | 2012-06-20 | 桂林电子科技大学 | Handheld intelligent home management gateway |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070009855A (en) * | 2005-07-14 | 2007-01-19 | (주)플러스빅 | Heterogeneous Smart Home Protocol Device Integrated Network Controller |
-
2012
- 2012-12-21 CN CN201210560381.XA patent/CN103176445B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988489A (en) * | 2006-11-30 | 2007-06-27 | 中国联合通信有限公司 | Intelligent system and method for monitoring house |
CN201708814U (en) * | 2010-06-09 | 2011-01-12 | 常州司曼睿信息科技有限公司 | Smart home system |
CN202282787U (en) * | 2011-11-03 | 2012-06-20 | 桂林电子科技大学 | Handheld intelligent home management gateway |
CN102437942A (en) * | 2011-11-07 | 2012-05-02 | 上海电子艺术发展有限公司 | Intelligent household control system |
Also Published As
Publication number | Publication date |
---|---|
CN103176445A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103176445B (en) | Based on intelligent home control system and the control method thereof of BLC2200 | |
CN103235581B (en) | Electrical equipment control system based on wireless handheld terminal | |
CN100573383C (en) | Intelligent home control system based on phone and ZigBee technology | |
CN105223820B (en) | A kind of multifunctional intellectual house control system | |
CN203324759U (en) | Electrical equipment control system based on wireless handheld terminal | |
CN203325206U (en) | Infrared remote-control learning and control device | |
CN103400487A (en) | Household appliance energy consumption managing system and household appliance energy consumption managing method based on intelligent mobile phone | |
WO2012034483A1 (en) | Intelligent home network system, control device and method | |
CN104076790A (en) | Intelligent control system and method for home furnishing | |
CN205657799U (en) | Wireless audio frequency and video emitter of USB interface | |
CN204479933U (en) | Smart bluetooth household electrical appliances integrated equipment | |
WO2022104713A1 (en) | Intelligent device, and control method and control system for intelligent device | |
CN107438020B (en) | Data transmission method and intelligent household control equipment | |
CN105262599B (en) | A remote power control system based on WiFi | |
CN203324712U (en) | Feedback type intelligent switch and switch network system | |
CN105187044B (en) | A kind of single firewire capacitive touch switch comprising low-power consumption Z-Wave wireless module | |
CN106056892A (en) | Infrared remote control method and system | |
CN109286546A (en) | A kind of multi-point access intelligent interconnection device and interconnection communication method | |
CN108427309A (en) | Intelligent home control system | |
CN104601417A (en) | ZIGBEE technology based wireless on-off controller and method | |
CN205863553U (en) | Internet of Things smart jack | |
CN204333488U (en) | A wireless gateway socket control system | |
CN203275993U (en) | Control system of electric equipment | |
CN203386343U (en) | Learning infrared remote controller based on WIFI (wireless fidelity) | |
CN110568832A (en) | Remote controller, coordinator, intelligent household equipment and remote control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160120 Termination date: 20181221 |