KR940008100B1 - Communication system for video information apparatus - Google Patents
Communication system for video information apparatus Download PDFInfo
- Publication number
- KR940008100B1 KR940008100B1 KR1019850009353A KR850009353A KR940008100B1 KR 940008100 B1 KR940008100 B1 KR 940008100B1 KR 1019850009353 A KR1019850009353 A KR 1019850009353A KR 850009353 A KR850009353 A KR 850009353A KR 940008100 B1 KR940008100 B1 KR 940008100B1
- Authority
- KR
- South Korea
- Prior art keywords
- communication
- data
- transmission
- area
- slave device
- Prior art date
Links
Images
Abstract
내용 없음.No content.
Description
제1도는 본 발명의 설명을 위한 플로챠트.1 is a flowchart for explaining the present invention.
제2도는 그 동작을 도식적으로 나타낸 도면.2 is a diagram schematically showing its operation.
제3도는 본 발명의 개요를 설명하기 위한 타임챠트.3 is a time chart for explaining the outline of the present invention.
제4도는 본 발명을 실시한 통신 시스템의 일실시예의 블록도.4 is a block diagram of one embodiment of a communication system embodying the present invention.
제5도는 그 설명을 위한 도면.5 is a diagram for explanation thereof.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 마스터기기로서의 VTR10: VTR as master device
20 : 복수의 슬레이브기기의 하나로서의 비데오 카메라20: Video camera as one of a plurality of slave devices
P1, P2: 슬레이브기기용 송신에리어 P3, P4: 마스터기기용 송신에리어P 1 , P 2 : Transmission area for slave devices P 3 , P 4 : Transmission area for master devices
30 : 통신선30: communication line
본 발명은 1대의 마스터기기와 복수의 슬레이브기기간의 쌍방향 데이터통신 방법에 관한 것이다.The present invention relates to a bidirectional data communication method between one master device and a plurality of slave devices.
최근, 영상정보를 즐기기 위하여, 예를 들어 VTR을 중심으로 비데오카메라, 텔리비전튜너유니트, 타이머유니트, 편집기 등의 복수의 주변기기를 구비한 시스템제작이 진행되고 있다. 이 경우에, VTR과 각 주변기기와의 사이에 있어서 모드신호나 여러가지의 콘트롤신호 등의 제어데이터의 통신의 방법이 문제로 되지만, 이 제어데이터의 통신의 방법을 이 시스템에 있어서 통일화하면 공통화·범용화(汎用化)·저코스트화를 도모할 수 있다.In recent years, in order to enjoy the video information, for example, the production of a system including a plurality of peripheral devices such as a video camera, a television tuner unit, a timer unit, an editor, and the like, mainly on a VTR, has been conducted. In this case, the method of communication of control data such as a mode signal or various control signals becomes a problem between the VTR and each peripheral device. However, if the method of communication of this control data is unified in this system, it becomes common and generalized. It can achieve low cost.
이 통신의 방법으로서 VTR을 마스터기기로 하고, 복수의 주변기기를 슬레이브기기로 하여 쌍방향 통신을 하는 것을 생각할 수 있다. 이 경우에 통신선수를 되도록 적게 할 요청이 있다. 특히, 슬레이브기기가 다수로 되는 경우는 더욱 그렇다.As a method of this communication, it is conceivable to perform bidirectional communication using a VTR as a master device and a plurality of peripheral devices as slave devices. In this case there is a request to make the communication player as few as possible. This is especially true when there are a large number of slave devices.
그래서, 마스터기기에서 보아서 송신용 통신선과 수신용 통신선의 2개만을 사용하는 방식, 또는 1개의 통신선만으로 쌍방향 통신을 행하도록 하는 방식을 생각할 수 있다.Therefore, a method using only two of the transmission communication line and the reception communication line, or a method of performing two-way communication using only one communication line can be considered in view of the master device.
이 방법의 하나로서 1개의 통신선만으로 쌍방향 통신을 행하도록 한 것을 출원인은 이미 제안했다(국제출원 PCT/JP84/00425 참조).As one of the methods, the applicant has already proposed to perform bidirectional communication using only one communication line (see international application PCT / JP84 / 00425).
즉, 이 방식은 시분할로 배설되는 복수의 마스터기기용 송신에리어 및 슬레이브시시용 송신에리어로 이루어지는 통신구간을 1블록으로 하여 이것을 주기적으로 반복하는 것으로서, 통신의 시간관리를 마스터기기만이 행하는 방식이다. 이 경우에 슬레이브기기용 송신에리어는 슬레이브기기의 수만큼 배설된다.In other words, this method is a method in which a communication section consisting of a plurality of master device transmission areas and slave time transmission areas arranged in time division is repeated periodically, and this is a method in which only the master device manages communication time. . In this case, the transmission area for slave devices is provided by the number of slave devices.
마스터기기용 송신선과 슬레이브기기용 송신선과의 2개를 사용할 경우에 있어서도 슬레이브기기에서 보아서 송신선은 1개이므로, 상기와 같은 주기(周期)통신을 행할 경우, 역시 각 슬레이브기기로부터의 송신은 시분할로 배설되는 송신 에리어에 있어서 행하지 않을 수 없다.In the case of using two transmission lines for the master device and one for the slave device, since there is only one transmission line in the slave device, the transmission from each slave device is also time-divided when performing the above periodic communication. This must be done in the transmission area that is arranged in.
그러나, 복수의 슬레이브기기의 수만큼 모두에 대해 시분할의 송신에리어를 배설한 경우, 슬레이브기기의 수가 다수로 보면, 각 슬레이브기기의 송신주기가 매우 길어지는 결점이 있다.However, when time-slice transmission areas are provided for all of the plurality of slave devices, the number of slave devices has a drawback in that the transmission period of each slave device becomes very long.
또한, 각 슬레이브기기로부터 마스터기기에 항상 송신요구가 있는 것은 아니므로, 상기와 같이 복수의 슬레이브기기의 모두에 대해 송신에리어를 배설한 때에는 사용되지 않는 또는 사용할 필요가 없는 송신에리어가 생겨서, 시간의 사용 효율이 나쁘다.In addition, since there is not always a transmission request from each slave device to the master device, when a transmission area is provided to all of the plurality of slave devices as described above, a transmission area that is not used or does not need to be used is generated. Usage efficiency is bad.
본 발명의 데이터통신방법은 수직동기신호를 가지는 비데오신호가 처리되고, 단일의 통신선으로 마스터기기와 슬레이브기기를 접속하여, 마스터기기와 슬레이브기기와의 사이에서 쌍방향 통신하는 데이터통신방법에 있어서, 수직주기에 동기하여 통신개시타이밍신호를 발생하고, 상기 타이밍신호에 대하여 대략 일정위상관계를 가지는 제1통신구간을 설정하고, 상기 제1통신구간에서 상기 1개의 통신선을 통하여 상기 마스터기기와 상기 슬레이브기기와의 사이에서 통신을 주기적으로 반복하고, 상기 타이밍신호가 나타나는 에리어를 설정하고, 상기 에리어내에서 상기타이밍신호의 존재를 검지하고, 제2통신구간을 설정하고, 상기 검지의 페일리어에 응답하여 상기 에리어내에서 상기 타이밍신호를 검지해서, 상기 제1통신구간 후 상기 제2통신구간으로 대체하여 상기 통신이 제2통신구간에서 행해지는 스텝으로 이루어진다.In the data communication method of the present invention, a video signal having a vertical synchronization signal is processed, and in a data communication method of bidirectional communication between a master device and a slave device by connecting a master device and a slave device with a single communication line, Generating a communication start timing signal in synchronization with the period, setting a first communication section having a substantially constant phase relationship with respect to the timing signal, and transmitting the master device and the slave device through the one communication line in the first communication section. Periodically repeats communication with the network, sets an area in which the timing signal appears, detects the presence of the timing signal in the area, sets a second communication section, and responds to the detection area. The timing signal is detected within the area, and after the first communication section, the second communication section The communication is made by replacing the step is performed in the second communication period.
또한, 본 발명의 데이터통신방법은 수직동기신호를 가지는 비데오신호가 처리되고, 단일의 통신선으로 마스터기기와 각각의 슬레이브기기를 접속하여, 마스터기기와 복수의 슬레이브기기와의 사이에서 쌍방향 통신하는 데이터통신방법에 있어서, 수직주기에 동기하여 통신개시타이밍신호를 발생하고, 상기 슬레이브기기에 의해 송신이 이루어지도록 설정된 복수의 송신에리어로 분할되어 있고, 상기 타이밍신호에 대하여 대략 일정위상관계를 가지는 제1통신구간을 설정하고, 상기 제1통신구간에서 상기 1개의 통신선을 통하여 상기 마스터기기와 상기 슬레이브기기와의 사이에서 통신을 주기적으로 반복하고, 상기 마스터기기로부터 독립되고, 상기 슬레이브기기중 하나가 송신할 수 있도록 상기 설정된 에리어중 하나를 비워 두고, 상기 각 슬레이브기기내에서 상기 통신선의 상태를 감시하고, 송신된 데이터로 그 상태를 비교하고, 상기 통신선의 상태와 송신된 데이터의 상태사이에 불일치가 있는 경우에는 상기 에리어에서 송신을 종료하는 스텝으로 이루어진다.In addition, in the data communication method of the present invention, a video signal having a vertical synchronization signal is processed, and data is bidirectionally communicated between a master device and a plurality of slave devices by connecting a master device and each slave device with a single communication line. A communication method comprising: a first generating a communication start timing signal in synchronism with a vertical period, divided into a plurality of transmission areas set to be transmitted by the slave device, and having a substantially constant phase relationship with respect to the timing signal; Setting a communication section, periodically repeating communication between the master device and the slave device over the one communication line in the first communication section, independent of the master device, and transmitting one of the slave devices; Leave one of the set areas blank so that each slay And monitoring the state of the communication line in the device, comparing the state with the transmitted data, and ending the transmission in the area when there is a mismatch between the state of the communication line and the state of the transmitted data.
각 슬레이브기기는 송신에리어가 특정되는 것이 아니고, 송신요구가 있는 슬레이브기기가 비어 있는 임의의 송신에리어를 선택하여, 그 송신에리어에 있어서 송신을 하도록 한다.Each slave device does not specify a transmission area, but the slave device having a transmission request selects an arbitrary transmission area that is empty and transmits in that transmission area.
다음에, 본 발명의 일실시예에 대하여 도면에 따라서 상세히 설명한다.Next, an embodiment of the present invention will be described in detail with reference to the drawings.
제4도는 본 발명을 적용한 통신시스템의 일실시예이며, 이 예는 1개의 통신선에 의해 쌍방향으로 시리얼데이터를 통신할 수 있도록 한 것이다. 또한, 이 예는 마스터기기가, VTR, 슬레이브기기가 예를 들어 비데오카메라, 텔레비젼튜너유니트, 편집기 기타 3대 이상 설치되는 경우의 예이며, 슬레이브측의 통신제어부의 구성은 동일구성으로 되므로, 도면의 예에서는 비데오카메라만 나타내고 있다.4 is an embodiment of a communication system to which the present invention is applied, and this example enables communication of serial data in two directions by one communication line. This example is an example where the master device is provided with three or more VTRs and slave devices, for example, a video camera, a TV tuner unit, an editor, and the like. In this example, only the video camera is shown.
즉, 제4도에 있어서, (10)은 VTR, (20)은 비데오카메라이다.That is, in FIG. 4,
또한, (30)은 VTR(10)과 비데오카메라(20) 그 밖의 슬레이브기기와의 사이에 있어서 제어데이터를 전송하기 위한 1개의 데이터통신선이다.
VTR(10)은 마이크로콤퓨터(110)을 탑재하여 통신 그 밖의 제어를 행하는 제어부(11)와, 비데오회로 및 메카니즘데크부(12)와, VTR의 기능키부(13)와, VTR 모드표시분(14)와, 카메라(20)의 리모트콘트롤용 기능키부(15)등으로 이루어져 있다.The VTR 10 is equipped with a
또한, 비데오카메라(20)는 마이크로콤퓨터(210)를 탑재하여 통신 그 밖의 제어를 행하는 제어부(21)와, 카메라의 기능키부(22)와, VTR(10)의 리모트콘트롤용 기능키부(23)와, 예를 들어 화인더내에 있어서 표시할 수 있도록 된 표시부(24)등을 가지고 있다. 또한, 촬상렌즈의 포커스링, 줌링(zoom ring)을 각각 회동하는 모터(25F), (25Z) 및 조리개의 개폐도를 제어하는 아이리스모터(25I)가 모터드 라이브회로(26F), (26Z), (26I)를 통해 제어부(21)와 접속된다.In addition, the
VTR(10)의 기능키부(13)는 녹화, 재생, 포즈, 급송, 되감기, 스톱 등의 기능키를 가지고, 이들중 어느 하나의 키가 조작되었을 때, 제어부(11)의 마이크로콤퓨터(110)가 그것을 식별하여, 표시부(14)에 있어서 그것이 표시되는 동시에, 필요한 콘트롤신호를 비데오회로 및 메카니즘데크부(12)에 공급하여, VTR이 조작된 키에 따른 모드로 되도록 된다.The
비데오카메라(20)측의 VTR(10)의 리모트콘트롤용 기능키부(23)도 녹화, 재생, 포즈, 급송, 되감기, 스톱 등의 기능키를 가지고, 어느 하나의 키가 눌렸을 때는 후술하는 바와 같이, 카메라(20)측에서 통신선(30)을 통해 제어데이터가 VTR(10)에 송신되고, 이것이 제어부(11)의 마이크로콤퓨터(110)의 레지스터에 입력되어, 그 데이터의 내용과 그 때의 VTR(10)의 기능키부(13)의 키입력의 상태로부터 VTR(10)의 모드가 결정되며, 표시부(14)에서 그 모드표시가 이루어지는 동시에 비데오회로 및 메카니즘데크부(12)에 필요한 제어신호가 공급되고, 그 모드의 상태로 되도록 된다. 카메라(20)로부터의 송신데이터와 VTR(10)의 기능키부(13)의 상태로부터 VTR(10)의 모드를 결정하는 것은 오조작을 방지하기 위해서이며, 예를 들어 카메라녹화중에 급송이라고 하는 모드는 통상 없으므로, 이때는 급송의 명령은 무시하여 녹화상태를 계속하도록 한다. 이것은 마이크로콤퓨터(110)에 리모트콘트롤신호와 기능키의 모드의 조합에 대해 VTR(10)을 다음에 어떤 모드로 하면 되는가를 기억시켜 두는 것에 의해 이루어진다.The remote control
또한, VTR(10)로부터는 그 모드로 된 것을 나타내는 신호데이터를 카메라(20)측으로 반송하고, 카메라(20)측에서는 그것을 수신하여 파인더내의 표시부(24)에 있어서 그 VTR(10)의 모드표시가 이루어진다.In addition, the
또한, VTR(10)의 카메라(20)의 리모트콘트롤용 기능키부(15)는 포커스, 아이리스, 줌, 팬, 틸트 등의 키를 가지고, 예를 들어 줌키를 조작했을 때는 주밍데이터가 후술하는 바와 같이 하여 통신선(30)을 통해 VTR(10)로부터 카메라(20)에 송신되고, 카메라(20)의 제어부(21)의 마이크로콤퓨터(210)의 레지스터에 입력되고, 주밍데이터가 모터드라이브회로(26Z)를 통해 줌모터(25Z)에 공급되어 주밍동작이 이루어지도록 된다.In addition, the remote control
카메라(20)에 있어서, 기능키부(22)를 조작하면, 그 키조작에 따른 동작이 카메라(20)에 있어서, 제어부(21)의 마이크로콤퓨터(210)로부터의 신호에 의해 이루어진다. 예를 들어 카메라(20)에서 줌키를 조작하면 주밍동작이 이루어지는 것과 같다.When the
VTR(10)의 제어부(11) 및 비데오카메라(20)의 제어부(21)는 다음과 같이 구성된다. 제어부(21)는 다른 슬레이브기기에 있어서도 전혀 동일한 구성이다.The
VTR(10)의 제어부(11)의 마이크로콤퓨터(110) 및 비데오카메라(20)의 제어부(21)의 마이크로콤퓨터(210)에는 8비트의 시프트레지스터(111) 및 (211)가 설치되어 있으며, 이 시프트레지스터(111) 및 (211)는 각각 시리얼입력단자 SI와, 시리얼출력단자 SO와, 클록단자 CK를 가지고 있다. 또한, 이 시프트레지스터(111) 및 (211)는 마이크로콤퓨터의 데이터버스와의 사이에서 파라렐데이터의 상태로 기입독출이 이루어지도록 되어 있다.8-
또한, 이 시프트레지스터(111) 및 (211)에의 시리얼데이터의 입력 및 시리얼 데이터의 독출은 각각 통신 콘트롤러(112) 및 (212)에 의해 제어된다. 이들 통신콘트롤러(112) 및 (212)는 각각 시프트레지스터(111) 및 (211)의 입력게이트스위치(113) 및 (213)와 출력게이트스위치(114) 및 (214)를 온·오프 제어하는 신호 G1,G2및 G1', G2'를 발생하는 동시에, 시프트레지스터(111) 및 (211)에 대한 시프트클록 CLK 및 CLK'(1주기는 예를 들어 104μsec)를 발생한다.In addition, the input of serial data to the shift registers 111 and 211 and the reading of the serial data are controlled by the
또한, 마스터기기로서의 VTR(10)측의 통신콘트롤러(112)는 마이크로콤퓨터(110)로부터의 통신개시신호 CS에 따라서 스타트비트를 발생한다. 슬레이브기기의 비데오카메라(20)측의 통신콘트롤러(212)는 스타트비트를 발생하지 않는다. 즉, 통신의 시간관리는 마스터기기인 VTR(10)에서만 행한다.The
이 통신콘트롤러(112) 및 (212)도 마이크로콤퓨터로 실현할 수 있다.The
(115) 및 (215)는 입력트랜지스터, (116) 및 (216)은 출력트랜지스터이고, 출력트랜지스터(116) 및 (216)의 콜렉터가 저항(117) 및 (217)을 통해 전원단자에 접속되는 동시에, 이 콜렉터가 통신선(30)에 접속되고, 또한 에미터는 접지된다. 또한, 이 출력트랜지스터(116) 및 (216)의 베이스에 출력스위치(114) 및 (214)를 통해 시프트레지스터(111) 및 (211)로부터의 시리얼데이터가 공급된다.115 and 215 are input transistors, 116 and 216 are output transistors, and the collectors of
또한, 통신선(30)이 각각 저항(118) 및 (218)을 통해 입력트랜지스터(115) 및 (215)의 베이스에 공급된다. 그리고, 이 트랜지스터(115) 및 (215)의 에미터는 접지되며, 콜렉터는 저항(119) 및 (219)을 통해 전원단자에 접속되는 동시에, 이 콜렉터가 입력스위치(113) 및 (213)를 통해 시프트레지스터(111) 및 (211)의 시리얼입력단자에 접속된다.In addition, the
따라서, 통신선(30)은 이것을 통해 데이터가 전송되지 않는 상태에서는 저항(117) 및 (217)을 통해 전원단자(+5V)의 전압으로 되어 있으며, 항상 하이레벨의 +5V의 상태로 된다.Therefore, the
이상과 같은 구성에 있어서, 마스터기기로서의 VTR(10)과 슬레이브기기로서의 비데오카메라(20)와의 사이의 쌍방향 통신은 이 예에서는 제3도에 나타낸 바와 같이 수직동기신호 VD에 동기하여 수직주기로 이루어진다.In the configuration as described above, the bidirectional communication between the
즉, 마스터기기의 VTR(10)에서 보아서, 수신에리어(슬레이브기기용 송신에리어) P1및 P2와, 송신에리어 P3및 P4의 4개의 에리어로 이루어지는 구간을 1 통신구간으로 하고, 이것과 일정기간의 휴지구간과를 수직동기신호 VD에 동기하여 수직주기로 반복하도록 한다. 이 경우, 슬레이브기기용 송신에리어는, P1과 P2의 2개이며, 슬레이브기기의 수보다 적다. 슬레이브기기로부터의 송신은 후술하는 바와 같이 에리어 P1과 P2중 비어 있는 쪽의 에리어를 사용하여 행해진다.In other words, as viewed from the
각 에리어 P1, P2, P3, P4의 개시의 1비트는 스타트비트로 되지만, 이것은 마스터기기로서의 VTR(10)로부터만 얻어지고, 이것에 따라서 마스터기기와 슬레이브기기간의 송수신이 이루어진다. 즉, 통신콘트롤러(112)로부터 1통신구간에 대한 4개의 스타트비트 SB가 반복하여 일정주기로 발생하도록 되어 있다.One bit of the start of each area P 1 , P 2 , P 3 , and P 4 becomes a start bit, but this is obtained only from the
또한, 송신에리어 P1∼P4의 각각에 있어서 전송되는 것은 8비트의 시리얼데이터 D0∼D7이고, 이 8비트의 데이터 D0∼D7로 1워드를 구성하고 있다. 이 경우, 통신에리어는 1통신구간에서 4개이므로 1수직주기 TF내에서 4워드의 데이터를 주고 받는다. 이와 같이 통신구간내의 워드수 및 비트수는 일정하게 정해지므로, 통신구간의 길이는 일정하게 된다. 따라서, 휴지구간의 길이도 일정하게 된다.The transmission area and the P 1 ~P is transmitted in each of four serial data of 8-bit D 0 ~D 7, thereby constituting the first word to the data D 0 ~D 7 of the 8 bits. In this case, since there are four communication areas in one communication section, four words of data are transmitted and received within one vertical period TF. In this way, the number of words and bits in the communication section is fixed, so that the length of the communication section is constant. Therefore, the length of the rest period is also constant.
1통신구간내에서의 송수신은 다음과 같이 하여 이루어진다. 먼저, 마스터기기로부터의 송신에 대하여 설명한다.Transmission and reception in one communication section is performed as follows. First, transmission from the master device will be described.
마스터기기의 마이크로콤퓨터(110)로부터는 통신개시신호 CS(제5도 a)가 발생하고, 이것이 통신콘트롤러(112)에 공급된다. 이 통신개시신호 CS는 통상「1」이고, 통신개시요구로 할 때 「0」으로 하강한다. 이 예에서는 1수직주기 TF에 4회 하강한다. 통신콘트롤러(112)에서는 이 통신개시요구가 이루어졌을 때, 예를 들어 신호 CS의 하강시로부터 규정길이 104μsec의 1비트분의 기간 「1」로 되는 스타트비트 SB(제5도 b)가 얻어지고, 이것이 출력 트랜지스터(116)의 베이스에 공급되고, 그 콜렉터가 접속되어 있는 통신선(30)에 극성반전된 「0」의 신호로서 공급된다.The communication start signal CS (FIG. 5a) is generated from the
또한, 이 스타트비트 SB에 이어서 통신콘트롤러(112)로부터는 클록주기 104μsec의 8개의 클록펄스 CLK(제5도 C)가 얻어지고, 이것이 시프트레지스터(111)의 클록단자에 공급된다. 또한, 출력스위치(114)의 제어신호 G1(제5도 d)가 이 8개의 클록펄스 CLK의 기간 「1」로 되어, 출력스위치(114)가 온으로 된다. 마이크로콤퓨터(110)에서는 시프트레지스터(111)에 송신데이터 DT1(제5도 f)가 미리 세트되어 있으므로, 이 8개의 클록펄스 CLK에 의해 시프트레지스터(111)로부터 8비트의 송신데이터 DT1가 독출되고, 이것이 출력스위치(114) 및 출력트랜지스터(116)를 통해 통신선(30)에 공급된다. 제5도 G는 이 통신선(30)상의 신호의 상태이다.After the start bit SB, eight clock pulses CLK (FIG. 5C) having a clock period of 104 mu sec are obtained from the
이 8비트의 송신데이터 DT1가 송출되면 스위치(114)가 오프로 되고, 이로써 통신선(30)은 「1」로 상승한다. 그리고, 이 「1」의 기간이 2.5∼5비트 계속된다. 이 2.5∼5비트의 기간은 엔드비트로 된다(제3도 및 제5도 g 참조). 통상 엔드비트는 2비트 정도이지만, 이 예의 경우, 마이크로콤퓨터의 소프트로 모두 처리하므로, 이와 같이 스톱비트를 통상의 깃보다 연장하여, 통신데이터를 마이크로콤퓨터의 다른 RAM에 입력하거나, 격납하기 위한 처리시간을 확보하고 있다.When this 8-bit transmission data DT 1 is sent out, the
이렇게 해서 이 송신에리어에 있어서 마스터기기측으로부터 송신된 송신데이터는 슬레이브기기의 예를 들어 비데오카메라(20)측의 입력트랜지스터(215)의 베이스에 공급된다. 그리고, 스타트비트 SB의 곳에서 이 입력트랜지스터(215)는 오프로 되어, 그 콜렉터출력이 「1」로 상승한다. 그러면, 통신콘트롤러(212)에서 이것이 검지되어서, 입력스위치(213)의 제어신호 G1'(제5도 i)가 「1」로 되는 동시에 8개의 주기 104μsec의 클록펄스 CLK'(제5도 k)가 얻어지고, 스위치(213)가 온으로 되는 동시에 클록펄스 CLK'가 시프트레지스터(211)의 클록단자에 공급된다. 따라서, VTR(10)로부터의 송신데이터 DT1가 이 시프트레지스터(211)에 입력된다. 그리고, 그 입력된 데이터가 스톱비트의 기간에 있어서 마이크로콤퓨터(210)의 RAM에 전송되어 격납되는 동시에, 비데오카메라(20)로부터 VTR(10)로 보내는 데이터 DT2가 이 시프트레지스터(211)에 세트된다.In this way, the transmission data transmitted from the master device side in this transmission area is supplied to the base of the
이때 다른 슬레이브기기에도 동시에 데이터 DT1가 입력되지만, 그 데이터 DT1를 그 슬레이브기기에 있어서 사용하는가의 여부는 그 내용이 각각의 마이크로콤퓨터로 판독되어 결정된다.At this time, the data DT 1 is also input to other slave devices at the same time, but whether the data DT 1 is used in the slave device is determined by reading the contents with each microcomputer.
다음에, 마스터기기측에서 보았을 때의 수신에리어, 즉 슬레이브기기의 송신에 대하여 설명한다.Next, the reception area as viewed from the master device side, that is, transmission of the slave device will be described.
지금, 비데오카메라(20)에서 송신요구가 있고, 송신요구신호 DM가 통신콘트롤러(212)에 공급되면, 비데오카메라(20)는 송신대기상태로 되며, 시프트레지스터(211)에는 송신데이터 DT2(제5도 h의 우측)가 격납되어 있다.Now, if there is a transmission request from the
이 상태에 있어서, 에리어 P1의 개시에 VTR(10)의 통신콘트롤러(112)에서 스타트비트 SB가 발생하고, 이것이 트랜지스터(116)를 통해 통신선(30)에 실려서 비데오카메라(20)에 송신된다. 그러면, 제5도 g의 우측에 나타낸 바와 같이 통신선(30)상의 데이터는 1비트기간 「0」의 상태로 된다. 그러므로, 비데오카메라(20)의 입력트랜지스터(215)는 오프로 되며, 그 콜렉터출력이 「1」로 된다. 통신콘트롤러(212)에서는 이것을 검지하여, 출력스위치(214)의 제어신호 G2'(제5도 j)가 「1」로 되므로, 이 출력스위치(214)가 온으로 되는 동시에, 8개의 클록펄스 CLK'가 이 신호 G2'의 「1」기간에서 발생하고, 이것이 시프트레지스터(211)의 클록단자에 공급된다. 따라서, 데이터 DT2가 이 시프트레지스터(211)로 부터 독출되고(제5도 h참조), 출력트랜지스터(216)를 통해 통신선(30)에 공급된다.In this state, a start bit SB is generated in the
한편, VTR(10)측의 통신콘트롤러(112)로부터는 스타트비트 SB를 출력한 후, 입력스위치(113)의 제어신호 G2(제5도 e)가 「1」로 되어, 이 입력스위치(113)가 온으로 되는 동시에, 8개의 클록펄스 CLK(제5도 C)가 신호 G2가 「1」로 되는 기간에서 얻어진다.On the other hand, after the start bit SB is output from the
따라서, 비데오카메라(20)로부터 송신된 데이터 DT2는 입력트랜지스터(115) 및 스위치(113)을 통해 시프트레지스터(111)에 공급되어서, 클록펄스 CLK에 의해 이 시프트레지스터(111)에 입력된다.Therefore, the data DT 2 transmitted from the
그리고, 이 송신에리어 P1의 앤드비트의 기간에서 마이크로콤퓨터(110)의 RAM에 전송되어 격납된다.Then, it is transferred to and stored in the RAM of the
이상은 통신구간의 최초의 에리어 P1가 다른 슬레이브기기의 송신에리어로서 사용되고 있지 않을 경우이지만, 이 에리어 P1가 다른 슬레이브기기의 송신에리어로서도 사용되는 상태일 때는 다음과 같이 하여 에리어의 충돌이 회피되어 한쪽의 슬레이브기기의 송신에리어는 다음의 에리어 P2와 전환하도록 된다.The above is a case where the first area P 1 of the communication section is not used as a transmission area of another slave device, but when this area P 1 is also used as a transmission area of another slave device, the collision of areas is avoided as follows. Therefore, the transmission area of one slave device is switched to the next area P 2 .
제1도는 그것을 위한 플로차트이고, 이 플로차트에 따른 프로그램은 각 슬레이브기기의 제어부의 마이크로콤퓨터에 의해 실행된다.1 is a flowchart for it, and the program according to this flowchart is executed by the microcomputer of the control unit of each slave device.
즉, 마스터기기에서 에리어 P1의 선두에 있어서 스타트비트가 각 슬레이브기기에 송신되면, 송신요구가 있는 슬레이브기기에 있어서는 전술한 바와 같이하여 송신데이터가 통신선(30)에 송출된다(스텝 101). 이때, 통신선(30)에 송출된 데이터와, 통신선(30)의 상태가 1비트마다 체크된다(스텝 102), 즉 통신선(30)은 송출된 데이터가 「0」이면 출력트랜지스터(216)는 오프이므로, 5V의 상태로 되고, 데이터가 「1」이면 출력트랜지스터(216)가 온으로 되므로, 0V로 되는 것이다.That is, when the start bit is transmitted to each slave device at the head of the area P 1 from the master device, the transmission data is sent to the
그런데, 복수의 슬레이브기기로부터 송신데이터가 보내지고 있는 경우, 어느 하나의 슬레이브기기로부터의 데이터비트가 「1」로 되면, 그 출력트랜지스터(216)가 온으로 되므로, 다른 슬레이브기기의 데이터의 여하에 불구하고 0V로 내려간다. 따라서, 송출한 데이터의 비트가 「0」임에도 불구하고 통신선(30)이 0V로 된 것을 검출하는 것으로, 송출한 데이터와 통신선(30)으로 송신되는 데이터의 상위가 검출된다(스텝 103). 그리고, 이러한 것은 동시에 이 에리어 P1에서는 다른 슬레이브기기의 송신이 이루어지고 있는 것이 검지되는 것으로 된다. 그리고, 이상으로부터 알 수 있는 것과 같이 2이상의 슬레이브기기가 동일한 송신에리어에서 송신을 행하는 것과 같은 충돌이 생겼을 때, 그 송신데이터비트 D0∼D7가 가장 빨리 「1」을 보내는 상태로 되는 슬레이브기기가 우선되어서, 그 에리어는 그 슬레이브기기의 송신에리어로 된다. 그리고, 비트마다 송신데이터와 통신선(30)상의 통신되는 데이터가 상이한 것이 검지된 슬레이브기기에 있어서는, 그 후의 비트는 모두 「0」으로 되어서, 그 에리어 P1가 송신에리어로서 정해진 슬레이브기기의 송신데이터의 통신에러가 생기는 것이 방지된다.By the way, when the transmission data is transmitted from a plurality of slave devices, when the data bit from any one of the slave devices becomes "1", the
이렇게 하여, 에리어 P1에서 송신할 수 없었던 슬레이브기기에 있어서는, 에리어 P2의 선두의 시점에서 도래하는 스타트비트 SB에 의해 다시 송신데이터가 송출된다(스텝 104). 그리고, 이 에리어 P2가 비어 있는가의 여부가 전술한 바와 같이 하여 스텝 105 및 106에 있어서 비트마다의 체크에 의해 이루어지고, 비어 있으며, 이 에리어 P2가 그 슬레이브기기의 송신에리어로서 선택된다. 비어 있지 않으면, 다시 다음의 주기에서 에리어 P1가 비어 있는가의 여부가 판별되고, 다음에 비어 있는 에리어가 검출되기까지 상기의 동작이 반복된다.In this way, in the slave device that could not transmit in the area P 1 , the transmission data is again sent out by the start bit SB arriving at the beginning of the area P 2 (step 104). As described above, whether or not the area P 2 is empty is performed by checking for each bit in
제2도는 이상의 동작을 도식적으로 나타낸 것으로서, 이 예에서는 슬레이브기기 Ⅰ(예를 들어 튜너)와 슬레이브기기 Ⅱ(예를 들어 편집기)가 에리어 P1에 있어서 송신요구가 충돌하여, 슬레이브기기 Ⅱ의 편집기가 에리어 P2에 송신에리어를 전환한 것을 나타내고 있다.2 schematically shows the above operation. In this example, the transmission request collides with the slave device I (e.g. tuner) and slave device II (e.g. editor) in area P 1 , and the editor of slave device II is shown. in the area P 2 indicates that switching the transmission area.
또한, 비트마다의 체크는 시프트레지스터(211)의 단수(段數)를 9단으로 함으로써 용이하게 할 수 있다. 실제적으로는, 현재 사용되고 있는 4비트 마이크로콤퓨터 내장의 시프트레지스터는 9단을 가지고 있으므로, 그것을 그대로 사용할 수 있다.The bit-by-bit check can be facilitated by setting the number of stages of the
이상과 같은 에리어 P1∼P4로 이루어지는 통신구간 후의 휴지구간으로 되면, VTR(10) 및 비디오카메라(20) 및 그 밖의 슬레이브기기에 있어서, 수신한 데이터 내용에 따른 처리가 행해지는 동시에 그 밖의 동작도 시분할 처리에 의해 이루어진다.If more than the idle period in the area P 1 ~P 4 made after communication section, such as, VTR (10) and according to the
다음에, 동일하게 하여 VTR(10)로부터의 송신과, 카메라(20)등의 슬레이브기기로부터의 송신을 1블록으로 한 통신구간이 휴지구간을 사이에 두고 주기적으로 반복된다. 그리고, 이 예에서는 스타트비트가 마스터기기에서만 발생하고, 이로써 마스터기기측이 시간관리를 하도록 했으므로, 에리어 P1∼P4는 확실하게 판별할 수 있도록 되는 동시에, 통신구간과 휴지구간이 확실하게 구별된다.Next, similarly, the communication section in which transmission from the
이상과 같이, 통신이 주기적으로 이루어지므로, 한번 통신의 누락이 있어도, 또는 통신미스를 범해도 곧바른 내용으로 복귀할 수 있다.As described above, since the communication is performed periodically, even if there is a loss of communication or a communication miss can be returned to the correct contents immediately.
또한, 이상의 예의 경우, 고가의 인터페이스를 사용하지 않고, 1칩의 마이크로콤퓨터에 의해 통신과 그 밖의 동작을 모두 할 수 있으므로, 일반적으로 저렴한 민생용 LSI와 1개의 통신선에 의해 쌍방향의 디지탈 데이터통신을 실현할 수 있다.In addition, in the above example, since communication and other operations can be performed by a single chip microcomputer without using an expensive interface, bidirectional digital data communication is generally performed by a low-cost consumer LSI and one communication line. It can be realized.
그리고, 통신의 주기를 마스터기기측에서 취하는 것이므로, 통신이외에 복수의 동작을 시분할로 처리하지 않으면 안 될 경우에 있어서도, 하나의 동작이 중도에서 정지되어 버리는 일은 없어진다.Since the communication period is taken from the master device side, even when a plurality of operations other than the communication must be processed by time division, one operation is not stopped midway.
또한, 통신콘트롤러(112)에 있어서의 스타트비트 SB의 발생, 또한 클록펄스의 발생, 또한 통신콘트롤러(212)에 있어서의 스타트비트검출, 클록펄스의 발생은 각각 마이크로콤퓨터제어에 의해 행해도 되고, 도면의 예와 같이 마이크로콤퓨터와는 다른 하드웨어를 설치하여 행해도 된다.The start bit SB in the
또한, 이상의 예는 통신선을 1개로 할 수 있는 특수한 예이지만, 마스터기기와 복수의 슬레이브기기간에 마스터기기에서 보아서 송신선과 수신선의 2개를 배설할 경우에 있어서도 본 발명을 적용할 수 있는 것은 물론이다.In addition, the above example is a special example in which one communication line can be used. However, the present invention can also be applied to the case where two transmission lines and a receiving line are disposed in the master device and a plurality of slave periods, respectively. to be.
또한, 송신에리어가 비어 있는가의 여부의 체크는 상기 예에서는 비트마다 행했지는 이것은 1워드(8비트)마다 행하는 방법이어도 물론 좋다.The check of whether or not the transmission area is empty may be performed for each word (8 bits).
이상과 같이, 본 발명에 있어서 슬레이브기기로부터 송신은 복수의 시분할에리어 중 비어 있는 임의의 에리어를 사용하여 행하는 것이므로, 시분할에리어수는 슬레이브기기수보다 적어도 되고, 또한 사용하지 않는 에리어가 적어져서 사용효율도 좋다. 또한, 일정주기 예를 들어 수직주기에서 통신을 행할 경우에, 통신구간의 길이가 불필요하게 길어지는 일은 없고, 따라서 휴지구간에 있어서 행하는 통신이외의 동작의 시간을 충분히 취할 수 있다.As described above, in the present invention, since the transmission from the slave device is performed by using an arbitrary empty area among the plurality of time division areas, the number of time division areas is at least smaller than the number of slave devices, and the number of unused areas decreases, resulting in the use efficiency. Also good. In addition, when performing communication at a constant period, for example, a vertical period, the length of the communication section does not need to be unnecessarily long, and therefore, it is possible to take sufficient time for operations other than communication performed in the idle section.
Claims (2)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP84-280077 | 1984-12-28 | ||
JP28007784A JPS61158237A (en) | 1984-12-28 | 1984-12-28 | Data communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR860005513A KR860005513A (en) | 1986-07-23 |
KR940008100B1 true KR940008100B1 (en) | 1994-09-02 |
Family
ID=17619983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019850009353A KR940008100B1 (en) | 1984-12-28 | 1985-12-12 | Communication system for video information apparatus |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS61158237A (en) |
KR (1) | KR940008100B1 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5631247A (en) * | 1979-08-22 | 1981-03-30 | Fujitsu Ltd | Communication system |
JPS572240A (en) * | 1980-06-06 | 1982-01-07 | Sankyo Co Ltd | Ml-236b derivative |
JPS58154950A (en) * | 1982-03-10 | 1983-09-14 | Fujitsu Ltd | Bus monitoring system |
JPS6033763A (en) * | 1983-08-05 | 1985-02-21 | Nippon Telegr & Teleph Corp <Ntt> | Speed selecting communication system |
-
1984
- 1984-12-28 JP JP28007784A patent/JPS61158237A/en active Granted
-
1985
- 1985-12-12 KR KR1019850009353A patent/KR940008100B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
JPH0574974B2 (en) | 1993-10-19 |
JPS61158237A (en) | 1986-07-17 |
KR860005513A (en) | 1986-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4200936A (en) | Asynchronous bidirectional direct serial interface linking a programmable machine function controller and a numerical control | |
US4689740A (en) | Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations | |
US4649428A (en) | Digital TV with low cost auxiliary device communication system | |
EP0722224A2 (en) | Method for setting addresses for electronic appliances | |
USRE34650E (en) | Communication system for video information apparatus | |
KR960042284A (en) | Control Method of Distributed Remote I / O Control System | |
KR940001275B1 (en) | Operating control method using internal-bus | |
EP0883066B1 (en) | Serial data transmission between data processing apparatus and an external storage apparatus | |
US4713702A (en) | Data communication apparatus | |
US20020099877A1 (en) | Data processing apparatus, external storage apparatus, data processing system and data transmitting method | |
JPH0561826B2 (en) | ||
KR940008100B1 (en) | Communication system for video information apparatus | |
US20050010904A1 (en) | Information recording device, method for the same, program for the same and recording medium storing the program | |
US4910509A (en) | Bus expander for digital TV receiver | |
US5724240A (en) | Method for automatically resetting a microcomputer in a video cassette recorder | |
KR19980078158A (en) | Bidirectional data input / output circuit of synchronous memory element and control method thereof | |
KR950000831B1 (en) | Communication method and apparatus | |
KR950002707B1 (en) | Ic device | |
EP0954180B1 (en) | Serial data transfer device | |
JP2575100B2 (en) | Data communication device and data communication method | |
KR0146090B1 (en) | High speed data transmitting system for processing image | |
JPH0630487B2 (en) | Bidirectional serial data communication system | |
KR100195702B1 (en) | Bidirectional simultaneous serial communication device of vcr | |
KR100485460B1 (en) | Digital image signal recording and reproducing apparatus, packet communication interface circuit, and packet communication apparatus | |
JPH082056B2 (en) | Data transmission equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20050831 Year of fee payment: 12 |
|
EXPY | Expiration of term |