KR101599905B1 - Wireless communication module and method for providing automatic configuration of network - Google Patents
Wireless communication module and method for providing automatic configuration of network Download PDFInfo
- Publication number
- KR101599905B1 KR101599905B1 KR1020140044391A KR20140044391A KR101599905B1 KR 101599905 B1 KR101599905 B1 KR 101599905B1 KR 1020140044391 A KR1020140044391 A KR 1020140044391A KR 20140044391 A KR20140044391 A KR 20140044391A KR 101599905 B1 KR101599905 B1 KR 101599905B1
- Authority
- KR
- South Korea
- Prior art keywords
- setting
- network
- wireless communication
- address
- interface sensor
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 261
- 238000000034 method Methods 0.000 title claims description 18
- 238000004519 manufacturing process Methods 0.000 claims abstract description 8
- 239000000284 extract Substances 0.000 claims description 30
- 230000035945 sensitivity Effects 0.000 claims description 10
- 230000006870 function Effects 0.000 description 21
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000004065 semiconductor Substances 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000012356 Product development Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
본 발명의 실시예들은 무선 통신 모듈에 관한 것으로서, 주파수 설정 파라미터, 주소 설정 파라미터, 네트워크 ID 설정 파라미터 및 제품의 제조번호 중 적어도 하나가 기저장된 저장부; 및 주파수 채널 선택 스위치가 미연결 되거나 연결된 상기 주파수 채널 선택 스위치의 값이 0인 경우, 상기 주파수 설정 파라미터를 추출하여 무선 통신에 사용할 주파수 채널을 자동으로 선택하고, 주소 설정 스위치가 미연결 되고 상기 주소 설정 파라미터가 존재하지 않거나 연결된 상기 주소 설정 스위치의 값이 0이며 상기 주소 설정 파라미터가 존재하지 않는 경우, 제품의 제조번호를 기반으로 생성되어 상기 저장부에 기저장된 주소 설정 값으로 무선 통신 모듈의 주소를 자동으로 설정하며, 네트워크 ID 설정 스위치가 미연결 되고 상기 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 다른 전자 장치로부터 네트워크 ID 설정 값을 수신하여 상기 무선 통신 모듈의 네트워크 ID로 자동으로 설정하도록 제어하는 제어부를 포함할 수 있다.Embodiments of the present invention relate to a wireless communication module, including: a storage unit storing at least one of a frequency setting parameter, an address setting parameter, a network ID setting parameter, and a product serial number; And the frequency channel selection switch is not connected or the value of the frequency channel selection switch to which the frequency channel selection switch is connected is 0, the frequency setting parameter is extracted to automatically select a frequency channel to be used for wireless communication, When the address setting switch is not present or the value of the address setting switch is 0 and the address setting parameter is not present, the address of the wireless communication module is generated based on the manufacturing number of the product, If the network ID setting switch is not connected and the network ID setting parameter is not present or the value of the connected network ID setting switch is 0 and the network ID setting parameter is not present, Receive network ID settings And automatically setting the network ID of the wireless communication module to the network ID of the wireless communication module.
Description
본 발명의 실시예들은 무선 통신 모듈에 관한 것으로서, 예컨대, 무선 센서 네트워크를 구성함에 있어서 사용자가 원하는 무선 네트워크를 구성 및 변경이 가능한 멀티 기능을 제공하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈 및 방법에 관한 것이다.Embodiments of the present invention relate to a wireless communication module, for example, a wireless communication module and a wireless communication module that provide an automatic configuration of a network that provides a multi-function capable of configuring and changing a wireless network desired by a user in configuring a wireless sensor network .
일반적으로 유비쿼터스 센서 네트워크(USN)는 향후에 유비쿼터스를 이루게 하는 지능적인 센서들의 네트워크라고 정의한다. 유비쿼터스 센서 네트워크(USN)의 응용분야는 토목공학, 교육, 의료, 농업, 환경, 국방, 교통 및 재해 등 광범위한 분야에 적용할 수 있다. 따라서 각 분야에 속한 기업은 관심 분야에 무선 센서 네트워크(WSN) 기술을 적용한 제품을 개발하고자 한다. 그러나 저전력 무선 통신용 반도체 칩을 기반으로 무선 센서 네트워크(WSN) 관련 제품 개발 시 보통 개발 기간은 6개월에서 18개월 정도 소요되며 비용은 약 2억원 내지 6억 5천만원 정도가 소요된다. 개발 기간과 소요 비용은 개발 하고자 하는 제품의 기술, 사용 주파수, 관련 제품 기술 기준 및 국가별 인증제도 등에 따라 더 증가할 수 있으며, 통신용 반도체 칩 생산자 공급 상황이 변경될 때 마다 개발 기간과 소요 비용은 추가로 더 증가할 수 있다. 상기와 같은 이유로 많은 기업이 기존 만들어진 모듈 형태의 무선 센서 네트워크(WSN) 관련 제품을 구매하여 편리하게 사용하고자 하는 방향으로 제품 개발이 추진되고 있다. 따라서 무선통신 기술을 가지고 있는 기업들은 모듈 형태의 무선 센서 네트워크(WSN)용 관련 제품들을 시장에 내놓고 있다.Generally, Ubiquitous Sensor Network (USN) is defined as a network of intelligent sensors that will make ubiquitous in the future. Applications of ubiquitous sensor networks (USN) can be applied to a wide range of fields such as civil engineering, education, medical, agriculture, environment, defense, traffic and disaster. Therefore, companies in each field are interested in developing products that apply wireless sensor network (WSN) technology to their fields of interest. However, in the development of wireless sensor network (WSN) related products based on semiconductor chips for low power wireless communication, the development period usually takes 6 to 18 months and costs about 200 million to 650 million won. The development period and cost can be further increased according to the technology of the product to be developed, the frequency of use, the related product technical standard, and the country-specific certification system. Whenever the supply situation of the semiconductor chip producer for communication is changed, Can be further increased. For the above reasons, many companies are pursuing product development in the direction of purchasing and making convenient use of existing module type wireless sensor network (WSN) related products. Therefore, companies with wireless communication technologies are bringing related products for modular wireless sensor networks (WSN) to the market.
한편, 저전력 무선 센서 네트워크(WSN)에 사용 가능한 저전력 무선 통신용 반도체 칩에 사용가능한 라디오 주파수(RF: Radio Frequency) 기술은 IEEE 802.11.x에 규정된 무선랜, IEEE 802.15.1에 규정된 블루투스(Bluetooth) 및 IEEE 802.15.4에 규정된 지그비(ZigBee)등이 있다. 무선랜(Wi-Fi)의 장점은 대량의 보안성이 뛰어나며 대량의 데이터를 전송이 가능하며 보안성이 뛰어난 반면에 프로토콜 규격이 복잡하고, 접속시간이 오래 걸리며, 불필요한 신호에 대한 전파 간섭이 심하고, 소비전력이 커서 배터리를 이용한 제품에는 적합하지 않다. 블루투스는 음성신호를 주고받기에 적합한 통신규격으로서, 다기능을 요구하는 통신장치에 유용하지만 상대적으로 단가가 높으며, 소비전력이 크다는 문제점이 있다. 지그비(ZigBee)는 무선랜과 블루투스에 비하여 배터리의 소비전력 문제나 제품의 생산 가격의 문제를 다소 해결해 줄 수 있는 기술로서 각광을 받고 있다. 그러나 지그비는 내부에 비교적 크고 복잡한 통신 프로토콜 스택이 필요하기 프로그래밍하기 위해선 전문 기술을 가지고 있는 전문가가 필요하며, 외부에 호스트 프로세서를 이용하여 애플리케이션을 개발해야 하는 불편함을 가지고 있다. 위에 언급한 기술 이외에도 지그비의 불편함을 개선한 Z-Wave, 블루투스를 무선 센서 네트워크(WSN)에 적용하는데 방해가 되는 문제점들을 개선 보완한 저전력 블루투스(BLE: Bluetooth Low Energy) 등에 많은 기업들이 관심과 제품개발에 적용하는 사례가 늘어나는 추세이다.Meanwhile, a radio frequency (RF) technology applicable to a semiconductor chip for a low power wireless communication that can be used in a low power wireless sensor network (WSN) includes a wireless LAN specified in IEEE 802.11.x, a Bluetooth specified in IEEE 802.15.1 ) And ZigBee (defined in IEEE 802.15.4). The advantage of Wi-Fi is that it has a great deal of security, it can transmit a large amount of data and is highly secure, while complicating protocol specifications, taking a long time to connect, , The power consumption is so large that it is not suitable for products using batteries. Bluetooth is a communication standard suitable for sending and receiving voice signals, which is useful for a communication device that requires multiple functions, but has a relatively high unit price and large power consumption. ZigBee is attracting attention as a technology that can solve the problems of battery power consumption and production cost compared to wireless LAN and Bluetooth. However, ZigBee needs a relatively large and complicated communication protocol stack internally, and requires an expert with expertise to program it, and it is inconvenient to develop applications using an external host processor. In addition to the above mentioned technologies, many companies are interested in Z-Wave, which improves the inconvenience of ZigBee, and Bluetooth low energy (BLE), which improves the problems that impede the application of Bluetooth to the wireless sensor network (WSN) The number of applications for product development is increasing.
따라서 무선 통신 모듈 제작 업체들은 저전력 무선 통신용 반도체 칩 및 라디오 주파수 관련 기술을 적용한 모듈화된 무선 센서 네트워크(WSN)용 모듈 제품들을 시장에 내놓고 있다. 사용자 또는 개발자는 모듈에서 채용하여 사용하고 있는 라디오 주파수 타입, 내부 데이터 링크 구조, 라우팅 프로토콜 형식 등의 모듈 내부에 포함되어 있는 구조 보다는 허용하는 시간 내에 전달하고자 하는 데이터를 원하는 곳으로 안정적으로 전달하는 것이 최우선 관심사 이다. Therefore, manufacturers of wireless communication modules are introducing modular products for wireless sensor networks (WSN), which are applied to semiconductor chips for low power wireless communication and radio frequency related technologies. The user or the developer is required to transmit the data to be transmitted stably to the desired place within the allowable time rather than the structure included in the module such as the radio frequency type, internal data link structure, and routing protocol format employed by the module It's a top priority.
기존의 무선 센서 네트워크(WSN)용 모듈 제품들은 내부에 어떤 형식의 소프트웨어를 포함한 표준 또는 비표준 형식의 네트워크 형태의 구조를 가지고 있다고 하여도, 사용자 입장에서 보면 다음과 같은 내제되어 있는 문제점들을 공통적으로 가지고 있어 사용자가 필요한 문제점들은 외부 호스트 프로세서의 내부에 해결책을 구성하여 문제점을 해결하는 방향으로 제품을 개발해야 하는 어려움이 항상 존재한다.Although existing module for wireless sensor network (WSN) has a network structure of standard or nonstandard type including software of some type in the inside, the following common problems are seen from the viewpoint of users There is always a problem that the user needs to develop a product in order to solve the problem by constructing a solution inside the external host processor.
1. 간단한 제품 적용에도 외부 호스트 프로세서가 필수적으로 있어야 한다. 예컨대, 무선 통신 모듈은 스스로 어떠한 능동적인 역할을 수행하지 않으며, 철저하게 수동적인 역할만 수행한다.1. An external host processor is essential for simple product application. For example, the wireless communication module does not perform any active role by itself, but performs only a thorough passive role.
2. 사용자가 제품에 적용 시 상위 애플리케이션 및 프로토콜을 호스트 프로세서에서 별도로 개발 및 적용해야 한다.2. When the user applies to the product, the parent application and protocol must be separately developed and applied on the host processor.
3. 호스트 프로세서에 상위 애플리케이션 프로토콜을 사용자가 자신의 필요에 의하여 별도로 개발하기 때문에 타사 제품과의 호환성 문제가 발생한다.3. Because the host application processor develops the upper application protocol separately according to its own needs, compatibility problem with other products occurs.
4. 호스트 프로세서의 사용이 필수적이라서 소비전력의 최소화가 어려우며 추가의 전력소비가 발생한다.4. Since the use of the host processor is essential, it is difficult to minimize power consumption and additional power consumption occurs.
5. 각 모듈을 구분하는 주소 할당 형식이 모듈 내부의 통신 프로토콜 및 채용 알고리즘에 밀접하게 연결되어 사용자의 선택권을 원초적으로 배제하여 사용자 편리성, 융통성, 창의성 등을 적용할 수 없기 때문에 사용자의 다양한 요구를 충족하지 못하고 있다.5. Because the address allocation format that distinguishes each module is closely connected to the communication protocol and the adoption algorithm in the module, user convenience, flexibility, creativity, etc. can not be applied by excluding the user's choice originally, .
본 발명의 실시예는 사용자가 네트워크 구성의 전문 지식 없이도 자동으로 네트워크 구성을 제공하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈 및 방법을 제공한다.Embodiments of the present invention provide a wireless communication module and method for providing an automatic configuration of a network in which a user provides network configuration automatically without expert knowledge of the network configuration.
또한, 본 발명의 실시예는 외부에 연결된 호스트 프로세서 또는 외부 MCU 등과 같은 외부 전자 장치의 연결 없어도 사용자에게 무선 통신 모듈과 I2C 통신을 이용하는 센서 또는 전자 장치들의 무선 원격 제어를 제공하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈 및 방법을 제공한다.The embodiment of the present invention also provides an automatic configuration of a network that provides wireless remote control of sensors or electronic devices using I2C communication with a wireless communication module to a user without connection of an external electronic device such as an external host processor or external MCU A wireless communication module and a method for providing the wireless communication module.
본 발명의 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈 은, 주파수 설정 파라미터, 주소 설정 파라미터, 네트워크 ID 설정 파라미터 및 제품의 제조번호 중 적어도 하나가 기저장된 저장부; 및 주파수 채널 선택 스위치가 미연결 되거나 연결된 상기 주파수 채널 선택 스위치의 값이 0인 경우, 상기 주파수 설정 파라미터를 추출하여 무선 통신에 사용할 주파수 채널을 자동으로 선택하고, 주소 설정 스위치가 미연결 되고 상기 주소 설정 파라미터가 존재하지 않거나 연결된 상기 주소 설정 스위치의 값이 0이며 상기 주소 설정 파라미터가 존재하지 않는 경우, 제품의 제조번호를 기반으로 생성되어 상기 저장부에 기저장된 주소 설정 값으로 무선 통신 모듈의 주소를 자동으로 설정하며, 네트워크 ID 설정 스위치가 미연결 되고 상기 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 다른 전자 장치로부터 네트워크 ID 설정 값을 수신하여 상기 무선 통신 모듈의 네트워크 ID로 자동으로 설정하도록 제어하는 제어부; 를 포함할 수 있다.A wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention includes: a storage unit that stores at least one of a frequency setting parameter, an address setting parameter, a network ID setting parameter, and a product serial number; And the frequency channel selection switch is not connected or the value of the frequency channel selection switch to which the frequency channel selection switch is connected is 0, the frequency setting parameter is extracted to automatically select a frequency channel to be used for wireless communication, When the address setting switch is not present or the value of the address setting switch is 0 and the address setting parameter is not present, the address of the wireless communication module is generated based on the manufacturing number of the product, If the network ID setting switch is not connected and the network ID setting parameter is not present or the value of the connected network ID setting switch is 0 and the network ID setting parameter is not present, Receive network ID settings And automatically set to a network ID of the wireless communication module; . ≪ / RTI >
상기 무선 통신 모듈은, 상기 제어부의 제어에 따라 외부 MCU와 시리얼 통신 방식으로 연결되는 UART 통신부; 상기 제어부의 제어에 따라 슬립 기능을 수행하는 슬립 단자; 상기 주파수 채널 선택 스위치와 유선 연결될 수 있는 주파수 채널 선택 포트; 상기 주소 설정 스위치와 유선 연결될 수 있는 주소 설정 포트; 상기 제어부의 제어에 따라 적어도 하나의 I2C 인터페이스 센서 또는 적어도 하나의 외부 전자 장치와 I2C 통신 방식으로 연결되어 데이터를 송수신하는 I2C 연결 포트; 상기 무선 통신 모듈의 제어를 위해 입력되는 전기적 신호를 수신 받거나 유선 연결된 특정 디바이스의 제어를 위한 전기적 신호를 출력하는 다용도 입출력 포트; 외부 안테나와 연결되어, 외부 전자 장치와 무선 통신 시 사용되는 주파수 대역을 위한 주파수 필터 기능을 수행하는 주파수 필터 회로; 및 상기 제어부는 상기 외부 전자 장치와 무선 통신을 위한 RF 기저대역부 및 네트워크의 자동 구성을 위한 동작을 제어하는 MCU부로 구성된 SOC; 를 더 포함할 수 있다.Wherein the wireless communication module includes: a UART communication unit connected to the external MCU by a serial communication method under the control of the control unit; A sleep terminal for performing a sleep function under the control of the control unit; A frequency channel selection port that can be wired to the frequency channel selection switch; An address setting port that can be wired to the address setting switch; An I2C connection port connected to at least one I2C interface sensor or at least one external electronic device through an I2C communication method under control of the control unit to transmit and receive data; A multipurpose input / output port for receiving an electric signal input for controlling the wireless communication module or outputting an electric signal for controlling a specific device connected to a wired connection; A frequency filter circuit connected to an external antenna and performing a frequency filter function for a frequency band used in a wireless communication with an external electronic device; And an SOC configured by an RF baseband unit for wireless communication with the external electronic device and an MCU unit for controlling operations for automatic configuration of the network; As shown in FIG.
상기 제어부는, 상기 주소 설정 스위치가 연결된 경우, 상기 주소 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 주소 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 주소 설정 스위치의 값으로 상기 무선 통신 모듈의 주소를 설정하며, 상기 주소 설정 스위치가 미연결 되거나 상기 주소 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 주소 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 주소 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 주소 설정 파라미터를 추출하고, 상기 추출된 주소 설정 파라미터로 상기 무선 통신 모듈의 주소를 설정하도록 더 제어할 수 있다.The control unit may determine whether the value of the address setting switch is not 0 when the address setting switch is connected and if the value of the address setting switch has a value other than 0 as a result of the determination, And if the address setting switch is not connected or the value of the address setting switch is 0, it is determined whether the address setting parameter stored in the storing unit exists, and the pre-stored If there is an address setting parameter, the control unit may further control to extract the pre-stored address setting parameter from the storage unit and set the address of the wireless communication module with the extracted address setting parameter.
상기 제어부는, 상기 네트워크 ID 설정 스위치가 연결된 경우, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 네트워크 ID 설정 스위치의 값으로 상기 무선 통신 모듈의 네트워크 ID를 설정하며, 상기 네트워크 ID 설정 스위치가 미연결 되거나 상기 네트워크 ID 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 네트워크 ID 설정 파라미터를 추출하고, 상기 추출된 네트워크 ID 설정 파라미터로 상기 무선 통신 모듈의 네트워크 ID를 설정하도록 더 제어할 수 있다.The control unit determines whether the value of the network ID setting switch is not 0 when the network ID setting switch is connected and when the value of the network ID setting switch has a value other than 0 as a result of the determination, Setting a network ID of the wireless communication module as a value of a network ID setting switch, and when the network ID setting switch is not connected or the value of the network ID setting switch is 0, And if the pre-stored network ID setting parameter exists, extracts the pre-stored network ID setting parameter from the storage unit and sets the network ID of the wireless communication module with the extracted network ID setting parameter You can control more.
상기 제어부는, 상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하고, 상기 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하여 상기 저장부에 저장하고, 상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 또는 상기 저장부에 기저장된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 저장부에 기저장된 초기화 파라미터를 추출하여 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하고, 상기 저장부에 기저장된 센서 파라미터를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정하며, 상기 저장부에 기저장된 읽기 주기 커맨드를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정하고, 상기 적어도 하나의 I2C 인터페이스 센서로부터 읽은 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 설정하도록 더 제어할 수 있다.The control unit receives a command to enter the I2C interface sensor automatic read setting mode from the other external electronic device or the external MCU or extracts a command to enter the I2C interface sensor automatic read setting mode previously stored in the storage unit , Enters the I2C interface sensor auto-read setting mode according to the extracted command, receives hardware information of the I2C interface sensor from the at least one I2C interface sensor and stores the received hardware information in the storage unit, And if there is at least one I2C interface sensor that requires initialization among the at least one I2C interface sensor that needs initialization among hardware information or hardware information of an I2C interface sensor previously stored in the storage unit, And an initialization parameter of at least one I2C interface sensor which needs to be initialized by extracting an initialization parameter previously stored in the storage unit, extracts sensor parameters previously stored in the storage unit, and stores sensor parameters for operation of the at least one I2C interface sensor And an I2C interface sensor for reading data from the at least one I2C interface sensor and for reading data from the at least one I2C interface sensor, You can further control to set the address of the other electronic device.
상기 제어부는, 상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하고, 상기 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하여 상기 저장부에 저장하고, 상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 또는 상기 저장부에 기저장된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 외부 전자 장치 또는 상기 외부 MCU로부터 초기화 파라미터를 수신 받아 상기 저장부에 저장하고, 상기 수신된 초기화 파라미터로 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하고, 상기 외부 전자 장치 또는 상기 외부 MCU로부터 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 수신 받아 저장부에 저장하고, 상기 수신된 센서 파라미터로 상기 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정하도록 더 제어할 수 있다.The control unit receives a command to enter the I2C interface sensor manual read setting mode from another external electronic device or the external MCU or extracts a command to enter the I2C interface sensor manual read setting mode previously stored in the storage unit , Enters the I2C interface sensor manual read setting mode according to the extracted command, receives hardware information of the I2C interface sensor from the at least one I2C interface sensor and stores the received hardware information in the storage unit, And if there is at least one I2C interface sensor that requires initialization among the at least one I2C interface sensor that needs initialization among hardware information or hardware information of an I2C interface sensor previously stored in the storage unit, Receiving an initialization parameter from the external electronic device or the external MCU, storing the initialization parameter in the storage unit, setting an initialization parameter of the at least one I2C interface sensor requiring initialization with the received initialization parameter, The controller may receive sensor parameters for operation of the at least one I2C interface sensor from the MCU and store the sensor parameters in a storage unit and further set the sensor parameters of the at least one I2C interface sensor to the received sensor parameter.
상기 제어부는, 상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 위치 인식 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 위치 인식 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 위치 인식 설정 모드로 진입하고, 슬립 주기 파라미터로 상기 무선 통신 모듈의 슬립 주기를 설정하고, 상기 무선 통신 모듈과 무선 통신하는 외부 다른 전자 장치 또는 무선 통신 중인 무선 태그와의 수신감도를 기반으로 산출된 거리 정보를 포함하는 위치 데이터를 수신 받을 상위 전자 장치를 설정하며, 상기 슬립 주기 파라미터에 의해 설정된 주기에 따라 슬립 모드로 동작하도록 더 제어할 수 있다.The control unit receives a command to enter the position recognition setting mode from another external electronic device or the external MCU or extracts a command to enter the position recognition setting mode previously stored in the storage unit, Therefore, it enters the position recognition setting mode, sets the sleep period of the wireless communication module as the sleep period parameter, and based on the reception sensitivity with other external electronic devices or wireless tags in wireless communication with the wireless communication module An upper electronic device to receive positional data including the calculated distance information, and further control to operate in a sleep mode according to the period set by the sleep period parameter.
본 발명의 실시예에 따른 네트워크의 자동 구성을 제공하는 방법은, 주소 설정 스위치가 미연결 되고 저장부에 기저장된 주소 설정 파라미터가 존재하지 않거나 연결된 상기 주소 설정 스위치의 값이 0이며 상기 저장부에 기저장된 상기 주소 설정 파라미터가 존재하지 않는 경우, 제품의 제조번호를 기반으로 생성되어 상기 저장부에 기저장된 주소 설정 값으로 무선 통신 모듈의 주소를 자동으로 설정하는 단계; 상기 주소 설정 스위치가 연결된 경우, 상기 주소 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 주소 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 주소 설정 스위치의 값으로 상기 무선 통신 모듈의 주소를 설정하는 단계; 및 상기 주소 설정 스위치가 미연결 되거나 상기 주소 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 주소 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 주소 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 주소 설정 파라미터를 추출하고, 상기 추출된 주소 설정 파라미터로 상기 무선 통신 모듈의 주소를 설정하는 단계; 를 포함할 수 있다.A method for providing automatic network configuration according to an embodiment of the present invention is characterized in that an address setting switch is not connected and an address setting parameter pre-stored in a storage unit does not exist or a value of the address setting switch connected is 0, Automatically setting an address of a wireless communication module based on a manufacturing number of a product and having an address setting value stored in the storage unit if the address setting parameter is not stored; When the address setting switch is connected, it is determined whether the value of the address setting switch is not 0. If the value of the address setting switch has a value other than 0, Setting an address of the wireless communication module; And if the address setting switch is not connected or the value of the address setting switch is 0, it is determined whether the address setting parameter stored in the storage unit exists, and if the address setting parameter exists, Extracting the pre-stored address configuration parameter and setting an address of the wireless communication module using the extracted address configuration parameter; . ≪ / RTI >
본 발명의 다른 실시예에 따른 네트워크의 자동 구성을 제공하는 방법은, 네트워크 ID 설정 스위치가 미연결 되고 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 기저장된 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 전자 장치로부터 네트워크 ID 설정 값을 수신하고, 상기 수신된 네트워크 ID 설정 값으로 무선 통신 모듈의 네트워크 ID로 자동으로 설정하는 단계; 상기 네트워크 ID 설정 스위치가 연결된 경우, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 네트워크 ID 설정 스위치의 값으로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계; 및 상기 네트워크 ID 설정 스위치가 미연결 되거나 상기 네트워크 ID 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 네트워크 ID 설정 파라미터를 추출하고, 상기 추출된 네트워크 ID 설정 파라미터로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계; 를 포함할 수 있다.A method for providing automatic network configuration according to another embodiment of the present invention is characterized in that a network ID setting switch is not connected and a network ID setting parameter pre-stored in the storage unit does not exist or the value of the network ID setting switch is 0 Receiving the network ID setting value from the external electronic device and automatically setting the network ID of the wireless communication module as the received network ID setting value if the pre-stored network ID setting parameter does not exist; If the value of the network ID setting switch is not 0 when the network ID setting switch is connected and if the value of the network ID setting switch is not 0 as a result of the determination, Setting a network ID of the wireless communication module to a value of the wireless communication module; And if the network ID setting parameter is not connected or if the value of the network ID setting switch is 0, it is determined whether a network ID setting parameter previously stored in the storage exists, Extracting the pre-stored network ID setting parameter from the storage unit, and setting a network ID of the wireless communication module using the extracted network ID setting parameter; . ≪ / RTI >
상기 네트워크의 자동 구성을 제공하는 방법은, 상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하는 단계; 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하는 단계; 상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 저장부에 기저장된 초기화 파라미터를 추출하여 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하는 단계; 상기 저장부에 기저장된 센서 파라미터를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정하는 단계; 상기 저장부에 기저장된 읽기 주기 커맨드를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정하는 단계; 및 상기 적어도 하나의 I2C 인터페이스 센서로부터 읽은 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 설정하는 단계; 를 더 포함할 수 있다.The method for providing automatic configuration of the network may include receiving a command to enter the I2C interface sensor automatic read setting mode from the external other electronic device or the external MCU, Extracting a command to enter the I2C interface sensor automatic read setting mode according to the extracted command; Receiving hardware information of the I2C interface sensor from at least one I2C interface sensor; And if there is at least one I2C interface sensor that requires initialization among hardware information of the received I2C interface sensor, if it is determined that there is at least one I2C interface sensor that requires initialization, And setting initialization parameters of the at least one I2C interface sensor requiring initialization; Setting sensor parameters for operation of the at least one I2C interface sensor by extracting previously stored sensor parameters in the storage unit; Setting a read period of data of the at least one I 2 C interface sensor by extracting a read period command pre-stored in the storage unit; And setting an address of another external electronic device to transmit data of the I2C interface sensor read from the at least one I2C interface sensor; As shown in FIG.
상기 네트워크의 자동 구성을 제공하는 방법은, 상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하는 단계; 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하는 단계; 상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 외부 전자 장치 또는 상기 외부 MCU로부터 초기화 파라미터를 수신 받아 상기 저장부에 저장하고, 상기 수신된 초기화 파라미터로 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하는 단계; 상기 외부 전자 장치 또는 상기 외부 MCU로부터 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 수신 받아 상기 저장부에 저장하고, 상기 수신된 센서 파라미터로 상기 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정하는 단계; 상기 외부 전자 장치 또는 상기 외부 MCU로부터 수신 받은 읽기 요청 주기 커맨드로 상기 적어도 하나의 I2C 인터페이스 센서의 읽기 요청 주기를 설정하는 단계; 및 상기 설정된 읽기 요청 주기에 따라 상기 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신하는 단계; 를 더 포함할 수 있다.The method of providing an automatic configuration of the network may include receiving a command to enter the I2C interface sensor manual read setting mode from another external electronic device or the external MCU, Extracting a command to enter into the I2C interface sensor manual read setting mode according to the extracted command; Receiving hardware information of the I2C interface sensor from at least one I2C interface sensor; And if there is at least one I2C interface sensor that requires initialization among the hardware information of the received I2C interface sensor and if there is at least one I2C interface sensor that requires initialization, Storing initialization parameters in the storage unit and setting initialization parameters of at least one I2C interface sensor that requires initialization with the received initialization parameters; Receiving at least one sensor parameter for operation of the at least one I2C interface sensor from the external electronic device or the external MCU and storing the received sensor parameter in the storage unit and setting the sensor parameter of the at least one I2C interface sensor to the received sensor parameter ; Setting a read request period of the at least one I 2 C interface sensor to a read request cycle command received from the external electronic device or the external MCU; And receiving data of the I2C interface sensor from the at least one I2C interface sensor according to the set read request period; As shown in FIG.
상기 네트워크의 자동 구성을 제공하는 방법은, 상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 위치 인식 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 위치 인식 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 위치 인식 설정 모드로 진입하는 단계; 슬립 주기 파라미터로 상기 무선 통신 모듈의 슬립 주기를 설정하는 단계; 무선 통신 모듈과 무선 통신하는 외부 다른 전자 장치 또는 무선 통신 중인 무선 태그와의 수신감도를 기반으로 산출된 거리 정보를 포함하는 위치 데이터를 수신 받을 상위 전자 장치를 설정하는 단계; 및 상기 슬립 주기 파라미터에 의해 설정된 주기에 따라 슬립 모드로 동작하는 단계; 를 더 포함할 수 있다.The method for providing automatic configuration of the network includes receiving a command to enter the location recognition setting mode from another external electronic device or the external MCU or extracting a command to enter the location recognition setting mode previously stored in the storage unit Entering the position recognition setting mode in accordance with the extracted command; Setting a sleep period of the wireless communication module as a sleep period parameter; Setting an upper electronic device to receive location data including distance information calculated based on reception sensitivity of another external electronic device that is in wireless communication with a wireless communication module or a wireless tag being wirelessly communicated; And operating in a sleep mode according to a period set by the sleep period parameter; As shown in FIG.
본 발명의 실시예에 따르면, 저장부에 기저장된 네트워크 구성과 관련된 파라미터 및 데이터를 기반으로 자동으로 네트워크를 구성하는 무선 통신 모듈을 통해 사용자는 네트워크 구성의 전문 지식 없이도 원하는 네트워크 구성을 할 수 있다. According to an embodiment of the present invention, a user can configure a desired network without expert knowledge of the network configuration through a wireless communication module that automatically configures a network based on parameters and data related to the network configuration previously stored in the storage unit.
또한, 본 발명의 실시예에 따르면, RF 기저대역부와 MCU 부로 구성된 제어부를 포함하는 무선 통신 모듈을 통해 사용자는 외부에 연결된 호스트 프로세서 또는 외부 MCU 등과 같은 외부 전자 장치의 연결 없어도 무선 통신 모듈과 I2C 통신을 이용하는 센서 또는 전자 장치들의 무선 원격 제어할 수 있다.In addition, according to the embodiment of the present invention, a user can communicate with a wireless communication module and an I2C without a connection of an external electronic device such as a host processor or an external MCU connected to the outside via a wireless communication module including a control unit including an RF baseband unit and an MCU unit. And wireless remote control of sensors or electronic devices using communications.
도 1은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 구성을 도시하는 블록도.
도 2는 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 주파수 채널 선택 모드의 동작을 도시하는 흐름도.
도 3은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 주소 설정 모드의 동작을 도시하는 흐름도.
도 4는 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 네트워크ID 설정 동작을 도시하는 흐름도.
도 5는 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 I2C 인터페이스 센서 자동 읽기 설정 모드의 동작을 도시하는 흐름도.
도 6은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 I2C 인터페이스 센서 수동 읽기 설정 모드의 동작을 도시하는 흐름도.
도 7은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 위치 인식 설정 모드의 동작을 도시하는 흐름도.1 is a block diagram showing a configuration of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention;
2 is a flow diagram illustrating operation of a frequency channel selection mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention;
3 is a flow diagram illustrating operation of an address configuration mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention;
4 is a flowchart illustrating a network ID setting operation of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention;
5 is a flow diagram illustrating the operation of the I2C interface sensor auto-read configuration mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the invention.
6 is a flow diagram illustrating the operation of the I2C interface sensor manual read setting mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the invention.
7 is a flow chart illustrating the operation of the location awareness mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention.
이하, 첨부된 도면들에 기재된 내용들을 참조하여 본 발명에 따른 예시적실시 예를 상세하게 설명한다. 다만, 본 발명이 예시적 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조부호는 실질적으로 동일한 기능을 수행하는 부재를 나타낸다. Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the contents described in the accompanying drawings. However, the present invention is not limited to or limited by the exemplary embodiments. Like reference numerals in the drawings denote members performing substantially the same function.
제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.Terms including ordinals, such as first, second, etc., may be used to describe various elements, but the elements are not limited to these terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise.
본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 한다. While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. Also, in certain cases, there may be a term selected arbitrarily by the applicant, in which case the meaning thereof will be described in detail in the description of the corresponding invention. Therefore, the term used in the present invention should be defined based on the meaning of the term, not on the name of a simple term, but on the entire contents of the present invention.
명세서 전체에서 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. 또한, 명세서에 기재된 "...부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. When an element is referred to as "including" an element throughout the specification, it is to be understood that the element may include other elements as well, without departing from the spirit or scope of the present invention. Also, the terms "part," " module, "and the like described in the specification mean units for processing at least one function or operation, which may be implemented in hardware or software or a combination of hardware and software .
도 1은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 구성을 도시하는 블록도이다. 도 1을 참조하면, 본 발명의 실시예에 따른 네트워크의 자동 구성을 제공하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 제어부(SOC: System On a Chip)(110), 저장부(120), UART(UART: Universal Asynchronous Receiver and Transmitter) 통신부(130), 슬립(Sleep) 단자(140), 주파수 채널 선택 포트(150), 주소 설정 포트(160), I2C(Inter Integrated Circuit) 연결 포트(170), 다용도 입출력(GPIO: General Purpose Input Output)포트(180) 및 주파수 필터 회로(190)를 포함할 수 있다.1 is a block diagram illustrating a configuration of a wireless communication module that provides an automatic configuration of a network according to an embodiment of the present invention. Referring to FIG. 1, a
저장부(120)는 사용자가 입력하는 각종 데이터를 수신하여 저장하는 설정 값 저장 영역(미도시) 및 사용자 영역(미도시)을 포함할 수 있다.The
설정 값 저장 영역(미도시)은 사용자가 입력하여 설정하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 동작에 사용되는 각종 설정 값들이 저장될 수 있는 영역이다.The set value storage area (not shown) is an area where various setting values used for the operation of the
사용자 영역(미도시)은 사용자에 의해 임의로 데이터를 읽거나 쓸 수 있는 영역이다. 예컨대, 저장부(120)를 비휘발성 메모리로 구성하여 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 전원이 차단 시에도 사용자에 의해 저장된 데이터가 손실되는 않고 보존할 수 있다.A user area (not shown) is an area where a user can arbitrarily read or write data. For example, the
UART 통신부(130)는 UART 통신을 지원하는 외부 MCU(MCU: Micro Controller Unit)(미도시)와 시리얼(Serial) 통신 방식으로 연결될 수 있으며, 제어부(110)의 제어에 따라 외부 MCU(300)와 데이터를 송수신할 수 있다.The
또한, UART 통신부(130)는 제어부(110)의 제어에 따라 외부 MCU(미도시)로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 동작하라는 I2C 인터페이스 센서 자동 읽기 설정 모드 진입 커맨드를 수신할 수 있다.The
또한, UART 통신부(130)는 제어부(110)의 제어에 따라 외부 MCU(미도시)로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 동작하라는 I2C 인터페이스 센서 수동 읽기 설정 모드 진입 커맨드를 수신할 수 있다.In addition, the
또한, UART 통신부(130)는 제어부(110)의 제어에 따라 외부 MCU(미도시)로부터 위치 인식 설정 모드로 동작하라는 위치 인식 설정 모드 진입 커맨드를 수신할 수 있다. In addition, the
슬립 단자(140)는 제어부(110)의 제어에 따라 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립(Sleep) 기능을 수행할 수 있다. 예컨대, 슬립 단자(140)는 제어부(110)의 제어에 따라 하이(High) 또는 오픈(Open) 상태가 되면 슬립 기능이 활성화되고, 로우(Low) 상태가 되면 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 슬립 상태로 동작하지 않고 항상 깨어있는 상태로 동작할 수 있다. 본 발명의 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 슬립 모드로 동작 시 1.5μA 이내의 작은 전류를 소모하기 때문에 코인 셀 배터리(Coin Cell Battery)로 구동될 만큼 의 저전력으로 구동이 가능하다.The
주파수 채널 선택 포트(150)는 제어부(110)의 제어에 따라 무선 통신에 사용될 주파수 채널을 선택하는 기능을 수행할 수 있다. The frequency
또한, 주파수 채널 선택 포트(150)는 주파수 채널 선택 스위치(미도시)과 유선으로 연결될 수 있으며, 제어부(110)의 제어에 따라 주파수 채널 선택 스위치(미도시)로부터 입력되는 신호를 수신하여 복수 개의 주파수 채널 중 무선 통신에 사용될 하나의 주파수 채널을 선택하는 기능을 수행할 수 있다.In addition, the frequency
주소 설정 포트(160)는 제어부(110)의 제어에 따라 네트워크 ID 및 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소(Address)를 설정하는 기능을 수행할 수 있다. The
또한, 주소 설정 포트(160)는 주소 설정 스위치(미도시)와 유선으로 연결될 수 있으며, 제어부(110)의 제어에 따라 주소 설정 스위치(미도시)로부터 입력되는 신호를 수신하여 네트워크 ID 및 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소(Address)를 설정하는 기능을 수행할 수 있다.Also, the
I2C 연결 포트(170)는 제어부(110)의 제어에 따라 I2C 통신을 지원하는 적어도 하나의 I2C 인터페이스 센서(미도시) 또는 I2C 통신을 지원하는 적어도 하나의 외부 전자 장치(미도시)와 디지털/아날로그 신호를 입/출력하는 기능을 수행할 수 있다. 사용자는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 연결된 외부 MCU(미도시)가 없어도, I2C 연결 포트(170)를 통해 적어도 하나의 I2C 인터페이스 센서(미도시) 또는 적어도 하나의 외부 전자 장치(미도시)를 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 연결하여 무선 센서 네트워크를 구성할 수 있다. I2C 연결 포트(170)와 I2C 통신 방식으로 연결된 적어도 하나의 I2C 인터페이스 센서(미도시) 또는 I2C 통신을 지원하는 적어도 하나의 외부 전자 장치(미도시)는 외부 MCU(미도시)와 미연결 상태의 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 제어부(110)에 의해 그 동작이 제어될 수 있다. 또한, I2C 연결 포트(170)와 I2C 통신 방식으로 연결된 적어도 하나의 I2C 인터페이스 센서(미도시) 또는 I2C 통신을 지원하는 적어도 하나의 외부 전자 장치(미도시)는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 무선 통신 방식으로 연결된 외부 전자 장치(미도시)에 의해 원격으로 제어될 수 있다.The
다용도 입출력 포트(180)는 제어부(110)의 제어에 따라 외부 전자 장치(미도시)와 유선 연결되어 외부 전자 장치(미도시)로부터 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 제어를 위해 입력되는 전기적 신호를 수신 받거나 유선 연결된 특정 디바이스의 제어를 위한 전기적 신호를 출력할 수 있다.The multi-function input /
주파수 필터 회로(190)는 제어부(110)의 제어에 따라 외부 안테나(미도시)와 매칭 회로(191) 사이에 배치되며 연결되고, 무선 통신 연결 시 원하는 주파수 대역을 제외한 다른 주파수 대역을 잘라버리거나 원하는 대역의 주파수만 통과시키는 기능을 수행할 수 있다. The
제어부(110)는 무선 통신을 위한 RF 기저대역(Radio Frequency Baseband)부(111), 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 동작을 위한 프로그램, 저장부(120), UART 통신부(130), 슬립 단자(140), 주파수 채널 선택 포트(150), 주소 설정 포트(160), I2C 연결 포트(170), 다용도 입출력 포트(180) 및 주파수 필터 회로(190)의 동작을 제어하는 MCU(112)를 포함할 수 있다. 예컨대, 본 발명의 실시예에 따른 제어부(110)는 SOC(System On a Chip)을 이용하여 구성될 수 있다.The
또한, 제어부(110)는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 전원이 인가되면, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 무선 통신에 사용할 주파수를 선택하는 주파수 채널 선택 모드, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정하는 주소 설정 모드 및 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정하는 네트워크 ID 설정 모드 중 적어도 하나의 모드로 동작할 수 있다.In addition, when the power of the
네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 주파수 채널 선택 모드로 진입하면, 제어부(110)는 주파수 채널 선택 포트(150)와 주파수 채널 선택 스위치(미도시)가 연결되었는지 판단할 수 있다. 상기 판단 결과, 주파수 채널 선택 스위치(미도시)가 연결된 경우, 제어부(110)는 수동 주파수 채널 선택을 수행할 수 있다. 수동 주파수 채널 선택은 제어부(110)의 MCU(112)가 주파수 채널 선택 포트(150)와 연결된 주파수 채널 선택 스위치(미도시)의 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 무선 통신에 사용할 주파수 채널을 선택하는 것을 의미한다. When the
한편, 주파수 채널 선택 스위치(미도시)가 미연결된 경우, 제어부(110)는 자동 주파수 선택을 수행할 수 있다. 자동 주파수 선택은 제어부(110)의 MCU(112)가 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 주파수 설정 파라미터를 추출하고, 추출된 주파수 설정 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 무선 통신에 사용할 주파수 채널을 선택하는 것을 의미한다.On the other hand, when the frequency channel selection switch (not shown) is not connected, the
네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 주소 설정 모드로 진입하면, 제어부(110)는 주소 설정 포트(160)와 주소 설정 스위치(미도시)가 연결되었는지 판단할 수 있다. 상기 판단 결과, 주소 설정 스위치(미도시)가 연결된 경우, 제어부(110)는 주소 설정 스위치(미도시)의 값이 0이 아닌지 판단할 수 있다. 주소 설정 스위치(미도시)의 값이 0이 아닌 다른 값을 갖는 경우, 제어부(110)는 수동 주소 설정을 수행할 수 있다. 수동 주소 설정은 제어부(110)의 MCU(112)가 주소 설정 포트(160)와 연결된 주소 설정 스위치(미도시)의 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정하는 것을 의미한다.When the
한편, 주소 설정 스위치(미도시)가 미연결 되거나 주소 설정 스위치(미도시)의 값이 0인 경우, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)에 기저장된 주소 설정 파라미터가 존재하는지 판단할 수 있다. 상기 판단 결과, 기저장된 주소 설정 파라미터가 존재하는 경우, 제어부(110)는 반자동 주소 설정을 수행할 수 있다. 반자동 주소 설정은 제어부(110)의 MCU(112)가 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 주소 설정 파라미터를 추출하고, 추출된 주소 설정 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정하는 것을 의미한다. On the other hand, when the address setting switch (not shown) is not connected or the value of the address setting switch (not shown) is 0, the
한편, 기저장된 주소 설정 파라미터가 없는 경우, 제어부(110)는 자동 주소 설정을 수행할 수 있다. 자동 주소 설정은 제어부(110)의 MCU(112)가 제품 고유의 제조번호 파라미터를 기반으로 생성되어 저장부(120)의 설정 값 저장 영역(미도시)에 기저장된 주소 설정 값을 추출하고, 추출된 주소 설정 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정하는 것을 의미한다. 예컨대, 주소 설정 값은 16진수 16자리의 값 구성된 제품 고유의 제조번호 중 마지막 16진수 4자리의 값을 기반으로 생성되어 저장부(120)에 기저장될 수 있다.On the other hand, when there is no pre-stored address setting parameter, the
네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 네트워크 ID 설정 모드로 진입하면, 제어부(110)는 주소 설정 포트(160)와 네트워크 ID 설정 스위치(미도시)가 연결되었는지 판단할 수 있다. 상기 판단 결과, 네트워크 ID 설정 스위치(미도시)가 연결된 경우, 제어부(110)는 네트워크 ID 설정 스위치(미도시)의 값이 0이 아닌지 판단할 수 있다. 네트워크 ID 설정 스위치(미도시)의 값이 0이 아닌 다른 값을 갖는 경우, 제어부(110)는 수동 네트워크 ID 설정을 수행할 수 있다. 수동 네트워크 ID 설정은 제어부(110)의 MCU(112)가 주소 설정 포트(160)와 연결된 네트워크 ID 설정 스위치(미도시)의 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정하는 것을 의미한다. When the
한편, 네트워크 ID 설정 스위치(미도시)가 미연결 되거나 네트워크 ID 설정 스위치(미도시)의 값이 0인 경우, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단할 수 있다. 상기 판단 결과, 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 제어부(110)는 반자동 네트워크 ID 설정을 수행할 수 있다. 반자동 네트워크 ID 설정은 제어부(110)의 MCU(112)가 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 네트워크 ID 설정 파라미터를 추출하고, 추출된 네트워크 ID 설정 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정하는 것을 의미한다. On the other hand, when the network ID setting switch (not shown) is not connected or the value of the network ID setting switch (not shown) is 0, the
한편, 기저장된 네트워크 ID 설정 파라미터가 없는 경우, 제어부(110)는 자동 네트워크 ID 설정을 수행할 수 있다. 자동 네트워크 ID 설정은 제어부(110)의 MCU(112)가 데이터 수집자(Aggregator) 기능을 수행하는 외부 다른 전자 장치(미도시)로 네트워크 ID 설정 값을 요청하고, 외부 다른 전자 장치(미도시)로부터 수신된 네트워크 ID 설정 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정하는 것을 의미한다.On the other hand, if there is no pre-stored network ID setting parameter, the
또한, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후, 제어부(110)는 외부 전자 장치 또는 외부 MCU로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후 전원이 리셋되면, 제어부(110)는 저장부에 기저장된 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 추출된 커맨드에 따라서 I2C 인터페이스 센서 자동 읽기 설정 모드로 동작할 수 있다.After the frequency channel selection mode, the address setting mode, and the network ID setting mode of the
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신 받을 수 있다. 적어도 하나의 I2C 인터페이스 센서는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 I2C 연결포트(170)와 연결된 상태이다. I2C 인터페이스 센서의 하드웨어 정보는 I2C 인터페이스 센서에 기설정된 주소 정보, 레지스터 번호 정보, 데이터의 길이 정보, 센서의 초기화 필요 여부 정보 등을 포함할 수 있다. Thereafter, the
그 후, 제어부(110)는 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다. 예컨대, 수신된 I2C 인터페이스 센서의 하드웨어 정보로부터 센서의 초기화 필요 여부 정보를 추출하고, 추출된 센서의 초기화 필요 여부 정보를 바탕으로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다. 상기 판단 결과, 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 제어부(110)는 저장부(120)에 기저장된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 초기화 파라미터를 추출하고, 추출된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다.Thereafter, the
한편, 상기 판단 결과, 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 존재하지 않거나 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서를 대상으로 초기화 파라미터의 설정이 완료되면, 제어부(110)는 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정할 수 있다. 센서 파라미터는 센서의 주소 정보를 나타내는 주소 파라미터, 레지스터 번호 정보를 나타내는 레지스터 번호 파라미터 및 센서 데이터의 길이 정보를 나타내는 데이터 길이 파라미터 등을 포함할 수 있다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 센서 파라미터를 추출하고, 추출된 센서 파라미터로 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정할 수 있다. As a result of the determination, if at least one I2C interface sensor that requires initialization does not exist or at least one I2C interface sensor that requires initialization is set up, the
그 후, 제어부(110)는 읽기 주기 커맨드로 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정할 수 있다. I2C 인터페이스 센서의 데이터는 I2C 인터페이스 센서가 센싱을 통해 생성한 데이터를 의미한다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 I2C 인터페이스 센서의 데이터의 읽기 주기를 나타내는 읽기 주기 커맨드를 추출하고, 추출된 읽기 주기 커맨드로 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정할 수 있다.Thereafter, the
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 읽은 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치(미도시)의 주소를 설정할 수 있다. 외부 다른 전자 장치는 데이터 수집기 기능을 수행하는 상위 전자 장치를 의미할 수 있다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 나타내는 주소 정보를 추출하고, 추출된 주소 정보로 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 설정할 수 있다.Thereafter, the
그 후, 제어부(110)는 설정된 I2C 인터페이스 센서의 데이터의 읽기 주기에 따라 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신하고, 수신된 I2C 인터페이스 센서의 데이터를 설정된 외부 다른 전자 장치(미도시)로 전송할 수 있다. Thereafter, the
또한, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후, 제어부(110)는 외부 전자 장치 또는 외부 MCU로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후 전원이 리셋되면, 제어부(110)는 저장부에 기저장된 I2C 인터페이스 센서 수 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 추출된 커맨드에 따라서 I2C 인터페이스 센서 수동 읽기 설정 모드로 동작할 수 있다.
After the frequency channel selection mode, the address setting mode, and the network ID setting mode of the
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신 받을 수 있다. 적어도 하나의 I2C 인터페이스 센서는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 I2C 연결포트(170)와 연결된 상태이다. I2C 인터페이스 센서의 하드웨어 정보는 I2C 인터페이스 센서에 기설정된 주소 정보, 레지스터 번호 정보, 데이터의 길이 정보, 센서의 초기화 필요 여부 정보 등을 포함할 수 있다. Thereafter, the
그 후, 제어부(110)는 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다. 예컨대, 수신된 I2C 인터페이스 센서의 하드웨어 정보로부터 센서의 초기화 필요 여부 정보를 추출하고, 추출된 센서의 초기화 필요 여부 정보를 바탕으로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다. 상기 판단 결과, 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 제어부(110)는 유선 또는 무선 통신 방식으로 연결된 외부 전자 장치(미도시) 또는 외부 MCU(미도시)로부터 초기화 파라미터를 수신하고, 수신된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다. 센서 파라미터는 센서의 주소 정보를 나타내는 주소 파라미터, 레지스터 번호 정보를 나타내는 레지스터 번호 파라미터 및 센서 데이터의 길이 정보를 나타내는 데이터 길이 파라미터 등을 포함할 수 있다.Thereafter, the
한편, 상기 판단 결과, 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 존재하지 않거나 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서를 대상으로 초기화 파라미터의 설정이 완료되면, 제어부(110)는 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정할 수 있다. 예컨대, 제어부(110)는 외부 전자 장치(미도시) 또는 외부 MCU로부터 센서 파라미터를 수신 받고, 수신된 센서 파라미터로 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정할 수 있다. As a result of the determination, if at least one I2C interface sensor that requires initialization does not exist or at least one I2C interface sensor that requires initialization is set up, the
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로 MCU(112)가 I2C 인터페이스 센서의 데이터를 읽을 수 있도록 요청하는 읽기 요청 주기를 설정할 수 있다. I2C 인터페이스 센서의 데이터는 I2C 인터페이스 센서가 센싱을 통해 생성한 데이터를 의미한다. 예컨대, 제어부(110)는 외부 전자 장치(미도시) 또는 외부 MCU(미도시)로부터 읽기 요청 주기 커맨드를 수신 받고, 수신된 읽기 요청 주기 커맨드로 적어도 하나의 I2C 인터페이스 센서의 읽기 요청 주기를 설정할 수 있다.Thereafter, the
그 후, 제어부(110)는 설정된 읽기 요청 주기에 따라 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신할 수 있다. 예컨대, 제어부(110)에 의해 읽기 요청 주기가 설정된 적어도 하나의 I2C 인터페이스 센서는 응답 신호로서 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 I2C 연결포트(170)를 통해 I2C 인터페이스 센서의 데이터를 제어부(110)로 전송하고, 제어부(110)는 수신된 I2C 인터페이스 센서의 데이터를 외부 외부 다른 전자 장치(미도시) 로 전송할 수 있다. 외부 다른 전자 장치는 데이터 수집기 기능을 수행하는 상위 전자 장치를 의미할 수 있다.Thereafter, the
그 후, 제어부(110)는 외부 전자 장치(미도시) 또는 외부 MCU(미도시)로부터 수신되는 I2C 인터페이스 센서의 데이터 수신과 관련된 커맨드에 따라 I2C 인터페이스 센서의 데이터의 수신을 계속할 것인지 판단할 수 있다. 상기 판단 결과, 외부 전자 장치(미도시) 또는 외부 MCU(미도시)로부터 I2C 인터페이스 센서의 데이터의 수신을 계속하라는 커맨드가 수신되는 경우, 제어부(110)는 다시 적어도 하나의 I2C 인터페이스 센서로 MCU(112)가 I2C 인터페이스 센서의 데이터를 읽을 수 있도록 요청하는 읽기 요청을 설정할 수 있다.Thereafter, the
한편, 외부 전자 장치(미도시) 또는 외부 MCU(미도시)로부터 I2C 인터페이스 센서의 데이터의 수신을 종료하라는 커맨드가 수신된 경우, 제어부(110)는 I2C 인터페이스 센서 수동 읽기 설정 모드의 동작을 종료할 수 있다.On the other hand, when a command to end the reception of the data of the I2C interface sensor is received from the external electronic device (not shown) or the external MCU (not shown), the
또한, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후, 제어부(110)는 외부 전자 장치 또는 외부 MCU로부터 위치 인식 모드로 진입하라는 커맨드를 수신하거나, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후 전원이 리셋되면, 제어부(110)는 저장부에 기저장된 위치 인식 모드로 진입하라는 커맨드를 추출하고, 추출된 커맨드에 따라서 위치 인식 모드로 동작할 수 있다. After the frequency channel selection mode, the address setting mode, and the network ID setting mode of the
그 후, 제어부(110)는 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 슬립 주기 파라미터를 추출하고, 추출된 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다. Thereafter, the
또한, 제어부(110)는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 슬립 주기 파라미터를 수신 받고, 수신된 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다. The
또한, 제어부(110)는 유선 또는 무선 통신 방식으로 연결된 외부 외부 다른 전자 장치(미도시)로부터 슬립 주기 파라미터를 수신 받고, 수신된 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다.The
그 후, 제어부(110)는 위치 데이터를 수신 받을 상위 전자 장치를 설정할 수 있다. 위치 데이터는 제어부(110)의 MCU(112)가 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 무선 통신하는 적어도 하나의 외부 다른 전자 장치(미도시) 또는 적어도 하나의 무선 통신 중인 무선 태그(미도시)와의 수신감도(RSSI: Received Signal Indication)를 기반으로 산출한 거리 정보를 포함할 수 있다. 예컨대, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 저장부(120)에는 수신감도와 매핑된 거리 정보가 기저장될 수 있다. 제어부(110)는 적어도 하나의 외부 다른 전자 장치(미도시)와의 수신감도 또는 적어도 하나의 무선 태그와의 수신감도와 매핑된 거리 정보를 저장부(120)로부터 추출하고, 추출된 거리 정보로부터 위치 데이터를 생성할 수 있다. 상위 전자 장치는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 무선 통신 방식으로 연결된 외부의 외부 다른 전자 장치이며, 슬립 모드로 동작하지 않고 항상 깨어있는 상태로 동작하는 전자 장치일 수 있다. 또한, 상위 전자 장치는 인터넷 라우터와 연결되어 데이터 수집기의 기능을 수행하는 다른 무선 통신 모듈을 포함할 수 있다.Thereafter, the
그 후, 제어부(110)는 슬립 주기 파라미터에 의해 설정된 주기에 따라 슬립 모드로 동작할 수 있다. 슬립 모드로 동작 중 설정된 주기에 의해 깨어있는 상태로 작동하는 시간 동안 제어부(110)는 위치 데이터를 생성하고, 생성된 위치 데이터를 상위 전자 장치로 전송할 수 있다.Thereafter, the
한편, 상기 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 다음과 같은 절전 모드로 동작할 수 있다.Meanwhile, the
첫째, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 저장부(120)에 기저장된 슬립 주기 설정 커맨드 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 수신한 슬립 주기 설정 커맨드에 따라 설정된 슬림 주기에 의해 슬립 모드로 동작할 수 있다. 이 경우 사용자는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)에 구비된 슬립 단자(140)를 통해 슬립 모드의 실행 여부를 제어할 수 있다.First, the
둘째, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 저장부(120)에 기저장된 절전 모드 커맨드 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 수신한 절전 모드 커맨드에 따라 절전 모드로 동작할 수 있다. 이 경우 또한 사용자는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)에 구비된 슬립 단자(140)를 통해 절전 모드의 실행 여부를 제어할 수 있다.Second, the
셋째, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 주기적으로 설정된 시간만큼 슬립 모드로 동작할 수 있다. 예컨대, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 저장부(120)에 기저장된 주기적 설정 시간 정보 및 슬립 주기 설정 커맨드 또는 무선 통신 방식으로 연결된 외부 전자 장치(미도시)로부터 수신한 주기적 설정 시간 정보 및 슬립 주기 설정 커맨드에 따라 설정된 주기적 시간만큼 슬립 주기에 의해 슬림 모드로 동작할 수 있다. Third, the
넷째, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 일시적으로 설정된 시간만큼 슬립 모드로 동작할 수 있다. 예컨대, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)은 저장부(120)에 기저장된 일시적 설정 시간 정보 및 슬립 주기 설정 커맨드 또는 무선 통신 방식으로 연결된 외부 전자 장치(미도시)로부터 수신한 일시적 설정 시간 정보 및 슬립 주기 설정 커맨드에 따라 설정된 일시적 시간만큼 슬림 모드로 동작한 후에 깨어난 상태로 동작할 수 있다.Fourth, the
한편, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 제어부(110)가 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신하고, 수신된 I2C 인터페이스 센서의 데이터를 외부 다른 전자 장치는 데이터 수집기 기능을 수행하는 상위 전자 장치(미도시)로 전송할 수 있다. 이 경우 센서의 읽기 주기 커맨드에 따라 설정된 I2C 인터페이스 센서의 데이터 읽기 주기를 반영하여 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정하고, I2C 인터페이스 센서의 데이터를 읽어 상위 전자 장치(미도시)로 전송하지 않는 동안에는 슬립 모드로 작동하여 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 소모되는 전력을 절전할 수 있다. On the other hand, the
한편, 상기 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 각각의 구성요소들은 기능 및 논리적으로 분리될 수 있음을 나타나기 위해 별도로 도면에 표시한 것이며, 물리적으로 반드시 별도의 구성요소이거나 별도의 코드로 구현되는 것을 의미하는 것은 아니다.In the meantime, each component of the
그리고 본 명세서에서 각 기능부라 함은, 본 발명의 기술적 사상을 수행하기 위한 하드웨어 및 상기 하드웨어를 구동하기 위한 소프트웨어의 기능적, 구조적 결합을 의미할 수 있다. 예컨대, 상기 각 기능부는 소정의 코드와 상기 소정의 코드가 수행되기 위한 하드웨어 리소스의 논리적인 단위를 의미할 수 있으며, 반드시 물리적으로 연결된 코드를 의미하거나, 한 종류의 하드웨어를 의미하는 것은 아님은 본 발명의 기술 분야의 평균적 전문가에게는 용이하게 추론될 수 있다. In this specification, each function means a functional and structural combination of hardware for carrying out the technical idea of the present invention and software for driving the hardware. For example, each functional unit may refer to a logical unit of a predetermined code and a hardware resource for executing the predetermined code, and may be a code physically connected to the functional unit, But can be easily deduced to the average expert in the field of the invention.
이하 첨부된 도면을 참조하여 본 발명의 실시예에 따른 복합 기능 저전력 무선 통신 모듈의 동작에 대하여 설명하기로 한다.Hereinafter, the operation of the multi-function low power wireless communication module according to the embodiment of the present invention will be described with reference to the accompanying drawings.
도 2는 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 주파수 채널 선택 모드의 동작을 도시하는 흐름도이다. 도 2를 참조하면, 먼저, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 제어부(110)는 전원이 인가되면, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)이 무선 통신에 사용할 주파수를 선택하는 주파수 채널 선택 모드, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정하는 주소 설정 모드 및 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정하는 네트워크 ID 설정 모드 중 적어도 하나의 모드로 동작할 수 있다.2 is a flow chart illustrating operation of a frequency channel selection mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention. Referring to FIG. 2, the
네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 전원이 인가되면, 제어부(110)는 주파수 채널 선택 모드로 진입할 수 있다(201).When the power of the
그 후, 제어부(110)는 주파수 채널 선택 포트(150)와 주파수 채널 선택 스위치(미도시)가 연결되었는지 판단할 수 있다(202). Thereafter, the
상기 판단 결과, 주파수 채널 선택 스위치(미도시)가 연결되고, 연결된 주파수 채널 선택 스위치(미도시)로부터 수신된 전기적 신호가 0이 아닌 경우, 제어부(110)는 수동 주파수 채널 선택을 수행할 수 있다(203). 예컨대, 제어부(110)는 주파수 채널 선택 포트(150)와 연결된 주파수 채널 선택 스위치(미도시)의 값으로 무선 통신에 사용할 주파수 채널을 선택할 수 있다. As a result of the determination, when the frequency channel selection switch (not shown) is connected and the electric signal received from the connected frequency channel selection switch (not shown) is not 0, the
상기 판단 결과, 주파수 채널 선택 스위치(미도시)가 미연결 되거나 주파수 채널 선택 스위치(미도시)가 연결되고, 연결된 주파수 채널 선택 스위치(미도시)로부터 수신된 전기적 신호가 0인 경우, 제어부(110)는 자동 주파수 선택을 수행할 수 있다(204). 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 주파수 설정 파라미터를 추출하고, 추출된 주파수 설정 파라미터로 무선 통신에 사용할 주파수 채널을 선택할 수 있다. 주파수 채널 선택 스위치(미도시)는 4개의 핀으로 구성되어 16진 로터리 스위치(Rotary switch), 딥스위치(Dip switch) 등을 포함할 수 있다. 제어부(110)는 사용자가 주파수 채널 선택 스위치(미도시)를 통해 입력하는 전기적 신호를 수신하여 총 16개의 채널(0 내지 15번의 채널) 중 무선 통신에 사용할 하나의 채널을 선택할 수 있다.As a result of the determination, when a frequency channel selection switch (not shown) is not connected or a frequency channel selection switch (not shown) is connected and the electric signal received from the connected frequency channel selection switch (not shown) is 0, May perform automatic frequency selection (204). For example, the
도 3은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 주소 설정 모드의 동작을 도시하는 흐름도이다. 도 3을 참조하면, 먼저, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 전원이 인가되면, 제어부(110)는 주소 설정 모드로 진입할 수 있다(301).3 is a flowchart illustrating an operation of an address setting mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention. Referring to FIG. 3, when the power of the
그 후, 제어부(110)는 주소 설정 포트(160)와 주소 설정 스위치(미도시)가 연결되었는지 판단할 수 있다(302). 상기 판단 결과, 주소 설정 스위치(미도시)가 미연결된 경우, 제어부(110)는 하기 305 단계로 이동하여 해당 단계를 수행할 수 있다. 주소 설정 스위치(미도시)가 연결된 경우, 제어부(110)는 하기 303 단계로 이동하여 해당 단계를 수행할 수 있다. Thereafter, the
상기 판단 결과, 주소 설정 스위치(미도시)가 연결된 경우, 제어부(110)는 주소 설정 스위치(미도시)의 값이 0이 아닌지 판단할 수 있다(303). 상기 판단 결과, 주소 설정 스위치(미도시)의 값이 0인 경우, 제어부(110)는 305 단계로 이동하여 해당 단계를 수행할 수 있다. 주소 설정 스위치(미도시)의 값이 0이 아닌 다른 값을 갖는 경우, 제어부(110)는 수동 주소 설정을 수행할 수 있다(304). 예컨대, 제어부(110)는 주소 설정 포트(160)와 연결된 주소 설정 스위치(미도시)의 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정할 수 있다. 주소 설정 스위치(미도시)는 4개의 핀으로 구성되어 16진 로터리 스위치(Rotary switch), 딥스위치(Dip switch) 등을 포함할 수 있다.As a result of the determination, if the address setting switch (not shown) is connected, the
그 후, 주소 설정 스위치(미도시)가 미연결 되거나 주소 설정 스위치(미도시)의 값이 0인 경우, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)에 기저장된 주소 설정 파라미터가 존재하는지 판단할 수 있다(305). 상기 판단 결과, 기저장된 주소 설정 파라미터가 존재하지 않는 경우, 제어부(110)는 307 단계로 이동하여 해당 단계를 수행할 수 있다. Thereafter, when the address setting switch (not shown) is not connected or the value of the address setting switch (not shown) is 0, the
기저장된 주소 설정 파라미터가 존재하는 경우, 제어부(110)는 반자동 주소 설정을 수행할 수 있다(306). 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 주소 설정 파라미터를 추출하고, 추출된 주소 설정 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정할 수 있다. If the pre-stored address setting parameter is present, the
그 후, 기저장된 주소 설정 파라미터가 없는 경우, 제어부(110)는 자동 주소 설정을 수행할 수 있다(307). 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)에 기저장된 제품 고유의 제조번호를 기반으로 생성한 주소 설정 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정할 수 있다. 제품 고유의 제조번호는 제품 출고 시 16진수 16자리의 값 구성되어 저장부(120)에 저장될 수 있다. 제어부(110)는 자동 주소 설정을 수행 시 저장부(120)에 저장된 제품 고유의 제조번호의 16진수 16자리의 값 중 마지막 16진수 4자리의 값을 기반으로 주소 설정 값을 생성하고, 생성된 주소 설정 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주소를 설정할 수 있다.Thereafter, if there is no pre-stored address setting parameter, the
도 4는 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 네트워크ID 설정 동작을 도시하는 흐름도이다. 도 4를 참조하면, 먼저, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 전원이 인가되면, 제어부(110)는 네트워크ID 설정 모드로 진입할 수 있다(401).4 is a flowchart illustrating a network ID setting operation of a wireless communication module that provides an automatic configuration of a network according to an embodiment of the present invention. Referring to FIG. 4, when the power of the
그 후, 제어부(110)는 주소 설정 포트(160)와 네트워크 ID 설정 스위치(미도시)가 연결되었는지 판단할 수 있다(402). 상기 판단 결과, 네트워크 ID 설정 스위치(미도시)가 미연결된 경우, 제어부(110)는 하기 405 단계로 이동하여 해당 단계를 수행할 수 있다. Thereafter, the
네트워크 ID 설정 스위치(미도시)가 연결된 경우, 제어부(110)는 네트워크 ID 설정 스위치(미도시)의 값이 0이 아닌지 판단할 수 있다(403). 상기 판단 결과, 네트워크 ID 설정 스위치(미도시)의 값이 0인 경우, 제어부(110)는 하기 405 단계로 이동하여 해당 단계를 수행할 수 있다. When a network ID setting switch (not shown) is connected, the
네트워크 ID 설정 스위치(미도시)의 값이 0이 아닌 다른 값을 갖는 경우, 제어부(110)는 수동 네트워크 ID 설정을 수행할 수 있다(404). 예컨대, 제어부(110)는 주소 설정 포트(160)와 연결된 네트워크 ID 설정 스위치(미도시)의 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정할 수 있다. 네트워크 ID 설정 스위치(미도시)는 4개의 핀으로 구성되어 16진 로터리 스위치(Rotary switch), 딥스위치(Dip switch) 등을 포함할 수 있다.If the value of the network ID setting switch (not shown) has a value other than 0, the
네트워크 ID 설정 스위치(미도시)가 미연결 되거나 네트워크 ID 설정 스위치(미도시)의 값이 0인 경우, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단할 수 있다(405). When the network ID setting switch (not shown) is not connected or the value of the network ID setting switch (not shown) is 0, the
상기 판단 결과, 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 제어부(110)는 반자동 네트워크 ID 설정을 수행할 수 있다(406). 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 네트워크 ID 설정 파라미터를 추출하고, 추출된 네트워크 ID 설정 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정할 수 있다.If it is determined that the pre-stored network ID setting parameter exists, the
기저장된 네트워크 ID 설정 파라미터가 없는 경우, 제어부(110)는 자동 네트워크 ID 설정을 수행할 수 있다(407). 예컨대, 제어부(110)는 데이터 수집자(Aggregator) 기능을 수행하는 외부 다른 전자 장치(미도시)로 네트워크 ID 설정 값을 요청하고, 외부 다른 전자 장치(미도시)로부터 수신된 네트워크 ID 설정 값으로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 네트워크 ID를 설정할 수 있다.If there is no pre-stored network ID setting parameter, the
도 5는 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 I2C 인터페이스 센서 자동 읽기 설정 모드의 동작을 도시하는 흐름도이다. 도 5를 참조하면, 먼저, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후, 제어부(110)는 사용자의 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 사용 용도에 따라 I2C 인터페이스 센서 자동 읽기 설정 모드, I2C 인터페이스 센서 수동 읽기 설정 모드 및 위치 인식 모드 중 어느 하나의 모드로 진입하라는 커맨드를 무선으로 연결된 외부 전자 장치(미도시) 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 수신하거나 저장부에 기저장된 I2C 인터페이스 센서 자동 읽기 설정 모드, I2C 인터페이스 센서 수동 읽기 설정 모드 및 위치 인식 모드 중 어느 하나의 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 해당 모드로 진입할 수 있다.5 is a flowchart illustrating an operation of the I2C interface sensor automatic read setting mode of a wireless communication module that provides an automatic configuration of a network according to an embodiment of the present invention. 5, after the frequency channel selection mode, the address setting mode, and the network ID setting mode of the
제어부(110)는 무선으로 연결된 외부 전자 장치(미도시) 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나 저장부에 기저장된 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 추출된 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드에 따라서 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입할 수 있다(501). The
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신 받을 수 있다(502). 적어도 하나의 I2C 인터페이스 센서는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 I2C 연결포트(170)와 연결된 상태이다. I2C 인터페이스 센서의 하드웨어 정보는 I2C 인터페이스 센서에 기설정된 주소 정보, 레지스터 번호 정보, 데이터의 길이 정보, 센서의 초기화 필요 여부 정보 등을 포함할 수 있다.Thereafter, the
또한, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 수신된 I2C 인터페이스 센서의 하드웨어 정보를 저장부에 저장할 수 있다. In addition, the
그 후, 제어부(110)는 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다(503). 예컨대, 제어부(110)는 수신된 I2C 인터페이스 센서의 하드웨어 정보 또는 기저장된 I2C 인터페이스 센서의 하드웨어 정보로부터 센서의 초기화 필요 여부 정보를 추출하고, 추출된 센서의 초기화 필요 여부 정보를 바탕으로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다. Thereafter, the
상기 판단 결과, 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 제어부(110)는 저장부(120)에 기저장된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다(504). 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 초기화 파라미터를 추출하고, 추출된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다.As a result of the determination, if there is at least one I2C interface sensor that requires initialization, the
초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 존재하지 않거나 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서를 대상으로 초기화 파라미터의 설정이 완료되면, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정할 수 있다(505). 센서 파라미터는 센서의 주소 정보를 나타내는 주소 파라미터, 레지스터 번호 정보를 나타내는 레지스터 번호 파라미터 및 센서 데이터의 길이 정보를 나타내는 데이터 길이 파라미터 등을 포함할 수 있다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 센서 파라미터를 추출하고, 추출된 센서 파라미터로 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정할 수 있다. When at least one I2C interface sensor requiring initialization is not present or initialization parameters are set for at least one I2C interface sensor requiring initialization, the
그 후, 제어부(110)는 읽기 주기 커맨드로 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정할 수 있다(506). I2C 인터페이스 센서의 데이터는 I2C 인터페이스 센서가 센싱을 통해 생성한 데이터를 의미한다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 I2C 인터페이스 센서의 데이터의 읽기 주기를 나타내는 읽기 주기 커맨드를 추출하고, 추출된 읽기 주기 커맨드로 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정할 수 있다.Thereafter, the
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 읽은 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치(미도시)의 주소를 설정할 수 있다(507). 외부 다른 전자 장치는 데이터 수집기 기능을 수행하는 상위 전자 장치를 의미할 수 있다. 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 나타내는 주소 정보를 추출하고, 추출된 주소 정보로 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 설정할 수 있다.Thereafter, the
그 후, 제어부(110)는 설정된 I2C 인터페이스 센서의 데이터의 읽기 주기에 따라 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신하고, 수신된 I2C 인터페이스 센서의 데이터를 설정된 외부 다른 전자 장치(미도시)로 전송할 수 있다. Thereafter, the
도 6은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 I2C 인터페이스 센서 수동 읽기 설정 모드의 동작을 도시하는 흐름도이다. 도 6을 참조하면, 먼저, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후, 제어부(110)는 사용자의 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 사용 용도에 따라 I2C 인터페이스 센서 자동 읽기 설정 모드, I2C 인터페이스 센서 수동 읽기 설정 모드 및 위치 인식 모드 중 어느 하나의 모드로 진입하라는 커맨드를 무선으로 연결된 외부 전자 장치(미도시) 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 수신하거나 저장부에 기저장된 I2C 인터페이스 센서 자동 읽기 설정 모드, I2C 인터페이스 센서 수동 읽기 설정 모드 및 위치 인식 모드 중 어느 하나의 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 해당 모드로 진입할 수 있다.6 is a flowchart illustrating the operation of the I2C interface sensor manual read setting mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention. 6, first, after the frequency channel selection mode, the address setting mode, and the network ID setting mode of the
제어부(110)는 무선으로 연결된 외부 전자 장치(미도시) 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나 저장부에 기저장된 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 추출된 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드에 따라서 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입할 수 있다(601).The
제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신 받을 수 있다(602). 적어도 하나의 I2C 인터페이스 센서는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 I2C 연결포트(170)와 연결된 상태이다. I2C 인터페이스 센서의 하드웨어 정보는 I2C 인터페이스 센서에 기설정된 주소 정보, 레지스터 번호 정보, 데이터의 길이 정보, 센서의 초기화 필요 여부 정보 등을 포함할 수 있다.The
또한, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로부터 수신된 I2C 인터페이스 센서의 하드웨어 정보를 저장부에 저장할 수 있다.In addition, the
그 후, 제어부(110)는 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다(603). 예컨대, 제어부(110)는 수신된 I2C 인터페이스 센서의 하드웨어 정보 또는 저장부에 기저장된 I2C 인터페이스 센서의 하드웨어 정보로부터 센서의 초기화 필요 여부 정보를 추출하고, 추출된 센서의 초기화 필요 여부 정보를 바탕으로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단할 수 있다. Thereafter, the
상기 판단 결과, 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 제어부(110)는 무선 통신으로 연결된 외부 전자 장치(미도시) 또는 UART 통신 방식으로 연결된 외부 MCU(미도시)로부터 수신된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다(604). 센서 파라미터는 센서의 주소 정보를 나타내는 주소 파라미터, 레지스터 번호 정보를 나타내는 레지스터 번호 파라미터 및 센서 데이터의 길이 정보를 나타내는 데이터 길이 파라미터 등을 포함할 수 있다. 예컨대, 제어부(110)는 UART 통신부(130)와 연결된 외부 MCU(미도시) 또는 무선 통신으로 연결된 외부 전자 장치로부터 초기화 파라미터를 수신 받고, 수신된 초기화 파라미터로 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정할 수 있다.If there is at least one I2C interface sensor that requires initialization, the
초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 존재하지 않거나 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서를 대상으로 초기화 파라미터의 설정이 완료되면, 제어부(110)는 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정할 수 있다(605). 예컨대, 제어부(110)는 UART 통신부(130)와 연결된 외부 MCU(미도시) 또는 무선 통신으로 연결된 외부 전자 장치(미도시)로부터 센서 파라미터를 수신 받고, 수신된 센서 파라미터로 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정할 수 있다. When at least one I2C interface sensor requiring initialization is not present or initialization parameters are set for at least one I2C interface sensor requiring initialization, the
그 후, 제어부(110)는 적어도 하나의 I2C 인터페이스 센서로 MCU(112)가 I2C 인터페이스 센서의 데이터를 읽을 수 있도록 요청하는 읽기 요청 주기를 설정할 수 있다(606). I2C 인터페이스 센서의 데이터는 I2C 인터페이스 센서가 센싱을 통해 생성한 데이터를 의미한다. 예컨대, 제어부(110)는 UART 통신부(130)와 연결된 외부 MCU(미도시) 또는 무선 통신으로 연결된 외부 전자 장치(미도시)로부터 읽기 요청 주기 커맨드를 수신 받고, 수신된 읽기 요청 주기 커맨드로 적어도 하나의 I2C 인터페이스 센서의 읽기 요청 주기를 설정할 수 있다.The
그 후, 제어부(110)는 설정된 읽기 요청 주기에 따라 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신할 수 있다(607). 예컨대, 제어부(110)에 의해 읽기 요청 주기가 설정된 적어도 하나의 I2C 인터페이스 센서는 응답 신호로서 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 I2C 연결포트(170)를 통해 I2C 인터페이스 센서의 데이터를 제어부(110)로 주기에 따라 전송하고, 제어부(110)는 수신된 I2C 인터페이스 센서의 데이터를 UART 통신부(130)와 연결된 외부 MCU(미도시) 또는 무선 통신으로 연결된 외부 외부 다른 전자 장치(미도시)로 전송할 수 있다. 외부 외부 다른 전자 장치는 데이터 수집기 기능을 수행하는 상위 전자 장치를 의미할 수 있다.Thereafter, the
그 후, 제어부(110)는 무선 통신 방식으로 연결된 외부 외부 다른 전자 장치(미도시)로부터 수신되는 I2C 인터페이스 센서의 데이터 수신과 관련된 커맨드에 따라 I2C 인터페이스 센서의 데이터의 수신을 계속할 것인지 판단할 수 있다(608). 상기 판단 결과, 무선 통신 방식으로 연결된 외부 외부 다른 전자 장치(미도시)로부터 I2C 인터페이스 센서의 데이터의 수신을 계속하라는 커맨드가 수신되는 경우, 제어부(110)는 상기 606 단계로 이동하여 해당 단계를 수행할 수 있다.Thereafter, the
무선 통신 방식으로 연결된 외부 외부 다른 전자 장치(미도시)로부터 I2C 인터페이스 센서의 데이터의 수신을 종료하라는 커맨드가 수신된 경우, 제어부(110)는 I2C 인터페이스 센서 수동 읽기 설정 모드의 동작을 종료할 수 있다. When a command to terminate the reception of data from the I2C interface sensor is received from another external electronic device (not shown) connected by a wireless communication method, the
도 7은 본 발명에 실시예에 따른 네트워크의 자동 구성을 제공하는 무선 통신 모듈의 위치 인식 설정 모드의 동작을 도시하는 흐름도이다. 도 7을 참조하면, 먼저, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 주파수 채널 선택 모드, 주소 설정 모드 및 네트워크 ID 설정 모드가 수행된 후, 제어부(110)는 사용자의 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 사용 용도에 따라 I2C 인터페이스 센서 자동 읽기 설정 모드, I2C 인터페이스 센서 수동 읽기 설정 모드 및 위치 인식 모드 중 어느 하나의 모드로 진입하라는 커맨드를 무선으로 연결된 외부 전자 장치(미도시) 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 수신하거나 저장부에 기저장된 I2C 인터페이스 센서 자동 읽기 설정 모드, I2C 인터페이스 센서 수동 읽기 설정 모드 및 위치 인식 모드 중 어느 하나의 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 해당 모드로 진입할 수 있다.FIG. 7 is a flowchart illustrating an operation of a location recognition setup mode of a wireless communication module that provides automatic configuration of a network according to an embodiment of the present invention. 7, after the frequency channel selection mode, the address setting mode, and the network ID setting mode of the
제어부(110)는 무선으로 연결된 외부 전자 장치(미도시) 또는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 위치 인식 모드로 진입하라는 커맨드를 수신하거나 저장부에 기저장된 위치 인식 모드로 진입하라는 커맨드를 추출하고, 추출된 위치 인식 모드로 진입하라는 커맨드에 따라 위치 인식 모드로 진입할 수 있다(701).The
그 후, 제어부(110)는 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다(702). 예컨대, 제어부(110)는 저장부(120)의 설정 값 저장 영역(미도시)으로부터 기저장된 슬립 주기 파라미터를 추출하고, 추출된 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다.Thereafter, the
또한, 제어부(110)는 UART 통신부(130)와 연결된 외부 MCU(미도시)로부터 슬립 주기 파라미터를 수신 받고, 수신된 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다.The
또한, 제어부(110)는 무선 통신 방식으로 연결된 외부 외부 다른 전자 장치(미도시)로부터 슬립 주기 파라미터를 수신 받고, 수신된 슬립 주기 파라미터로 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 슬립 주기를 설정할 수 있다.In addition, the
그 후, 제어부(110)는 위치 데이터를 수신 받을 상위 전자 장치를 설정할 수 있다(703). 위치 데이터는 제어부(110)의 MCU(112)가 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 무선 통신하는 적어도 하나의 외부 다른 전자 장치(미도시) 또는 적어도 하나의 무선 통신 중인 무선 태그(미도시)와의 수신감도(RSSI: Received Signal Indication)를 기반으로 산출한 거리 정보를 포함할 수 있다. 예컨대, 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)의 저장부(120)에는 수신감도와 매핑된 거리 정보가 기저장될 수 있다. 제어부(110)는 적어도 하나의 외부 다른 전자 장치(미도시)와의 수신감도 또는 적어도 하나의 무선 태그와의 수신감도와 매핑된 거리 정보를 저장부(120)로부터 추출하고, 추출된 거리 정보로부터 위치 데이터를 생성할 수 있다. 상위 전자 장치는 네트워크의 자동 구성을 제공하는 무선 통신 모듈(100)과 무선 통신 방식으로 연결된 외부의 외부 다른 전자 장치이며, 슬립 모드로 동작하지 않고 항상 깨어있는 상태로 동작하는 전자 장치일 수 있다. 또한, 상위 전자 장치는 인터넷 라우터와 연결되어 데이터 수집기의 기능을 수행하는 다른 무선 통신 모듈을 포함할 수 있다.Thereafter, the
그 후, 제어부(110)는 슬립 주기 파라미터에 의해 설정된 주기에 따라 슬립 모드로 동작할 수 있다(704). 슬립 모드로 동작 중 설정된 주기에 의해 깨어있는 상태로 작동하는 시간 동안 제어부(110)는 위치 데이터를 생성하고, 생성된 위치 데이터를 상위 전자 장치로 전송할 수 있다.Thereafter, the
본 발명의 예시적 실시예들에 따른 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야에서 통상의 지식을 가진 자에게 공지되어 사용 가능한 것일 수도 있다.The methods according to exemplary embodiments of the present invention may be implemented in the form of program instructions that may be executed through various computer means and recorded on a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be known and available to those skilled in the computer software field.
본 발명을 첨부 도면과 전술된 실시예들을 참조하여 설명하였으나, 본 발명은 그에 한정되지 않으며, 후술되는 특허청구범위에 의해 한정된다. 따라서 본 기술분야의 통상의 지식을 가진 자라면 후술되는 특허청구범위의 기술적 사상에서 벗어나지 않는 범위 내에서 본 발명을 다양하게 변형 및 수정할 수 있다.Although the present invention has been described with reference to the accompanying drawings and the foregoing embodiments, the present invention is not limited thereto but is limited by the following claims. Accordingly, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope of the present invention as defined by the appended claims.
100 : 네트워크의 자동 구성을 제공하는 무선 통신 모듈
110 : 제어부
111 : RF 기저대역부
112 : MCU
120 : 저장부
130 : UART 통신부
140 : 슬립 단자
150 : 주파수 채널 선택 포트
160 : 주소 설정 포트
170 : I2C 연결 포트
180 : 다용도 입출력 포트
190 : 주파수 필터 회로
191 : 매칭회로100: Wireless communication module providing automatic configuration of network
110:
111: RF baseband section
112: MCU
120:
130: UART communication unit
140: Sleep terminal
150: Frequency channel selection port
160: Address setting port
170: I2C connection port
180: Multipurpose I / O port
190: Frequency filter circuit
191: matching circuit
Claims (12)
주파수 채널 선택 스위치가 미연결 되거나 연결된 상기 주파수 채널 선택 스위치의 값이 0인 경우, 상기 주파수 설정 파라미터를 추출하여 무선 통신에 사용할 주파수 채널을 자동으로 선택하고, 주소 설정 스위치가 미연결 되고 상기 주소 설정 파라미터가 존재하지 않거나 연결된 상기 주소 설정 스위치의 값이 0이며 상기 주소 설정 파라미터가 존재하지 않는 경우, 제품의 제조번호를 기반으로 생성되어 상기 저장부에 기저장된 주소 설정 값으로 무선 통신 모듈의 주소를 자동으로 설정하며, 네트워크 ID 설정 스위치가 미연결 되고 상기 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 다른 전자 장치로부터 네트워크 ID 설정 값을 수신하여 상기 무선 통신 모듈의 네트워크 ID로 자동으로 설정하도록 제어하는 제어부를 포함하되,
상기 제어부는, 상기 네트워크 ID 설정 스위치가 연결된 경우, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 네트워크 ID 설정 스위치의 값으로 상기 무선 통신 모듈의 네트워크 ID를 설정하며, 상기 네트워크 ID 설정 스위치가 미연결 되거나 상기 네트워크 ID 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 네트워크 ID 설정 파라미터를 추출하고, 상기 추출된 네트워크 ID 설정 파라미터로 상기 무선 통신 모듈의 네트워크 ID를 설정하도록 더 제어하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈.
A storage section in which at least one of a frequency setting parameter, an address setting parameter, a network ID setting parameter, and a product serial number is pre-stored; And
If the frequency channel selection switch is not connected or the value of the frequency channel selection switch connected is 0, the frequency setting parameter is extracted to automatically select a frequency channel to be used for wireless communication. If the address setting switch is not connected and the address setting The address of the wireless communication module is generated based on the manufacturing number of the product and the address setting value pre-stored in the storage unit if the value of the address setting switch is 0 and the address setting parameter is not present And if the network ID setting switch is not connected and the network ID setting parameter is not present or the value of the network ID setting switch connected is 0 and the network ID setting parameter is not present, ID setting value is received And automatically setting the network ID of the wireless communication module to the network ID of the wireless communication module,
The control unit determines whether the value of the network ID setting switch is not 0 when the network ID setting switch is connected and when the value of the network ID setting switch has a value other than 0 as a result of the determination, Setting a network ID of the wireless communication module as a value of a network ID setting switch, and when the network ID setting switch is not connected or the value of the network ID setting switch is 0, And if the pre-stored network ID setting parameter exists, extracts the pre-stored network ID setting parameter from the storage unit and sets the network ID of the wireless communication module with the extracted network ID setting parameter Characterized in that the automatic control of the network A wireless communication module that provides sophistication.
상기 제어부의 제어에 따라 외부 MCU와 시리얼 통신 방식으로 연결되는 UART 통신부;
상기 제어부의 제어에 따라 슬립 기능을 수행하는 슬립 단자;
상기 주파수 채널 선택 스위치와 유선 연결될 수 있는 주파수 채널 선택 포트;
상기 주소 설정 스위치와 유선 연결될 수 있는 주소 설정 포트;
상기 제어부의 제어에 따라 적어도 하나의 I2C 인터페이스 센서 또는 적어도 하나의 외부 전자 장치와 I2C 통신 방식으로 연결되어 데이터를 송수신하는 I2C 연결 포트;
상기 무선 통신 모듈의 제어를 위해 입력되는 전기적 신호를 수신 받거나 유선 연결된 특정 디바이스의 제어를 위한 전기적 신호를 출력하는 다용도 입출력 포트;
외부 안테나와 연결되어, 외부 전자 장치와 무선 통신 시 사용되는 주파수 대역을 위한 주파수 필터 기능을 수행하는 주파수 필터 회로; 및
상기 제어부는 상기 외부 전자 장치와 무선 통신을 위한 RF 기저대역부 및 네트워크의 자동 구성을 위한 동작을 제어하는 MCU부로 구성된 SOC; 를 더 포함하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈.
The wireless communication system according to claim 1,
A UART communication unit connected to the external MCU by a serial communication method under the control of the control unit;
A sleep terminal for performing a sleep function under the control of the control unit;
A frequency channel selection port that can be wired to the frequency channel selection switch;
An address setting port that can be wired to the address setting switch;
An I2C connection port connected to at least one I2C interface sensor or at least one external electronic device through an I2C communication method under control of the control unit to transmit and receive data;
A multipurpose input / output port for receiving an electric signal input for controlling the wireless communication module or outputting an electric signal for controlling a specific device connected to a wired connection;
A frequency filter circuit connected to an external antenna and performing a frequency filter function for a frequency band used in a wireless communication with an external electronic device; And
Wherein the control unit comprises: an RF baseband unit for wireless communication with the external electronic device; and an MCU unit configured to control an operation for automatic configuration of the network; Wherein the wireless communication module is configured to communicate with the network.
상기 주소 설정 스위치가 연결된 경우, 상기 주소 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 주소 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 주소 설정 스위치의 값으로 상기 무선 통신 모듈의 주소를 설정하며, 상기 주소 설정 스위치가 미연결 되거나 상기 주소 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 주소 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 주소 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 주소 설정 파라미터를 추출하고, 상기 추출된 주소 설정 파라미터로 상기 무선 통신 모듈의 주소를 설정하도록 더 제어하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈.
3. The apparatus of claim 2,
When the address setting switch is connected, it is determined whether the value of the address setting switch is not 0. If the value of the address setting switch has a value other than 0, And determines whether the address setting parameter stored in the storage unit is present if the address setting switch is not connected or the value of the address setting switch is 0, The control unit further extracts the pre-stored address setting parameter from the storage unit and further sets the address of the wireless communication module with the extracted address setting parameter. module.
상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하고, 상기 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하여 상기 저장부에 저장하고, 상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 또는 상기 저장부에 기저장된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 저장부에 기저장된 초기화 파라미터를 추출하여 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하고, 상기 저장부에 기저장된 센서 파라미터를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정하며, 상기 저장부에 기저장된 읽기 주기 커맨드를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정하고, 상기 적어도 하나의 I2C 인터페이스 센서로부터 읽은 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 설정하도록 더 제어하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈.
3. The apparatus of claim 2,
A command for entering the I2C interface sensor automatic read setting mode is received from the external electronic device or the external MCU or a command for entering the I2C interface sensor automatic read setting mode stored in the storage unit is extracted, Wherein the controller is configured to enter the I2C interface sensor auto-read setting mode according to a command, receive hardware information of the I2C interface sensor from the at least one I2C interface sensor and store the hardware information in the storage unit, Wherein the I2C interface sensor includes at least one I2C interface sensor that requires initialization among the hardware information of the I2C interface sensor previously stored in the storage unit and if there is at least one I2C interface sensor that requires initialization, The initialization parameter of at least one I2C interface sensor that needs to be initialized by extracting the initialization parameters of the at least one I2C interface sensor, extracts pre-stored sensor parameters in the storage unit, and sets sensor parameters for the operation of the at least one I2C interface sensor A read period command previously stored in the storage unit to set a read period of data of the at least one I2C interface sensor and to transmit data of the I2C interface sensor read from the at least one I2C interface sensor to another external electronic device The address of the wireless communication module is further controlled so as to set an address of the wireless communication module.
상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하고, 상기 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하여 상기 저장부에 저장하고, 상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 또는 상기 저장부에 기저장된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 외부 전자 장치 또는 상기 외부 MCU로부터 초기화 파라미터를 수신 받아 상기 저장부에 저장하고, 상기 수신된 초기화 파라미터로 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하고, 상기 외부 전자 장치 또는 상기 외부 MCU로부터 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 수신 받아 저장부에 저장하고, 상기 수신된 센서 파라미터로 상기 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정하도록 더 제어하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈.
3. The apparatus of claim 2,
A command to enter the I2C interface sensor manual read setting mode from the external other electronic device or the external MCU is received or a command to enter the I2C interface sensor manual read setting mode stored in the storage unit is extracted, Wherein the controller is configured to enter the I2C interface sensor manual read setting mode according to a command and receive hardware information of the I2C interface sensor from the at least one I2C interface sensor and store the received hardware information in the storage unit, Wherein if at least one I2C interface sensor that requires initialization is present in the hardware information of the I2C interface sensor previously stored in the storage unit, Receives an initialization parameter from the external MCU, stores the initialization parameter in the storage unit, sets an initialization parameter of at least one I2C interface sensor that requires initialization with the received initialization parameter, Wherein the controller is further configured to receive sensor parameters for operation of at least one I2C interface sensor and store the sensor parameters in a storage unit and to set sensor parameters of the at least one I2C interface sensor with the received sensor parameters. A wireless communication module providing configuration.
상기 외부 다른 전자 장치 또는 상기 외부 MCU로부터 위치 인식 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 위치 인식 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 위치 인식 설정 모드로 진입하고, 슬립 주기 파라미터로 상기 무선 통신 모듈의 슬립 주기를 설정하고, 상기 무선 통신 모듈과 무선 통신하는 외부 다른 전자 장치 또는 무선 통신 중인 무선 태그와의 수신감도를 기반으로 산출된 거리 정보를 포함하는 위치 데이터를 수신 받을 상위 전자 장치를 설정하며, 상기 슬립 주기 파라미터에 의해 설정된 주기에 따라 슬립 모드로 동작하도록 더 제어하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 무선 통신 모듈.
3. The apparatus of claim 2,
Receiving a command to enter the location recognition setting mode from the external other electronic device or the external MCU or extract a command to enter the location recognition setting mode previously stored in the storage unit, Setting a sleep period of the wireless communication module as a sleep period parameter, calculating distance information based on reception sensitivity of another external electronic device wirelessly communicating with the wireless communication module or a radio tag being wirelessly communicated, And further controls the base station to operate in a sleep mode according to a period set by the sleep period parameter. The wireless communication module of claim 1,
상기 주소 설정 스위치가 연결된 경우, 상기 주소 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 주소 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 주소 설정 스위치의 값으로 상기 무선 통신 모듈의 주소를 설정하는 단계;
상기 주소 설정 스위치가 미연결 되거나 상기 주소 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 주소 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 주소 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 주소 설정 파라미터를 추출하고, 상기 추출된 주소 설정 파라미터로 상기 무선 통신 모듈의 주소를 설정하는 단계;
네트워크 ID 설정 스위치가 미연결 되고 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 기저장된 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 전자 장치로부터 네트워크 ID 설정 값을 수신하고, 상기 수신된 네트워크 ID 설정 값으로 무선 통신 모듈의 네트워크 ID로 자동으로 설정하는 단계;
상기 네트워크 ID 설정 스위치가 연결된 경우, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 네트워크 ID 설정 스위치의 값으로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계; 및
상기 네트워크 ID 설정 스위치가 미연결 되거나 상기 네트워크 ID 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 네트워크 ID 설정 파라미터를 추출하고, 상기 추출된 네트워크 ID 설정 파라미터로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계를 포함하되,
외부 다른 전자 장치 또는 외부 MCU로부터 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 자동 읽기 설정 모드로 진입하는 단계;
적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하는 단계;
상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 저장부에 기저장된 초기화 파라미터를 추출하여 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하는 단계;
상기 저장부에 기저장된 센서 파라미터를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 설정하는 단계;
상기 저장부에 기저장된 읽기 주기 커맨드를 추출하여 상기 적어도 하나의 I2C 인터페이스 센서의 데이터의 읽기 주기를 설정하는 단계; 및
상기 적어도 하나의 I2C 인터페이스 센서로부터 읽은 I2C 인터페이스 센서의 데이터를 송신할 외부 다른 전자 장치의 주소를 설정하는 단계를 더 포함하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 방법.
If the address setting switch is not connected and the address setting parameter pre-stored in the storage unit does not exist or the value of the address setting switch connected is 0 and the address setting parameter previously stored in the storage unit does not exist, And automatically setting an address of the wireless communication module based on the address setting value stored in the storage unit;
When the address setting switch is connected, it is determined whether the value of the address setting switch is not 0. If the value of the address setting switch has a value other than 0, Setting an address of the wireless communication module;
If the address setting switch is not connected or the value of the address setting switch is 0, it is determined whether the address setting parameter stored in the storage unit exists, and if the address setting parameter exists, Extracting a pre-stored address setting parameter and setting an address of the wireless communication module with the extracted address setting parameter;
If the network ID setting switch is not connected and the network ID setting parameter previously stored in the storage unit does not exist or the value of the network ID setting switch connected is 0 and the pre-stored network ID setting parameter does not exist, Receiving an ID setting value and automatically setting the network ID of the wireless communication module as the received network ID setting value;
If the value of the network ID setting switch is not 0 when the network ID setting switch is connected and if the value of the network ID setting switch is not 0 as a result of the determination, Setting a network ID of the wireless communication module to a value of the wireless communication module; And
If the network ID setting parameter is not connected or if the value of the network ID setting switch is 0, it is determined whether the network ID setting parameter previously stored in the storage unit exists, Extracting the previously stored network ID setting parameter from the storage unit and setting the network ID of the wireless communication module with the extracted network ID setting parameter,
A command to enter an I2C interface sensor automatic read setting mode is received from another external electronic device or an external MCU or a command to enter the I2C interface sensor automatic read setting mode previously stored in the storage unit is extracted, Thereby entering the I2C interface sensor auto-read setting mode;
Receiving hardware information of the I2C interface sensor from at least one I2C interface sensor;
And if there is at least one I2C interface sensor that requires initialization among hardware information of the received I2C interface sensor, if it is determined that there is at least one I2C interface sensor that requires initialization, And setting initialization parameters of the at least one I2C interface sensor requiring initialization;
Setting sensor parameters for operation of the at least one I2C interface sensor by extracting previously stored sensor parameters in the storage unit;
Setting a read period of data of the at least one I 2 C interface sensor by extracting a read period command pre-stored in the storage unit; And
Further comprising setting an address of another external electronic device to transmit data of the I2C interface sensor read from the at least one I2C interface sensor.
상기 주소 설정 스위치가 연결된 경우, 상기 주소 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 주소 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 주소 설정 스위치의 값으로 상기 무선 통신 모듈의 주소를 설정하는 단계;
상기 주소 설정 스위치가 미연결 되거나 상기 주소 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 주소 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 주소 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 주소 설정 파라미터를 추출하고, 상기 추출된 주소 설정 파라미터로 상기 무선 통신 모듈의 주소를 설정하는 단계;
네트워크 ID 설정 스위치가 미연결 되고 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 기저장된 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 전자 장치로부터 네트워크 ID 설정 값을 수신하고, 상기 수신된 네트워크 ID 설정 값으로 무선 통신 모듈의 네트워크 ID로 자동으로 설정하는 단계;
상기 네트워크 ID 설정 스위치가 연결된 경우, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 네트워크 ID 설정 스위치의 값으로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계; 및
상기 네트워크 ID 설정 스위치가 미연결 되거나 상기 네트워크 ID 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 네트워크 ID 설정 파라미터를 추출하고, 상기 추출된 네트워크 ID 설정 파라미터로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계를 포함하되,
외부 다른 전자 장치 또는 외부 MCU로부터 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 I2C 인터페이스 센서 수동 읽기 설정 모드로 진입하는 단계;
적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 하드웨어 정보를 수신하는 단계;
상기 수신된 I2C 인터페이스 센서의 하드웨어 정보 중 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는지 판단하고, 상기 판단 결과, 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서가 있는 경우, 상기 외부 전자 장치 또는 상기 외부 MCU로부터 초기화 파라미터를 수신 받아 상기 저장부에 저장하고, 상기 수신된 초기화 파라미터로 상기 초기화가 필요한 적어도 하나의 I2C 인터페이스 센서의 초기화 파라미터를 설정하는 단계;
상기 외부 전자 장치 또는 상기 외부 MCU로부터 상기 적어도 하나의 I2C 인터페이스 센서의 동작을 위한 센서 파라미터를 수신 받아 상기 저장부에 저장하고, 상기 수신된 센서 파라미터로 상기 적어도 하나의 I2C 인터페이스 센서의 센서 파라미터를 설정하는 단계;
상기 외부 전자 장치 또는 상기 외부 MCU로부터 수신 받은 읽기 요청 주기 커맨드로 상기 적어도 하나의 I2C 인터페이스 센서의 읽기 요청 주기를 설정하는 단계; 및
상기 설정된 읽기 요청 주기에 따라 상기 적어도 하나의 I2C 인터페이스 센서로부터 I2C 인터페이스 센서의 데이터를 수신하는 단계를 더 포함하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 방법.
If the address setting switch is not connected and the address setting parameter pre-stored in the storage unit does not exist or the value of the address setting switch connected is 0 and the address setting parameter previously stored in the storage unit does not exist, And automatically setting an address of the wireless communication module based on the address setting value stored in the storage unit;
When the address setting switch is connected, it is determined whether the value of the address setting switch is not 0. If the value of the address setting switch has a value other than 0, Setting an address of the wireless communication module;
If the address setting switch is not connected or the value of the address setting switch is 0, it is determined whether the address setting parameter stored in the storage unit exists, and if the address setting parameter exists, Extracting a pre-stored address setting parameter and setting an address of the wireless communication module with the extracted address setting parameter;
If the network ID setting switch is not connected and the network ID setting parameter previously stored in the storage unit does not exist or the value of the network ID setting switch connected is 0 and the pre-stored network ID setting parameter does not exist, Receiving an ID setting value and automatically setting the network ID of the wireless communication module as the received network ID setting value;
If the value of the network ID setting switch is not 0 when the network ID setting switch is connected and if the value of the network ID setting switch is not 0 as a result of the determination, Setting a network ID of the wireless communication module to a value of the wireless communication module; And
If the network ID setting parameter is not connected or if the value of the network ID setting switch is 0, it is determined whether the network ID setting parameter previously stored in the storage unit exists, Extracting the previously stored network ID setting parameter from the storage unit and setting the network ID of the wireless communication module with the extracted network ID setting parameter,
A command for entering the I2C interface sensor manual read setting mode is received from another external electronic device or an external MCU or a command for entering the I2C interface sensor manual read setting mode previously stored in the storage unit is extracted, Entering the I2C interface sensor manual read setting mode;
Receiving hardware information of the I2C interface sensor from at least one I2C interface sensor;
And if there is at least one I2C interface sensor that requires initialization among the hardware information of the received I2C interface sensor and if there is at least one I2C interface sensor that requires initialization, Storing initialization parameters in the storage unit and setting initialization parameters of at least one I2C interface sensor that requires initialization with the received initialization parameters;
Receiving at least one sensor parameter for operation of the at least one I2C interface sensor from the external electronic device or the external MCU and storing the received sensor parameter in the storage unit and setting the sensor parameter of the at least one I2C interface sensor to the received sensor parameter ;
Setting a read request period of the at least one I 2 C interface sensor to a read request cycle command received from the external electronic device or the external MCU; And
Further comprising receiving data of an I2C interface sensor from the at least one I2C interface sensor according to the set read request period.
상기 주소 설정 스위치가 연결된 경우, 상기 주소 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 주소 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 주소 설정 스위치의 값으로 상기 무선 통신 모듈의 주소를 설정하는 단계;
상기 주소 설정 스위치가 미연결 되거나 상기 주소 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 주소 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 주소 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 주소 설정 파라미터를 추출하고, 상기 추출된 주소 설정 파라미터로 상기 무선 통신 모듈의 주소를 설정하는 단계;
네트워크 ID 설정 스위치가 미연결 되고 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하지 않거나 연결된 상기 네트워크 ID 설정 스위치의 값이 0이며 상기 기저장된 네트워크 ID 설정 파라미터가 존재하지 않는 경우, 외부 전자 장치로부터 네트워크 ID 설정 값을 수신하고, 상기 수신된 네트워크 ID 설정 값으로 무선 통신 모듈의 네트워크 ID로 자동으로 설정하는 단계;
상기 네트워크 ID 설정 스위치가 연결된 경우, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌지 판단하고, 상기 판단 결과, 상기 네트워크 ID 설정 스위치의 값이 0이 아닌 다른 값을 갖는 경우, 상기 연결된 네트워크 ID 설정 스위치의 값으로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계; 및
상기 네트워크 ID 설정 스위치가 미연결 되거나 상기 네트워크 ID 설정 스위치의 값이 0인 경우, 상기 저장부에 기저장된 네트워크 ID 설정 파라미터가 존재하는지 판단하고, 상기 기저장된 네트워크 ID 설정 파라미터가 존재하는 경우, 상기 저장부로부터 상기 기저장된 네트워크 ID 설정 파라미터를 추출하고, 상기 추출된 네트워크 ID 설정 파라미터로 상기 무선 통신 모듈의 네트워크 ID를 설정하는 단계를 포함하되,
외부 다른 전자 장치 또는 외부 MCU로부터 위치 인식 설정 모드로 진입하라는 커맨드를 수신하거나, 상기 저장부에 기저장된 상기 위치 인식 설정 모드로 진입하라는 커맨드를 추출하고, 상기 추출된 커맨드에 따라서 상기 위치 인식 설정 모드로 진입하는 단계;
슬립 주기 파라미터로 상기 무선 통신 모듈의 슬립 주기를 설정하는 단계;
무선 통신 모듈과 무선 통신하는 외부 다른 전자 장치 또는 무선 통신 중인 무선 태그와의 수신감도를 기반으로 산출된 거리 정보를 포함하는 위치 데이터를 수신 받을 상위 전자 장치를 설정하는 단계; 및
상기 슬립 주기 파라미터에 의해 설정된 주기에 따라 슬립 모드로 동작하는 단계를 더 포함하는 것을 특징으로 하는 네트워크의 자동 구성을 제공하는 방법.If the address setting switch is not connected and the address setting parameter pre-stored in the storage unit does not exist or the value of the address setting switch connected is 0 and the address setting parameter previously stored in the storage unit does not exist, And automatically setting an address of the wireless communication module based on the address setting value stored in the storage unit;
When the address setting switch is connected, it is determined whether the value of the address setting switch is not 0. If the value of the address setting switch has a value other than 0, Setting an address of the wireless communication module;
If the address setting switch is not connected or the value of the address setting switch is 0, it is determined whether the address setting parameter stored in the storage unit exists, and if the address setting parameter exists, Extracting a pre-stored address setting parameter and setting an address of the wireless communication module with the extracted address setting parameter;
If the network ID setting switch is not connected and the network ID setting parameter previously stored in the storage unit does not exist or the value of the network ID setting switch connected is 0 and the pre-stored network ID setting parameter does not exist, Receiving an ID setting value and automatically setting the network ID of the wireless communication module as the received network ID setting value;
If the value of the network ID setting switch is not 0 when the network ID setting switch is connected and if the value of the network ID setting switch is not 0 as a result of the determination, Setting a network ID of the wireless communication module to a value of the wireless communication module; And
If the network ID setting parameter is not connected or if the value of the network ID setting switch is 0, it is determined whether the network ID setting parameter previously stored in the storage unit exists, Extracting the previously stored network ID setting parameter from the storage unit and setting the network ID of the wireless communication module with the extracted network ID setting parameter,
Receiving a command to enter a location recognition setting mode from another external electronic device or an external MCU, or extracting a command to enter the location recognition setting mode pre-stored in the storage unit, and, based on the extracted command, ;
Setting a sleep period of the wireless communication module as a sleep period parameter;
Setting an upper electronic device to receive location data including distance information calculated based on reception sensitivity of another external electronic device that is in wireless communication with a wireless communication module or a wireless tag being wirelessly communicated; And
And operating in a sleep mode according to a period set by the sleep period parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140044391A KR101599905B1 (en) | 2014-04-14 | 2014-04-14 | Wireless communication module and method for providing automatic configuration of network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140044391A KR101599905B1 (en) | 2014-04-14 | 2014-04-14 | Wireless communication module and method for providing automatic configuration of network |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150118466A KR20150118466A (en) | 2015-10-22 |
KR101599905B1 true KR101599905B1 (en) | 2016-03-07 |
Family
ID=54426914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140044391A KR101599905B1 (en) | 2014-04-14 | 2014-04-14 | Wireless communication module and method for providing automatic configuration of network |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101599905B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112162730B (en) * | 2020-09-30 | 2024-04-23 | 北京特种机械研究所 | DSP software design method for realizing multifunctional CAN bus communication |
CN115174522B (en) * | 2022-07-05 | 2024-07-19 | 易事特储能科技有限公司 | Electronic device ID configuration method, device, equipment and readable storage medium |
CN117319226B (en) * | 2023-11-29 | 2024-02-23 | 中南大学 | Metaverse-based data processing methods, devices, electronic equipment and storage media |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009225453A (en) * | 2002-01-17 | 2009-10-01 | Agere Systems Inc | Auxiliary coding for home networking communication system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101519139B1 (en) * | 2008-09-01 | 2015-05-11 | 엘지이노텍 주식회사 | Zigbee system and formation method of zigbee network |
US8930506B2 (en) * | 2009-06-05 | 2015-01-06 | Otis Elevator Company | System and method for automatically addressng devices on a communication network |
KR101064183B1 (en) | 2010-02-28 | 2011-09-14 | 한양대학교 산학협력단 | Wireless sensor network system and its control method that can automatically set firmware of sensor node when sensor module is installed |
-
2014
- 2014-04-14 KR KR1020140044391A patent/KR101599905B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009225453A (en) * | 2002-01-17 | 2009-10-01 | Agere Systems Inc | Auxiliary coding for home networking communication system |
Also Published As
Publication number | Publication date |
---|---|
KR20150118466A (en) | 2015-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9110897B2 (en) | Sensor tag and method of providing service using the same | |
EP3249624B1 (en) | Remote control docking station and system | |
EP2573948B1 (en) | System and method for commissioning devices | |
CN104253634B (en) | Double frequency multi-protocols multifunctional near-field communication integrate system and methods for using them | |
CN103781151A (en) | Electronic apparatus and control method of system | |
CN106331990A (en) | Bluetooth pairing system, pairing method for Bluetooth devices and intelligent terminal | |
CN103636265B (en) | Independent radio frequency wireless device with data retrieval capabilities | |
KR101694519B1 (en) | Sensor tag and method for providing service using the sensor tag | |
US9262711B2 (en) | NFC tag, communication method and system | |
WO2016193417A1 (en) | Home appliance control method and control system | |
CN103489304A (en) | Transfer equipment, transfer processing system and method | |
JP2008085649A (en) | Rfid communication system and method | |
US20140334364A1 (en) | Remote wake-up system and method | |
CN105957198A (en) | NFC and ZigBee-based entrance guard system | |
CN104090857A (en) | System and method for expanding peripheral interfaces of intelligent terminal | |
KR101599905B1 (en) | Wireless communication module and method for providing automatic configuration of network | |
CN106488531B (en) | Method for fast connecting wireless local area network | |
KR20180096466A (en) | Method and apparatus for sensing | |
KR101573785B1 (en) | HOME NETWORK SYSTEM USING Z-Wave NETWORK AND HOME AUTOMATION APPLIANCE CONNECTION METHOD USING THE SAME | |
CN105812030A (en) | Sensor general interface based on low power consumption bluetooth technology | |
WO2012129796A1 (en) | A method for configuring a wireless device and a wireless device and system | |
CN103886730A (en) | Communication method based on wireless Hart adapter terminal | |
CN204666186U (en) | Based on the storage environment monitoring system of wireless network | |
CN109345812B (en) | Internet of things-based monitoring system and monitoring method | |
CN108810865A (en) | The method that no ability to communicate bluetooth equipment is connected with communication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20140414 |
|
PA0201 | Request for examination | ||
PG1501 | Laying open of application | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20151111 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20160217 |
|
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20160226 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20160226 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
FPAY | Annual fee payment |
Payment date: 20190226 Year of fee payment: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20190226 Start annual number: 4 End annual number: 4 |
|
FPAY | Annual fee payment |
Payment date: 20200226 Year of fee payment: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20200226 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20210127 Start annual number: 6 End annual number: 6 |
|
PR1001 | Payment of annual fee |
Payment date: 20220228 Start annual number: 7 End annual number: 7 |
|
PR1001 | Payment of annual fee |
Payment date: 20230227 Start annual number: 8 End annual number: 8 |