KR20060066311A - Electronic apparatus and control method thereof - Google Patents
Electronic apparatus and control method thereof Download PDFInfo
- Publication number
- KR20060066311A KR20060066311A KR1020040104870A KR20040104870A KR20060066311A KR 20060066311 A KR20060066311 A KR 20060066311A KR 1020040104870 A KR1020040104870 A KR 1020040104870A KR 20040104870 A KR20040104870 A KR 20040104870A KR 20060066311 A KR20060066311 A KR 20060066311A
- Authority
- KR
- South Korea
- Prior art keywords
- communication
- internal controller
- communication module
- communication speed
- electronic device
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
- G06F13/128—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine for dedicated transfers to a network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
- G06F13/4278—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus using an embedded synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Communication Control (AREA)
Abstract
본 발명은 전자장치와 그 제어방법에 관한 것이다. 본 발명에 따른 전자장치는, 고유의 통신속도로 디지털 데이터를 송수신하는 내부컨트롤러와; 상기 내부컨트롤러와 복수의 통신속도 중 어느 하나로 상기 디지털 데이터를 송수신하는 통신모듈과; 상기 통신모듈의 통신속도가 상기 내부컨트롤러의 통신속도와 일치되도록 상기 통신모듈의 통신속도를 변환시키는 제어부를 포함하는 것을 특징으로 한다. 이에 의해, 전자장치 내의 모뎀과 내부 컨트롤러의 통신속도를 용이하게 일치시킬 수 있는 전자장치 및 그 제어방법이 제공된다.The present invention relates to an electronic device and a control method thereof. An electronic device according to the present invention includes an internal controller for transmitting and receiving digital data at a unique communication speed; A communication module for transmitting and receiving the digital data at any one of a plurality of communication speeds with the internal controller; And a control unit for converting the communication speed of the communication module so that the communication speed of the communication module matches the communication speed of the internal controller. Thereby, an electronic device and a control method thereof that can easily match the communication speed of a modem in an electronic device and an internal controller are provided.
Description
도 1은 본 발명에 따른 전자장치의 제어블럭도이고,1 is a control block diagram of an electronic device according to the present invention;
도 2는 본 발명에 따른 전자장치의 제어흐름도이다. 2 is a control flowchart of an electronic device according to the present invention.
* 도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings
1 : 전자장치 3 : 외부장치1: Electronic device 3: External device
10 : 내부컨트롤러 30 : 통신모듈10: internal controller 30: communication module
50 : 제어부 50: control unit
본 발명은 전자장치 및 그 제어방법에 관한 것으로서, 보다 상세하게는, 전자장치 내의 모뎀과 내부컨트롤러 사이의 통신속도를 개선한 전자장치 및 그 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device and a control method thereof, and more particularly, to an electronic device having improved communication speed between a modem in an electronic device and an internal controller and a control method thereof.
일반적으로 전자장치를 네트워크에 연결하여 장치간 통신을 수행하기 위해서는 데이터의 변조와 복조를 처리하기 위하여 모뎀이 장착되며, 이 모뎀은 통신 매체를 통하여 외부장치와 연결되고 상호 약정된 통신 프로토콜을 사용하여 데이터의 송수신을 하게 된다. 여기서, 모뎀은 외부장치와 데이터송수신을 하며, 또한 내부컨트롤러와 통신하여 데이터 송수신을 한다.In general, in order to perform communication between devices by connecting an electronic device to a network, a modem is installed to handle data modulation and demodulation. The modem is connected to an external device through a communication medium and uses a mutually agreed communication protocol. Send and receive data. Here, the modem transmits and receives data with an external device and communicates with an internal controller.
그런데, 이러한 종래의 전자장치에 있어서, 모뎀과 내부 컨트롤러의 통신속도가 일치하지 않는 경우, 디지털데이터 통신방법으로 내부 컨트롤러와 통신을 하는 모뎀에는 에러가 발생한다. 따라서, 모뎀과 내부 컨트롤러는 서로 데이터를 송수신 할 수 없게 된다.By the way, in such a conventional electronic device, when the communication speeds of the modem and the internal controller do not match, an error occurs in the modem communicating with the internal controller by the digital data communication method. Therefore, the modem and the internal controller cannot transmit or receive data with each other.
이러한 종래의 문제점을 해결하기 위해서는 모뎀의 펌웨어를 변경하거나, 내부컨트롤러 내에 있는 통신속도소스를 변경하였다. In order to solve this conventional problem, the modem firmware is changed, or the communication speed source in the internal controller is changed.
또한, 상기 문제점을 해결하기 위한 또 다른 방법으로, 모뎀 및 내부컨트롤러에 모두 저속의 예비통신속도를 설정하여, 모뎀과 내부컨트롤러 간에 통신속도에 대한 상태정보를 교환하는 방법이 제안되었다. 이 교환한 상태정보를 기초로 모뎀과 내부컨트롤러는 통신을 시작한다.In addition, as another method for solving the above problems, a method of exchanging status information on a communication speed between the modem and the internal controller by setting a low speed reserve communication speed for both the modem and the internal controller has been proposed. Based on the exchanged status information, the modem and internal controller start communicating.
그러나, 이러한 종래의 전자장치는 모뎀과 내부컨트롤러에 기본적으로 소정의 예비통신속도가 설정되어 있어야 한다는 문제점이 있으며, 일반적으로 저속의 예비통신속도로 설정된 통신속도에 대한 정보를 교환하기 때문에, 본격적으로 통신을 하기 전의 시간이 지연된다는 문제점이 있다.However, such a conventional electronic device has a problem that a predetermined reserve communication speed should be basically set in a modem and an internal controller, and in general, since it exchanges information on a communication speed set at a low reserve communication speed, There is a problem that the time before communication is delayed.
따라서, 본 발명의 목적은 전자장치 내의 모뎀과 내부 컨트롤러의 통신속도를 용이하게 일치시킬 수 있는 전자장치 및 그 제어방법을 제공하는 것이다.Accordingly, an object of the present invention is to provide an electronic device capable of easily matching the communication speed of the modem in the electronic device and the internal controller, and a control method thereof.
상기 목적은, 본 발명에 따라, 전자장치에 있어서, 고유의 통신속도로 디지털 데이터를 송수신하는 내부컨트롤러와; 상기 내부컨트롤러와 복수의 통신속도 중 어느 하나로 디지털 데이터를 송수신하는 통신모듈과; 상기 통신모듈의 통신속도가 상기 내부컨트롤러의 통신속도와 일치되도록 상기 통신모듈의 통신속도를 변환시키는 제어부를 포함하는 것을 특징으로 하는 전자장치에 의해 달성된다. According to an aspect of the present invention, there is provided an electronic device comprising: an internal controller for transmitting and receiving digital data at a unique communication speed; A communication module for transmitting and receiving digital data at any one of a plurality of communication speeds with the internal controller; And a control unit for converting the communication speed of the communication module so that the communication speed of the communication module matches the communication speed of the internal controller.
여기서, 상기 제어부는 상기 통신모듈의 통신속도가 상기 내부컨트롤러의 통신속도와 일치할 때까지 순차적으로 상기 통신모듈의 통신속도를 변환시킬 수 있다.Here, the control unit may sequentially convert the communication speed of the communication module until the communication speed of the communication module matches the communication speed of the internal controller.
또한, 상기 통신모듈은 전력선모뎀을 포함할 수 있다.In addition, the communication module may include a power line modem.
한편, 상기 목적은 본 발명의 다른 실시예에 따라, 고유의 통신속도로 디지털 데이터를 송수신하는 내부컨트롤러와 상기 내부컨트롤러와 복수의 통신속도 중 어느 하나로 디지털 데이터를 송수신하는 통신모듈을 포함하는 전자장치의 제어방법에 있어서, 상기 내부컨트롤러와 상기 통신모듈 간에 디지털 데이터가 송수신되는 단계와; 상기 통신모듈과 상기 내부컨트롤러 간의 통신속도 불일치에 의한 에러 발생 여부를 감지하는 단계와; 상기 에러 발생이 감지되는 경우, 상기 통신모듈의 통신속도가 상기 내부컨트롤러의 통신속도와 일치되도록 상기 통신모듈의 통신속도를 변환하는 단계를 포함하는 것을 특징으로 하는 전자장치의 제어방법에 의해 달성된다.On the other hand, the object is an electronic device including an internal controller for transmitting and receiving digital data at a unique communication rate and a communication module for transmitting and receiving digital data at any one of a plurality of communication rates with the internal controller according to another embodiment of the present invention A control method of the method comprising: transmitting and receiving digital data between the internal controller and the communication module; Detecting whether an error occurs due to a communication speed mismatch between the communication module and the internal controller; When the occurrence of the error is detected, the control method of the electronic device comprising the step of converting the communication speed of the communication module so that the communication speed of the communication module and the communication speed of the internal controller. .
여기서, 상기 통신모듈의 통신속도는 상기 내부컨트롤러의 통신속도와 일치할 때까지 순차적으로 변환되는 단계를 포함할 수 있다.Here, the communication speed of the communication module may include the step of sequentially converting until the communication speed matches the communication speed of the internal controller.
이하에서는 첨부도면을 참조하여 본 발명에 대해 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 전자장치의 제어블록도이다.1 is a control block diagram of an electronic device according to the present invention.
도 1에 도시된 바와 같이, 본 발명의 실시예에 따른 전자장치(1)는 내부컨트롤러(10)와, 내부컨트롤러(10)와 디지털 데이터를 송수신하는 통신모듈(30)과, 통신모듈(30)의 통신속도를 변경할 수 있는 제어부(50)를 포함한다. 또한, 전자장치(1)는 통신모듈(30)을 통해 외부장치(3)와 통신할 수 있다.As shown in FIG. 1, an electronic device 1 according to an embodiment of the present invention includes an
내부컨트롤러(10)는 전자장치(1) 내부의 기기전반에 대한 동작을 제어하며, 기설정된 통신속도로 통신모듈(30)과 디지털 데이터 송수신을 한다. 여기서, 전자장치(1)는 사용자가 소정의 기능을 입력할 수 있는 입력부(미도시)를 포함할 수 있으며, 내부컨트롤러(10)는 사용자의 입력에 의한 신호를 해석하여 해당 기능을 수행할 수 있다. 그리고, 내부컨트롤러(10)는 입력된 신호를 통신모뎀에 전송하여 외부장치(3)와 데이터의 송수신을 할 수 있다. 또한, 내부컨트롤러(10)는 통신모듈(30)을 통해 입력된 데이터를 해석하여 해당 기능을 수행할 수 있다.The
통신모듈(30)은 내부컨트롤러(10)로부터의 출력 데이터를 아날로그 변조하여 출력하거나, 외부장치(3)에서 수신되는 아날로그 형태의 데이터를 복조하여 디지털 데이터로 변환한다. 통신모듈(30)은 2400bps, 4800bps, 9600bps 등과 같은 다양한 통신속도로 내부컨트롤러(10)와 디지털 데이터를 송수신할 수 있다.The
여기서, 통신모듈(30)은 내부컨트롤러(10)와 UART 등의 방법으로 시리얼통신을 할 수 있으며, 이외의 다른 통신 방법으로 통해 통신할 수 있다. 또한, 통신모듈(30)은 전자장치(1)내에 마련된 내장형일 수 있으며, 외장형으로 마련될 수도 있 다.Here, the
제어부(50)는 내부컨트롤러(10)와 통신모듈(30) 상호간에 데이터의 송수신이 시작되면, 내부컨트롤러(10)과 통신모듈(30)의 통신속도가 일치하는지 판단한다. 내부컨트롤러(10)과 통신모듈(30)의 통신속도가 일치하지 않으면, 데이터의 송수신이 이루어지지 않는다. 따라서, 제어부(50)는 통신모듈(30)과 내부컨트롤러(10)의 통신속도가 일치하지 않아서 에러가 발생한다고 판단되면, 통신모듈(30)의 통신속도를 변환한다. 제어부(50)는 통신모듈(30) 내부에 마련되어 통신속도를 조절할 수도 있다.The
내부컨트롤러(10)와 통신모듈(30)의 통신속도차에 의한 에러는 플레이밍 에러(framing error)일 수 있으며, 통신속도가 달라서 발생하는 에러라면, 그 명칭을 불문하고 본 발명의 실시예에 따른 전자장치(1)에 적용될 수 있음은 물론이다.The error due to the communication speed difference between the
이 하에서는 본 발명에 따른 전자장치(1)가 외부장치(3)와 전력선통신을 하는 경우를 일 예로 설명하도록 한다.Hereinafter, an example in which the electronic device 1 according to the present invention performs power line communication with the
전력선 통신을 하기 위해서 전자장치(1)에 마련된 통신모듈(30)은 전력선 모뎀을 포함하며, 이러한 전력선 모뎀은 전력선을 매개로 라우터에 연결되며, 라우터는 서로 떨어진 장치 간 통신이 가능하게 연결하는 작업을 담당한다.The
본 발명에 따른 전자장치(1)에 전원이 입력되면, 내부컨트롤러(10)는 전자장치(1)의 사양, 전자장치(1)의 현재 상태 등의 데이터를 UART 통신방식으로 통신모듈(30)에 전송할 수 있다. When power is input to the electronic device 1 according to the present invention, the
내부컨트롤러(10)에서 9600bps의 통신속도로 통신모듈(30)에 데이터가 전송 되는 경우, 통신모듈(30)의 통신속도가 4800bps로 설정되어 있다면, 통신속도가 일치하지 않아서 플레이밍 에러가 발생할 수 있다. 제어부(50)는 플레이밍 에러가 발생한다고 판단되면, 통신모듈(30)의 통신속도를 변환시킨다. 내부컨트롤러(10)는 통신모듈(30)에서 데이터가 인식됐다는 인식신호가 전송되지 않으면, 데이터를 재전송한다. 이때, 제어부(50)가 통신모듈(30)의 통신속도를 9600bps로 변환시켰다면, 통신모듈(30)은 인식신호를 내부컨트롤러(10)에 전송한다. 그리고, 통신모듈(30)과 내부컨트롤러(10)는 정상적으로 통신을 하게 된다. 그러나, 제어부(50)가 통신모듈(30)의 통신속도를 2400bps로 변경한 경우, 여전히 통신속도가 일치하지 않아서 에러가 발생한다. 그러면, 제어부(50)는 통신모듈(30)의 통신속도를 다시 변환시키고, 위의 과정을 반복하게 된다.When data is transmitted from the
이런 과정을 통해, 통신모듈(30)과 내부컨트롤러(10)가 정상적으로 통신을 할 수 있는 상황에서, 사용자는 전력선통신을 통해 전자장치(1)를 제어할 수 있다. Through this process, in a situation where the
예를 들어, 전자장치(1)가 가스렌지이고, 사용자가 가스불을 켜 놓고 외출한 경우 사용자는 외부에서 가스불을 끄도록 명령할 수 있다. 사용자는 PC, 핸드폰 등을 통해 가스불을 끄라는 명령을 입력할 수 있다. 사용자가 입력한 명령신호는 전력선에 커플링하여 전자장치(1)에 전송되며, 전력선에 연결된 전자장치(1)의 통신모듈(30)을 통해 전자장치(1)의 내부컨트롤러(10)에 입력된다. 따라서, 내부컨트롤러(10)는 사용자의 명령신호를 입력받아 가스렌지의 가스불을 끄게 된다.For example, when the electronic device 1 is a gas stove and the user goes out with the gas light on, the user may instruct the user to turn off the gas light from the outside. The user can enter a command to turn off the gas through a PC or a mobile phone. The command signal input by the user is transmitted to the electronic device 1 by coupling to the power line and input to the
도 2는 본 발명에 따른 전자장치의 제어흐름도이다.2 is a control flowchart of an electronic device according to the present invention.
도 2에 도시된 바와 같이, 전자장치(1)의 전원이 온되면(S1), 내부컨트롤러 (10)와 통신모듈(30)은 상호간에 통신을 시작한다. 먼저, 내부컨트롤러(10)가 전자장치(1)의 사양과 상태 등이 담긴 데이터를 통신모듈(30)에 전송할 수 있다(S3). 제어부(50)는 내부컨트롤러(10)와 통신모듈(30) 통신속도가 달라서 플레이밍 에러가 발생한다고 판단되면(S5), 통신모듈(30)의 통신속도를 변환시킨다(S7). 즉, 내부컨트롤러(10)의 통신속도가 9600bps이고 통신모듈(30)의 통신속도가 4800bps인 경우, 제어부(50)는 통신속도의 불일치로 인한 에러가 발생한다고 판단되면, 통신모듈(30)의 통신속도를 변환한다. 내부컨트롤러(10)는 소정의 시간 내에 인식신호가 통신모듈(30)에서 인가되지 않으면, 다시 데이터를 통신모듈(30)에 전송한다(S3). 이 때, 변환된 통신모듈(30)의 통신속도가 9600bps이면, 통신모듈(30)과 내부컨트롤러(10)는 정상적으로, 데이터의 송수신을 하게 된다(S9). 그러나, 변환된 통신모듈(30)의 통신속도가 2400bps인 경우에는 다시 에러가 발생하고, 제어부(50)는 다시 통신모듈(30)의 통신속도를 변환하게 된다.As shown in FIG. 2, when the power supply of the electronic device 1 is turned on (S1), the
전술한 바와 같이, 본 발명에 따른 전자장치(1)는 통신모듈(30)과 내부컨트롤러(10) 간의 통신속도가 다른 경우 자동으로 통신모듈(30)의 통신속도가 변환되어 용이하게 통신을 할 수 있다. 또한, 제품개발자는 통신속도의 제약을 받지 않고 내부컨트롤러(10)를 개발할 수 있으며, 실제 전자장치(1)에 제품을 설치하는 경우 통신모듈(30)의 통신속도가 내부컨트롤러(10)의 통신속도에 맞게 변환되므로 제품별로 통신모듈(30)을 구분하여 관리하지 않아도 된다.As described above, when the communication speed between the
비록 본 발명의 몇몇 실시예들이 도시되고 설명되었지만, 본 발명에 속하는 기술분야의 통상의 지식을 가진 당업자라면 본 발명의 원칙이나 정신에서 벗어나지 않으면서 본 실시예를 변형할 수 있음을 알 수 있을 것이다. 발명의 범위는 첨부된 청구항과 그 균등물에 의해 정해질 것이다.Although some embodiments of the invention have been shown and described, it will be apparent to those skilled in the art that modifications may be made to the embodiment without departing from the spirit or spirit of the invention. . It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.
이상 설명한 바와 같이, 본 발명에 따르면, 전자장치 내의 모뎀과 내부 컨트롤러의 통신속도를 용이하게 일치시킬 수 있는 전자장치 및 그 제어방법을 제공할 수 있다.As described above, according to the present invention, it is possible to provide an electronic device capable of easily matching the communication speed of the modem in the electronic device and the internal controller, and a control method thereof.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040104870A KR20060066311A (en) | 2004-12-13 | 2004-12-13 | Electronic apparatus and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040104870A KR20060066311A (en) | 2004-12-13 | 2004-12-13 | Electronic apparatus and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20060066311A true KR20060066311A (en) | 2006-06-16 |
Family
ID=37161168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040104870A KR20060066311A (en) | 2004-12-13 | 2004-12-13 | Electronic apparatus and control method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20060066311A (en) |
-
2004
- 2004-12-13 KR KR1020040104870A patent/KR20060066311A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100577660B1 (en) | A communication adapter and method | |
WO2004107657A1 (en) | Home network system | |
JPH1145218A (en) | Infrared-ray communication controller and method therefor | |
JP2008293367A (en) | Serial communication device | |
US8514731B2 (en) | Variable-frequency network device and variable-frequency network connection establishing method | |
EP1570576B1 (en) | Method for setting home code of home network system | |
KR20060066311A (en) | Electronic apparatus and control method thereof | |
KR100325323B1 (en) | Local Digital Subscriber's Line; LDSL | |
KR101439149B1 (en) | Apparatus for controlling external electric devices | |
KR101002241B1 (en) | Multicarrier communication system, Storage media, Transceiver, and Method for Variable State Length Initialization of DSL Systems | |
KR20070052168A (en) | Interface device, interface cable apparatus and communication system compriging the same | |
GB2330047A (en) | Controlling baud rates for data exchange | |
JP2004218848A (en) | Remote controller communication system for housing equipment and instrument | |
KR101492452B1 (en) | Apparatus for controlling external electric devices | |
JP2002271440A (en) | Optical transmitter/receiver | |
KR20030060638A (en) | Network System Using a Power Line Communication and Controlling Method for the Same | |
CN108184034B (en) | Dialing method and communication system | |
KR100484307B1 (en) | A Apparatus for Testing Home Phoneline Network Alliance | |
KR20020047627A (en) | Apparatus and the method for remote controlling of communitive washer | |
JP4049314B2 (en) | Communication interface device for digital signal reception | |
US6980590B1 (en) | Processing diagnostic and identification data in an analog modem system | |
KR100452138B1 (en) | Apparatus and method for transmitting the data for mobile station | |
JPH11272571A (en) | Automatic adjusting method of baud rate | |
JP3127298U (en) | Intercom with power frequency carrier | |
JP2007312176A (en) | Power line communication equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |